就是python里面调用另一个python但是参数不止是一个string需要传一个数组
注意import不行,因为tensorflow的Variable会冲突
Variable
import 另一个python
# a.py def fuck(lst): pass # b.py import a array = [1, 2, 3] a.fuck(array)
http://stackoverflow.com/questions/7605631/passing-a-list-to-python-from-command-line
xxx.py p1 p2 p3
这个问题,百度下,应该有很多答案吧
import 另一个python