30

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

eozzy
  • 66,048
  • 104
  • 272
  • 428
  • 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 Jan 10 '10 at 12:40
  • 4
    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 Jan 10 '10 at 13:35
  • 3
    "Convenience"? Typing code on a iPhone? Can't see it. – S.Lott Jan 10 '10 at 14:28
  • Yes, but still better than carrying MBP 17" around. :) – eozzy Jan 10 '10 at 14:35
  • When you say "test" do you really mean "interactive experimentation"? – Bryan Oakley Jul 28 '10 at 22:21
  • Check out [Koding](https://koding.com/?c=ideh). It gives you a full Ubuntu VM with Root in your browser. Meaning that Python2 & 3, and all other Nix languages are supported, and you have the ability to install anything missing from the start :) – Lee Olayvar Dec 27 '13 at 16:38
  • Wonder why Trinket https://trinket.io/ is not in any of the answers. Maybe it wasn't there at the time. But its pretty good. Nice UI/UX. – Rajendra Uppal Mar 03 '15 at 08:44
  • Just noting that Pythonista on the iPhone works very well. Have developed code successfully. Replicated to Dropbox means same source files whether from laptop, server, web front-end, or iPhone (sure, add Android :-) – Miles Gillham Feb 29 '16 at 04:56

15 Answers15

24

You might want to give a try at:

Matt
  • 74,352
  • 26
  • 153
  • 180
Gregory Pakosz
  • 69,011
  • 20
  • 139
  • 164
5

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.

hwjp
  • 15,359
  • 7
  • 71
  • 70
fionabunny
  • 51
  • 1
  • 3
3

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

mooper
  • 166
  • 1
  • 2
  • 10
3

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

jldupont
  • 93,734
  • 56
  • 203
  • 318
  • This application has some problems that make it a poor choice for learning Python. For instance, all objects are immutable. I'd wait for this defect to be resolved before using it. – Adam Crossland Jan 10 '10 at 13:35
  • I extended the idea with a little editor (Mozilla Skywriter): http://perewe.appspot.com/ – Thomas K Jan 27 '11 at 21:31
3

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

Edward Yu
  • 776
  • 2
  • 6
  • 15
2

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.

Calydon
  • 251
  • 1
  • 9
1

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

sum2000
  • 1,363
  • 5
  • 21
  • 36
  • fast and light weight? it is compiled from c with llvm, so the whole python interpretter is running inside another interpreter resulting replit to be slow... – Wojciech Danilo Dec 01 '12 at 01:10
1

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

Janus Troelsen
  • 20,267
  • 14
  • 135
  • 196
1

Through not specifically for python Codepad is good too.

Prasoon Saurav
  • 91,295
  • 49
  • 239
  • 345
1

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.

S.Lott
  • 384,516
  • 81
  • 508
  • 779
Lothar
  • 12,537
  • 6
  • 72
  • 121
  • There already are a few online JavaScript IDEs, including http://jsfiddle.net, http://cloud9.io, and http://tinker.io. I think it's already possible for web-based IDEs to be "extremely interactive". Web-based IDEs also tend to be much more portable than desktop-based IDEs. – Anderson Green Feb 25 '13 at 02:31
  • Web-based IDEs won't replace my native code editor for the majority of my work, but they're really awesome for sharing bits of code and collaborating with others. – Kevin C. Aug 09 '13 at 22:17
1

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.

kuszi
  • 2,069
  • 29
  • 36
0

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

bianchi
  • 500
  • 2
  • 12
0

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.

codeape
  • 97,830
  • 24
  • 159
  • 188
0

Google Chrome Python Shell https://chrome.google.com/extensions/detail/gdiimmpmdoofmahingpgabiikimjgcia

Fuji
  • 28,214
  • 2
  • 27
  • 29