Skip to main content

Convert a csv file to token separator txt file(把csv文件转换为分隔符分隔的文本文件,支持跨行单元格哦)

Project description

CSV to TXT

PyPI PyPI - Python Version PyPI - Downloads GitHub

A python util package for convert a csv file to token separator txt file.

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csv2txt-0.0.2-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

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

Hashes for csv2txt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7dfff234a6ad67c25e40226ebd002d645023c9bd57ce1850d6bb7a905028322a
MD5 123f02230ff56c497cc37670dd3423c7
BLAKE2b-256 e8ae4d6b770abb4a609d5a1d0907cd567eced500425d49926e6a9f65b2ef55b9

See more details on using hashes here.

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

Hashes for csv2txt-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe8b14f90012f0c3909b0874f58aed852d97d2bd2343f5c31cc0c741c86df96d
MD5 b5b3f2aa7c34f14c2dbffb2ec5a40c99
BLAKE2b-256 649a5657a1d3a941669f9f8799ee471258a8a08ddec6a0de5c26eaf60bf4f9f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page