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
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", |
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
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 |