Re: os.system function

2010-01-13 Thread Lie Ryan
On 01/13/10 04:59, r0g wrote: so you may want to look into pythons core GUI library, TKL. I know Tk and Tcl has been close since their childhood; did they get married too? -- http://mail.python.org/mailman/listinfo/python-list

Re: os.system function

2010-01-13 Thread r0g
Lie Ryan wrote: On 01/13/10 04:59, r0g wrote: so you may want to look into pythons core GUI library, TKL. I know Tk and Tcl has been close since their childhood; did they get married too? Whoops... yes Tk/Tcl, it seems they had become one in my head only! :) Roger. --

Re: os.system function

2010-01-12 Thread Jeremy Sanders
Zabin wrote: Thanks for the pointersi had a look around and found the site: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en- us/xcopy.mspx?mfr=true to disable the prompt- i needed to include /y as below: os.system ('xcopy /s %s %s /y ' % (dirExe,

Re: os.system function

2010-01-12 Thread r0g
Zabin wrote: Hey everyone! I am a new python programmer. I am trying to get the general file functionality with options of save and save as working. These save functions save a folder with multiple files. Upon using the os.system copy function- if my destination directory has files with

os.system function

2010-01-11 Thread Zabin
Hey everyone! I am a new python programmer. I am trying to get the general file functionality with options of save and save as working. These save functions save a folder with multiple files. Upon using the os.system copy function- if my destination directory has files with similar names- i am

Re: os.system function

2010-01-11 Thread Olof Bjarnason
2010/1/11 Zabin zabin.faris...@gmail.com: Hey everyone! I am a new python programmer. I am trying to get the general file functionality with options of save and save as working. These save functions save a folder with multiple files. Upon using the os.system copy function- if my destination

Re: os.system function

2010-01-11 Thread Chris Rebert
On Mon, Jan 11, 2010 at 12:43 PM, Zabin zabin.faris...@gmail.com wrote: Hey everyone! I am a new python programmer. I am trying to get the general file functionality with options of save and save as working. These save functions save a folder with multiple files. Upon using the os.system

Re: os.system function

2010-01-11 Thread Zabin
On Jan 12, 10:23 am, Chris Rebert c...@rebertia.com wrote: On Mon, Jan 11, 2010 at 12:43 PM, Zabin zabin.faris...@gmail.com wrote: Hey everyone! I am a new python programmer. I am trying to get the general file functionality with options of save and save as working. These save functions

Re: os.system function

2010-01-11 Thread Chris Rebert
On Mon, Jan 11, 2010 at 2:00 PM, Zabin zabin.faris...@gmail.com wrote: snip and just wondering- whats the drawback of using os.system() command Forgetting to properly escape your input. Simple example: filename = foo bar.txt os.system(rm +filename) # uh-oh, we deleted 'foo' and 'bar.txt'

Re: os.system function

2010-01-11 Thread Zabin
On Jan 12, 11:31 am, Jeremy Sanders jeremy +complangpyt...@jeremysanders.net wrote: Zabin wrote: Thanks for the pointersi had a look around and found the site: http://www.microsoft.com/resources/documentation/windows/xp/all/prodd... us/xcopy.mspx?mfr=true to disable the prompt- i