Last active
July 18, 2018 03:32
-
-
Save BlogBlocks/2bf5b98c8c14483b6a1eef95b62120b8 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
| # ODD number are Code | |
| # Even numbers were created just generate an index file | |
| import sqlite3 | |
| def ViewGist(): | |
| database ="GISTstore/gist.db" | |
| conn = sqlite3.connect(database) | |
| c = conn.cursor() | |
| rowid = raw_input("ROWID : ") | |
| rowid =str(rowid) | |
| for row in c.execute('SELECT rowid, content, description, filename FROM gist \ | |
| WHERE rowid = ?', (rowid,)): | |
| print Url,"\n",row[0],row[1],row[2],row[3] | |
| if __name__ == "__main__": | |
| ViewGist() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment