Comments (4)
开源报告非常漂亮,值得表扬!
from tofel_words_reviewer.
parser.add_argument('-r', '--random',
dest='random', action='store_true',
help='whether to randomly select the words; if unset, '
'each word list will contain different words in order'
)
parser.add_argument('-s', '--sorted',
dest='sorted', action='store_true',
help='whether to sort the word list'
)
此处有两个 store_true
的变量,虽然这么写可以运行,但是一般而言,我们对 store_true
的变量使用 --r
而非 -r
,作为和一般变量的区别(否则你指定了参数却没有传入数值,看着很奇怪)
from tofel_words_reviewer.
代码风格不错,整体注释详尽,可以再添加传入的接口注释,比如参考这份作业:https://git.tsinghua.edu.cn/lkm20/3.0-hw1/-/blob/master/wordTranslation.py
from tofel_words_reviewer.
作为初学者,提出表扬!
from tofel_words_reviewer.
Related Issues (20)
- HW1 submit HOT 1
- words-translation HOT 6
- homework HOT 6
- sast2022_words_translator HOT 3
- Hw1 HOT 5
- Homework1 HOT 3
- hw1 HOT 5
- Summer homework HOT 4
- Python Homework HOT 6
- Homework HOT 3
- Homework HOT 4
- homework submission HOT 3
- hw1提交 HOT 4
- 作业提交 HOT 8
- 作业提交 HOT 4
- HW Submission HOT 5
- hw1 HOT 3
- 作业 HOT 3
- hw
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tofel_words_reviewer.