📜  如何在 VSCode 终端中调用 python 自定义函数 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:12.278000             🧑  作者: Mango

代码示例1
#First, from the Terminal navigate to the folder in which the python file for the module is 
#present using 'cd'
#Second, in the terminal type 'python.exe'. then u will be greeted with the python compiler.
#in the compiler type the following code written below.

>>> from filename import *
>>> module(arg)

#in the place of 'filename' write the python file name. and in place of 'module' type your 
#self-defined module.in place of 'arg' give your argument. 
#Thats it!!