소스 검색

added the start of class

Sam Flint 12 년 전
부모
커밋
8e3b27fbfc
1개의 변경된 파일18개의 추가작업 그리고 3개의 파일을 삭제
  1. 18 3
      rulesorganizer.py

+ 18 - 3
rulesorganizer.py

@@ -1,6 +1,21 @@
 #!/usr/bin/python
 
-import sys, os
-import json
-import re
+class filerules():
+   import sys, os
+   import json
+   import re
 
+   def __init__(self, rulesfile):
+      ...
+
+   def looprules(self):
+      ...
+
+   def runrule(self, rule):
+      ...
+
+   def addrule(self, name, directory, action):
+      ...
+
+   def move(self, rule):
+      ...