Is it only possible if I rename the file? Or is there a __module__ variable to the file to define what\'s its name?
__module__
You can change the name used for a module when importing by using as:
import foo as bar print bar.baz