diff options
Diffstat (limited to 'Technology')
| -rw-r--r-- | Technology/Python.md | 8 |
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__ |
