...(When starting a new thread, create a new message addressed to python-l...@python.org, do not just reply to an existing message, (or digest, which you did here). Some people actually try to follow threads, and the software to do that uses more information than just the message subject) First comment. I would seriously try to avoid using reload() in... mer »
Hello Can you help me figure out why I am getting this compile error with my program. The error occurs right at the bottom of my code & I have commented where it occurs. The error is: [QUOTE]Expected an indented block[/QUOTE] [CODE]""" *Stock Data Builder* Algorithm: - Search website for stock... mer »
I am using pexpect module in python I would like to know how I can use exp_continue here. what is the alternative of exp_continue of perl/tcl in pexpect.
I have ipython installed via apt. I can go to the command line and type 'ipython' and it will work. If I try to install ipython to a virtualenv, I get this: $ pip install -E env/ ipython Requirement already satisfied: ipython in /usr/share/pyshared Installing collected packages: ipython Successfully installed ipython... mer »
Hi , I looked everywhere and could find no mention of this(might be looking in the wrong places point me please..). the Python package Advanced python scheduler seems to have a bug with the unschedule func. When passing the function of an object it doesn't remove it from the scheduler. but works fine with a normal function. Please find my test script attached... mer »
...You need to tell the browser (in an HTTP header) that what you are sending is HTML. Try putting print "Content-Type: text/html\n" at the start of your script. regards Steve
I am loading a dictionary from a text file and constructing a trie data structure in memory. However, it takes longer than I'm happy with - about 12 seconds on my computer. I profiled it, came up with some clever ideas to cut down on the work (such as by exploiting the fact that the dictionary is sorted) and was only able to shave a small... mer »
I have a simple program to read a text (.csv) file and split it into several smaller files. Tonight I decided to write a unicode variant and was surprised at the difference in performance. Is there a better way? ...the plain version is the same except for ...The difference: