Python: Difference between revisions
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
====Basic Language==== | ====Basic Language==== | ||
String functions: | String functions: | ||
* Concatenate strings: <code>'a' + 'b'</code> | * Concatenate strings: <code>'a' + 'b'</code> | ||
* Concatenate strings and integers: <code>'a' + str(1)</code> | * Concatenate strings and integers: <code>'a' + str(1)</code> | ||
<font color=darkgray>TODO. Continue: https://levelup.gitconnected.com/python-for-absolute-beginners-a-quick-primer-c7db94a5d0e</font> | <font color=darkgray>TODO. Continue: https://levelup.gitconnected.com/python-for-absolute-beginners-a-quick-primer-c7db94a5d0e</font> |
Revision as of 16:17, 22 May 2021
External
Internal
Subjects
Organizatorium
- https://opensource.com/article/18/1/running-python-application-kubernetes
- Each installation of Python may have different modules installed. Python determines the path to its modules by examining the location of the
python3
executable. - Python environments on Mac:
- ~/Library/ApplicationSupport/iTerm2/iterm2env/versions/*/bin/python3
- ~/Library/ApplicationSupport/iTerm2/Scripts/YourScript/iterm2env/versions/*/bin/python3
Basic Language
String functions:
- Concatenate strings:
'a' + 'b'
- Concatenate strings and integers:
'a' + str(1)
TODO. Continue: https://levelup.gitconnected.com/python-for-absolute-beginners-a-quick-primer-c7db94a5d0e