Final
Final
FILE
Output in MySQL -
AIM - Write a Program to integrate SQL with Python by importing the
MYSQL module to insert the records in the Emp Table and display the
records.
Code-
Output-
AIM - Write a Program to integrate SQL with Python by importing the
MYSQL module to search an Employee using EID and display the record if
present in already existing table Emp, if not display the approprite
message.
Code-
Table -
Output-
AIM - Write a Program to integrate SQL with Python by importing the
MYSQL module to delete all the records from the Emp table whose salary
> 30000
Code –
Table –
Output –
FILE HANDLING
AIM - Create a programme to read a text file line by line and display each
word separated by a #.
Input-
Ouput-
Input -
Ouput –
AIM - Creating python program to display short words from a text file
Input-
Output –
AIM - Creating a python program to copy particular lines of a text file into
another textfile which start from either a or A
INPUT –
Output –
OUTPUT –
AIM - Creating a python program to create and search employee’s record
in csv file.
INPUT -
OUTPUT –
AIM - Creating a python program to implement stack operations (List)
Code-
OUTPUT-