推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
yanchao7511461
V2EX  ›  Python

pwiz 命令提示的错误莫名其妙,有人能解吗?

  •  
  •   yanchao7511461 · Jul 19, 2016 · 4936 views
    This topic created in 3727 days ago, the information mentioned may be changed or developed.

    C:\Users\mypc>python -m pwiz -e mysql -H 111.111.111.111 -p3306 -uroot -Proot wpdb > wpmodel.py

    Usage: pwiz.py [options] database_name

    pwiz.py: error: no such option: -1

    ip 已经隐藏成 111.111.111.111. 这个 error 提示好奇怪啊。

    1 replies  •  2016-07-20 09:25:13 +08:00
    atx
        1
    atx  
       Jul 20, 2016
    python -m pwiz -e mysql -H 111.111.111.111 -p 3306 -u root -P root wpdb
    应该这样写,选项和参数之间要有空格,和 mysql 参数不太一样.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   790 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:38 · PVG 04:38 · LAX 13:38 · JFK 16:38
    ♥ Do have faith in what you're doing.