How can I make a script that would print modules contents like below, sys sys.__name__ = "sys" sys.stdout = "<PyShell.PseudoFile instance at 7fd530>" sys.winver = "1.5" sys.etc = "spam" Joonas.