/Python-Projects

A collection of projects done in my free time.

Primary LanguagePython

Python-Projects

I will go ahead and explain how to run each of these.

1. scramble.py

The script takes input from file "input.txt" and scrambles all the words in it. scrambling is done in a way that all the apostropes are preserved and only the letters are scrambled. The output is stored into file named "output.txt". You need to create two text files input.txt and output.txt in the same path where program resides.

2. sele.py

This script was witten to automate the process of downloading call letter for my interviews. It was a tedious task because I had to keep checking when it opens and make sure to download it within a minute. I made my bot (this script) to do it for me.

Prerequisites - Download cromedriver - https://sites.google.com/a/chromium.org/chromedriver/downloads. Place it in C:\Python27\Scripts. You can use the same concepts for a similar work. You can automate any website by changing the URL and HTML tags for elements in the website. Few steps to follow -
a. Goto the website of your choice
b. change the URL in the program to that website
c. In browser, open your website, open developer tools and find the ids of buttons or text fields you want to interact with
d. Modify the program accordingly.

3. webscrap2.py

This script was written to scrape the VTU website to fetch my whole class' result in a single console. This might not work now since the login now requires captcha to be entered. You can still modify and use the script for other websites having no captcha.