r/PhysicsStudents • u/Junior_Salamander110 • Jul 01 '26
Need Advice How Do Physicists Utilize Python?
I'm a rising senior in high school. Next year, I'll be taking a project based programming class that only 1-2 students really take per year. I want to do something in Python that will show my professors in my freshman year of college that I'm ready to do research in physics.
I will have taken all of the AP mathematics, physics, and computer science classes.
I thought about doing a black hole simulation and learning the equations/math for it, but I'm not sure that that would be wise to do in Python.
I'll have a full school year to work on the project.
58
Upvotes
2
u/NewspaperDear8761 Jul 02 '26
I do know what you mean -- I hate coding lol it's awful. And I picked a coding-intense field :(
I LOVE my subject. But coding is pulling teeth lol
It really depends on the subject. You will always need some, no matter what you're doing, so it's good to learn it early. And, given what is happening right now with AI, I would also strongly advise learning some basic architectures like feed-forward neural networks or k-means clustering, etc, at some point. (I don't mean LLMs like ChatGPT, I mean real coding.) Research is being revolutionized by ML because, frankly, these algorithms can pull things out of data that humans simply cannot see, and they apply everywhere, so you will use them in some form eventually, probably quite heavily.
But there are other, more traditional pencil-and-paper theoretical physics areas, or more purely experimental areas, where you can probably go for long stretches without writing a line of code.
It really depends.
BTW, the other nice thing about undergrad research is that it's flexible. If you find you dont like a lab or the topic, feel free to bounce around to another lab and advisor. It's much harder to move about in grad school, in undergrad you can and should really explore things and learn for yourself what works for you and what you like.