Hi, I am proud to announce Basico 0.2 It has been a long time since I released version 0.1 and there have been many changes. And many challenges. Core internals First of challenges was to allow Basico to download SAP Notes again. There was a problem of compatibility between Selenium webdriver and Firefox, therefore Basico […]
Piece of code used in Basico (util.py module) to get the default user’s Firefox profile directory. This profile must have the SAP Passport imported in the Certificate store.
if sys.platform in ['linux', 'linux2']:
cmd = "ls -d /home/$USER/.mozilla/firefox/*.default/"
p = subprocess.Popen([cmd], shell=True, stdout=subprocess.PIPE)
FF_PRF_DIR = p.communicate()[0:-2]
FF_PRF_DIR_DEFAULT = str(FF_PRF_DIR,'utf-8')
elif sys.platform == 'win32':
APPDATA = os.getenv('APPDATA')
FF_PRF_DIR = "%s\\Mozilla\\Firefox\\Profiles\\" % APPDATA
PATTERN = FF_PRF_DIR + "*default*"
FF_PRF_DIR_DEFAULT = glob.glob(PATTERN)
Basico The main goal for this application is to assist you (the SAP Consultant), to download the SAP Notes you are interested in, categorize them by tasks and, find them quickly. Another goal is to allow you to share SAP Notes with other fellows. All of it started as an experiment about how to […]