Tag Archives: Python

Scrap table from wiki

Scarpping table from wiki and saving it to .csv with python is damn easy, Its just matter of ten line code, Lets scrap table from two pages, page1: https://en.wikipedia.org/wiki/Oncogene page2: https://en.wikipedia.org/wiki/List_of_gene_prediction_software Fig1: Table from page1 Fig2: Code for scrapping table from page1 … Continue reading

Posted in Programming, Uncategorized | Tagged , , | Leave a comment

Custom made dictionary with Python

In this post, lets learn about custom made dictionary with python Requirements: BeautifulSoup, urllib2 library Vocabulary.com is excellent site, for improving vocabulary. But instead of browsing, if there is a way to grab  required data, for a set of words, … Continue reading

Posted in Programming, Uncategorized | Tagged | Leave a comment

Download YouTube videos in Python

Downloading videos from youtube is easier with python Requirements: Python, youtube_dl library Here’s the code,save it as .py and run it. Enter URL, with in ” __ ” Enter, and get link to download video

Posted in Programming, Uncategorized | Tagged | Leave a comment

Automate browsing for stock values with Python

Lets automate browsing for stock values from yahoo finance Requirements: Python, urllib2 library, 1)The Yahoo finance stock value of apple 2) URL, hints that searching various stock values in yahoo finance website can be automated. URL of apple stock: http://finance.yahoo.com/q?s=AAPL URL … Continue reading

Posted in Programming | Tagged , | Leave a comment

Getting List of pdfs in a folder with Python

Sometimes, in research, one might rename pdf name as per their comfort, and when trying to review bulky amount of pdfs, it becomes difficult to identify the pdf, copy the name of pdf, copy multiple file names together, Here is … Continue reading

Posted in Programming, Uncategorized | Tagged , , | Leave a comment

Export numpy array to excel in Python

It is always easy to manipulate data on numpy array rather than dataframe. If the data you generated in array has to be exported to excel??? How to do this? Fig1: Array of data Python offers lot of excel libraries, … Continue reading

Posted in Programming, Uncategorized | Tagged , , | Leave a comment

Pdf_Merge in Python

Merging pdf can be done easily online, but online websites have a total file size limit of 25MB. That might undermine our needs. IN python pdf merging can be done much much easier, All one needs is Python PyPDF2 library … Continue reading

Posted in Programming, Uncategorized | Tagged , , | Leave a comment