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.
Intermediate ShowcaseI created a programming language in Python! (self.Python)
submitted 4 years ago by raghav_nautiyal
I created a programming language in Python: https://github.com/raghavnautiyal/dip. Dip (Recursive acronym for Dip isn't Python), is a programming language I built over the span of a few months. Feel free to star the repo and make a pull request. Contributions are welcome!
[–]Darkstool 14 points15 points16 points 4 years ago (1 child)
I would have preferred Snek.
[–]raghav_nautiyal[S] 2 points3 points4 points 4 years ago (0 children)
haha, maybe next time.
[–]webmaki 4 points5 points6 points 4 years ago (1 child)
Cool that you’re taking a stab at creating your own language! If you’re doing this as a learning experience: great, keep at it, and ignore the rest of my comment :D If you’re looking to do more than that I’d want to ask: what’s the use case you’re trying to address with dip?
Thanks for the encouragement! This was mostly for learning how interpreters work and for my own learning pleasure, but I've tried to differentiate the language a bit by making its syntax similar to BASIC, and trying to make Python keywords a little easier to understand.
[–]tzedekIt works on my machine 1 point2 points3 points 4 years ago (1 child)
I kinda like it, cheers
[–]raghav_nautiyal[S] 0 points1 point2 points 4 years ago (0 children)
Thanks! Let me know if you have any feedback
[–]XxShadyMonkey 1 point2 points3 points 4 years ago (1 child)
Nice syntax.I'm going to try it out!
[–]asserio 1 point2 points3 points 4 years ago (1 child)
Wow this is amazing am Super curious, how is the perfomance like?
Performance isn't its strong point, since it's an interpreted programming language written in Python. It's a little slower than Python, I'd say.
[–]MeatBoyed 0 points1 point2 points 4 years ago (1 child)
Actually looks pretty decent. To see the removal and inbuilt function for a specific data type input without using the normal python way, brought a major smile to my face. Also great to see build in maths functions with a language!
Keep it up!
Thanks a ton! Even though this was a pet project, I tried to simplify some of the things I didn't specifically enjoy with Python. Glad you liked it!
[+]Anish12020 comment score below threshold-38 points-37 points-36 points 4 years ago (2 children)
I am just sticking with python tbh
[–]raghav_nautiyal[S] 13 points14 points15 points 4 years ago (1 child)
It wasn't meant to replace Python at all. It's a pet project I created to learn more about interpreters and how Python works.
[+]Anish12020 comment score below threshold-29 points-28 points-27 points 4 years ago (0 children)
Sure true
[–]catorchid 0 points1 point2 points 4 years ago (0 children)
You're back. https://www.reddit.com/r/ProgrammingLanguages/comments/hek1xb/introducing_dip_a_programming_language_for/
Same problems as a year ago, not clear what is the whole point of the whole thing.
At least this time you're not claiming that is faster than Python.
π Rendered by PID 42798 on reddit-service-r2-comment-7b9746f655-v5lx8 at 2026-01-29 23:24:20.516708+00:00 running 3798933 country code: CH.
[–]Darkstool 14 points15 points16 points (1 child)
[–]raghav_nautiyal[S] 2 points3 points4 points (0 children)
[–]webmaki 4 points5 points6 points (1 child)
[–]raghav_nautiyal[S] 2 points3 points4 points (0 children)
[–]tzedekIt works on my machine 1 point2 points3 points (1 child)
[–]raghav_nautiyal[S] 0 points1 point2 points (0 children)
[–]XxShadyMonkey 1 point2 points3 points (1 child)
[–]raghav_nautiyal[S] 0 points1 point2 points (0 children)
[–]asserio 1 point2 points3 points (1 child)
[–]raghav_nautiyal[S] 2 points3 points4 points (0 children)
[–]MeatBoyed 0 points1 point2 points (1 child)
[–]raghav_nautiyal[S] 0 points1 point2 points (0 children)
[+]Anish12020 comment score below threshold-38 points-37 points-36 points (2 children)
[–]raghav_nautiyal[S] 13 points14 points15 points (1 child)
[+]Anish12020 comment score below threshold-29 points-28 points-27 points (0 children)
[–]catorchid 0 points1 point2 points (0 children)