I won't write nothing ... except TNX :-)
On Monday, February 6, 2017 at 3:25:52 PM UTC+1, Tom Keffer wrote:
>
> Simple typo.
>
> *con = lite.connect('weewx.sdb')*
>
> -tk
>
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from
Simple typo.
*con = lite.connect('weewx.sdb')*
-tk
On Mon, Feb 6, 2017 at 3:10 AM, Janez Kranjski wrote:
> Noob question - I copied weewx.sdb file to temp folder on my Linux (so it
> is not opened or accessible).
> Then I tried simple Python program:
>
> *#!/usr/bin/python*
Noob question - I copied weewx.sdb file to temp folder on my Linux (so it
is not opened or accessible).
Then I tried simple Python program:
*#!/usr/bin/python*
*import sqlite3 as lite*
*import sys*
*con = lite.connect('weeex.sdb')*
*with con:*
* cur = con.cursor()*
* cur.execute("SELECT *