Python: Modules For Beginners – Hostripples

Today we are going to talk about modules in Python and here is the list of topics we are covering today: 1. Introduction to Modules 2. Dir command 3. Math and Calendar Modules 4. Can you write your own Modules OK! Let’s begin with the introduction to Modules: In our day to day life, we use […]

How to run Python scripts with cPanel ?

Run Python scripts with cPanel   cPanel  by-default the Python is located under “/usr/bin/python“. You can check the location by running the following command:                 whereis python Following Methods are Run Python scripts with cPanel 1  Methods : create the file with extension “.py” to load the Python script!! Now you […]

MySQL-python : Installation

wget http://downloads.sourceforge.net/MySQL-python/MySQL-python-1.2.2.tar.gz gzip -d MySQL-python-1.2.2.tar.gz tar -xvf MySQL-python-1.2.2.tar.gz cd MySQL-python-1.2.0 python setup.py build python setup.py install Thats all.