Python命令解释器
您可以通过Simcenter Amesim的工具菜单启动内置的Python命令解释器。
或者,您也可以使用Simcenter Amesim提供的shell脚本:
-
Windows系统:%AME%\python.bat
-
Linux系统:$AME/python.sh
这些脚本将启动Python命令解释器,并显示以下信息:
Starting Python ...
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
Scipy 0.13.1 is imported
AMESim module is imported
AMESim API module is imported
Current directory is Z:\ImagineLabDev\v1400
Type help('amesim') to see a list of AMESim commands
Type help ('ame_apy') to see a list of AMESim API commands
>>>
使用Python编写的Simcenter Amesim脚本说明详见Simcenter Amesim仿真脚本手册。
Python脚本语言的详细说明请参阅官方Python文档。
译文质量与官方无关,仅做辅助学习使用,帮助大家更方便高效的掌握工具.文档网址:www.tech-doc.cn;公众号:Amesim学习与应用、译匠工厂