>>> num=input('n:')n:1234>>> print('sdf:',n)Traceback (most recent call last): File "", line 1, in print('sdf:',n)NameError: name 'n' is not defi...
分类:
编程语言 时间:
2015-06-29 13:08:03
阅读次数:
212
C. Propagating treeTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/383/problem/CDescriptionIahub likes trees very much. Recent...
分类:
编程语言 时间:
2015-06-26 12:24:25
阅读次数:
228
如果导入的模块不存在,Python解释器会报 ImportError 错误:
>>> import something
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named something
有的时候,两个不同的模块提供了相同的功能,比如 StringIO 和 cStr...
分类:
编程语言 时间:
2015-06-26 09:24:49
阅读次数:
149
Traceback (most recent call last): ? File "manage.py", line 90, in <module> ??? startup = importlib.import_module(edx_args.startup) ? File "/usr/lib/python2.7/importlib/__init__.py", line 37, ...
分类:
Web程序 时间:
2015-06-19 12:02:19
阅读次数:
176
Ubuntu12.04 下使用pyev 模块,但是运行sudo python setup.py install后却提示出现以下错误:
Traceback (most recent call last):
File "setup.py", line 59, in
check_version(libev_version(), min_libev_version, "libev")...
分类:
其他好文 时间:
2015-06-16 19:23:20
阅读次数:
292
调整背景, ideaVim跳转至声明、实现、退回来?+B 、?+Alt+B 、 ? + alt + <-control + J 函数原型提示Alt + F7: Find Usages?+O: Open class? + E:Recent Files? + W: Close Tab?+Shift +T...
分类:
其他好文 时间:
2015-06-15 10:47:44
阅读次数:
92
有时需要在putty这种图形终端开放的图形化管理工具将出现以下错误:[root@node2 ~]# Traceback (most recent call last):File "/usr/share/virt-manager/virt-manager.py", line 383, in main(...
分类:
其他好文 时间:
2015-06-13 08:37:13
阅读次数:
281
(process:2553): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/usr/share/ibus/setup/main.py", line 582, in
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/...
分类:
其他好文 时间:
2015-06-10 08:57:17
阅读次数:
197
arXiv is an e-print service in the fields of physics, mathematics, computer science, quantitative biology, quantitative finance and statistics. There'll be lots of papers in advance. Here's some recent papers which is important or interesting....
分类:
其他好文 时间:
2015-06-09 17:27:18
阅读次数:
128
python中的int函数可以将数字或字符串转换为整型数字类型,具体功能就不提了最近发现一个问题,对于字符串'1.1'之类的,int转换的时候会报异常,这是为什么,个人感觉直接转换成1不就行了,干嘛还不能转换了>>> int('1.1')Traceback (most recent call las...
分类:
编程语言 时间:
2015-06-04 19:19:32
阅读次数:
232