Is a non-web code bit limited to one file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is a non-web code bit limited to one file?

I'm wondering if it would be possible to use multiple files in something like a python code bit, for example having code that relies on having training data, like an AI or markov chain?

22nd Mar 2023, 7:46 PM
PizzaFox
PizzaFox - avatar
1 Answer
+ 3
You can pull some external data from the web into your code, if it is stored in a public location. In Python this is quite simple to do with the requests library. But in the Sololearn playground, you can only have a single source code file for every program.
22nd Mar 2023, 7:49 PM
Tibor Santa
Tibor Santa - avatar