Scientists (and the general population) are not professional programmers. If the need arises, they hire one. Scientists usually need to jot down a prototype and a model in order to see if their theory works.
It's like comparing a physician with a prepper. A prepper might know how to use some first-aid methods and tools, but is not expected to act as a trauma surgeon or emergency doctor. She has just the right knowledge for the task in hand. Yeah, Python might simply be Hansaplast in this case, but who cares if you are alone? :p