[Tutor] Batchfile to Python conversion

2015-12-15 Thread Dominique Descamps
es of code, I'm more interested in a tool, who can do this conversion automatically. Can you confirm me whether or not such a conversion tool already exists? Thanks Dominique ___ Tutor maillist - Tuto

Re: [Tutor] Multiple versions of python and paths problems

2010-09-07 Thread Dominique
related to python 2.5 before the paths for python 2.6, the same problem occurs. Thanks for your help David Dominique ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Multiple versions of python and paths problems

2010-09-07 Thread Dominique
ys round it, including creating a local > startup file. OK > But if the paths are right it should work, and you may need to create > a startup > DOS file to set them before executing python... I tried without success... How would you do this ? Thanks a lot for your help. As usual h

[Tutor] Multiple versions of python and paths problems

2010-09-06 Thread Dominique
force py2.5 to go and find the dependencies only in the 2.5 site-packages ? Thanks in advance for your help. Dominique ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] How to programmatically EDIT a python file usin g an editorof my choice ?

2009-04-13 Thread Dominique
Sander Sweers gmail.com> writes: > > 2009/4/13 Dominique gmail.com>: > > What surprises me is that before calling the subprocess.Popen() method, I > > normalized the path using: > > filename = os.path.normpath(filename). > > It does.But do you also call o

Re: [Tutor] How to programmatically EDIT a python file usin g an editorof my choice ?

2009-04-12 Thread Dominique
h was corrected from the backslash problems. Anyway, Thank you very much for your help. Dominique ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] How to programmatically EDIT a python file usin g an editorof my choice ?

2009-04-12 Thread Dominique
file access doesn't work. Thanks a lot to both of you Sander and Alan for your help. Dominique ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] How to programmatically EDIT a python file usin g an editorof my choice ?

2009-04-12 Thread Dominique
ays possible to open another software from python, notably if the software doesn't have a COM interface ? > > ed = os.getenv('EDITOR') > vi = os.getenv('VISUAL') os.getenv is always None, which may be correct since I am on Windows ? Thanks a lot for your help. Dominique ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] How to programmatically EDIT a python file using an editor of my choice ?

2009-04-12 Thread Dominique
iated with the .txt extension that would open the file. What I'd like is to open the file using an editor of my choice. Is there an easy way to do this ? Thanks in advance Dominique ___ Tutor maillist - Tutor@python.org http://mail.python.org/m

Re: [Tutor] How to make the difference between binary and t ext files ?

2009-04-04 Thread Dominique
- Tutor python.org > http://mail.python.org/mailman/listinfo/tutor > > Thanks for your responses Dominique ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] How to make the difference between binary and text files ?

2009-04-04 Thread Dominique
nsequently, before opening the file, I'd like to test it to adapt the opening mode ('r' or 'rb'). Is there a way to make the difference between binary and text files ? Thanks in advance for your help. Dominique ___ Tutor

[Tutor] Recycle bin Windows XP - List or empty the bin

2009-01-31 Thread Dominique
Tim, Thank you very much for your help. That works fine. Dominique ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Recycle bin Windows XP - List or empty the bin

2009-01-31 Thread Dominique
ops! The 2 tracebacks are contradictory. Can anybody help me on this, please. read and empty the bin and possibly send a file to it. Thanks in advance Dominique ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor