I am using django and I have a file named models.admin.py and I want to do the following idea in models.py:
from \"models.admin\" import *
No, you can't import a python file as a module if its name contains a period (or a question mark, or exclamation mark, etc). A python module's name (not including the .py) must be a valid python name (ie can be used as a variable name).