jupyter notebook继续学习
首先就是%%writefile test.py
def Test(name):
print ("Test",name,"success")
这个就是把下面的设置到一个文件夹里面
%pycat test.py就是呈现这个函数
%run test.py就是运行函数
点左边摁着M就是可以进入mardown
#有几个就是几级标题,中间用空格隔开
alt enter就可以运行加下一个
%whos就可以看到所有的变量
首先就是%%writefile test.py
def Test(name):
print ("Test",name,"success")
这个就是把下面的设置到一个文件夹里面
%pycat test.py就是呈现这个函数
%run test.py就是运行函数
点左边摁着M就是可以进入mardown
#有几个就是几级标题,中间用空格隔开
alt enter就可以运行加下一个
%whos就可以看到所有的变量