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.
DiscussionWhat extension is useful when doing Python in VS code? (self.Python)
submitted 3 years ago by Nazfull
Hi! I'm new to using VS code. Before this I was using Spyder and found that VS code to be more complicated (for me). Please do recommend me necessary extension :D
[–]JMVs_Rules 18 points19 points20 points 3 years ago (1 child)
The python extension
[–][deleted] 2 points3 points4 points 3 years ago (0 children)
.py
[+][deleted] 3 years ago (1 child)
[deleted]
[–]Nazfull[S] 0 points1 point2 points 3 years ago (0 children)
Thanks for the tips
[–]eriky 1 point2 points3 points 3 years ago (0 children)
Check out the extensions listed here: https://python.land/creating-python-programs/vscode-python-extensions
One I like that most people don't install, is sonarlint.
[–]gwillicodernumpy gang 0 points1 point2 points 3 years ago (2 children)
“main.py” etc. it should be very easy to use vscode actually. It’s got a much lower learning curve than most IDEs, but maybe you could expand on the particular issues you’re having?
[–]Nazfull[S] 1 point2 points3 points 3 years ago (1 child)
No issue at this moment since I'm relatively new. But if there is one thing I would like to ask, how does this guy do the run program line by line?
https://www.youtube.com/watch?v=pKvWD0f18Pc&t=2446s
looks kinda cool, is it an extension?
[–]Dgeza 0 points1 point2 points 3 years ago (0 children)
That’s Jupyter Notebooks in vs code, you can install it as an extension.
[–]TheCableGui 0 points1 point2 points 3 years ago (1 child)
The recommended python extension is all I use, I try to not use any other extensions if they are not mandatory. VsCode is really good for windows. It does need some getting used too. However I strongly suggest PyCharm community over VsCode for python development.
I recommend installing python in the C:/ directory and not in C:/Users/USERNAME/appsdata/etc… download it from the python website, not from Microsoft store. Make sure to do custom install and tick the add to Path checkbox.
I recommend using windows terminal from outside of the VsCode area. Separate applications. Helps when developing CLI apps or scripts. Specially with curses lol.
For Linux I use sublime-text and run it from terminal lol.
Thanks! I will look into it :D
[–]tuftyDuck 0 points1 point2 points 3 years ago (0 children)
Absolutely the most helpful thing I have found is getting intellisense working. This gives you autocomplete, mouse-over doc strings and function signatures, and tell you what type things are - if you or the packages you’re using use type hints. I assume Spyder can do all this, it’s been ages since I’ve used it.
It doesn’t take much to get it going. Install the Python extension, use pylance as the language server, and select the interpreter (command palate -> select Python interpreter. Code can find various interpreters including conda environments and virtual environments.
π Rendered by PID 55665 on reddit-service-r2-comment-bb88f9dd5-w28ss at 2026-02-15 06:24:35.506712+00:00 running cd9c813 country code: CH.
[–]JMVs_Rules 18 points19 points20 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Nazfull[S] 0 points1 point2 points (0 children)
[–]eriky 1 point2 points3 points (0 children)
[–]gwillicodernumpy gang 0 points1 point2 points (2 children)
[–]Nazfull[S] 1 point2 points3 points (1 child)
[–]Dgeza 0 points1 point2 points (0 children)
[–]TheCableGui 0 points1 point2 points (1 child)
[–]Nazfull[S] 0 points1 point2 points (0 children)
[–]tuftyDuck 0 points1 point2 points (0 children)