|
@@ -10,11 +10,19 @@ import os
|
|
|
import time
|
|
|
import re
|
|
|
import json
|
|
|
+import configparser, os
|
|
|
+from os.path import expanduser
|
|
|
|
|
|
class JBrowser:
|
|
|
+
|
|
|
def __init__(self):
|
|
|
os.chdir("C:\\Program Files\\Google\\Chrome\\Application\\")
|
|
|
-
|
|
|
+ home = expanduser("~")
|
|
|
+ print(home)
|
|
|
+# config = configparser.ConfigParser()
|
|
|
+# config.read_file(open('defaults.cfg'))
|
|
|
+# config.read(['site.cfg', os.path.expanduser('~/.myapp.cfg')],
|
|
|
+# encoding='cp1250')
|
|
|
|
|
|
def set_profile_path(self,profilepath):
|
|
|
self.profilepath=profilepath
|