用退出代码1完成进程 是啥意思

F:python.exe F:/jikexueyuan/re.py

Traceback (most recent call last):

  File "F:libsite.py", line 539, in <module>

    main()

  File "F:libsite.py", line 521, in main

    known_paths = addusersitepackages(known_paths)

  File "F:libsite.py", line 266, in addusersitepackages

    user_site = getusersitepackages()

  File "F:libsite.py", line 241, in getusersitepackages

    user_base = getuserbase() # this will also set USER_BASE

  File "F:libsite.py", line 231, in getuserbase

    USER_BASE = get_config_var('userbase')

  File "F:libsysconfig.py", line 525, in get_config_var

    return get_config_vars().get(name)

  File "F:libsysconfig.py", line 458, in get_config_vars

    import re

  File "F:jikexueyuanre.py", line 8, in <module>

    b=re.findall('x.',a)

AttributeError: 'module' object has no attribute 'findall'

Process finished with exit code 1


紫衣仙女
浏览 3156回答 1
1回答

月关宝盒

要看上面一句,module这个对象没有属性findall,你看看findall是不是拼写错了
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python