csv2lyx.py not working with python3??
Neal Becker
ndbecker2 at gmail.com
Mon Mar 6 20:04:56 UTC 2023
python3 -tt /usr/share/lyx/scripts/csv2lyx.py
all_results-2023-03-06T13:58:32-0.csv all_results-2023-03-06T13:58:32-0.lyx
Traceback (most recent call last):
File "/usr/share/lyx/scripts/csv2lyx.py", line 170, in <module>
input_file = "".join(open(infile,'rU').readlines())
^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'rU'
python2 -tt /usr/share/lyx/scripts/csv2lyx.py
all_results-2023-03-06T13:58:32-0.csv all_results-2023-03-06T13:58:32-0.lyx
[silence...]
--
*Those who don't understand recursion are doomed to repeat it*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230306/d3d90a71/attachment.html>
More information about the lyx-devel
mailing list