Learn a statically typed language and a scripting language.
You can do whatever you want in either language. A well-written C++ code base is easier to maintain/debug than a Python code base written with the same level of competency.
If your goal is to do web stuff or scripting, Python is for you. Anything more advanced will require C++.
That being said, go for Python.