Python Forum
How to import entire module ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to import entire module ?
#6
Its not just mesagebox i want to import, i want to be able to call any function from tkinter library without the need to import each and every one of them i use.
How to import entire library and be able to just call functions instead of importing those functions in order to be able to call them ?
Thanks !
For example:
import tkinter
file = tkinter.filedialog.askopenfile()
print(file)
Why this doesnt work ?
Reply


Messages In This Thread
How to import entire module ? - by tonycstech - Nov-27-2019, 08:58 AM
RE: How to import entire module ? - by buran - Nov-27-2019, 09:10 AM
RE: How to import entire module ? - by tonycstech - Nov-30-2019, 08:47 PM
RE: How to import entire module ? - by snippsat - Nov-30-2019, 11:24 PM
RE: How to import entire module ? - by quyenca - Dec-01-2019, 01:53 AM
RE: How to import entire module ? - by tonycstech - Oct-21-2020, 06:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb [Tkinter] Tkinter Class Import Module Issue AaronCatolico1 6 2,973 Sep-06-2022, 03:37 PM
Last Post: AaronCatolico1
  How can import variable beteen classes in same module johnjh 1 1,912 Apr-19-2020, 09:41 PM
Last Post: deanhystad
  [Tkinter] need help using a returned value to import module Brave774 16 7,876 Jun-01-2018, 08:03 AM
Last Post: Brave774

Forum Jump:

User Panel Messages

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