+ 1

How to write a python script which scrape data from a web page and how to export it in CSV format?

How to write a python script which scrape data from web page and how to export it in CSV format?

5th Nov 2021, 4:38 AM
Haris
Haris - avatar
2 ответов
+ 3
file = open("newfile.csv", "w") file.write("Some new text") file.close() file = open("newfile.csv", "r") print("Reading new contents") print(file.read()) print("Finished") file.close() # Keep learning & happy coding :D https://www.sololearn.com/learning/1073/2447/5057/1
5th Nov 2021, 7:05 AM
SoloProg
SoloProg - avatar
0
Is there any module used or without module?
5th Nov 2021, 1:59 PM
Haris
Haris - avatar