[INFORMATION] YOU CAN IMPORT ONE PYTHON CODE TO ANOTHER HERE ON SOLOLEARN ( Hooray!😅)
Hey everyone! If you've worked with Python here on SL, you're likely to have faced an issue about importing your one python code to another as a package or may be just to reuse some functionalities from your previously created code, as there's no official way to link your multiple codes in here and that's painful 😔. Recently I've been coming across too many queries about importing a local code to some other code and I've been answering them like "Sadly that's not possible here on SL". Well, that's all going to change now. I've created this https://code.sololearn.com/cLBKf4Dy7t2i/?ref=app very small piece of code today which will let you do that. All you need is to: 👉Copy-paste the code snippet in your python code in which you need to import. 👉Replace the 'url' with the url of your code from the code playground which you need to import. 👉 And voilà ! 😅 Thanks to Anna and Flandre Scarlet, their ideas were helpful!😊 Kindly let me know if you find any bugs. Happy Pythoning 🐍!



