|
@@ -20,9 +20,9 @@ if __name__ == '__main__': |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
import os |
|
|
import os |
|
|
command = '' |
|
|
|
|
|
for t in tasks: |
|
|
for t in tasks: |
|
|
print(t['file']) |
|
|
print(t['file']) |
|
|
|
|
|
command = '' |
|
|
command += 'cd ' + t['path'] + '\n' |
|
|
command += 'cd ' + t['path'] + '\n' |
|
|
command += 'python3 ' + t['file'] + '\n' |
|
|
command += 'python3 ' + t['file'] + '\n' |
|
|
# command += 'cd ' + '/'.join(['..'] * len(t['path'].split('/'))) + '\n' |
|
|
# command += 'cd ' + '/'.join(['..'] * len(t['path'].split('/'))) + '\n' |
|
|