Getting Started with Python¶
da PowerShell -- jupyter nbconvert --to html notebook.ipynb¶
In [2]:
print("Hello, World!")
Hello, World!
Posso usare ipython da PowerShell¶
In [ ]:
(base) PS C:\Users\Gian> ipython
Python 3.11.7 | packaged by Anaconda, Inc. | (main, Dec 15 2023, 18:05:47) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.20.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]:
The two versions python and ipython work largely the same way, but ipython has a number of additional features and is recommended.¶
Python va bene per programmazioni non troppo lunghe -- altrimenti preferire C++, Java¶
Python esiste in diverse versioni, non completamente compatibili -- e.g. "print"¶
In [ ]:
In [ ]: