Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help on Python SPE and Executable File
Index -> Programming, Python -> Python Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Aman




PostPosted: Sat Jun 14, 2008 10:46 am   Post subject: Help on Python SPE and Executable File

Hi, I have 2 questions that I'd appreciate if someone were to help me with.

1. How do you get SPE? I've been looking for it at Python's website, but I don't find it.
2. If you have a game in a folder, comprising of several programs and folders and pictures (possibly music),
how do you turn all that into an executable file that you could send to other people?

- Thanks
Sponsor
Sponsor
Sponsor
sponsor
Zeroth




PostPosted: Sat Jun 14, 2008 1:02 pm   Post subject: Re: Help on Python SPE and Executable File

Here's the site for SPE: http://pythonide.blogspot.com/

Now, to make an executable, you can use py2exe: http://www.py2exe.org/

It works pretty well, just not with pygame, unless you use the info here: http://gamedev.pansapiens.com/2008/04/packaging-a-python-game-for-distribution-on-windows/

I hope that helps!
Aman




PostPosted: Sat Jun 14, 2008 9:54 pm   Post subject: RE:Help on Python SPE and Executable File

When I tried to download SPE, all I got was a zipped file, which contained a bunch of files, progra,s, and pics. How do I get install it, get it running ???
Zeroth




PostPosted: Sun Jun 15, 2008 5:29 pm   Post subject: Re: Help on Python SPE and Executable File

Download version 0.8.3, it has a .exe installer. 0.8.4 for windows is in testing right now. For example, heres a direct link: http://prdownload.berlios.de/python/SPE-0.8.3.c-wx2.6.1.0-py24.exe
Aziz




PostPosted: Mon Jun 16, 2008 3:04 pm   Post subject: RE:Help on Python SPE and Executable File

Oh hand holding Smile

By the way, the Python Tutorials covers py2exe I'm pretty sure.
Bobrobyn




PostPosted: Mon Jun 16, 2008 10:17 pm   Post subject: RE:Help on Python SPE and Executable File

Thanks for this post. I didn't know about Python SPE, so I installed it...and I like it.
Zeroth




PostPosted: Tue Jun 17, 2008 8:05 am   Post subject: Re: Help on Python SPE and Executable File

It is pretty nice, and cross platform. It also starts up nice and quickly. If you wanted to use the latest version, you could install it manually.

1. Copy contents of _spe folder to _spe folder in Program Files
2. Create a shortcut to SPE.py
3. Place shortcut wherever you like.

And its installed. well, as much installation as you need to do. If you are more of an expert user of windows you could always add spe to the file associations for .py and .pyw so you can right click and open the file in spe. That is an exercise left for the reader. Wink[/list]
Display posts from previous:   
   Index -> Programming, Python -> Python Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: