Comments (12)
非常感谢指正。我马上修改错误。因为每天强迫自己必须出一篇,所以有时候在细节上做的不好。见谅。幸亏有网友们不断帮助。
此外,行间代码的问题,我看看那个markdown怎么写。没有用过。
from itarticles.
行间代码是键盘上1
左边那个按键,波浪线下面的符号,当然是英文半角下的。
`
from itarticles.
thanks
from itarticles.
BasicPython/001.md
同样有列为的typo
人生有限,我用python or Life is short, I use Python,在爱好者中有个更通用(和maybe更文艺)的译法: 人生苦短,我用python 😃
from itarticles.
好。关于静态网页问题,等修订好之后,再做。也是好建议。
from itarticles.
https://github.com/qiwsir/ITArticles/blob/master/BasicPython/125.md 中
38行:
开头的东西,请看官找一下,有没有发现这个:"__doc"。
第50行也是同样的问题:
obj.doc =>obj.doc
因为Markdown的原因导致显示错误,可以用\_\_
来显示双下划线:.doc,也可以直接用行间代码来显示。
from itarticles.
好的。这里还要转义一下。谢谢。
from itarticles.
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.
218.md 第一行,init
两边的下划线需要转义。
from itarticles.
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 项目:
$ 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.
225.md
中“类意外”似应为“类以外”
from itarticles.
#开始真正编程
第4行,“到目前位置”应改成“到目前为止”;
“在这种情况系”应改成“在这种情况下”
“巴西对”应改成“巴西队”
from itarticles.
Related Issues (16)
- 建议:给每个小节加入前一节和后一节的链接 HOT 1
- BasicPython 系列可以单开一个repo HOT 1
- Ipython HOT 1
- 程序错误(205.md) HOT 1
- 希望整理成gitbook形式,便于阅读。 HOT 5
- class Person()和class Person的区别 HOT 5
- 醉了
- gcc到4.8.1 Connection timed out Giving up. HOT 1
- 关于orm
- 一个小错误
- 第一部分,21
- 关于理解变量 HOT 4
- paradigmsDIAGRAMeng108_CN.zip文件下载不了 HOT 1
- pyrhon
- 准备把你的几篇文章收入:https://github.com/justjavac/free-programming-books-zh_CN HOT 4
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 itarticles.