Home

Bruno Desthuilliers <bdesth.quelquechose@free.quelquepart.fr> writes:
> from foo import foo
> x = foo(3)
>
> Or did I miss the point ???

The foo module might define a bunch of additional functions that you
still want to be able to access in qualified form. For example it
would somewhat clean up the interface to the python random module if
you could say

import random
x = random() # get a random float between 0 and 1

while still having access to random.shuffle, random.choice, etc.

previous
next

Re: toUpper and pointer to a string
Video from image
World's best guitars ever!!!!
Re: Why should we use fun(const Class &B) instead of fun(Class &B)?
Eval and raw string ??
Niechciane i Zapomniane
Fundacja Hobbit
Nasze Dzieci
Fundacja Iskierka
Akogo