<span class="gmail_quote">2007/1/29, Leif K-Brooks <<a href="mailto:eurleif@ecritters.biz">eurleif@ecritters.biz</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
NoName wrote:<br>> from random import choice<br>> import string<br>> print ''.join([choice(string.letters+string.digits) for i in<br>> range(1,8)])<br>><br>> !!generate password once :(<br><br>So add a while true: line.
<br><br>> who can write this smaller or without 'import'?</blockquote><div><br>Being very short in price of readability isn't one of the Python's main goals. <br></div><br>--------------------------------
<br>Olexandr Melnyk,<br><a href="http://omelnyk.net/">http://omelnyk.net/</a><br><br>