In message [EMAIL PROTECTED], Michael
Torrie wrote:
But unfortunately Python is definitely not a shell-scripting language
and some things that are easy in bash are really, really hard in
python ...
Why not combine the two
http://groups.google.co.nz/group/nz.comp/msg/3a572e757bbdd816.
--
Frantisek Malina wrote:
What is the best way to do the regular bash commands in native python?
- create directory
- create file
- make a symlink
- copy a file to another directory
- move a file
- set permissions
I need to write a program that creates real application/FTP accounts
and
What is the best way to do the regular bash commands in native python?
- create directory
- create file
- make a symlink
- copy a file to another directory
- move a file
- set permissions
I need to write a program that creates real application/FTP accounts
and make regular backups to external
Hey,
I found it. Python rocks:
http://www.python.org/doc/2.5.2/lib/os-file-dir.html
If you have any further links that provide some lively code examples
and recipes, please pass them on.
Thank you
Frank Malina
http://vizualbod.com
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 9, 10:13 am, Frantisek Malina [EMAIL PROTECTED] wrote:
Hey,
I found it. Python rocks:http://www.python.org/doc/2.5.2/lib/os-file-dir.html
If you have any further links that provide some lively code examples
and recipes, please pass them on.
Thank you
Frank
On Oct 9, 3:22 pm, jdd [EMAIL PROTECTED] wrote:
On Oct 9, 10:13 am, Frantisek Malina [EMAIL PROTECTED] wrote:
Hey,
I found it. Python
rocks:http://www.python.org/doc/2.5.2/lib/os-file-dir.html
If you have any further links that provide some lively code examples
and recipes, please
You might also be interested in the 'shutil' module:
http://docs.python.org/library/shutil.html#module-shutil
Cheers,
Chris
--
Follow the path of the Iguana...
http://rebertia.com
On Thu, Oct 9, 2008 at 7:13 AM, Frantisek Malina [EMAIL PROTECTED] wrote:
Hey,
I found it. Python rocks: