olof.bjarnason at gmail.com
Mon Jan 11 22:14:09 CET 2010
2010/1/11 Zabin <zabin.farishta at 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 directory has files with similar
> names- i am asked whether i want to replace the files on the command
> Is there some way of getting this question into a dialog box?
> Also is there someway of avoiding or programmatically setting the
> response to the command prompt?
I recommend the shutil module, which is built-into Python:
You will have more control of what you are doing with it.
More information about the Python-list