简体   繁体   English

在 python 交互模式下如何导入手工模块

[英]In python interactive mode how can i import a handmade module

in what location should I place a handmade module to be able to access it using import statement in python interactive mode in the terminal我应该在什么位置放置一个手工模块,以便能够在终端的 python 交互模式下使用 import 语句访问它

Whatever directory you are entering the interactive mode from.无论您从哪个目录进入交互模式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM