Quickly reading and writing CSV/TXT files
Project description
Quick CSV
Quickly reading and writing CSV/TXT files
Installation
pip install quick-csv
Usage
from quickcsv.file import *
# read a csv file
list_model=qc_read('data/test.csv')
for idx,model in enumerate(list_model):
print(model)
list_model[idx]['id']=idx
# save a csv file
qc_write('data/test1.csv',list_model)
# write a text file
qc_twrite('data/text1.txt',"Hello World!")
# read a text file
print(qc_tread('data/text1.txt'))
License
The quick-csv
project is provided by Donghua Chen.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quick-csv-0.0.2.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for quick_csv-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955c9de7d4654f6bf529e545c0ad171118567b2766259e8c3da8068abcf3bf11 |
|
MD5 | 229334fa78f6c0303a649f7f14d6f94e |
|
BLAKE2b-256 | 301f369493e3747ee66f853f8539f2e124fabd825676b47424a32f2a02c54d59 |