>
>
> The path of your script is given by __file__.
thanks MRAB, and sorry for such a trivial question :)
cheers!
tiefeng wu
--
http://mail.python.org/mailman/listinfo/python-list
tiefeng wu wrote:
Hello everybody!
I'm working on my code repository (svn) auto-backup script which get
hotcopy of svn repository
directory to a directory named by date in same location where script
file is, it executed by a timer
program every 00:00 clock. Everything works fine when I'm testi
Hello everybody!
I'm working on my code repository (svn) auto-backup script which get hotcopy
of svn repository
directory to a directory named by date in same location where script file
is, it executed by a timer
program every 00:00 clock. Everything works fine when I'm testing by double
click it.