Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Trying to make an app with independent data from one file.
Trying to make an app which gets data from a file and then use the data independently, help.
1 Resposta
+ 4
It depends where your file is.
if it is local :
reader = open(pathOfYourFile)
listOfLines = reader. readlines()
if it is in the web:
pip3 install requests
import requests
req = requests.get(url)
content = req. text