selfteaching / selfteaching/selfteaching-python-camp
Day03 学习心得分享:我碰到的3个问题以及解决步骤和方法。
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
问题1:参考资料1网页打不开
解决方法:
上百度经验按照指示操作,重置了internet explorer设置(教练指出重置应该是没问题的操作,可能是电脑网络配置、浏览器配置、缓存等问题导致网页打不开),或更换360浏览器,都打不开。后来请一位朋友在他电脑上打开,发图片给我看。
在Issue区上提问,有位同学给予了回答,并且他的方法可行,即“用钉钉在手机上把作业pdf下载下来,手机打开试试看。”
教练让我下载chrome浏览器,问题解决了,可以打开该网页。非常感谢蔡教练!
问题2:【2.2步】刚开始不知道怎么做。
解决方法:
1:直接在电脑上“exericises”文件夹下创建该py文件,用文本文档打开后重命名,结果在vscode中提示该文件不是正常支持的py文件。因此,删掉文件,换解决思路。2:在Github网页上,新建该文件后,在电脑本地仓库的“selfteaching-python-camp”文件夹中没有看到该文件,在自己作业文件夹中也没有看到。于是,想到打开Github客户端,进行push origin,将网页上的文件推送到电脑上,该操作默认把文件推送到了“selfteaching-python-camp”文件夹内,我再手动把该文件剪切到自己的作业文件夹里。
问题3:【2.3步】“编写一个计算器”,“支持输入参数,支持输出结果”任务不理解。
解决方法:
1.按照参考资料1的3.1.1的第一个例子输入第一行,“>>> 2 + 2”,右键点击文件的“Run in terminal”后,页面下方提示 “invalid syntax”,即语法无效!我意识到,我这么做不是在编写计算器,而是已经把这个文件当成计算器在用。即之前的思路出错。
2.参考资料1和2并没有教计算器的编写,求助google搜索他人编写计算器的方法,人生第一次明白了“代码”的意思。参考其中一个最简易教程,才明白了原来这个任务是要定义能够实现计算器用途的函数。直接把该简易代码过程输入,run文件后,没有报错,于是保存。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
This is a Day03 learning-experience report with no source file, test, implementation target, or requested change named. Read the reported steps and referenced materials first; the issue does not define a completion check for a contribution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, python, vscode
- Domain
- content, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100