ictar / python-doc Goto Github PK
View Code? Open in Web Editor NEWtranslate python documents to Chinese for convenient reference 简而言之,这里用来存放那些Python文档君们,并且尽力将其翻译成中文~~
translate python documents to Chinese for convenient reference 简而言之,这里用来存放那些Python文档君们,并且尽力将其翻译成中文~~
就python 常规文档这一块来讲,有没有考虑过用gitbook?因为现在阅读起来不是很方便,也不容易和官方的doc进行对比和同步。
网上很多地方都是使用你这一模板的代码,不知道源头在哪.
在协同过滤的代码中,pairwise_distance算的是余弦距离不是余弦相似度,得到的结果其实是完全相反的,应该修改为cosine_similarity这个函数
如题
RT
是因为优化级别的问题吗?-O0或者-O2?
关于用gdb调试python程序的困惑,https://github.com/ictar/python-doc/blob/master/Others/%E4%BD%BF%E7%94%A8gdb%E8%B0%83%E8%AF%95CPython%E8%BF%9B%E7%A8%8B.md
[root@localhost ~]# gdb /usr/bin/python3 -p 945
GNU gdb (GDB) EulerOS 9.2-1.h4.eulerosv2r10
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-openEuler-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/python3...
Reading symbols from /usr/lib/debug//usr/bin/python3.7-3.7.9-9.h30.eulerosv2r10.aarch64.debug...
Attaching to program: /usr/bin/python3, process 945
[New LWP 1278]
warning: File "/usr/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /usr/lib64/libthread_db-1.0.so
line to your configuration file "/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: File "/usr/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
0x0000ffff8aaae63c in poll () from /usr/lib64/libc.so.6
(gdb) py-bt
Traceback (most recent call first):
Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x6200000081:
Error occurred in Python: Cannot access memory at address 0x6200000081
这周份的呢
是不是考虑单独分一类?
使用nginx+uWSGI实现对某个目录进行监听,所以在该目录下的python程序都可以通过浏览器请求访问。但是文档中说明的是逐个添加项目,那如果服务器重启之后,这些项目岂不是都要重新启动吗?所以觉得采用第一种方案更适合单个服务器配置多个项目的需求,但是这样性能和文档中的部署方式有什么不同?实在不解,麻烦告知下。多谢~
Others可以进一步分类:测试相关、数据处理、编程方法、python hack等等
搜了一下,发现现行没有python weekly Issue的翻译( PyCoder’s Weekly 倒是有,见蟒周刊)。
但是由于现在已经有工作了,又仍然不想用机翻,因此加上这个其实压力会有点大的说。anyway,先记个Issues~ 也希望有人加入吧O(∩_∩)O~
直接对着原文写还是用翻译平台?看了几个翻译平台网站各有特色。。。现在在用google translate toolkit。
以及多少进度提交一次pull request比较好呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.