首先安装node: 然后步骤如下: p = os.popen('node fuck-byted-acrawler.js %s' % user_id) signature = p.readlines()[0] print(signature)