Re: monitor a folder for file creation, how?

2005-07-28 Thread fanbanlo
SUPER! This is exactly what I'm looking for. gene tani wrote: > win32: (I posted this link in response to same question, um, day bef. > yesterday) > > http://groups-beta.google.com/group/comp.lang.python/browse_frm/thread/9a1c7629db72d064/56008cb68eeffa23?hl=en#56008cb68eeffa23 > (Thanks to Tim G

monitor a folder for file creation, how?

2005-07-28 Thread fanbanlo
How do I monitor a folder for new file(s) creation? How to use thread to do a wait until a new file is 'detected'? Thank you! -- http://mail.python.org/mailman/listinfo/python-list

pygdchart 0.6.1 for Windows Python 2.4 available?

2005-03-24 Thread fanbanlo
this: 2. Make a Python import library (adjust for your setup and version of Python): impdef c:/windows/system32/python24.dll >python.def dlltool --dllname python24.dll --input-def python.def --output-lib libpython24.a what/where's impdef!? Thank you very much fanbanlo

Re: pickle: No module named on. HELP!

2005-03-19 Thread fanbanlo
fanbanlo wrote: What seems to be the matter? >>> path = "C:\\eclipse\\workspace\\moin134\\docbook\\xslt\\html\\db_compiled.dat" >>> f = file(path) >>> cPickle.load(f) Traceback (most recent call last): File "", line 1, in ? ImportError: No module

pickle: No module named on. HELP!

2005-03-19 Thread fanbanlo
What seems to be the matter? >>> path = "C:\\eclipse\\workspace\\moin134\\docbook\\xslt\\html\\db_compiled.dat" >>> f = file(path) >>> cPickle.load(f) Traceback (most recent call last): File "", line 1, in ? ImportError: No module named on. >>> f = file(path) >>> pickle.load(f) Traceback (most re

best XSLT processor?

2005-02-27 Thread fanbanlo
Which XSLT processor is the most reliable? requirement: + must support Python 2.4 + must run w/ Windows (and Linux) + not super slow My python project needs a XSLT processor + Docbook's XSLT to translate from docbook-xml -> HTML. PyXML? is it reliable? Slow? 4Suite? some said it is buggy (lots of

Re: os.rename() doesn't work w/unicode??

2005-02-15 Thread fanbanlo
Serge Orlov wrote: fanbanlo wrote: C:\MP3\001.txt -> 0.txt C:\MP3\01. ??? - (???).mp3 -> 1.mp3 Traceback (most recent call last): File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict

os.rename() doesn't work w/unicode??

2005-02-14 Thread fanbanlo
C:\MP3\001.txt -> 0.txt C:\MP3\01. ??? - (???).mp3 -> 1.mp3 Traceback (most recent call last): File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict__ File "C:\MP3\!RenameNum.py", line 40, in ? rena