Comments (1)
Thanks for this report! I'm going to be fixing a bunch of bugs and republishing the trinket HTML version of this in the next two weeks and will hit this.
The fix here is to add
cur.execute('DROP TABLE IF EXISTS Tracks')
cur.execute('CREATE TABLE Tracks (title TEXT, plays INTEGER)')
Above the INSERTS
. The code presumes that db1.py
has already run but this fix makes it work regardless of that.
from py4e.
Related Issues (20)
- Material Of Python by University Of Michgan HOT 1
- Material of python by UNI of Michgan HOT 1
- Chrome browser issue unsafe http:// URLs HOT 1
- week 6-assignment 4.6 HOT 2
- Math module introduction example in lesson 04-functions results in an error HOT 3
- Chapter 6 error HOT 1
- Chapter selector at the end of the chapter HOT 1
- Weird note formatting talking about Python 2 HOT 3
- 💡 idea: list funciton is not necessary In 10.5 (page 124) HOT 1
- 'format sequence' should be ommited from the glossary of the 6th chapter HOT 1
- Summary of py4e is incorrect HOT 2
- Line 18 in py4e/code3/twtest.py HOT 1
- problem when accessing the badges at the py4e.com site HOT 2
- Chapter 4 - Quiz: Functions - Question 5 answers HOT 3
- PY4E Quiz: Dictionaries - Python 3.7x Updates HOT 2
- py4e.com - Chapter 13 - Google geocoding web service/Exercise 1
- PY4E Book | Modern Filipino-English (Taglish) Translation HOT 16
- Cat Languages
- PY4E: Quiz: Dictionaries; #6 HOT 5
- Chapter --- conditional execution---slide 19 and 4.32 mark in The LF variations video needs a x=value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py4e.