Im sorry I know this is really stupid question, but I'm having a hard time passing a variable through simple python commands. I'm coming from BASH so I would simply use $ to solve this.
module = input("Enter module name: ")
import module
content = dir(module)
print (content)
exit (0)
How do I let python know "module" is a variable here?