推荐学习书目
› 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
redhatping
V2EX  ›  Python

sqlite3 的一些问题?

  •  
  •   redhatping · May 12, 2015 · 3424 views
    This topic created in 4169 days ago, the information mentioned may be changed or developed.
    sqlite> create table movie(title,year);
    sqlite> .tables
    movie
    sqlite> insert into movie values(‘阿甘正传',1999);
    ...> insert into movie valuse('肖申克的救赎',1994);
    ...> select * from movie;
    ...> .help

    到这里,发现错误了,不知道怎么退出?
    6 replies  •  2015-05-13 11:31:21 +08:00
    billlee
        1
    billlee  
       May 12, 2015
    退出? .quit OR Ctrl+D?
    em70
        2
    em70  
       May 12, 2015 via Android
    阿甘正传也是1994年的
    ynyounuo
        3
    ynyounuo  
       May 12, 2015   ❤️ 1
    @em70 对的,错误就在这里
    aeshfawre
        4
    aeshfawre  
       May 12, 2015   ❤️ 1
    ‘阿甘正传' 左右单引号不对吧
    zzxworld
        5
    zzxworld  
       May 12, 2015
    为啥肖申克前面的是 "valuse"?
    redhatping
        6
    redhatping  
    OP
       May 13, 2015
    @aeshfawre 谢谢, 没错,就是这个问题,小白了,非常感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5809 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 01:39 · PVG 09:39 · LAX 18:39 · JFK 21:39
    ♥ Do have faith in what you're doing.