Changes by Василь Коломієць <vasilij.kolomi...@gmail.com>:
Added file: http://bugs.python.org/file41620/CSV-ex.png
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
Василь Коломієць added the comment:
Thanx a lot.
And sorry.
But with ..., dialect=dialect, the same code is working.
.
Ok. i'll try to understand.
With best wishes - VK.
С уважением,
Василий Коломиец
+38050 45 22 559
2016-01-15 0:18 GMT+02:00 SilentGhost <rep...@bugs.python.
Василь Коломієць added the comment:
I am very happy!
Thx for attention to my opinion.
Sorry for my english.
so - in attachment two codes and source csv-file.
With best wishes,
Vasyl Kolomiets.
+38050 45 22 559
2016-01-15 0:38 GMT+02:00 Georg Brandl <rep...@bugs.python.org>:
>
>
New submission from Василь Коломієць:
with open('example.csv') as csvfile:
dialect = csv.Sniffer().sniff(csvfile.read(1024))
csvfile.seek(0)
reader = csv.reader(csvfile, dialect)
# ... process CSV file contents here ...
--
have to be:
...
reader = csv.reader(csvfile
Василь Коломієць added the comment:
))
Thanks!
Be happy!
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26116>
___
___
Pyth
Василь Коломієць <vasilij.kolomi...@gmail.com> added the comment:
Thanks a lot!
Grace and Honor!
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
Василь Коломієць <vasilij.kolomi...@gmail.com> added the comment:
sorry - wrong ideone example
this one better to look:
https://ideone.com/aV9Z8p
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Василь Коломієць <vasilij.kolomi...@gmail.com>:
The code https://ideone.com/ctx92s works for 1 000 000.
But on my PC it works only for 1024.
Wen i am trting give him 1 000 000 - the Python crashes without any words:
https://i.stack.imgur.com/1do06.png
and in windows