我和帕拉米科有点小问题。似乎所有的命令都不像手动ssh会话那样执行。在
让我们把重点放在“history”shell命令上,即使我主要关心的是这个命令:
$ python /home/metrosim/src/urbansim/tools/make_indicators.py \
-x /home/metrosim/project_configs/paris_zone_ovh_km130110.xml \
-c /home/metrosim/data/paris_zone/base_year_data_a \
-i trip_generation -y [1999]
两者都可以使用手动ssh会话,但不能使用paramiko,但是像ls -lA
这样的简单命令可以工作。在
这是我的代码:
^{pr2}$
如果要模拟shell会话,请尝试使用^{} 而不是^{} 。在
来自
invoke_shell
文档:相关问题 更多 >
编程相关推荐