3 Respostas
+ 3
What Hatsy said.
But, if you really want to do it, there's a roundabout way. Save your python file somewhere online and access it using urllib in your python code. Here's an example where Cépagrave saved the source code for a python library (that wasn't available on Sololearn) on Github and accessed it from another code:
https://code.sololearn.com/cfGR3GSuk7yw/?ref=app
The relevant lines are #1 and #4. Now I'm not very familiar with accessing urls with Python, but I'm sure you can figure it out!
+ 4
Code Playground does not support multifile projects, at least not yet.
+ 2
I was wondering if someone was going to try that.
One potential use for this, there's an import library for unicode that makes aligning those variable-width characters automatic.
I had thought this would make maze codes and so on easier to do.