Write a program which opens a CSV file in Python and Reads Data from it

1-import csv 2-fcsv=open(‘mycsv.csv’, ‘r’) 3-table=csv.reader(fcsv) 4-for row in table: 5-          print(row) Program Description In the above program a library csv is imported in the first file which is used to manipulate csv files. Moreover, a file object fcsv is created using open function, thereafter   file object is passed into reader function

Write a program which opens a CSV file in Python and Reads Data from it Read More »

SQL

Create Table Insert Data Into Table and Select Data in SQL

Structured Query Language (SQL) is standard language to manipulate databases. MySQL, MariaDB, MS-Access and all popular Database Management System software use SQL. In this post, I will demonstrate how to create a table, insert data into table and select columns and rows. In this example, I will example of class table of school database. So,

Create Table Insert Data Into Table and Select Data in SQL Read More »

©Postnetwork-All rights reserved.