Skip to content

Instantly share code, notes, and snippets.

View flavioVitoriano's full-sized avatar
🏠
Working from home

Flávio Vitoriano flavioVitoriano

🏠
Working from home
View GitHub Profile
class Sms:
def __init__(self, msg):
self.mapeador = {'1': "",'2': "abc",'3': "def",'4': "ghi",'5': "jkl",'6': "mno",'7': "pqrs",'8': "tuv",'9': "wxyz",'0': " ",' ': "pause"}
self.mensagem = msg
def parseData(self):
result = []
lista = ""
temp_char = None
@flavioVitoriano
flavioVitoriano / insert_async_python.py
Last active August 6, 2020 21:47
script inserir async python
from aiofile import AIOFile, LineReader
import pymysql.cursors
import asyncio
conn = pymysql.connect(
host="localhost",
user="root",
password="A1c2!!1aaa2",
db="dbl_matriz",
charset="utf8",