Have you tried
import app.config as Config
It did the trick for me.
More Related Contents:
- Function Arguments – Clarification
- how can i change from python2 http request code to python3 Requests [closed]
- Python NameError: name is not defined
- Pygame already installed; however, python terminal says “No module named ‘pygame’ ” (Ubuntu 20.04.1)
- Find column whose name contains a specific string
- Print new output on same line [duplicate]
- pip or pip3 to install packages for Python 3?
- What are good uses for Python3’s “Function Annotations”?
- How do I get Flask to run on port 80?
- How do you fix the “element not interactable” exception?
- Types that define `__eq__` are unhashable?
- operator.itemgetter or lambda
- What are the “parts” in a multipart email?
- Python output to Console within Subprocess from the child scricpt
- Where should I place the secret key in Flask?
- Python type hinting with exceptions
- Django values_list vs values
- Pip freeze vs. pip list
- Beautifulsoup : Difference between .find() and .select()
- What is the Python 3 equivalent of “python -m SimpleHTTPServer”
- What’s the difference between ThreadPool vs Pool in the multiprocessing module?
- How to tell if a string contains valid Python code
- Python: Can a subclass of float take extra arguments in its constructor?
- Installing TensorFlow on Windows (Python 3.6.x)
- Updating Python on Mac
- Is there any working memory profiler for Python3 [closed]
- What arguments does Python sort() function have?
- Why doesn’t the operator module have a function for logical or?
- TypedDict when keys have invalid names
- Pandas(Python) : Fill empty cells with with previous row value?