mozman / svgwrite

Python Package to write SVG files (UNMAINTAINED)
Other
543 stars 97 forks source link

Version for TouchDesigner 099 (Python 3.5.1)? #120

Open pzelchenko opened 4 months ago

pzelchenko commented 4 months ago

We have a classroom full of old equipment that needs to run TouchDesigner 099 and must use svgwrite, but svgparser.py uses some newer code syntax (nonnegative_number = fr"(\d+\.?\d*|\.\d+){exponent}?" for a combination of formatting and regex parsing that is not available in Python 3.5.1). What is the latest earlier version of svgparser/svgwrite that will work with Python 3.5.1?

mozman commented 4 months ago

These regular expressions were added in v1.4, so try pip install "svgwrite<1.4"

pzelchenko commented 4 months ago

Thanks, Manfred.

-- Peter Zelchenko, Ph.D. 手机(+86)/微信18221718104 Associate Professor, College of Art & Design, Hunan Normal University 湖南师范大学美术学院设计系副教授

On Tuesday, June 4, 2024 at 07:06:19 PM GMT+8, Manfred Moitzi @.***> wrote:

These regular expressions were added in v1.4, so try pip install "svgwrite<1.4"

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>