Re: Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor'

2014-01-12 Thread xDog Walker
On Sunday 2014 January 12 04:42, Chris Angelico wrote: > As a last resort, try firing up Wireshark or something and watch > exactly what gets sent and received. I went looking through the docs > for a "verbose" mode or a "debug" setting but can't find one - that'd > be ideal if it exists, though.

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-24 Thread xDog Walker
On Saturday 2013 November 23 23:32, Devin Jeanpierre wrote: > This list needs stronger moderation Rule #1: The ML should not disseminate any message which contains an unquoted "please". -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- https://mail.python.org/m

Re: How to install pip for python3 on OS X?

2013-11-22 Thread xDog Walker
On Friday 2013 November 22 12:10, Travis Griggs wrote: > (aside. I do not use GoogleGroups, but have been accused of somehow sending > email that looks like I do. Does this email look like that?) No. -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- https://mail

Re: parsing RSS XML feed for item value

2013-11-20 Thread xDog Walker
On Wednesday 2013 November 20 05:44, Larry Wilson wrote: > >>> feed.entries[0].w_current > > {'temperature': u'20.3', 'dewpoint': u'18.6', 'windgusts': u'29.6', 'rain': > u'0.6', 'humidity': u'90', 'pressure': u'0.0', 'windspeed': u'22.2', > 'winddirection': u'SSW'} > > > in the above I get the sub

Re: parsing RSS XML feed for item value

