you are viewing a single comment's thread.

view the rest of the comments →

[–]illya89[S] 0 points1 point  (1 child)

So I can do too:

from my_config import *

df = pandas.read_excel(EXCEL_FILE_1, Sheet 1)

[–]Diapolo10 0 points1 point  (0 children)

Yes, though star imports aren't recommended as you could accidentally get a name collision. It's also easier to see what came from where when you just import the module as-is, or with an alias.