screenshot.py
def create_file_location(for_engines):
    """create new folder labeled by date and subfolder for search engine"""
    now = datetime.datetime.now()
    directory = 'screenshots\\'+now.strftime("%Y-%m-%d_%H-%M")
    if not os.path.exists(directory):
        os.makedirs(directory)
        if 'Google' in for_engines:
            os.makedirs(directory+'\\Google')
        if 'Bing' in for_engines:
            os.makedirs(directory+'\\Bing')
    return (directory, now)
create new folder labeled by date and subfolder for search engine
create new folder labeled by date and subfolder for search engine
create new folder labeled by date and subfolder for search engine
def create_file_location(for_engines):
    now = datetime.datetime.now()
    directory = 'screenshots\\'+now.strftime("%Y-%m-%d_%H-%M")
    if not os.path.exists(directory):
        os.makedirs(directory)
        if 'Google' in for_engines:
            os.makedirs(directory+'\\Google')
        if 'Bing' in for_engines:
            os.makedirs(directory+'\\Bing')
    return (directory, now)
def create_file_location ( for_engines ) : now = datetime . datetime . now ( ) directory = 'screenshots\\' + now . strftime ( "%Y-%m-%d_%H-%M" ) if not os . path . exists ( directory ) : os . makedirs ( directory ) if 'Google' in for_engines : os . makedirs ( directory + '\\Google' ) if 'Bing' in for_engines : os . makedirs ( directory + '\\Bing' ) return ( directory , now )
create new folder labeled by date and subfolder for search engine
create new folder labeled by date and subfolder for search engine
"""create new folder labeled by date and subfolder for search engine"""
for_engines