Hola Fabrizzio.

Me parece que al escribir te equivocaste con la lista en inglés. :-)

On Tuesday, October 21, 2014 9:36:43 AM UTC-5, Fabrizzio Chavez Tejada 
wrote:
>
> HI, I need to use crypt 3 and use this line:
> python -c 'import getpass,crypt,random,string; print 
> crypt.crypt(getpass.getpass(), "".join(random.sample(string.ascii_letters + 
> string.digits, 8)))'
> but over windows, what do I have to install, and how do I have to use it?
>

No estoy muy seguro pero me parece que no ha de ser posible según indica 
aquí [1], utiliza rutina *Unix* crypt(3).

Aquí [2] indican que la función crypt que provee python es solo para Unix. 
De todas formas en ese mismo 
enlace [2] hablan de una librería para Windows.

[1] http://doc.tryton.org/3.4/trytond/doc/topics/configuration.html#super-pwd
[2] 
http://stackoverflow.com/questions/26021982/python-crypt-equivalent-for-windows

--
Saludos

Responder a