6 Replies - 1764 Views - Last Post: 04 March 2009 - 04:09 PM Rate Topic: -----

#1 klmr3d  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 05-November 08

Python Code to EXE

Posted 02 March 2009 - 10:35 PM

Hey everyone,

I have some python source codes that I can compile and run, but how do I make an EXE of them?

Thanks,
Red
Is This A Good Question/Topic? 0
  • +

Replies To: Python Code to EXE

#2 numerical_jerome  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 167
  • Joined: 16-September 07

Re: Python Code to EXE

Posted 02 March 2009 - 10:42 PM

the package you need if (intuitively enough) py2exe, and can be found here:

http://www.py2exe.org/

Hope this helps,

-Jerome
Was This Post Helpful? 0
  • +
  • -

#3 klmr3d  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 05-November 08

Re: Python Code to EXE

Posted 03 March 2009 - 01:53 PM

I downloaded py2exe, but then i got an error during install...

"python 2.3 is required, which was not found in the registry"

I read that sometimes depending on how you installed python it creates registry entries in your... registry. but i look under local machine and then software and python is under there...
Was This Post Helpful? 0
  • +
  • -

#4 atik97  Icon User is offline

  • ???
  • member icon

Reputation: 144
  • View blog
  • Posts: 715
  • Joined: 16-September 08

Re: Python Code to EXE

Posted 03 March 2009 - 03:09 PM

You might have tried to install older version of py2exe. Make sure to download the appropriate version of py2exe according to installed version of python.
Was This Post Helpful? 0
  • +
  • -

#5 numerical_jerome  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 167
  • Joined: 16-September 07

Re: Python Code to EXE

Posted 03 March 2009 - 05:58 PM

I am currently using py2exe with python 2.6 on one of my machines at work.

I would be unsurprised if this package has not been ported to python 3.0 (yet), but it should work with the various python 2.x just fine.

Check the version of py2exe you are trying to install.
Was This Post Helpful? 0
  • +
  • -

#6 klmr3d  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 05-November 08

Re: Python Code to EXE

Posted 04 March 2009 - 12:27 PM

Hey thanks guys, I was installing py2exe for 2.3 but I have 2.6. All working now. Thanks!
Was This Post Helpful? 0
  • +
  • -

#7 atik97  Icon User is offline

  • ???
  • member icon

Reputation: 144
  • View blog
  • Posts: 715
  • Joined: 16-September 08

Re: Python Code to EXE

Posted 04 March 2009 - 04:09 PM

Really? However, enjoy now.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1