Popular recipes by Emil george james http://code.activestate.com/recipes/users/4191910/2015-07-31T02:37:19-07:00ActiveState Code RecipesPython script to login to a website and convert required html page to pdf (Python)
2015-07-29T18:28:25-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579081-python-script-to-login-to-a-website-and-convert-re/
<p style="color: grey">
Python
recipe 579081
by <a href="/recipes/users/4191910/">Emil george james</a>
(<a href="/recipes/tags/bs4/">bs4</a>, <a href="/recipes/tags/pyhon/">pyhon</a>, <a href="/recipes/tags/pyqt4/">pyqt4</a>, <a href="/recipes/tags/python_scripts/">python_scripts</a>, <a href="/recipes/tags/urllib2/">urllib2</a>).
</p>
<p>This login script will allow you to login a website with python. After logging in, You now have access to all the pages for “members only” accessed with python and it can convert the required pages to pdf format save automatically in your /home/.</p>
<p>In this script i use anna university official website to get the exam result after that it convert the result page into pdf format and save to /home/.</p>
<p>Modules used :</p>
<ol>
<li><p>urllib2</p></li>
<li><p>BeautifulSoup(bs4)</p></li>
<li><p>requests</p></li>
<li><p>sys</p></li>
<li><p>PyQt4</p></li>
</ol>
<p><a href="https://emilgeorgejames.wordpress.com/2015/07/15/python-script-to-login-to-a-website-and-convert-required-html-page-to-pdf/" rel="nofollow">https://emilgeorgejames.wordpress.com/2015/07/15/python-script-to-login-to-a-website-and-convert-required-html-page-to-pdf/</a></p>
Python Gpa and Cgpa Calculator for Anna university : A forked python recepie (Python)
2015-07-31T02:37:19-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579089-python-gpa-and-cgpa-calculator-for-anna-university/
<p style="color: grey">
Python
recipe 579089
by <a href="/recipes/users/4191910/">Emil george james</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/cgpa/">cgpa</a>, <a href="/recipes/tags/gpa/">gpa</a>, <a href="/recipes/tags/python/">python</a>).
Revision 2.
</p>
<p>Actually this python script is a forked one from activestate code by abhijeeth vaidya.A slightly edited version of the script to calculate Gpa and Cgpa for Anna university Students.</p>
<p>Gpa and Cgpa Calculator</p>
<p>Gpa is Grade point average, which is use to determine the student academic pointer based on the value of the grade he/she acquired in single semester, where as cgpa is cumlative grade point average is to calculate the total credits and total grade acquired in his/her entire academics. Here i have determined to use grade scale of two values 5.0 and 10.0, many other academics may have different grading system.For a different grades and their grade values, You can change the value in method called getGradeData.For any bug report </p>
python EMI calculator (Python)
2015-07-29T18:20:36-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579086-python-emi-calculator/
<p style="color: grey">
Python
recipe 579086
by <a href="/recipes/users/4191910/">Emil george james</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/emi/">emi</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>EMI Calculator is used to calculate Equated Monthly Installment(EMI) for Home Loans/Housing Loans,Car Loans & Personal
Advantages: What all this EMI Calculator does?</p>
<p>. The Instant calculation of Loan EMI , Total Interest Payable and Total Payments to be done.
. This can be used as EMI Calculator for Banks like HDFC, ICICI, SBI, AXIS etc.
. This can be also used for calculating Home loans, Personal Loan, car loans , credit card, LIC loan</p>
<p>How to calculate the EMI?</p>
<p>The well known formula for calculating EMI is:</p>
<p>Formula for EMI calculation</p>
<p>[Formula]
EMI = [(p*r/12) (1+r/12)^n]/[(1+r/12)^n – 1 ]
where p = principal amount(primary loan amount)
r = rate of interest per year
n = Total number of Years</p>
<p>output:</p>
<p><a href="https://emilgeorgejames.wordpress.com/2015/07/29/python-emi-equated-monthly-installment-calculator/" rel="nofollow">https://emilgeorgejames.wordpress.com/2015/07/29/python-emi-equated-monthly-installment-calculator/</a></p>
<p>for more python recepies visit :https://emilgeorgejames.wordpress.com/</p>
A script to automate installing MTS Mblaze UI in linux (Bash)
2015-07-29T18:26:59-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579039-a-script-to-automate-installing-mts-mblaze-ui-in-l/
<p style="color: grey">
Bash
recipe 579039
by <a href="/recipes/users/4191910/">Emil george james</a>
(<a href="/recipes/tags/internet/">internet</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/script/">script</a>, <a href="/recipes/tags/shell/">shell</a>, <a href="/recipes/tags/web/">web</a>).
</p>
<p>An automate shell linux script to install mts mblaze ui application in all linux distros.this shell script automatically install the mts mblaze ui in your linux systems .installation script will setup everything need to choose some option interactively from setup.Script can work for all linux environments.</p>
Python script to find linux distros details from distrowatch (Python)
2015-07-29T18:24:23-07:00Emil george jameshttp://code.activestate.com/recipes/users/4191910/http://code.activestate.com/recipes/579038-python-script-to-find-linux-distros-details-from-d/
<p style="color: grey">
Python
recipe 579038
by <a href="/recipes/users/4191910/">Emil george james</a>
(<a href="/recipes/tags/beautifulsoup/">beautifulsoup</a>, <a href="/recipes/tags/internet/">internet</a>, <a href="/recipes/tags/module/">module</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/url/">url</a>, <a href="/recipes/tags/web/">web</a>).
</p>
<p>this script is a simlpe python script to find linux distros details from distrowatch using beautifulsoup,urllib2 modules.The script finds distros distribution details from <a href="http://distrowatch.com" rel="nofollow">distrowatch.com</a> when the distribution name is called as argument.</p>