Sending an sms via way2sms using Python 3
问题 I've been trying to send free sms using way2sms. I found this link where it seemed to work on python 3: https://github.com/shubhamc183/way2sms I've saved this file as way2sms.py: import requests from bs4 import BeautifulSoup class sms: def __init__(self,username,password): ''' Takes username and password as parameters for constructors and try to log in ''' self.url='http://site24.way2sms.com/Login1.action?' self.cred={'username': username, 'password': password} self.s=requests.Session() #