This is the python distutils list for discussions regarding python packaging.
For help with using the Python standard library, try the docs and/or the python tutor mailing list. https://www.google.com/search?q=site:docs.python.org+tsv https://www.python.org/community/lists/#tutor https://markmail.org/search/?q=list:org.python.tutor+tsv https://www.reddit.com/r/learnpython/ https://www.reddit.com/r/learnpython/search?q=tsv What you describe should be possible by setting delimiter='\t' with csv.reader with the CSV module in the Python standard library: https://docs.python.org/3/library/csv.html#csv.reader https://docs.python.org/3/library/csv.html#csv.Dialect.delimiter Various third party packages are faster at reading delimited files or have additional useful functionality: http://docs.python-tablib.org/en/master/ https://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html https://docs.scipy.org/doc/numpy/reference/generated/numpy.genfromtxt.html#numpy.genfromtxt https://pandas.pydata.org/pandas-docs/stable/io.html#csv-text-files https://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html On Wednesday, April 18, 2018, Niharika Jakhar <niharika1...@gmail.com> wrote: > Hello > > I am having trouble opening and reading a Tab separated file(big data). I > stored the data the data in a list and then used the split function (\t) to > tried to print a list of 0 to 100 position. But it is resulting in random > values from the files. > > Please let me know, if you deal with such queries, if not, can you please > suggest me some good source in order to solve this problem. > > Thanking you in advance > > Best regards > NIHARIKA >
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig