1 JhZ7z587cYROBgVQ 2016-06-15 13:04:18 +08:00 map(lambda name: os.popen('python {}.py').format(name), ['a', 'b', 'c']) 这样子?感觉比较挫,坐等楼下的好办法 |
2 just4test 2016-06-15 13:06:37 +08:00 ![]() |
![]() | 5 maowu 2016-06-15 23:58:19 +08:00 用__import__()这个函数如何?把每个爬取文件作为库动态导入。 |
![]() | 6 ryanking8215 2016-06-16 12:45:51 +08:00 |
![]() | 7 ZoomQuiet 2016-06-16 15:06:48 +08:00 import them all as one work line or just usage bash |
8 Neagle OP @ryanking8215 非常感谢,麻烦再说详细点,新手,还有点看不懂,谢谢。 |