Casey Bralla on 20 Feb 2014 07:02:55 -0800
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[PLUG] Python Syntax Question
|
- From: Casey Bralla <MailList@nerdworld.org>
- To: plug@lists.phillylinux.org
- Subject: [PLUG] Python Syntax Question
- Date: Thu, 20 Feb 2014 10:02:46 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1392908568; bh=0EO0QHMPbZvePj4oiwq8WjQc5SrWFuoadM4JdNoPI0Y=; h=Received:Received:Received:Received:Received:From:To:Subject:Date: Message-ID:MIME-Version:Content-Type; b=ZgMx6m7btepOW4pHHyw3Xo22Ve0y/z76gVEEd9TtSDdH4UVasrJcOdXU3+m8rXna+ Dn+sDjBmETBaRei2ysK92WKaIHWRdQs/xE/FzPypKUcBvRN8Lcbt153zATe8QWtF+2 XfI//0jLdJng5nJauawNq/Z3sIbqiFYTuu8WrYoQQCK/f/TqCx6zmai+rkhVEjkiaK jBIRIC0emzhRxEmadvra0LkxUiBtSkgGhEJ4yJICsfDSBM4aNdMze47xttcl9Ga/T3 6BElzxRADxF/CJRQJinzIDnOObr13GdwF8CgyDaGMeKVwpUOdghADiLWjJHy0IOjA/ vJ4Ze+ixRq/8g==
- Organization: The NerdWorld Organisation
- Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
- User-agent: KMail/4.12.2 (Linux/3.13.3-gentoo; KDE/4.12.2; x86_64; ; )
I'm confused a little about importing modules in python.
In some cases, you add a statement like:
"import sys"
But in other cases, the syntax is:
"from sys import *"
Why the difference?
--
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
www.NerdWorld.org
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug