Both are forgiving, both have massive communities, and both are realistically useful for a long time. The question worth answering isn’t “which is better” but “which gets me closer to a thing I’d actually finish.”
Pick by what you want to ship#
- If your “first project” is a personal site, JavaScript (with HTML/CSS).
- If your “first project” is a script that renames 500 files, Python.
- If your “first project” is a chart of public data, Python + pandas.
Where to go next#
- Python for beginners
- JavaScript for beginners
- What is programming? — if you have not written any code yet