python_code_snippets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python_code_snippets [2020/10/06 07:29] – juckins | python_code_snippets [2025/01/23 06:24] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Python | + | ==== Python |
__Handling arguments__ | __Handling arguments__ | ||
Line 22: | Line 22: | ||
__Date and time strings__ | __Date and time strings__ | ||
- | [[https:// | + | See format codes [[https:// |
| | ||
from datetime import datetime | from datetime import datetime | ||
Line 65: | Line 65: | ||
__Working with JSON__ | __Working with JSON__ | ||
- | * Use PyPi [[https:// | + | * Use PyPi [[https:// |
- | * Use PyPi (from [[https:// | + | * Use PyPi [[https:// |
* sudo pip install demjson | * sudo pip install demjson | ||
+ | * installs into / | ||
* jsonlint data.json | * jsonlint data.json | ||
+ | * jsonlint --help |
python_code_snippets.1601983778.txt.gz · Last modified: 2020/10/06 07:29 by juckins