At Tuesday 24/10/2006 20:39, [EMAIL PROTECTED] wrote:

I have the following python script and some_command in the same
directory. I have to call the python script from that directory.
Otherwise, some_command won't be found. I'm wondering how to make the
following script working no matter what the working directory is.

print os.path.abspath(__file__)


--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to