Author Jurko.Gospodnetić
Recipients Jurko.Gospodnetić, barry, brett.cannon, eric.snow, ncoghlan, ned.deily, r.david.murray
Date 2014-03-12.13:37:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Ask per Nick's instructions I tweaked cx_Freeze to import a dummy
package as frozen. The dummy package has the following structure:


and its file contains only the 8 bytes '__file__'
(does not include the quotes).

Then running a frozen executable based on a script with the following content:

  import gugu

results in a NameError due to the name '__file__' not being

You can see more detailed information at:

Hope this helps.

Best regards,
  Jurko Gospodnetić
Date User Action Args
2014-03-12 13:37:01Jurko.Gospodnetićsetrecipients: + Jurko.Gospodnetić, barry, brett.cannon, ncoghlan, ned.deily, r.david.murray, eric.snow
2014-03-12 13:37:01Jurko.Gospodnetićsetmessageid: <>
2014-03-12 13:37:01Jurko.Gospodnetićlinkissue20884 messages
2014-03-12 13:37:01Jurko.Gospodnetićcreate