개정판 1e505680
Check if file exists
DTI_PID/DTI_PID/DTI_PID.py | ||
---|---|---|
835 | 835 |
path = sys.argv[1] # 1 argument given is a string for the path of drawing |
836 | 836 |
|
837 | 837 |
#region Program start |
838 |
main(path) |
|
838 |
if len(path) and os.path.isfile(path): |
|
839 |
main(path) |
|
839 | 840 |
#endregion |
840 | 841 |
except Exception as ex: |
841 | 842 |
print('에러가 발생했습니다.\n', ex) |
내보내기 Unified diff