30
votes

Is there any web-based IDE that I can use to run quick tests? There're a dozen for PHP and some for even Java but I haven't found yet that runs Python. If there's an open-source IDE available that I can host and run myself, that'd be better.

Thanks

15
How can it be quicker to use some remote client/server Python than to use your local python? What's wrong with your local Python?S.Lott
Why? convenience and freedom. I want to be able to run quick tests from my iPhone while I'm reading the book ('Learning Python') sitting on my sofa. I don't like to carry my 6 pound MBP everywhere. ;)eozzy
"Convenience"? Typing code on a iPhone? Can't see it.S.Lott
Yes, but still better than carrying MBP 17" around. :)eozzy
When you say "test" do you really mean "interactive experimentation"?Bryan Oakley

15 Answers

25
votes
5
votes

I'm trying out PythonAnywhere.com and it has in-browser support for both 3.2 and 2.7. It also lets you sync to dropbox and deploy right to the web.

3
votes

Codepad can compile code, if it's what you're looking for.

3
votes

http://shell.appspot.com/ The google AppEngine shell (not really an IDE though).

3
votes

Codecademy has one at labs.codecademy.com. It has syntax highlighting and auto indent.

2
votes

Repl.it has a python interpreter and terminal among others. It may not be a full-fledged IDE. I'm not sure how you define that.

1
votes

Through not specifically for python Codepad is good too.

1
votes

I'm pretty sure that IDE's are the last kind of programs that will ever go web based, because a good IDE needs to be so extremely interactive if it wants to be good.

I really don't see a reason for this and others seem to agree because there isn't any. And no, an interactive web shell or compiler has nothing to do with an IDE.

1
votes

ideone.com is able to compile and run Python. There is also an integrated web editor - perfect for quick tests. It is not an open source but you can use Ideone API to build your service.

1
votes

Repl.it is an awesome project, the python engine is completely written in javascript, that means, all the code is executed on user's side, rather than server. Also you can use it offline, once the engine is loaded. It is very fast and light weight

1
votes

Cloud9 is not open-source, but it's probably the best online IDE.

0
votes

Mozilla Bespin is an interesting project (user guide).

It is a Mozilla labs open source project to build a browser-based IDE. You can host it yourself, see the Bespin developer guide.

I don't think it is currently a full-fledged Python IDE, but I believe it could be made into one with a bit of effort. The Bespin server is written in Python.

0
votes

Well, Codenvy can be a good alternative. You may also find some info at http://bestonlineide.com