Codeforces scraper provides a gentle way to interact with Codeforces
fromcodeforces_scraperimportScraperfromcodeforces_scraper.languagesimportsome_compiler_by_extfromgetpassimportgetpass# Submits my code for problem 4A from your account scraper=Scraper()
username=input()
password=getpass()
scraper.login(username, password)
scraper.submit(4, 'A', scraper.get_submission_source(4, 190069788), some_compiler_by_ext('.cpp'))pip3 install codeforces_scraper
git clone https://github.com/thematdev/codeforces_scraper.git
python3 setup.py install
A comment provided for each function.