[Boa Constr] Boa app, full path to the running script ?
Status: Beta
Brought to you by:
riaan
From: aus s. <au...@gm...> - 2007-03-01 13:24:48
|
Hi, Within my boa app i cant seem to get my running apps path directory. Using (within a frame/class) self.staticText1.SetLabel(os.path.split(sys.argv[0])[0]) returns relative dir path (can i get absolute?) sys.argv[0] will return the scripts name but not its directory path (from root of drive , on windows) Any other way to get the full path to your running app in boa apps on windows? Thanks |