TranceAddict Forums

TranceAddict Forums (www.tranceaddict.com/forums)
- Europe - Germany
-- Postflaute?


Posted by Mat Vision on Oct-29-2003 15:37:

Postflaute?

Junx, was issen hier los? 10 User online und keiner postet was?!


Posted by DX-Rated on Oct-29-2003 15:42:

Sind Dir Spamposts lieber?

Ich halt es f�r gew�hnlich so, dass ich zu Themen, die f�r mich uninteressant sind oder zu denen ich einfach nichts beitragen kann, raushalte.


Posted by jp on Oct-29-2003 15:42:

Qualit�t �ber Quantit�t


Posted by Mat Vision on Oct-29-2003 15:45:

quote:
Originally posted by jploveparade
Qualit�t �ber Quantit�t


Jaja, schon klar

Aber schau doch bitte mal HIER nach!! Du kannst mir da doch sicher weiterhelfen!?


Posted by XeCUTionER on Oct-29-2003 15:55:

es gibt halt auch leute, die etwas zu tun haben

wobei ich mich nicht dazu z�hle!!


Posted by TheREALMcSoni on Oct-29-2003 16:15:

quote:
Originally posted by DX-Rated
Sind Dir Spamposts lieber?



Posted by Mat Vision on Oct-29-2003 16:17:

quote:
Originally posted by XeCUTionER
es gibt halt auch leute, die etwas zu tun haben

wobei ich mich nicht dazu z�hle!!


Hm, ich hab die Woche auch gaaar nix zu tun... URLAUB

*spam*


Posted by Sir. Lunchalot on Oct-29-2003 16:37:

quote:
__import__( name[, globals[, locals[, fromlist]]])

This function is invoked by the import statement. It mainly exists so that you can replace it with another function that has a compatible interface, in order to change the semantics of the import statement. For examples of why and how you would do this, see the standard library modules ihooks and rexec . See also the built-in module imp , which defines some useful operations out of which you can build your own __import__() function.
For example, the statement "import spam" results in the following call: __import__('spam', globals(), locals(), []); the statement "from spam.ham import eggs" results in "__import__('spam.ham', globals(), locals(), ['eggs'])". Note that even though locals() and ['eggs'] are passed in as arguments, the __import__() function does not set the local variable named eggs; this is done by subsequent code that is generated for the import statement. (In fact, the standard implementation does not use its locals argument at all, and uses its globals only to determine the package context of the import statement.)

When the name variable is of the form package.module, normally, the top-level package (the name up till the first dot) is returned, not the module named by name. However, when a non-empty fromlist argument is given, the module named by name is returned. This is done for compatibility with the bytecode generated for the different kinds of import statement; when using "import spam.ham.eggs", the top-level package spam must be placed in the importing namespace, but when using "from spam.ham import eggs", the spam.ham subpackage must be used to find the eggs variable. As a workaround for this behavior, use getattr() to extract the desired components. For example, you could define the following helper:


def my_import(name):
mod = __import__(name)
components = name.split('.')
for comp in components[1:]:
mod = getattr(mod, comp)
return mod


N�here Erl�uterung hier:

http://www.takagi-ryo.ac/docs/out.pimage?photo=234&doc=234


**Closed**


...zum Abschluss noch ein paar Bilder:











...so, jetzt reichts wieder.



Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.