Convert a csv file to token separator txt file(把csv文件转换为分隔符分隔的文本文件,支持跨行单元格哦)
Project description
CSV to TXT
A python util package for convert a csv file to token separator txt file.
- HomePage: https://pypi.org/project/csv2txt/
- SourceCode: https://github.com/gyk001/csv2txt
Usage
In command line
Just install the package by pip, then enjoy it!
pip install csv2txt
csv2txt input.csv out.txt
In source code
import csv2txt
# for File Path
csv2txt.convertByPath(csvFilePathString, txtFilePathString, '\t');
# for File Object
csv2txt.convertByFile(csvFile, txtFile, '\t');
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
csv2txt-0.0.2.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csv2txt-0.0.2.tar.gz.
File metadata
- Download URL: csv2txt-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dfff234a6ad67c25e40226ebd002d645023c9bd57ce1850d6bb7a905028322a
|
|
| MD5 |
123f02230ff56c497cc37670dd3423c7
|
|
| BLAKE2b-256 |
e8ae4d6b770abb4a609d5a1d0907cd567eced500425d49926e6a9f65b2ef55b9
|
File details
Details for the file csv2txt-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: csv2txt-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe8b14f90012f0c3909b0874f58aed852d97d2bd2343f5c31cc0c741c86df96d
|
|
| MD5 |
b5b3f2aa7c34f14c2dbffb2ec5a40c99
|
|
| BLAKE2b-256 |
649a5657a1d3a941669f9f8799ee471258a8a08ddec6a0de5c26eaf60bf4f9f3
|