Help with paths

2010-10-18 Thread Devin M
there a simple way to do this? I was considering spliting apart the path and then reconstructing it with the last folder left off. Hope theres a better way to do this. Regards, Devin M -- http://mail.python.org/mailman/listinfo/python-list

Re: Help with paths

2010-10-18 Thread Devin M
On Oct 18, 2:43 pm, Alexander Kapps wrote: > On 18.10.2010 23:24, Devin M wrote: > > > Hello, I am using os.path to get the absolute paths of a few > > directories that some python files are in. > > FIlePath = os.path.dirname(os.path.realpath(__file__)) > > which r