Re: does the order in which the modules are placed in a file matters ?

2015-12-22 Thread Ganesh Pal
Thanks to Don , Chris and Carl for sharing your view on this topic . -- https://mail.python.org/mailman/listinfo/python-list

Re: does the order in which the modules are placed in a file matters ?

2015-12-16 Thread Carl Meyer
Hi Ganesh, On 12/16/2015 09:09 AM, Ganesh Pal wrote: > Iam on python 2.7 and linux .I need to know if we need to place the > modules in a particular or it doesn't matter at all > > order while writing the program As you've probably already noticed, it usually doesn't matter to Python (though it

Re: does the order in which the modules are placed in a file matters ?

2015-12-16 Thread Chris Angelico
On Thu, Dec 17, 2015 at 3:42 AM, Dan Strohl wrote: > For the general modules it doesn't matter, however using if you are using any > non-standard packages, and If there are duplicate names in any of the modules > and if you import them with a "*" (as some packages suggest), it can cause > you t

RE: does the order in which the modules are placed in a file matters ?

2015-12-16 Thread Dan Strohl
.strohl=f5@python.org] On Behalf Of Chris Angelico Sent: Wednesday, December 16, 2015 8:14 AM Cc: python-list@python.org Subject: Re: does the order in which the modules are placed in a file matters ? On Thu, Dec 17, 2015 at 3:09 AM, Ganesh Pal wrote: > Iam on python 2.7 and linux .I need t

Re: does the order in which the modules are placed in a file matters ?

2015-12-16 Thread Chris Angelico
On Thu, Dec 17, 2015 at 3:09 AM, Ganesh Pal wrote: > Iam on python 2.7 and linux .I need to know if we need to place the > modules in a particular or it doesn't matter at all > > order while writing the program > > For Example > > import os > import shlex > import subprocess > import time > impor

does the order in which the modules are placed in a file matters ?

2015-12-16 Thread Ganesh Pal
Iam on python 2.7 and linux .I need to know if we need to place the modules in a particular or it doesn't matter at all order while writing the program For Example import os import shlex import subprocess import time import sys import logging import plaftform.cluster from util import run def