2013-11-20 Thread xDog Walker
On Wednesday 2013 November 20 05:44, Larry Wilson wrote: > {'temperature': u'20.3', 'dewpoint': u'18.6', 'windgusts': u'29.6', 'rain': > u'0.6', 'humidity': u'90', 'pressure': u'0.0', 'windspeed': u'22.2', > 'winddirection': u'SSW'} Python 2.7.2 (default, Oct 10 2011, 10:47:36) [GCC 4.1.2 20061115

Re: parsing RSS XML feed for item value

2013-11-19 Thread xDog Walker
On Tuesday 2013 November 19 19:39, Larry Wilson wrote: > Wanting to parse out the the temperature value in the " element, just after the guid element using ElementTree or xml.sax. When you get tired of that, take a look at Universal Feedparser, a Python Package: http://code.google.com/p/feedparse

Re: My first real request for help

2013-11-19 Thread xDog Walker
On Tuesday 2013 November 19 10:57, Tim Chase wrote: > Just an observation here, it looks like you might have a "one" > instead of an "ell" in "float" in the file-name. Gene, In an earlier email in this thread I lied when I stated the name of the file you were missing (I retyped what I tho

Re: My first real request for help

2013-11-19 Thread xDog Walker
On Tuesday 2013 November 19 10:57, Tim Chase wrote: > Just an observation here, it looks like you might have a "one" > instead of an "ell" in "float" in the file-name. That is exactly what I see using Monospace font where the letter and digit are different shapes. -- Yonder nor sorghum stenches

Re: My first real request for help

2013-11-19 Thread xDog Walker
On Tuesday 2013 November 19 10:43, Gene Heskett wrote: > Interesting, a print cmd immediately in front of that is quite noisy: > ['./camview-emc-f1oat.py', '-v', '1280x720', '-C', 'camview.cfg', '-g', > 'cam.ui', '-H', 'campins.hal', '-w', '150995278'] The file it cannot find is apparently ./camvi

Re: My first real request for help

2013-11-19 Thread xDog Walker
On Tuesday 2013 November 19 09:19, Gene Heskett wrote: > _dynamic_tabs is not a file in /usr/lib/python2.6, nor does it "grep" in > that directory. The Traceback says that _dynamic_tabs is in /usr/bin/axis . -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- http

Re: My first real request for help

2013-11-19 Thread xDog Walker
On Tuesday 2013 November 19 08:19, Gene Heskett wrote: > You are suggesting I edit /usr/lib/python2.6/subprocess.py? You should use either subprocess.Popen(["ls", "-l"]) or subprocess.Popen("ls -l") The argument to the first is a two element list. The argument to the second is a str

Re: Building a tree-based readline completer

2013-11-18 Thread xDog Walker
On Monday 2013 November 18 09:13, Mark Lawrence wrote: > On 18/11/2013 16:55, roey.k...@gmail.com wrote: > > On Monday, November 18, 2013 11:54:43 AM UTC-5, roey wrote: > >> Thank you. In looking over these classes, I see though that even them, [snip] > Would you please read and action this > ht

Re: Building a tree-based readline completer

2013-11-18 Thread xDog Walker
On Monday 2013 November 18 07:47, roey.k...@gmail.com wrote: > I am trying to build a replacement completer for python's Cmd class These related packages may be of interest: http://pypi.python.org/pypi/rl http://pypi.python.org/pypi/kmd -- Yonder nor sorghum stenches shut ladle gulls stopper

Re: PYTHON 3.4 LEFTOVERS

2013-11-16 Thread xDog Walker
On Saturday 2013 November 16 08:03, Ferrous Cranus wrote: > root@secure [~]# find / -name python3.4 | rm -rf   > > root@secure [~]# locate python3.4 > /root/.local/lib/python3.4 > /usr/local/include/python3.4m > /usr/local/lib/libpython3.4m.a > /usr/local/lib/python3.4 > /usr/local/share/man/man1/p

Re: Automation

2013-11-15 Thread xDog Walker
On Friday 2013 November 15 06:58, Grant Edwards wrote: > There are people (not many in this group) who grew up speaking English > and really ought to apologize for their writing -- but they never do. Can you supply an example of the form such an apology might take? -- Yonder nor sorghum stenches

Re: Python Front-end to GCC

2013-10-25 Thread xDog Walker
On Friday 2013 October 25 14:11, Mark Lawrence wrote: > Will you please do yourself a favour and get a new dealer before you do > some real damage, the batch you're currently on is definitely contaminated. Meet Mark Janssen: http://sourceforge.net/apps/mediawiki/pangaia/index.php?title=User:Avera

Re: using smtp in python

2013-10-22 Thread xDog Walker
On Tuesday 2013 October 22 11:44, Dan Stromberg wrote: > Some SMTP servers require a password and some do not POP3 before SMTP ? -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- https://mail.python.org/mailman/listinfo/python-list

Re: subprocess.Popen instance hangs

2013-08-29 Thread xDog Walker
On Thursday 2013 August 29 11:34, Tim Johnson wrote: > using Python 2.7.1 on OS X 10.7.5 > > I'm managing a process of drush using an instance of subprocess.Popen > > The process has a '--verbose' option. When that option is passed as > part of the initializer `args' argument, the process will hang

Re: Looking for a name for a deployment framework...

2013-06-26 Thread xDog Walker
On Tuesday 2013 June 25 19:16, Dave Angel wrote: > On 06/25/2013 03:38 PM, Stig Sandbeck Mathisen wrote: > > jonathan.slend...@gmail.com writes: > >> Any suggestions for a good name, for a framework that does automatic > >> server deployments? Yet Another Deployment Framework? -- Yonder nor sorg

Re: kbhit/getch python equivalent

2013-04-30 Thread xDog Walker
On Monday 2013 April 22 06:34, alb wrote: > Hi everyone, > > I'm looking for a kbhit/getch equivalent in python in order to be able > to stop my inner loop in a controlled way (communication with external > hardware is involved and breaking it abruptly may cause unwanted errors > on the protocol).

Re: Parsing XML RSS feed byte stream for tag

2013-02-07 Thread xDog Walker
On Thursday 2013 February 07 12:36, darrel.rend...@gmail.com wrote: > As I've said, BeautifulSoup fails to find both pubDate and Link, which are > crucial to my app > Any advice would be greatly appreciated. http://packages.python.org/feedparser -- Yonder nor sorghum stenches shut ladle gulls st

Re: Forward Backward Algorithm in Python

2013-02-07 Thread xDog Walker
On Thursday 2013 February 07 12:38, Dave Angel wrote: > On 02/07/2013 03:13 PM, subhabangal...@gmail.com wrote: > > Dear Group, > > If any one can kindly help me with a simple Forward Backward algorithm > > implementation. I tried to search in web but did not help much. > > > > Thanking You in Adva

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-31 Thread xDog Walker
On Monday 2012 December 31 14:46, Ben Finney wrote: > “I bought some powdered water, but I don't know what to add.” Suggest to Stephen Wright to add hot coffee. -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- http://mail.python.org/mailman/listinfo/python-list

Re: Command Line Progress Bar

2012-12-26 Thread xDog Walker
On Tuesday 2012 December 25 22:17, Kevin Anthony wrote: > Hello, > I'm writing a file processing script(Linux), and i would like to have a > progress bar. But i would also like to be able to print messages. Is > there a simple way of doing this without implementing something like > ncurses? http:

Re: 10 sec poll - please reply!

2012-11-20 Thread xDog Walker
On Tuesday 2012 November 20 08:29, mherrmann...@gmail.com wrote: > To everyone else who has been so kind to reply thus far: What do you think > of generate_keystrokes? It's a bit long but describes exactly what the > function would be doing. If not already offered and rejected, how about enter() ?

Re: parse an environment file

2012-10-02 Thread xDog Walker
On Monday 2012 October 01 08:35, Hans Mulder wrote: > AFAIK, there is no Python module that can read shell syntax. The stdlib's shlex might be that module. -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to pass FILE *

2012-09-29 Thread xDog Walker
On Friday 2012 September 28 21:27, you wrote: > A tiny bit of googling suggests the following approach: > http://stackoverflow.com/questions/3794309/python-ctypes-python-file-object >-c-file/3794401#3794401 Thanks for your response. My "tiny bit of Googling" brought no joy but I did try successf

How to pass FILE *

2012-09-28 Thread xDog Walker
The function I am trying to call wants a FILE *: dlg_progressbox(const char *title, const char *cprompt, int height, int width, int pauseopt, FILE *fp) I can open the file to be referenced: fp = os.fdopen(self.pipef

Re: Intermediate Python user needed help

2012-08-05 Thread xDog Walker
On Sunday 2012 August 05 12:51, John Mordecai Dildy wrote: > print "We'd have %d beans, %d jars, and %d crabapples." % > secret_formula(start_pont Add a ) to the end of the line quoted above. -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- http://mail.python.

Re: sorting 1172026 entries

2012-05-06 Thread xDog Walker
On Sunday 2012 May 06 09:29, J. Mwebaze wrote: >  temp=sorted(temp) Change to: temp.sort() RTFM on sorted() and .sort(). -- Yonder nor sorghum stenches shut ladle gulls stopper torque wet strainers. -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: cmd2, an extenstion of cmd that parses its argument line

2012-03-19 Thread xDog Walker
On Sunday 2012 March 18 22:11, anntzer@gmail.com wrote: > I would like to announce the first public release of cmd2, an extension of > the standard library's cmd with argument parsing, here: > https://github.com/anntzer/cmd2. There already is a cmd2 package at PyPI and has been for a long time

Re: Spamming PyPI with stupid packages

2012-01-04 Thread xDog Walker
On Tuesday 2012 January 03 17:28, Steven D'Aprano wrote: > Besides, I find it hard to believe that the search facilities on PyPI are > so bad that there would be any searches that come up with "girlfriend.py" > or "car.py" as false positives. Try an author search for D'Aprano. -- I have seen the

Re: how to test attribute existence of feedparser objects

2011-12-10 Thread xDog Walker
On Thursday 2011 December 08 01:34, HansPeter wrote: > Hi, > > While using the feedparser library for downloading RSS feeds some of > the blog entries seem to have no title. > > File "build\bdist.win32\egg\feedparser.py", line 382, in __getattr__ > AttributeError: object has no attribute 'title' >

Re: encoding problem with BeautifulSoup - problem when writing parsed text to file

2011-10-06 Thread xDog Walker
On Thursday 2011 October 06 10:41, jmfauth wrote: > or  (Python2/Python3) > > >>> import io > >>> with io.open('abc.txt', 'r', encoding='iso-8859-2') as f: > > ...     r = f.read() > ... > > >>> repr(r) > > u'a\nb\nc\n' > > >>> with io.open('def.txt', 'w', encoding='utf-8-sig') as f: > > ...     t

Re: try... except with unknown error types

2011-08-19 Thread xDog Walker
On Friday 2011 August 19 12:09, Yingjie Lin wrote: > Hi Python users, > > I have been using try...except statements in the situations where I can > expect a certain type of errors might occur. But sometimes I don't exactly > know the possible error types, or sometimes I just can't "spell" the erro

Re: feedparser hanging after I/O error

2011-06-02 Thread xDog Walker
On Wednesday 2011 June 01 10:34, John Nagle wrote: > I have a program which uses "feedparser".  It occasionally hangs when > the network connection has been lost, and remains hung after the network > connection is restored. My solution is to download the feed file using wget, then hand that file t

Re: FBI wants public help solving encrypted notes from murder mystery

2011-04-01 Thread xDog Walker
On Wednesday 2011 March 30 13:56, Fons Adriaensen wrote: > [LINK]  ??? http://www.fbi.gov/news/stories/2011/march/cryptanalysis_032911/image/gallery -- I have seen the future and I am not in it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Syntax Error

2011-03-18 Thread xDog Walker
On Friday 2011 March 18 21:39, Manatee wrote: > I hope this is the place to post this question. I am a really new > pythonista. I am studying Tkinter and when I run this basic code, I > get a syntax error on line 20, print "hi there, everyone". Its a > simple print line, but I can't see the probl