找回密码
 注册
Simdroid-非首页
查看: 1058|回复: 0

[5. Python] 小插件无法载入,跪求大神指导

[复制链接]
发表于 2020-2-6 23:35:36 | 显示全部楼层 |阅读模式 来自 中国
各位大佬,请教个问题。小弟涌abaqus的rsg搞的小插件(使用python),载入的时候显示sendCommand('import plugin-test1')
Traceback (most recent call last):
  File "SMAIngInteractiveInfraGUI\SMAIngUbiApiPy.m\src\ubi_PluginToolsetGui.py", line 1475, in onCmdButton
  File "SMAPyaModules\SMAPyaAbqPy.m\src\sendcmd.py", line 35, in sendCommand
  File "<string>", line 1
    import plugin-test1
                 ^
SyntaxError: invalid syntax
哪位大佬能给指点迷津啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-3-29 22:42 , Processed in 0.030170 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表