Copy the following code and save it as pythondb.pyimport MySQLdbdb=MySQLdb.connect("localhost","root","password","dbname")cursor=db.cursor()print "1.Insert values in table \n 2.Update values in Table \n 3.Show All \n 4.Delete By Roll.No"def inserts()… Read more »
GUI Programming with Python
Install Python and python tk bysudo apt-get install python python-tkTo Run Pythonpython filename.pye.g python tkhello.py1. Simple Hello World programimport Tkinter top=Tkinter.Tk() label=Tkinter.Label(top,text="hello world") label.pack() Tkinter.mai… Read more »
Post your doubts or requests here
Hi friends, i created this thread for make a small discussion between us about any installation helps, post you want to know well about something on Linux or some other posts that are based on Linux machines.Post below your requests in comments, we w… Read more »
How to install python with full package (a - z) list
In earlier program we were given the introduction about python. Followed by it we will see about installation of python with full packages in this post. Python is a interpreted, high-level, interactive and Object oriented scripting langauage. It pro… Read more »
Python Lines and Indentation Program Example
Python is not only a case sensitive Language. Also it cares about indentation of a program. While programmers learning Python without using braces to indicate blocks of code for class and function definitions or flow control, programmers faces caveat… Read more »
How to run Python Program
Running Python program can be done by following any of three methods.1. Interactive Interpreter2. Script from the Command Line3. Integrated Development Environment ( IDLE )(1) Interactive Interpreter :In this method you can execute programs in interp… Read more »
How to install python on Windows, Ubuntu and other Linux Distributions
For Ubuntu Linux users....Step 1 : Just enter the below command in terminal.sudo apt-get install python Its enough to install it. For Other Linux Distribution users...Step 1 : Go to http://www.python.org/download/ and download latest version of … Read more »
Python Introduction
Python is a interpreted, high-level, interactive and Object oriented scripting langauage. It provides efficient features to users while developing with on it. Youtube's some parts are also written in python and it runs all scripts efficiently. Also i… Read more »