mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-23 20:11:13 +00:00
Merge pull request #35 from timgates42/bugfix_typos
docs: Fix a few typos
This commit is contained in:
commit
14f59b1912
|
@ -278,7 +278,7 @@ print its path:
|
||||||
|
|
||||||
|
|
||||||
Finally, we can set an `alias` in our `.bash_profile` or `.bash_rc` file to
|
Finally, we can set an `alias` in our `.bash_profile` or `.bash_rc` file to
|
||||||
conviniently run IPython from the console. E.g.,
|
conveniently run IPython from the console. E.g.,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -586,7 +586,7 @@ syntax applies to simple dates or simple times only, too.
|
||||||
#### Update Mar 16, 2014:
|
#### Update Mar 16, 2014:
|
||||||
|
|
||||||
|
|
||||||
If'd we are interested to calulate the hours between two `DATETIME()`
|
If'd we are interested to calculate the hours between two `DATETIME()`
|
||||||
timestamps, we can could use the handy `STRFTIME()` function like this
|
timestamps, we can could use the handy `STRFTIME()` function like this
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Sebastian Raschka, 2014
|
# Sebastian Raschka, 2014
|
||||||
# Update records or insert them if they don't exist.
|
# Update records or insert them if they don't exist.
|
||||||
# Note that this is a workaround to accomodate for missing
|
# Note that this is a workaround to accommodate for missing
|
||||||
# SQL features in SQLite.
|
# SQL features in SQLite.
|
||||||
|
|
||||||
import sqlite3
|
import sqlite3
|
||||||
|
|
|
@ -13,7 +13,7 @@ def conc_gzip_files(in_dir, out_file, append=False, print_progress=True):
|
||||||
Keyword arguments:
|
Keyword arguments:
|
||||||
in_dir (str): Path of the directory with the gzip-files
|
in_dir (str): Path of the directory with the gzip-files
|
||||||
out_file (str): Path to the resulting file
|
out_file (str): Path to the resulting file
|
||||||
append (bool): If true, it appends contents to an exisiting file,
|
append (bool): If true, it appends contents to an existing file,
|
||||||
else creates a new output file.
|
else creates a new output file.
|
||||||
print_progress (bool): prints progress bar if true.
|
print_progress (bool): prints progress bar if true.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user