Vs code Python code example

Example 1: getting started vscode python

py -3 -m venv .venv
.venv\scripts\activate

Example 2: python -> vs .

foo->bar() is the same as (*foo).bar()

Example 3: visual studio code import library python

"python.linting.pylintArgs": [
    "--init-hook",
    "import sys; sys.path.append('/path/to/Functions')"
]
  
# OR 

sys.path.append("/path/to/parent")

# option 1
from Functions import functions
functions.copy()
functions.delete()

# option2
from Functions.functions import copy, delete
copy()
delete()

Example 4: visual studio code python

HEEEELLLLLOOOOO PYTHOOONNN