mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
created: 20221110120605389
|
||||
creator: Octt
|
||||
icon: 🐍
|
||||
modified: 20231224173748386
|
||||
modified: 20240107012952755
|
||||
modifier: Octt
|
||||
page-cover: https://source.unsplash.com/random/?Python
|
||||
tags: Development
|
||||
@ -23,6 +23,9 @@ I hate that, while tab-indentation is practically supported by the interpreter,
|
||||
|
||||
!! How to and troubleshooting
|
||||
|
||||
* [[Get name of current script in Python|https://stackoverflow.com/questions/4152963/get-name-of-current-script-in-python#4152986]] --- `__file__`
|
||||
* [[How to retrieve a module's path?|https://stackoverflow.com/questions/247770/how-to-retrieve-a-modules-path#248862]] --- `import module; print(module.__file__)`
|
||||
|
||||
Text:
|
||||
|
||||
* [[Hex string to int|https://www.tutorialspoint.com/How-to-convert-hex-string-into-int-in-Python]] --- `int('6f637474', 16)`, `int('0x6f637474', 10)`
|
||||
|
Reference in New Issue
Block a user