Hello ctdabomb,
ctdabomb {l Wrote}:Does anyone know a good way to learn c++ or Python? I have tried before and failed.

The best way to learn is IMHO practicing, practicing and practicing.
Of course you'll have to understand the basics first, although there are a lot of online resource I prefer a book to learn from.
C++ and Python are two different languages and you should focus on one first.
It's a matter of choice, but C++ contains some topics that might be difficult to understand the first time.
Once you've made a choice you should install the needed tools/programs so that you can compile the code (not needed for Python BTW).
Although a complete IDE might make things easier, I'd say start with a text-editor of choice (preferably with syntax highlighting).
That way any compile or syntax errors (and the compiling and/or linking itself) must be done by you and not the IDE giving you a better understanding of how it works.
Start with a Hello World program, then go through the topics about variables, if-else statements, functions, objects, etc...
Once you know the basics you can start writing simple programs (e.g. a program that keeps a TODO list).
There's no need to use third party libraries to make a complete GUI for it, a command line interface is enough. (taskmanager -add "Feed the cat")
Note that it doesn't really matter if you succeed in those small programming exercises, you will always learn something from it.
When you feel confident enough you can start writing your own (small) project or contribute to an other project.
There will however be another obstacle: understanding someone else code.
If it's the library you use for rendering or the source code of the project your contributing to, you'll have to understand how it works or how to use it.
Knowing the syntax of the language and the basics doesn't mean you can read and/or understand every program written in that language.
I think this is enough information to get you started?
Also besides practicing asking questions can really help when your stuck.
