- 博客(16)
- 收藏
- 关注
转载 python-闭包
[闭包](https://www.cnblogs.com/vamei/archive/2012/12/15/2772451.html)
2021-04-11 16:50:25 49
原创 Python-Module load path
PYTHONPATH=/foo python game.py This will execute game.py, and will enable the script to load modules from the foo directory as well as the local directory. sys.path.append("/foo") execute it before running an import command
2021-04-09 17:40:46 352
原创 problem-1
Module initialization The first time a module is loaded into a running Python script, it is initialized by executing the code in the module once. If another module in your code imports the same module again, it will not be loaded twice but once only - so l
2021-04-09 17:26:52 52
原创 Python-Modules and Packages
https://blog.csdn.net/The_Time_Runner/article/details/84455517 –module function class difference ex:The Python script game.py will implement the game. It will use the function draw_game from the file draw.py, or in other words, thedraw module, that impleme
2021-04-09 17:06:57 70
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人