ihave a file containing data in the form of table with 5 columns and 10 rows the columns are separated by spaces . i have a to read the file line by line without reading the first line which is the header line.Please suggest me the code using python technology
vimalya
0
Newbie Poster
Recommended Answers
Jump to Postenjoy:
Not so much to enjoy in that code.
You dont read file line by line as @vimalya mention.
Withread()
you read all file into memory.del
we almost never need to use in python.Example.
data.txt-->header 1 2 3 4 5 …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.