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.1.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for quick_csv-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a025cef2e419dfb3aa0d0597cbc6dfdede04c4c7128e2ab41d167bfa467bc2b |
|
MD5 | 6a8a050db17f28de3a425520b5ab147e |
|
BLAKE2b-256 | 9dfbc926afb428d750de04a22fbde7092ed7253c5b0d535806518168307b3039 |