In article 062813eb-7eec-4504-b32c-abadf02c3...@12g2000pri.googlegroups.com,
dandi kain dandi.k...@gmail.com wrote:
What is the functionality of __ or _ , leading or trailing an object ,
class ot function ? Is it just a naming convention to note special
functions and objects , or it really mean
a...@pythoncraft.com (Aahz) writes:
One more thing: if you have global module names with a single leading
underscore (e.g. _foo), they will not be loaded when you use
from module import *
However, import * is strongly discouraged for the most part.
Dude, that's exactly the “underscore
Ben Finney a écrit :
dandi kain dandi.k...@gmail.com writes:
What is the functionality of __ or _ , leading or trailing an object ,
class ot function ?
OP
Please note that in Python, classes and functions are objects too. But
anyway, these underscores are part of *identifiers*, not objects
Hello everybody,
I have just started learning Python.I heard its simple so I pick a
presentation [1] and tried to work on it.But when it comes to
underscores leading and trailing an object I dont understand any.I
look through the python manual also but that was not helping .I
searched some forums
On Wed, Jul 29, 2009 at 1:59 PM, dandi kain dandi.k...@gmail.com wrote:
Hello everybody,
I have just started learning Python.I heard its simple so I pick a
presentation [1] and tried to work on it.But when it comes to
underscores leading and trailing an object I dont understand any.I
look
29-07-2009 Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Wed, Jul 29, 2009 at 1:59 PM, dandi kain dandi.k...@gmail.com wrote:
[snip
What is the functionality of __ or _ , leading or trailing an object ,
class ot function ? Is it just a naming convention to note special
functions and
Benjamin Kaplan wrote:
On Wed, Jul 29, 2009 at 1:59 PM, dandi kain dandi.k...@gmail.com wrote:
Hello everybody,
I have just started learning Python.I heard its simple so I pick a
presentation [1] and tried to work on it.But when it comes to
underscores leading and trailing an object I dont
On Jul 30, 3:59 am, dandi kain dandi.k...@gmail.com wrote:
What is the functionality of __ or _ , leading or trailing an object ,
class ot function ? Is it just a naming convention to note special
functions and objects , or it really mean someting to Python ?
I think everyone else has covered
dandi kain dandi.k...@gmail.com writes:
What is the functionality of __ or _ , leading or trailing an object ,
class ot function ?
There is no change in functionality. It has some slight effects on
import, but as a beginner you shouldn't need to worry about that.
Is it just a naming