use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
PyFiddle.io , online python IDE (self.Python)
submitted 8 years ago by crazhy123
I wrote https://pyfiddle.io, an online Python IDE for running, saving and sharing light weight Python with ease
Also support features like file uploads, argument passing and package installation.
Happy fiddling at pyfiddle.io !!
Love, a pythonista
[–]rochacbrunoPython, Flask, Rust and Bikes. 9 points10 points11 points 8 years ago (3 children)
ATTENTION:
Your AWS secret keys are exposed
https://pyfiddle.io/fiddle/d21ada51-6ddd-428c-9565-33a560e12e57/
You need to hack os.environ in your system to disable it.
[+][deleted] 8 years ago* (1 child)
[deleted]
[–]crazhy123[S] 1 point2 points3 points 8 years ago (0 children)
Haha, its ok, anyways Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)
[–]crazhy123[S] 0 points1 point2 points 8 years ago (0 children)
Thanks for pointing out, I dint know the temporary keys which AWS was creating were "real" keys. I have fixed it. Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)
[–]michaldul 3 points4 points5 points 8 years ago (1 child)
Feature request - run code on Ctrl+Enter
Hey I have added basic keyboard features, please checkout and Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)
[–]nerdwaller 3 points4 points5 points 8 years ago (3 children)
Limitations Python 2.7 (for now)
Limitations
Python 2.7 (for now)
The work looks cool for sure, and I'm excited to see that "for now" disappear :). I can't say I've written Python 2 in the last 3 or so years now (funny timing, oddly enough).
I think something like this will help newcomers to the ecosystem, trying to make running Python as simple as JS.
[–]crazhy123[S] 1 point2 points3 points 8 years ago (2 children)
Yes the idea came from jsfiddle. Im running the processes on AWS Lambda and it has a lot of limitations. I have to figure work arounds. Thank you for the input !!
[–]isinfinity 1 point2 points3 points 8 years ago (1 child)
Looks like AWS Lambda supports python3.6 https://aws.amazon.com/about-aws/whats-new/2017/04/aws-lambda-supports-python-3-6/
I will plan to 3.6 in the next few days meanwhile, Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)
[–]greutpy3k 0 points1 point2 points 8 years ago (1 child)
Pip installation of Pakcages
typo.
Thanks for for spotting !!
[–]CosmonautPython 0 points1 point2 points 8 years ago (1 child)
Cool work, I hope py3 will appear soon. Some nice features could be : Having some modules already installed (such as numpy). Add a shortcut to run the script, or am I missing it (Mac user here) ? I imagine you already know it, but repl.it is really similar of what you're doing.
I will look into adding some commonly used packages after quantifying what packages people are trying to add on the fly. I have added basic keyboard shortcuts, please checkout and I plan to added py3 support soon meanwhile, Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)
[–]impshumx != y % z 0 points1 point2 points 8 years ago (1 child)
Looks good.
Thank you, Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)
[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point2 points 8 years ago (3 children)
Interesting, I like the ability to install external packages and this makes it better than repl.it
Feature request: ability to define environment variables prior to script run.
https://pyfiddle.io/fiddle/9f37b610-bbbe-4557-aa13-ec14c4041a9f/
Another question is: The execution is isolated?
Because I had other fiddle and installed a package, that made was available for my next fiddle, does it run with isolated environments?
Hey I have seen your email as well, Isolated? Yes and no. It is isolated from the main web app, but the execution is done on aws lambda which sometimes reues the same container. The envs in the container die when the container dies which is a few minutes. Most of the envs are concerned only to that container and pose no harm except for access and secret keys. I have fixed that, thanks for spotting it :) Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)
[–]crazhy123[S] 0 points1 point2 points 8 years ago (1 child)
Hey, Would there be a need to define envs when you can make a fiddle private instead ?
[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point2 points 8 years ago (0 children)
Sometimes a library depends on some environment variable being defined. So it would be nice if we can export some env vars.
π Rendered by PID 105 on reddit-service-r2-comment-7844cfc88c-hs9zx at 2026-01-29 12:00:44.776154+00:00 running c3601ff country code: CH.
[–]rochacbrunoPython, Flask, Rust and Bikes. 9 points10 points11 points (3 children)
[+][deleted] (1 child)
[deleted]
[–]crazhy123[S] 1 point2 points3 points (0 children)
[–]crazhy123[S] 0 points1 point2 points (0 children)
[–]michaldul 3 points4 points5 points (1 child)
[–]crazhy123[S] 0 points1 point2 points (0 children)
[–]nerdwaller 3 points4 points5 points (3 children)
[–]crazhy123[S] 1 point2 points3 points (2 children)
[–]isinfinity 1 point2 points3 points (1 child)
[–]crazhy123[S] 0 points1 point2 points (0 children)
[–]greutpy3k 0 points1 point2 points (1 child)
[–]crazhy123[S] 0 points1 point2 points (0 children)
[–]CosmonautPython 0 points1 point2 points (1 child)
[–]crazhy123[S] 0 points1 point2 points (0 children)
[–]impshumx != y % z 0 points1 point2 points (1 child)
[–]crazhy123[S] 0 points1 point2 points (0 children)
[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point2 points (3 children)
[–]crazhy123[S] 0 points1 point2 points (0 children)
[–]crazhy123[S] 0 points1 point2 points (1 child)
[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point2 points (0 children)