From: Michael F. <mi...@pc...> - 2005-03-23 16:39:02
|
import sys if hasattr(sys, 'frozen'): print 'This application has been frozen using py2exe' Regards, Fuzzy http://www.voidspace.org.uk/python Echo wrote: >Hello, >I am trying to make my app behave differently when it is running from >an exe(from py2exe) vs just regular. >Is there a way to pass args to my script from the setup.py file? Or is >there another/better way to do this? > > > > |