11 lines
196 B
Python
Executable File
11 lines
196 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import crypt
|
|
import string
|
|
import random
|
|
def get_pw():
|
|
pw = random.random()
|
|
return crypt.crypt(str(pw))
|
|
if __name__ == '__main__':
|
|
print (get_pw())
|