tvdsluijs / sh-python-installer

General easy to use Raspberry Pi & Ubuntu Python installer
MIT License
70 stars 19 forks source link

Add latest version #15

Open baterflyrity opened 1 year ago

baterflyrity commented 1 year ago

Hi!

Great script. What about adding the latest stable version if none provided?

For example, version can be parsed from curl https://www.python.org/downloads/source with regexp >Latest Python 3 Release - Python (3.11.5)</a>. Unfortunately, i do not quite good in bash.

tvdsluijs commented 11 months ago

okay, so if you do not provide any it should get the latest stable version. Hmmmm can be a good addition.