Home
It is currently Sun Sep 05, 2010 4:07 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: A question about python adn the internet
PostPosted: Fri May 07, 2010 10:39 pm 

currently relearning pygame without livewires for the future production of my art

Offline
Whiz Kid
Whiz Kid

Joined: Thu Apr 22, 2010 3:13 am
Posts: 55
Just wanted to know:
If I create a game using python and pygame, how can I make it usable on an internet site like facebook without needing the user to have python?


Top
 Profile  
 
 Post subject: Re: A question about python adn the internet
PostPosted: Fri May 07, 2010 10:56 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Dec 09, 2008 5:39 am
Posts: 2132
As far as I know, Python cannot be compiled, and the end-user will have to have the Python interpreter. That is different than the tools you had to download to develop with it, though. It is not really any different than needing .NET for running C# or Visual Basic programs, the JVM for running Java, Flash plugin for running Flash content, etc. People are pretty used to it.


Top
 Profile  
 
 Post subject: Re: A question about python adn the internet
PostPosted: Fri May 07, 2010 11:22 pm 

currently relearning pygame without livewires for the future production of my art

Offline
Whiz Kid
Whiz Kid

Joined: Thu Apr 22, 2010 3:13 am
Posts: 55
I dont imagine a lot of people haveing Python tho or can even find where to get the interpretor...so i guess it would be pointless to show off my work that way. Im really just looking for a way to show my work and get more ideas for what to program in order to continue to improve my coding skills lol.


Top
 Profile  
 
 Post subject: Re: A question about python adn the internet
PostPosted: Fri May 07, 2010 11:33 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Dec 09, 2008 5:39 am
Posts: 2132
Actually, I found a couple of things here:

Py2exe lets you actually compile your Python applications to run natively under Windows. Mac and Linux are not a problem since they come with the Python interpreter already installed.

Here is a conversation about almost the same question on the Stack Overflow forums. They give links to several different solutions.

You can also find more info by Googling "deploying Python applications". "Deploy" is the jargon for distributing applications to end-users, and if you weren't using the term in web searches, it may have been the cause of not finding meaningful results.


Top
 Profile  
 
 Post subject: Re: A question about python adn the internet
PostPosted: Sat May 08, 2010 1:17 am 

currently relearning pygame without livewires for the future production of my art

Offline
Whiz Kid
Whiz Kid

Joined: Thu Apr 22, 2010 3:13 am
Posts: 55
thank you very much Jack! that was very helpful...Indeed there are many solutions which I can use.


Top
 Profile  
 
 Post subject: Re: A question about python adn the internet
PostPosted: Sat Jun 05, 2010 6:07 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri Nov 18, 2005 12:00 am
Posts: 1638
JMatlack wrote:
Just wanted to know:
If I create a game using python and pygame, how can I make it usable on an internet site like facebook without needing the user to have python?


If you're creating a game for Facebook or some other social media site, the code is entirely on the back end. For Facebook, specifically, you will write your program to generate Facebook Markup Language (FBML) which is then processed by Facebook.

The end user does not need Python on their machine to use your app.

Google "Python FBML" for more information on how to create your Facebook app in Python.

_________________
SpeedGame Contest at the Christian Developer Network - http://speedgame.christiandevs.com
Great prizes provided by The Game Creators, Garage Games, and more!

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Bridge by mehdiplugins.com