From 706fa38e42d811e98ab9d1a8a52607f90a037544 Mon Sep 17 00:00:00 2001 From: CharlesPikachu <1159254961@qq.com> Date: Thu, 24 Mar 2022 16:04:00 +0800 Subject: [PATCH] update docs --- README.md | 1 + cpgames/cpgames.py | 6 +++--- docs/RelatedProjects.md | 31 +++++++++++++++++++++++++++++++ docs/index.rst | 1 + 4 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 docs/RelatedProjects.md diff --git a/README.md b/README.md index aac5d89..a96491a 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ game_client.execute(random.choice(list(all_supports.values()))) - [CodeFree](https://github.com/CharlesPikachu/codefree): Make no code a reality. - [DeepLearningToys](https://github.com/CharlesPikachu/deeplearningtoys): Some deep learning toys implemented in pytorch. - [DataAnalysis](https://github.com/CharlesPikachu/dataanalysis): Some data analysis projects in charles_pikachu. +- [Imagedl](https://github.com/CharlesPikachu/imagedl): Search and download images from specific websites. # Citation diff --git a/cpgames/cpgames.py b/cpgames/cpgames.py index 3506253..1b9bb7d 100644 --- a/cpgames/cpgames.py +++ b/cpgames/cpgames.py @@ -72,9 +72,9 @@ def getallsupported(self): for key, value in self.supported_games.items(): all_supports[value.game_type] = key return all_supports - '''repr''' - def __repr__(self): - return 'Python小游戏合集; 作者: Charles; 微信公众号: Charles的皮卡丘' + '''str''' + def __str__(self): + return 'Welcome to use CPGames!\nYou can visit https://github.com/CharlesPikachu/Games for more details.' '''run''' diff --git a/docs/RelatedProjects.md b/docs/RelatedProjects.md new file mode 100644 index 0000000..f918322 --- /dev/null +++ b/docs/RelatedProjects.md @@ -0,0 +1,31 @@ +# 相关项目 + +- [Python制作小游戏](https://github.com/CharlesPikachu/Games) + +- [Python模拟登录系列](https://github.com/CharlesPikachu/DecryptLogin) + +- [Python制作音乐下载器](https://github.com/CharlesPikachu/musicdl) + +- [Python制作视频下载器](https://github.com/CharlesPikachu/videodl) + +- [Python制作的一些实用工具](https://github.com/CharlesPikachu/pytools) + +- [Python玩转微信](https://github.com/CharlesPikachu/pikachuwechat) + +- [Python美化图片或视频](https://github.com/CharlesPikachu/pydrawing) + +- [Python实现图像压缩算法](https://github.com/CharlesPikachu/imagecompressor) + +- [Python制作免费代理工具](https://github.com/CharlesPikachu/freeproxy) + +- [Python制作论文下载器](https://github.com/CharlesPikachu/paperdl) + +- [Python实现终端看中华人民共和国国务院新闻办公室](https://github.com/CharlesPikachu/sciogovterminal) + +- [Python实现代码自由](https://github.com/CharlesPikachu/codefree) + +- [Python写的一些深度学习小案例](https://github.com/CharlesPikachu/deeplearningtoys) + +- [Python数据分析相关的小项目](https://github.com/CharlesPikachu/dataanalysis) + +- [Python制作图片下载器](https://github.com/CharlesPikachu/imagedl) diff --git a/docs/index.rst b/docs/index.rst index 344be31..97cf3fb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -12,4 +12,5 @@ CPGames中文文档 Install.md Quickstart.md Changelog.md + RelatedProjects.md Author.md \ No newline at end of file