好久没有用Python了,居然忘记了怎么在Python IDLE中调试Python代码.百度了一下,然后还是写下来吧,以免以后又忘记了. 1. Set break point in the source file. 2. Show Python shell 3. Enable Debug 4. Run Module
1. 在执行python manage.py shell之后的一些错误: wyl@wyl:~/myobject$ python manage.py shell /usr/lib/python2.7/dist-packages/pkg_resources.py:1049: UserWarning: /home/wyl/.python-eggs is writable by group/others and vulnerable to attack when used with get_resour
python manage.py shell 的增删改查 guoguo-MacBook-Pro:myblog guoguo$ python manage.py shell Python 3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44) Type 'copyright', 'credits' or 'license' for more information IPython 6.2.1 -- An enhanced Interactive Pyth
django是一个快速开发web应用的框架, 笔者也在django框架上开发不少web应用,闲来无事,就想探究一下django底层到底是如何实现的,本文记录了笔者对django源码的分析过程 I believe to become a better developer you MUST get a better understanding of the underlying software systems you use on a daily basis and that includes p