0
How to upload a text file to sololearn
How to upload a text file to sololearn and then access it from python code. Thank you in advance
10 Réponses
+ 7
there's almost two ways:
+ upload your text file elsewhere and fetch it from python...
+ copy/paste text file content in your python script, write it to a temp file, access your newly created file in the same script...
+ 3
visph I am talking about writing text files over web like if file is stored in drive and we want to write something to it.
+ 1
visph what about writing a text into a file stored on other platform as SL dont provide support for permanent files.
+ 1
AKSHAY [less active]
that's a read-only workaround ;)
+ 1
AKSHAY [less active]
you could ever rely on server side to handle a CRUD service... with your own host ;)
+ 1
Lol
0
AKSHAY [less active]
use request module and fetch file by its public url...
0
You could go through this
https://www.sololearn.com/discuss/2374654/?ref=app