Install the extension from the Marketplace.
This extension pack adds the following vs code plugins:
- Git2Go
- Python2Go
- Python
- Markdown Preview Github Styles
- Git Graph
- Python Test Adapter
- Test Explorer
- Code Runner
And installs the following pip packages (once python is installed):
- pylint
- flake8
- autopep8
- pytest
- matplotlib
- jupyter
- ipython
- numpy
- scipy
- pandas
- termcolor
- smartphone-connector
- pyfiglet
- cowsay
- inquirer
- gTTS
- playsound
- pynput
You will see popping up some error/information messages pointing out that some dependencies (Python) are not installed on your system.
To install, e.g. the needed python
version, click Install Now
on the following message:
Or you can install over the command palette:
- View > Command Palette... >
Python2Go: Install
- windows: you may be prompted to allow vs code running powershell with administrator privileges.
- osx: you may be prompted for your user password
Then restart your vs code and start using it π
vsce package && vsce publish
Wert | Typ | Transformation -> | Resultat | Typ |
---|---|---|---|---|
a = "12" |
str |
int(a) |
12 |
int |
a = "12.0" |
str |
int(a) |
ValueError - keine ganze Zahl |
|
a = "12" |
str |
float(a) |
12.0 |
float |
a = "12.0" |
str |
float(a) |
12.0 |
float |
a = "Hansli" |
str |
float(a) |
ValueError - keine Zahl |
|
a = 15 |
int |
str(a) |
"15" |
str |
a = 3.141592 |
float |
str(a) |
"3.141592653589793" |
str |