Coder Social home page Coder Social logo

Comments (12)

qiwsir avatar qiwsir commented on August 19, 2024

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

from itarticles.

cnDelbert avatar cnDelbert commented on August 19, 2024

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

`

from itarticles.

qiwsir avatar qiwsir commented on August 19, 2024

thanks

from itarticles.

7c00 avatar 7c00 commented on August 19, 2024

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

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

from itarticles.

qiwsir avatar qiwsir commented on August 19, 2024

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

from itarticles.

cnDelbert avatar cnDelbert commented on August 19, 2024

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

38行:

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

第50行也是同样的问题:

obj.doc =>obj.doc

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

from itarticles.

qiwsir avatar qiwsir commented on August 19, 2024

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

from itarticles.

cnDelbert avatar cnDelbert commented on August 19, 2024

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()

from itarticles.

cnDelbert avatar cnDelbert commented on August 19, 2024

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

from itarticles.

cnDelbert avatar cnDelbert commented on August 19, 2024

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...

from itarticles.

toooonyy avatar toooonyy commented on August 19, 2024

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

from itarticles.

YoungYo avatar YoungYo commented on August 19, 2024

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

from itarticles.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.