I went through the same task of trying to run Python on a Chromebook.
I think it will be completely unsatisfactory.
My solution was twofold.
I run Python command line on a Linux laptop, both via ssh command line from the Chromebook, and via Google Remote Desktop to that Linux box.
I also run Chrome Remote Desktop to a Windows 10 box, which is the more prevalent installation for classes that I attended.
I use the Chromebook as my interface as much as possible, although sometimes I do go into the room with the three Windows monitors for ease of use.
If you don't have any computers at home, I would suggest a free Azure or AWS account, with Remote Desktop Android app on the Chromebook, or Chrome Remote Desktop. The free accounts are sufficient for a Linux system, but the AWS at least, doesn't have sufficient disk space at the free level to run a fully featured Windows system.