Importing functions from other file is not working for me
thanks. Solution1 is not working for me, getting an error "ImportError: attempted relative import with no known parent package". Sol2 is what i was trying to do. i tried typing the above in the terminal but get an error from the $ character.What should the "my_app" be in this context? the folder where the files are saved?