Posts

What is python?

Search Resul ww.python.org  › doc › essays › blurb Python  is an interpreted, object-oriented, high-level programming language with dynamic semantics. ...  Python's  simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance.  Python  supports modules and packages, which encourages program modularity and code reuse. Python  is a general  purpose  and high level programming language. You can  use Python  for developing desktop GUI  applications , websites and web  applications . Also,  Python , as a high level programming language, allows you to focus on core functionality of the application by taking care of common programming tasks.

Mysql 1 - Connect mysql in python

import mysql.connector mydb = mysql.connector.connect(host="localhost" , user="root   ", password="root") print(mydb.connection_id)   # for checking connection is establish or not.