Forums

Adding a local package

I am new to pythonanywhere and I am trying to replicate a tutorial package I have created with several modules on my local computer. I want to load it here, but can't figure out where it should go and then how to access it from the console. I tried creating the same file structure as I have locally in pythonanywhere:

/home/myusername/package_name Then I've uploaded the py files to this directory

Locally, in the console I would be able to simply do: from package_name import main_module

Ignore post I was able to figure it get it to work in the console by making a few adjustments to the code. However I don't see a way to delete a post.