Path: csiph.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: garabik-news-2005-05@kassiopeia.juls.savba.sk Newsgroups: cz.comp.lang.python Subject: Re: =?UTF-8?Q?Pln=C4=9B_kvalifikovan=C3=BD_n=C3=A1zev_m=C3=ADsto?= importu? Date: Wed, 1 Jun 2016 18:32:13 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 28 Message-ID: References: <52752459-7efc-44ab-8a2b-2e50fd9d869b@googlegroups.com> NNTP-Posting-Host: JHZE1oNJwMsOiWGicvMNww.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.8.13.7 (armv7l)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com cz.comp.lang.python:3085 Libor Jelínek wrote: > Ahoj, > existuje nějaký způsob např. zavolání funkce modulu plně kvalifikovaným názvem aniž by ho bylo třeba nutné nejprv importovat? > http://peak.telecommunity.com/DevCenter/Importing priklad: lazyModule('tempfile.gettempdir')() > Místo > > import tempfile > tempfile.gettempdir() > > jen něco jako > > tempfile.gettempdir() > > ? -- ----------------------------------------------------------- | Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ | | __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk | ----------------------------------------------------------- Antivirus alert: file .signature infected by signature virus. Hi! I'm a signature virus! Copy me into your signature file to help me spread!