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
# -*- coding: utf-8 -*- | |
""" | |
Python 3 | |
ConsolidatePDF.py | |
From a given folder, consolidate all PDFs into one | |
""" | |
from PyPDF2 import PdfFileMerger | |
import os |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Apr 16 15:45:52 2019 | |
@author: Vinoth_Subramanian | |
Parse through multiple excel files in a folder heirarchy and consolidate | |
Using win32com library so that sheets get copied with formatting intact | |
""" | |
import os |
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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Apr 16 15:45:52 2019 | |
@author: Vinoth_Subramanian | |
Parse through multiple excel files in a folder heirarchy and consolidate | |
Only limitation - Since the copy is done through pandas, only the values - | |
- from the sheets will be copied. Formulas and formatting will be ignored | |
""" |
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
# azure_ocr.py | |
# Python 3.5 | |
""" | |
Python script to analyze and read text from image URLs using Micorost Azure Cognitive services OCR API | |
""" | |
from IGNORE import azure_secrets # To fetch API endpoint and key | |
import requests | |
import json |
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
# wma_finder.py | |
# Python 3.5 | |
import os | |
path = "D:\Vinoth\Songs" | |
file_extn = ".wma | |
file_count = 0 | |
with open(path + "\wma_deleted.txt", "a") as del_log: |
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
# UKBschools.py | |
# Python 3.5 | |
""" | |
Scrap the list of all accredated BSchools in UK from find-mba.com | |
export the list to excel | |
""" | |
import requests |
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
# uk_mba.py | |
# Python 2.7.6 | |
""" | |
Extract business schools in UK with AACSB, AMBA and/or EQUIS accredition only | |
Scapring from http://find-mba.com/ | |
""" | |
import requests | |
from bs4 import BeautifulSoup |
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
# vinbot.py | |
# Python 3.5 | |
""" | |
@vin_robot is my telegram bot; telegram.me/vin_robot | |
This python script listens to commands sent to bot and responds accordingly | |
""" | |
import telepot |
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
# vin_bot_hello.py | |
# Python 2.7.6 | |
""" | |
Python app to interact with Telegram bot | |
""" | |
import telepot | |
import time |
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
# print_docs.py | |
# Python 2.7.6 | |
""" | |
Print all documents from set of folders using default printer | |
""" | |
import os | |
import win32print | |
import win32api |
NewerOlder