添加 Python 脚本的实际使用

This commit is contained in:
YuCheng Hu 2021-03-18 23:18:11 -04:00
parent 6e88d38f51
commit ac280420ff
No known key found for this signature in database
GPG Key ID: 1E5CBEF8B550FB7D
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,8 @@ GitHub 上有关 CWIKIUS 的项目:[https://github.com/cwiki-us-docs/cwikius-d
| 网站名称 | URL | NOTE | | 网站名称 | URL | NOTE |
|---|---|---| |---|---|---|
| WWW.CWIKIUS.CN | [http://www.cwikius.cn/](http://www.cwikius.cn/) | CWIKIUS.CN 一个有独立思考和温度的清新站 |
| [Python - 100天从新手到大师](https://github.com/jackfrued/Python-100-Days) | [https://github.com/jackfrued/Python-100-Days](https://github.com/jackfrued/Python-100-Days) | 我们参考了原作者的一些代码和测试用例。 | | [Python - 100天从新手到大师](https://github.com/jackfrued/Python-100-Days) | [https://github.com/jackfrued/Python-100-Days](https://github.com/jackfrued/Python-100-Days) | 我们参考了原作者的一些代码和测试用例。 |
| [Python语言基础50课](https://github.com/jackfrued/Python-Core-50-Courses) | [https://github.com/jackfrued/Python-Core-50-Courses](https://github.com/jackfrued/Python-Core-50-Courses) | 参考了原作者的部分内容和编排目录 | | [Python语言基础50课](https://github.com/jackfrued/Python-Core-50-Courses) | [https://github.com/jackfrued/Python-Core-50-Courses](https://github.com/jackfrued/Python-Core-50-Courses) | 参考了原作者的部分内容和编排目录 |
| WWW.CWIKIUS.CN | [http://www.cwikius.cn/](http://www.cwikius.cn/) | CWIKIUS.CN 一个有独立思考和温度的清新站 | | [Python 脚本收集](https://github.com/fnplus/Python-scripts-collection) | [https://github.com/fnplus/Python-scripts-collection](https://github.com/fnplus/Python-scripts-collection) | 针对 Python 使用的一些实际脚本的收集 |

View File

@ -18,6 +18,7 @@ def random_password(length, printable):
if __name__ == "__main__": if __name__ == "__main__":
print(__name__)
3 3
amount = int(input("请输入需要生成随机字符串的数量: ")) amount = int(input("请输入需要生成随机字符串的数量: "))