jared 3 years ago
parent
commit
e944b9e077
1 changed files with 11 additions and 0 deletions
  1. 11 0
      loop_rep.py

+ 11 - 0
loop_rep.py

@@ -0,0 +1,11 @@
+import os
+import traceback
+
+while True:
+    try:
+        if os.name == 'nt':
+            os.system('python swire_shop_item_list.py REP REP REP')
+        else:
+            os.system('python3 swire_shop_item_list.py REP REP REP')
+    except:
+        traceback.print_exc()