3 Replies - 1330 Views - Last Post: 10 October 2012 - 09:50 PM Rate Topic: -----

#1 moushakes12  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 09-October 12

Runnning and Packaging a python project

Posted 09 October 2012 - 01:33 AM

Hello guys, i am a java programmer and I've just learned python it is so nice!!!

The problem is that my Dr. gave me a source code project which i have to package it to be executable, but till now i didn't know how to manage and run the code:( any help?

i was thinking to convert the code to java but python is nicer!Please help

If anyone is interested i can send the project by mail!

Thank you.

Is This A Good Question/Topic? 0
  • +

Replies To: Runnning and Packaging a python project

#2 3P1C_F@!l  Icon User is offline

  • D.I.C Head

Reputation: 8
  • View blog
  • Posts: 98
  • Joined: 01-March 11

Re: Runnning and Packaging a python project

Posted 09 October 2012 - 06:51 AM

Check out PyInstaller. I'm new to Python as well but this seems to be the route most folks are taking. I have heard it has issues with Python 2.6/2.7 so pay attention to your version. Also, if you came from Java you should check out some C# (not that there is anything with Python).


EDIT: Mail?! What is this "mail" you speak of??

This post has been edited by 3P1C_F@!l: 09 October 2012 - 06:52 AM

Was This Post Helpful? 1
  • +
  • -

#3 duffman18  Icon User is offline

  • D.I.C Head

Reputation: 14
  • View blog
  • Posts: 54
  • Joined: 20-October 10

Re: Runnning and Packaging a python project

Posted 09 October 2012 - 11:47 AM

I would recommend cx_freeze if you are using Python v3.X. That is the only binary maker that I know of that works with Python 3. If you are using Python v2.X I would recommend py2exe. I think this is the popular python binary maker module and there are many tutorials and resources that you can find on the internet for py2exe.
Was This Post Helpful? 1
  • +
  • -

#4 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Runnning and Packaging a python project

Posted 10 October 2012 - 09:50 PM

Look into Portable Python. It doesn't make the application an exe file, but it does allow people to run your program even if they don't have Python installed. The benefit, it's cross platform :) Linux/Mac/Windows users alike can all run the program.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1