[PyQt] Determining location of pyqtdeployed app at runtime

Dave Gradwell davegradwell at yahoo.co.uk
Fri Aug 1 20:32:09 BST 2014


Apologies.  I should have written that (when pyqtdeployed) this:
    __file__
gives me this:
     <frozen>

and this:
     QFileInfo(__file__).absolutePath()
gives me this:
    /Users/admin
whereas, when not frozen, it gives me this:
    /Users/admin/Desktop/clientUtility
which is more useful.

Though the question still stands in essence.

Thanks, Dave.





More information about the PyQt mailing list