[Python-ideas] Add __main__ for uuid, random and urandom

Ethan Furman ethan at stoneleaf.us
Fri Apr 1 16:42:35 EDT 2016

On 04/01/2016 01:35 PM, Joao S. O. Bueno wrote:

> Well...actually, really recently (Tuesday), I did
> python3 -c "__import__('calendar').calendar(2016)"

Wouldn't have

   python3 -c "import calendar; calendar(2016)"

been clearer?  and easier to type?  :)


More information about the Python-ideas mailing list