Description:
The Python computer language.
|
|
|
file locked for writing
|
| |
Hello! I use some script in python 2.5 from vim editor (it has python bindings) that updates some file and then launches another program (ms visual studio, for example) to do something with updated file. I faced problem when updated file is locked for writing until vim editor is closed. launch vim -> update file -> launch msvc -> file locked... more »
|
|
Threader Earrings -- A Fashion Jewelry Success Story
|
| |
New jewelry fashions need several factors going for them if they are to succeed. These include aesthetics, price, timing, and maybe even just sheer, plain luck. Threader earrings seem to have all these qualities in abundance. Also known as earthreads or ear strings, threader earrings have a very large following, especially among the... more »
|
|
I'm stuck in Python!
|
| |
Hi all. I am trying to write to the Python newsgroup. I doubt (aha, but doubt) that I have come to the right place. (Incoming "this"!) Is this the Python newsgroup? I heard it was called comp.lang.python. Now to repeat the subject line. I'm stuck in Python. Now that was fun. I will also try to enumerate simple screen savers... more »
|
|
wxpython dialog - do something after ShowModal()?
|
| |
Hi. I have a modal dialog whcih has a "Browse..." button which pops up a file selector. This all works fine, but the first thing the user has to do when they open the dialog is select a file, so I would like the dialog to automatically call the onBrowse function as soon as the dialog opens. However, I don't know how to do this.... more »
|
|
asynchat sends data on async_chat.push and .push_with_producer
|
| |
Hello, My question concerns asynchat in particular. With the following half- pseudo code in mind: class Example(asynchat.async_chat): def readable(self): if foo: self.push_with_producer(Produc erA()) return asynchat.async_chat.readable(s elf) Now, asyncore will call the readable function just before a select(),... more »
|
|
feedparser
|
| |
...The easiest way would be to put the single module feedparser.py in the same directory as your program (I don't completely get your reasons not to do that). OR put feedparser.py in some other directory that is already listed in sys.path. OR add the directory containing feedparser.py to sys.path, just at the beginning of your program.... more »
|
|
Best way to delimit a list?
|
| |
Hi - I have a list returned from popen/readlines, and am wondering how to go about iterating over each item which was returned (rather than currently having the whole lot returned). so far: ...returns ['host1 host2 host3 ... hostN\n]' i'd like to be in a position to iterate through these, grabbing each... more »
|
|
Backslash frowned upon?
|
| |
Why is the \ backslash character frowned upon? Can I still use it in Python 3.0 to achieve the same thing it was designed to do?
|
|
Running compiled windows service python script
|
| |
Hi All I have a windows service (attached file). I basically just calls another script every 60 seconds. I can install, start and stop this service as expected with: ParseMailboxService.py install | start | stop The problem is: if I create an exe of this script (all required modules are included in the exe) with gui2exe (a frontend to py2exe) I can... more »
|
|
The 'is' identity operator checking immutable values caution
|
| |
We have to avoid the use of the 'is' identity operator with basic, immutable values such as numbers and strings. The result is unpredictable because of the way Python handles these objects internally. How is with this issue in Python 3.0? Is it fixed? Does Python handle this things properly now?
|
|
|