summaryrefslogtreecommitdiff
path: root/Technology
diff options
context:
space:
mode:
authornic <ra@afu.re>2024-11-05 15:56:16 -0500
committernic <ra@afu.re>2024-11-05 15:56:16 -0500
commit30c8c43b16b66a30eeec42da788a1d507e4cacbc (patch)
tree20b66edb1372cc807ae3853cccc23eef76f78754 /Technology
parent29199b2c1b4d16ed16956d930c3eca389b9103f7 (diff)
Auto from nzxt - Tue 05 Nov 2024 03:56:16 PM EST
Diffstat (limited to 'Technology')
-rw-r--r--Technology/Python.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Technology/Python.md b/Technology/Python.md
index 3d3fdf3..2ceeedd 100644
--- a/Technology/Python.md
+++ b/Technology/Python.md
@@ -50,10 +50,10 @@ importlib if want to reload modules so run more than once
When importing a module you can use it's defined functions, classes, constants etc...
Access those thing by putting the module name as prefix before the function
-import XX
-import XX as x
-from XX import x
-from XX import x as x
+import X
+import X as x
+from X import x
+from X import x as x
when you run a modules as a script __ name__ becomes __ main__