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
import pandas as pd | |
from pathlib import Path | |
class ExportCSV: | |
def __init__(self, user): | |
mypath = Path().absolute() | |
df = pd.DataFrame(user, columns= ['User', 'E-mail']) |
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
import time | |
import requests | |
import webbrowser as web | |
import pyautogui as pg | |
import pyttsx3 | |
class WhatsappMessage: | |
def __init__(self,phone_no, message, time_hour, time_min): |
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
# ===== Requeriments ===== # | |
# pip install requests | |
# pip install beautifulsoup4 | |
# ===== Requeriments ===== # | |
from bs4 import BeautifulSoup | |
import requests | |
html = requests.get("http://www.fernandocelmer.com/").content |
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
import time | |
import os | |
class KillProcessWin: | |
def __init__(self, process): | |
end_time = time.time() + 86400 | |
countTimer = 5 | |
sleepTime = 5 |
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
import inspect | |
def console_log(**args): | |
print ('---------------- ' + inspect.stack()[1][3] + ' ----------------') | |
print(args if args else '') |
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
# coding: utf-8 | |
import sys | |
import socket | |
ipAddress = sys.argv[1] | |
for ports in range(1,65535): | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
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
# -*- coding: utf-8 -*- | |
""" | |
ScreenShot Script | |
""" | |
import os | |
import time | |
import datetime | |
import cv2 |
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
# -*- coding: utf-8 -*- | |
""" | |
Script This File Folder | |
""" | |
import os | |
import time | |
import shutil |
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
import os | |
print('Option: ') | |
options = ['UPY-#', 'CS2-', 'No Task', 'Sem Tarefa'] | |
for index, text_option in enumerate(options): | |
print(str(index) + " - "+ options[index]) | |
option_num = int(input()) | |
option = options[option_num] |
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
import os | |
print('Option: ') | |
options = ['UPY-#', 'CS2-', 'No Task', 'Sem Tarefa'] | |
for index, text_option in enumerate(options): | |
print(str(index) + " - "+ options[index]) | |
option_num = int(input()) | |
option = options[option_num] |
OlderNewer