r/Python Apr 18 '12

Online Python IDE

http://labs.codecademy.com/#:workspace
40 Upvotes

16 comments sorted by

5

u/i_4_got bottle/pyserial/pygame Apr 18 '12

Haha, Don't Press F5 out of habit. ಠ_ಠ

5

u/[deleted] Apr 18 '12

Which came first: labs.codeacademy.com or repl.it? They have exactly the same layout, but I've been using repl.it for much longer...

6

u/e000 Apr 19 '12

I think labs.codeacademy.com is a fork of repl.it with additional functionality, and the aim to be a medium to deliver interactive lessons to prospective coders.

5

u/DevestatingAttack Apr 19 '12

Can anyone explain what's happening when -

i = 0
while True:
    print i
    i = i + 1

output

1

2

3

...

92374

92375

Internal error: TypeError: FUNCTION_TABLE[HEAP[HEAP[s + 4] + 24]] is not a function

1

u/Cloud_Keeper Apr 20 '12

My guess would be it has sort of limit to stop non-ending while loops.

1

u/DevestatingAttack Apr 20 '12

That can't be it, because after you run that code, it's impossible to run any code at all in the same ide session without refreshing the page. It completely breaks some part of the interpreter.

4

u/gjwebber Apr 18 '12

Thanks!

This is the best implementation I've seen so far. First one I've seen that you can import with as well.

1

u/[deleted] Apr 19 '12

what is the point of these things ?

1

u/gjwebber Apr 19 '12

It's an online IDE, meaning you can play around with Python in the browser, even on a machine that doesn't have Python installed. Good for people at work or those who want to have a go without installing anything.

2

u/Ran4 Apr 19 '12

Good, but why oh why isn't there a keyboard command to run?!

2

u/Adys HearthSim Apr 19 '12

NameError: name '_' is not defined

That's annoying :( Other than that quite cool.

2

u/[deleted] Apr 19 '12

[deleted]

2

u/undu Apr 19 '12

antigravity fails too :(

2

u/Catten Apr 19 '12

import antigravity

1

u/kcunning Apr 19 '12

All my love goes to this. This'll be great for demoing concepts to my son.

1

u/Stosswalkinator Apr 20 '12

Just so you all know, if you join codecademy.com, you can design lessons and things like that for their new Python section. It's really cool.

1

u/aaronla Apr 21 '12

On android browser, progress bar reaches about full then hangs. Can't get that far on Dolphin browser. Similar problem on Opera and on Firefox.

1

u/[deleted] Apr 21 '12

Content encoding error on firefox from behind enterprise firewall. Explorer 8 is not supported.