Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicPython的错别字/勘误就在这里提出吧 #8

Open
cnDelbert opened this issue Sep 23, 2014 · 12 comments
Open

BasicPython的错别字/勘误就在这里提出吧 #8

cnDelbert opened this issue Sep 23, 2014 · 12 comments

Comments

@cnDelbert
Copy link

老齐写的不错,学了两年 Python 了,但是只是学,没用过。今天过来看到老齐写的东西,顺便复习一下。

美中不足的地方就是有些错别字,当然希望老齐的教程能够尽善尽美。

BasicPython > 105.md 中:

“列为“全部应该改为”列位“
倒数第三行“否则汉字如法输入”应该改为“无法”
苹果系统是 Mac OS,写成了"ms xos"

另外不知道支不支持行间代码,如果可以的话,行间代码也高亮,个人认为会更好一点。XD

@qiwsir
Copy link
Owner

qiwsir commented Sep 24, 2014

非常感谢指正。我马上修改错误。因为每天强迫自己必须出一篇,所以有时候在细节上做的不好。见谅。幸亏有网友们不断帮助。
此外,行间代码的问题,我看看那个markdown怎么写。没有用过。

@cnDelbert
Copy link
Author

行间代码是键盘上1左边那个按键,波浪线下面的符号,当然是英文半角下的。

`

@qiwsir
Copy link
Owner

qiwsir commented Sep 26, 2014

thanks

@7c00
Copy link

7c00 commented Oct 7, 2014

BasicPython/001.md 同样有列为的typo

人生有限,我用python or Life is short, I use Python,在爱好者中有个更通用(和maybe更文艺)的译法: 人生苦短,我用python 😃

@qiwsir
Copy link
Owner

qiwsir commented Oct 8, 2014

好。关于静态网页问题,等修订好之后,再做。也是好建议。

@cnDelbert cnDelbert changed the title 错别字就在这里提出吧 BasicPython的错别字/勘误就在这里提出吧 Oct 12, 2014
@cnDelbert
Copy link
Author

https://github.com/qiwsir/ITArticles/blob/master/BasicPython/125.md

38行:

开头的东西,请看官找一下,有没有发现这个:"__doc"。

第50行也是同样的问题:

obj.doc =>obj.doc

因为Markdown的原因导致显示错误,可以用\_\_来显示双下划线:.doc,也可以直接用行间代码来显示。

@qiwsir
Copy link
Owner

qiwsir commented Oct 13, 2014

好的。这里还要转义一下。谢谢。

@cnDelbert
Copy link
Author

204.md 中最后一节“一个有趣的赋值”中

《[赋值,简单也不简单]》(./127.md)以及《[正规地说一句]》(./201.md)

两个链接没有加对,应该移动到书名号内。

205.md 中,李同学用的应该不是 Python 3,Python 3中print不再是语句而是函数,应该写成print(),不加括号会有SyntexError: invalid syntax报错。Python 2里面有raw_input()input(),Python 3将二者合成input()

@cnDelbert
Copy link
Author

218.md 第一行,init两边的下划线需要转义。

@cnDelbert
Copy link
Author

302里面mysql-python项目不支持 Python 3:

$sudo pip install mysql-python
Password:
Downloading/unpacking mysql-python
  Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
  Running setup.py (path:/private/tmp/pip_build_root/mysql-python/setup.py) egg_info for package mysql-python
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/private/tmp/pip_build_root/mysql-python/setup.py", line 13, in <module>
        from setup_posix import get_config
      File "/private/tmp/pip_build_root/mysql-python/setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/private/tmp/pip_build_root/mysql-python/setup.py", line 13, in <module>

    from setup_posix import get_config

  File "/private/tmp/pip_build_root/mysql-python/setup_posix.py", line 2, in <module>

    from ConfigParser import SafeConfigParser

ImportError: No module named 'ConfigParser'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/mysql-python
Storing debug log for failure in /Users/delbert/Library/Logs/pip.log

应该说明一下Python3用户选用 PyMySQL 项目:

http://stackoverflow.com/questions/15140855/python3-2-installing-mysql-python-fails-with-error-no-module-named-configparse

$ sudo pip install pymysql
Password:
Downloading/unpacking pymysql
  Downloading PyMySQL-0.6.2-py2.py3-none-any.whl (63kB): 63kB downloaded
Installing collected packages: pymysql
Successfully installed pymysql
Cleaning up...

@toooonyy
Copy link

toooonyy commented Mar 3, 2015

225.md
中“类意外”似应为“类以外”

@YoungYo
Copy link

YoungYo commented Aug 5, 2018

#开始真正编程
第4行,“到目前位置”应改成“到目前为止”;
“在这种情况系”应改成“在这种情况下”
“巴西对”应改成“巴西队”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants