Click here to Skip to main content
15,920,801 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Is it possible to create a pygame app and run it on the web browser? I've heard of this common gateway interface (CGI), so would I be able to implement it around this? Also, what is the use of Django is CGI already allows the python program to run on a broswer? What does Django even do to begin with?
Posted
Updated 7-Nov-13 7:20am
v2

1 solution

If you mean http://en.wikipedia.org/wiki/Pygame[^], http://www.pygame.org[^], I don't think it can target Web applications.

If your goal includes using Python on client side (this is how I could interpret your "run it on the Web browser"), look at pyjs instead, which targets both Web and desktop. Please see:
http://en.wikipedia.org/wiki/Pyjamas_%28software%29#Pyjs.org_Fork[^],
http://pyjs.org/[^].

The question about Diango hardly can be called correct. Why not just reading about it? Please see:
http://en.wikipedia.org/wiki/Django_%28web_framework%29[^],
https://docs.djangoproject.com/en/1.6/[^]
https://docs.djangoproject.com/en/1.6/intro/overview/[^].

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900