randstr:在python中创建一个随机字符串

时间:2021-04-30 01:38:39
【文件属性】:
文件名称:randstr:在python中创建一个随机字符串
文件大小:16KB
文件格式:ZIP
更新时间:2021-04-30 01:38:39
Python 兰德斯特 有时您只想要一个随机字符串。 在那些时候,有randstr。 用法 缺省值为7个字符串,由a-z0-9组成。 from randstr import randstr print ( randstr ()) 您可以通过传入length参数来获得更长的字符串。 randstr ( 19 ) 免费软件:BSD许可证
【文件预览】:
randstr-master
----README.rst(495B)
----CONTRIBUTING.rst(3KB)
----randstr()
--------__init__.py(404B)
----.bumpversion.cfg(126B)
----AUTHORS.rst(153B)
----.travis.yml(339B)
----tox.ini(182B)
----LICENSE(1KB)
----setup.cfg(30B)
----setup.py(1KB)
----Makefile(2KB)
----docs()
--------authors.rst(28B)
--------make.bat(6KB)
--------contributing.rst(33B)
--------conf.py(8KB)
--------randstr.rst(147B)
--------index.rst(245B)
--------Makefile(7KB)
--------modules.rst(58B)
----tests()
--------test_randstr.py(464B)
--------__init__.py(24B)
----.gitignore(381B)
----dev_requirements.txt(30B)

网友评论