Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why import time 2x
#5
You can type just the imported module name into the console.
You get back the representation of the object. This works with all objects.
In addition you can import inspect and get the sourcefile of a loaded module.

Here some examples:
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
why import time 2x - by ilcaa72 - Apr-16-2019, 04:18 PM
RE: why import time 2x - by buran - Apr-16-2019, 04:33 PM
RE: why import time 2x - by ilcaa72 - Apr-16-2019, 06:09 PM
RE: why import time 2x - by buran - Apr-16-2019, 06:23 PM
RE: why import time 2x - by DeaD_EyE - Apr-16-2019, 06:30 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020