About us
Home
Privacy Policy
QueueOverFlows
Home
Advance JAVA Technology
Data Structure
DataBase Management System
General
PL_SQL
Home
python
You can write any code you like in the window below. There are three files loaded and ready for you to open if you want to do file processing: "mbox-short.txt", "romeo.txt", and "words.txt".
You can write any code you like in the window below. There are three files loaded and ready for you to open if you want to do file processing: "mbox-short.txt", "romeo.txt", and "words.txt".
Nishant Raval
Monday, July 27, 2020
fh = open("romeo.txt", "r")
count = 0
for line in fh:
print(line.strip())
count = count + 1
print(count,"Lines")
Post a Comment
0 Comments
Social Plugin
Labels
Advance JAVA Technology
android application developement
Business Intelligence and Data Mining
C Program
Competitive Exam Material
Computer network and security
Data Structure Management
Database Management System
General
Parallel Processing
php
PL/SQL
Project Ideas
python
Soft Computing
Contact Form
Name
Email
*
Message
*
0 Comments