gmax2006 wrote: > Hi, > > I use RedHat linux. > > How can I find where exactly the current python script is running?
Hi, Doesnt __file__ attribute of each module contain the full filepath of the module? So, try this: filepath = __file__ print filepath Works for me :) Cheers, i. zuzak -- http://mail.python.org/mailman/listinfo/python-list