Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当你运行一个脚本时,你通常会这样做:
$ python path/to/script.py
但是,在运行模块时,您将其运行为:
$ python -m path.to.module
从命令行运行模块有时会很烦人,因为.分隔符使 bash 无法进行制表符补全。是否有可以处理这种情况的自定义选项卡完成脚本?
.