“Spyder”的版本间差异
跳到导航
跳到搜索
(创建页面,内容为“*执行某个文件 runfile('/File/Path/hello.py', wdir=r'/File/Path') * Ctrl+Enter 执行一个cell runcell(0, '/home/shen/Omet_CEM/Omet_mu_SFH.py') :A cell is d…”) |
无编辑摘要 |
||
第4行: | 第4行: | ||
runcell(0, '/home/shen/Omet_CEM/Omet_mu_SFH.py') |
runcell(0, '/home/shen/Omet_CEM/Omet_mu_SFH.py') |
||
:A cell is defined as the code between two lines which start with the characters #%%, # %% or # <codecell>. |
:A cell is defined as the code between two lines which start with the characters #%%, # %% or # <codecell>. |
||
==变量== |
|||
*dir() 查看变量 |
|||
*%reset 重置变量空间 |
2020年12月22日 (二) 14:14的版本
- 执行某个文件
runfile('/File/Path/hello.py', wdir=r'/File/Path')
- Ctrl+Enter 执行一个cell
runcell(0, '/home/shen/Omet_CEM/Omet_mu_SFH.py')
- A cell is defined as the code between two lines which start with the characters #%%, # %% or # <codecell>.
变量
- dir() 查看变量
- %reset 重置变量空间