appunti3s:modulo_python
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
appunti3s:modulo_python [2020/07/14 19:10] – profpro | appunti3s:modulo_python [2020/07/29 18:38] (current) – profpro | ||
---|---|---|---|
Line 31: | Line 31: | ||
Dato che un modulo da importare non è altro che un file.py, è facile crearne uno | Dato che un modulo da importare non è altro che un file.py, è facile crearne uno | ||
- | miomodulo.py | + | miomodulo.py |
<file python miomodulo.py> | <file python miomodulo.py> | ||
Line 52: | Line 52: | ||
Come in linguaggio C, anche in Python, in alto si definiscono le funzioni e poi si eseguono le eventuali istruzioni | Come in linguaggio C, anche in Python, in alto si definiscono le funzioni e poi si eseguono le eventuali istruzioni | ||
+ | |||
+ | |||
+ | |||
+ | ===Approfondimento su python-tk=== | ||
+ | |||
+ | Installando python-tk diventa disponibile una interfaccia per usare Tk . Infatti **Tk inter** sta per interfaccia | ||
+ | |||
+ | https:// | ||
+ | |||
+ | Tk is a cross-platform graphical toolkit | ||
+ | |||
+ | |||
+ | |||
+ | Tk non fa parte di python, per questo è necessaria un' | ||
+ | |||
+ | |||
+ |
appunti3s/modulo_python.txt · Last modified: 2020/07/29 18:38 by profpro