Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 20th, 2005, 4:35 PM   #11
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by LegionZero
Next what you want to do is get py2exe, I am noob to python also and I have found it to be usefull, go to this link http://starship.python.net/crew/theller/py2exe/ to get documentation and the py2exe modules. It does take a bit of reading but it isn't all that hard to use and implement.
The new version of py2exe apparently allows one to package up your python application in a single (though relatively large) exe, instead of a group of pyc and zip files. I haven't tried this out, though.
Arevos is offline   Reply With Quote
Old Sep 20th, 2005, 4:39 PM   #12
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
I'm writing a quick unix modification to the Python installer which should allow people to create Python executables... not sure if i'm going to succeed or not. It'll be fun to try.
__________________

tempest is offline   Reply With Quote
Old Sep 21st, 2005, 1:40 AM   #13
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
i didn't even know it was problematic to create .exe's with python, considering it's bruce eckel's "favorite language" and all. i have python, i just haven't really played with it much. thanks for the links guys!
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Sep 21st, 2005, 10:30 AM   #14
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
It would be great and near impossible if someone made a commandline Python to C++ converter.
It could convert Python into C++ code, then use g++ to compile it to an executable.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Sep 21st, 2005, 11:36 AM   #15
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Good luck with that one. There are too many high-level things in Python, such as its weird for loop, for that to happen easily. You'd also have to port all the functions it uses, which would be almost impossible.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 21st, 2005, 5:17 PM   #16
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
It could be done, but... yeah, it would be a lot of work. It's not near impossible because py2c had a good stab at it (but produced modules and not executables), and pyrex does something vaguely similar.
Cerulean is offline   Reply With Quote
Old Sep 25th, 2005, 8:28 AM   #17
Simon Gray
Programmer
 
Join Date: Aug 2005
Location: Ålsgårde, Denmark
Posts: 62
Rep Power: 4 Simon Gray is on a distinguished road
Send a message via MSN to Simon Gray
Well well, speak of of the devil eh? I just saw this on osnews:

Python to C++ compiler
__________________
Visit my blog, about all that stuff in between your nostrils >_>
Simon Gray is offline   Reply With Quote
Old Sep 25th, 2005, 8:55 AM   #18
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
I downloaded and tried that program, it didn't really work that well, even on a simple python script.
IMO it is easier to convert python to c++ by hand than use that.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:10 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC