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