-
Use `if name == '__main__'` for standard command line usage in script.
This would also allow to test the code itself.
fizyk updated
7 years ago
-
```
$ q "INSERT INTO a VALUES (44, 55)"
query error: no such table: a
$ q "DELETE FROM a"
$ cat a
1 2
3 4
5 6
```
Alternatively, if modification is never going to be implemented then `SELECT` may be …
-
Any reason/objection to doing that?
It looks like https://pypi.python.org/pypi/q is already taken, so an expanded name would have to be thought up.