This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
File: autorotate.py | |
Origial Author: Damien Riquet <[email protected]> | |
Current Maintainer: Trinh Nguyen <dangtrinhnt[at]gmail[dot]com> | |
Description: This script provides an auto-rotate feature of pictures | |
USAGE: autorotate.py [-h] [--recursive] directory [directory ...] | |
positional arguments: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When you upgrade web2py your should update app files that are important to web2py for properly functioning | |
# | |
# views/ | |
# appadmin.html | |
# generic.ics | |
# generic.load | |
# generic.rss | |
# layout.html | |
# generic.json | |
# generic.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This work with selenium | |
from selenium.webdriver import Chrome | |
from selenium.webdriver.chrome.options import Options | |
from splinter.driver.webdriver import BaseWebDriver, WebDriverElement | |
options = Options() | |
options.add_experimental_option('prefs', {'intl.accept_languages': 'en,en_US'}) | |
browser = BaseWebDriver() |