From 30c8c43b16b66a30eeec42da788a1d507e4cacbc Mon Sep 17 00:00:00 2001 From: nic Date: Tue, 5 Nov 2024 15:56:16 -0500 Subject: Auto from nzxt - Tue 05 Nov 2024 03:56:16 PM EST --- Technology/Python.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Technology') 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__ -- cgit v1.2.3