Why does this bloody ML want me to respond to the last person instead of tutor@python.org? --- On Mon, Jul 9, 2012 at 9:47 AM, Alan Gauld <alan.ga...@btinternet.com> wrote: > On 09/07/12 02:10, Chris Hare wrote: >> >> >> Here is what I want to do: >> >> I have a bunch of modules to import. instead of duplicating > >> a lot of code for each import, I want to do something like this: > > ...lots of code stripped.... > > > Why not the more usual: > > import sys, os, imp, stat, \ > re, webbrowser, Image, \ > StringIO, shutil, datetime > > [snip]
Why not the more standard: import sys import os and so on? http://www.python.org/dev/peps/pep-0008/#imports -- Kwpolska <http://kwpolska.tk> stop html mail | always bottom-post www.asciiribbon.org | www.netmeister.org/news/learn2quote.html GPG KEY: 5EAAEA16 | Arch Linux x86_64, zsh, mutt, vim. # vim:set textwidth=70: _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor