Difference between revisions of "Python notes"
From Wiki at Neela Nurseries
(create page "Python notes") |
m (add link to Python3 "re" library, and note about Python's notion of byte data type.) |
||
Line 1: | Line 1: | ||
2023-10-11 Wednesday | 2023-10-11 Wednesday | ||
+ | |||
+ | == [[#top|^]] Overview == | ||
Python notes local page on Neela Nurseries wiki | Python notes local page on Neela Nurseries wiki | ||
+ | |||
+ | <!-- odne komentar --> | ||
+ | == [[#top|^]] Questions == | ||
Question: what is the syntax or python-ism in this construcxt?: | Question: what is the syntax or python-ism in this construcxt?: | ||
Line 10: | Line 15: | ||
</pre> | </pre> | ||
+ | <!-- odne komentar --> | ||
+ | == [[#top|^]] Python Data Types == | ||
+ | |||
+ | The following Python3 online documentation page mentions early on how Python distinguishes Unicode strings and 8-bit strings which it also calls 'bytes'. This may be a starting point to understanding how and when Python3 treats data as bytes: | ||
+ | <ul> | ||
+ | * https://docs.python.org/3/library/re.html | ||
+ | </ul> | ||
+ | <!-- odne komentar --> | ||
<!-- EOF --> | <!-- EOF --> |
Revision as of 19:14, 14 February 2024
2023-10-11 Wednesday
^ Overview
Python notes local page on Neela Nurseries wiki
^ Questions
Question: what is the syntax or python-ism in this construcxt?:
if __name__ == '__main__': main()
^ Python Data Types
The following Python3 online documentation page mentions early on how Python distinguishes Unicode strings and 8-bit strings which it also calls 'bytes'. This may be a starting point to understanding how and when Python3 treats data as bytes: