>>9538723 lb
I would suggest that you start with Linux.
If you are on Mac or Windows,
Install VirtualBox
And then install an ISO download of Ubuntu Linux into that. That way you can run Linux inside a virtual machine.
Ubuntu has Python already installed so upload your Python code and get it running. No need to install Pycharm in Linux because you can do that work the way you always have.
Once you have your Python code running normally on Linux, try running it with the trace tools.
strace, ptrace, vtrace, functrace
Log the trace output or watch it mess up your screen display as you interact with your code.
This lets you see the basic activities that happen as the code runs.
Look things up and try to understand all that is happening. You may be writing a Python program but at the end of the day, what is running is like a C program. Same thing if you try installing Java and running some Groovy code with strace. The JVM is a C program and that is what is running at execution time.
Once you have tried this and have a basic understanding of it, then you are ready to try out Ghidra. Start by installing it on your normal OS, and use Ghidra to monitor the execution of an app that you know, like Pycharm on the JVM.
Don't push too hard, because unless you are an Autist with aptitude for coding, it will take at least a year just playing with Ghidra to get to the point where you can do more than poke around and then run to the web and read several articles to understand what you are seeing. It will take time for all the details to sink in and make connections in your mind.