Created
June 16, 2017 01:56
-
-
Save Everfighting/8d8739b01be13391683c015ce54ddc3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| c.executemany( | |
| """INSERT INTO breakfast (name, spam, eggs, sausage, price) | |
| VALUES (%s, %s, %s, %s, %s)""", | |
| [ | |
| ("Spam and Sausage Lover's Plate", 5, 1, 8, 7.95 ), | |
| ("Not So Much Spam Plate", 3, 2, 0, 3.95 ), | |
| ("Don't Wany ANY SPAM! Plate", 0, 4, 3, 5.95 ) | |
| ] ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment