“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…”) |
(没有差异)
|
2020年12月22日 (二) 14:10的版本
- 执行某个文件
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>.