astanin / python-tabulate

Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate.
https://pypi.org/project/tabulate/
MIT License
2.1k stars 163 forks source link

SyntaxError: invalid syntax #272

Open cheungfeifu opened 1 year ago

cheungfeifu commented 1 year ago
Python 3.4.3 (default, Nov 12 2018, 22:25:49)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tabulate import tabulate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/dist-packages/tabulate/__init__.py", line 183
    rowhtml = f"<table>\n<thead>\n{rowhtml}\n</thead>\n<tbody>"
                                                              ^
SyntaxError: invalid syntax
>>>
astanin commented 1 year ago

Hi,

Python 3.4 is no longer supported.

https://endoflife.date/python

Tabulate dropped python 3.4 support in 2019.

On Wed, 14 Jun 2023 at 11:59, cheungfeifu @.***> wrote:

Python 3.4.3 (default, Nov 12 2018, 22:25:49) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or "license" for more information.

from tabulate import tabulate Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.4/dist-packages/tabulate/init.py", line 183 rowhtml = f" \n\n{rowhtml}\n\n" ^ SyntaxError: invalid syntax

— Reply to this email directly, view it on GitHub https://github.com/astanin/python-tabulate/issues/272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARQ6SP3RZHZTDMT3GUWKDXLGDO3ANCNFSM6AAAAAAZGDKJ4I . You are receiving this because you are subscribed to this thread.Message ID: @.***>