gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Import/Export everything from a module?


From: Gaius Mulley
Subject: Re: Import/Export everything from a module?
Date: Tue, 24 Mar 2020 18:41:04 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hưng Hưng <address@hidden> writes:

> I found it's too time consuming to write a long list of import,
> export. Is there any syntax to import everything from a module? e.g:
> FROM EXAMPLE IMPORT */ALL/EVERYTHING/... or IMPORT EXAMPLE.*? Python
> has a syntax like this: from example import *; which I think heavily
> influenced by M2.
>
> I wonder the same thing for Export, too. Thanks.

Hi,

yes I think Python modules were influenced by Modula-2 - but no there is
no import all (like Python) in Modula-2

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]