LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2008, 09:00 PM   #1
raskol
Member
 
Registered: Mar 2008
Posts: 51

Rep: Reputation: 15
difference between these ways of importing?


import Tkinter

and

from Tkinter import *


?

they import the same? import goes just as fast in both ways?

edit: apparently not the same since from Tkinter import * doesnt work.

or nto fr what i did at least.

doesnt * mean everything?

anyway, whats the difference between the 2?

Last edited by raskol; 04-07-2008 at 09:02 PM.
 
Old 04-07-2008, 09:27 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
http://docs.python.org/ref/import.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script to find the difference betwwn two file and place the difference to other kittunot4u Linux - General 3 07-19-2010 04:26 AM
piping both ways? quinton Linux - Newbie 3 09-20-2004 07:10 PM
what are the ways of installation paschim Linux - Newbie 2 06-27-2004 11:45 PM
Cant Install Off CD! Other Ways? Rv5 Red Hat 5 09-04-2003 02:20 PM
Ways to Partition? cclavey Linux - Newbie 2 03-12-2003 01:22 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration