Python with VSCode Tutorial : Getting Started

preview_player
Показать описание
In this tutorial I show how to get started with VS Code and Python. I explain which extensions you need to download for comfortable Python development with Visual Studio Code.

Here is the video on how to setup Python:

See my social profiles here

#Python
#VSCode
#Programming
Рекомендации по теме
Комментарии
Автор

Big Like, your illustration is brief and focused on the most important issues..
I have just known how to:
- install important extensions like runner
- use the terminal

firstdefender
Автор

When i click run the Output window says


[Running] python -u

[Done] exited with code=0 in 0.087 seconds

Im not able to see the output of my actual code

BrownHuman
Автор

you have to save the file after writing the print command.

rizwansaulat
Автор

when i try to run the script i have this error: " 'python' is not recognized as an internal or external command,
operable program or batch file."

nicolasraducan
Автор

Hi, I have a little problem. Python decorators doesn't work in vscode, bot work in vscode jupyter. Do you know how to fix it?
Example:

#Decorator are just function that take function as first
#parameter and return a function
def logging(f):
def decorator_function(*args, **kwargs):
print('executing '+f.__name__)
return f(*args, **kwargs)
return decorator_function
#Use it like this
@logging
def hello_world():
print('Hello World')

hello_world()

returns an error:
>>> def logging(f):
... def decorator_function(*args, **kwargs):
... print('executing '+f.__name__)
... return f(*args, **kwargs)
... return decorator_function
... #Use it like this
... @logging
File "<stdin>", line 7
@logging
^
SyntaxError: invalid syntax

Dmitrievsky
Автор

Can you make a tutorial on how to do the exact same thing with VSCodium next?

dextergrahm
Автор

i have a problem, while pressing tab button after () {} [] it don' move forward instead it insert four spaces. unlike in vs community. can u help.

deezero
Автор

didnt know u could download a bunch of extensions sweet

joebazooks
Автор

Hey :D i got a question: Ive had Visual studios for like 8 months now, but ive never been able to program in there, like when i type in the commands :ex import turtle and then wn = turtle.Screen(), like nothing happens and it just says "invalid syntax on line 1" do u know why this occours?, like do u need a license or anything?

checkmyvideos
Автор

What do you need coderunner for when you have the integrated terminal?

Tweakimp
Автор

it doesnt work for me ! i press ctrl alt n and in output it says python inoperable but i downloaded it alreay??

firstname
Автор

Great video. How to install python libraries ie Math, random? It is not working using import random

alexhoy
Автор

I'm getting an *error* when I send "Hello..." to the output: *_"Python was not found but can be installed from the Microsoft Store:"_*

I already have python on my computer but it's not working. I have absolutely no Python or VSCode experience and am not a coder but I want to learn. Can someone please help me with this?

BiDrd
Автор

after I press ctrl +alt + N, it says “No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.”

ltlitetools
Автор

Absolutely great. Short and to the point, and so much better than typing python .\mypythonfile.py

Thanks for the help!

_Baleful
Автор

When I run the code with python 2.7.15 (print "Hello...") I do not get the output string displayed... Just the "running" and "done" parts...

andyk
Автор

i use vscode, but when import bpy, vscode show me" ModuleNotFoundError: No module named 'bpy'", how i fix it? thanks~

Kevin-bgxy
Автор

Could not install Linta due to an eviroment error (winerror 87) :(anyone know??

Iuwna
Автор

what do you guys think will happen to blender after that EU copyright crap? i know there is a third voting in spring but unlikely to be defeated..it's a big problem for open content..etc should Ton and devs move to somewhere else like US or canada or whatever place who has freedom for open source..i am really mad at this :(.

Zinogg
Автор

has python the multithread functionality?

InMemoryOfNeo
join shbcf.ru