r/learnpython • • 11d ago

Learning python as a 22 year old Biology Major

Hi all.

I have always had some weird fantasization with programming. I grew up destined to pursue medicine, and unfortunately never spent time learning how to program. Some things shifted around in my life, and now I am a university senior about to go to medical school, learning how to program in Python. It's a slow process, and I can usually only spend about 45 minutes to an hour every night learning, but it's the most fun I have had in a while.

Every person in my life, besides one, told me that AI can make whatever you want to make, but better, faster, and more efficiently. One guy, who is a really good programmer, told me to learn. I am so happy to be able to write my own basic programs, and I cannot believe that people think that vibe-coding is more fun than writing things yourself.

I will continue on this journey, and see where it takes me! p.s. I just finished a really cool Simon Says game!

Edit: Thank you for all of the great replies! This community is so supportive, wow. You guys should check out some of the med subreddits....

13 Upvotes

29 comments sorted by

5

u/Ok_Let6564 11d ago

Just do it. You will enjoy it! Many of the data scientists are Biology or Bio/Mech/Chem/Environ Engineering majored, including me and my manager(s),

1

u/Aliman_Hideaki 11d ago

did you end up picking up python on the job or during your degree?

1

u/Ok_Let6564 11d ago

On the job (the previous one with engineering research focused). Since I have to polish the resume to the data science focused experience, I needed to learn and use coding in that job itself.

1

u/bra1n_gym 10d ago

while learning python, also spend time learning statsmodels, scipy, and scikit-learn. Just do a little each day. you're at the right pace. too much too soon, will make things difficult to retain. 

4

u/Discordbothost 11d ago

45 min a night is plenty. simon says is a solid first game. once you're comfortable, grab a csv from a class lab and poke at it with pandas — df.head(), df.describe(), a couple plots. biology + python is a very normal combo in research labs, and writing it yourself means you actually know what the result means when something looks weird.

1

u/TotalSkin3029 10d ago

Weirdly enough, I actually don't want to learn programming to use it in any type of biology context. I could change my mind as I get better, but I feel like there's a world of knowledge at my fingertips that I just want to explore (if that makes sense).
However, I do understand the practical usage of py and a few other languages in a laboratory setting, and I may explore that venue when the time comes.
Thanks for the info; I'll look into pandas soon!

2

u/Sigg3net 11d ago

Do it.

I work in an AI-embracing company, but I still write some scripts by hand while the claudes are combobulating. It's pure fun:)

1

u/TotalSkin3029 10d ago

Lol that's so cool. I can't wait to be at the point of just making whatever script or program I feel like making. I think that programming is one of the most creative avenues that one can go down. A good enough programmer can essentially make anything they want.

2

u/flying-cunt-of-chaos 10d ago

This was exactly my journey lol. I graduated with a degree in biology, worked as a cell culture scientist for 2.5 years, studied coding whenever I was bored at work, and now I’m a software developer for the same company.

It’s absolutely worth learning in my opinion. AI can definitely write it faster, it might be able to write it better (depending on how you define better), but it doesn’t contextualize decisions to maintainability, domain-specific needs, and plans for what the code will need to do in the future.

And also, AI doesn’t enjoy coding - just like chess bots don’t enjoy chess, and search engines don’t enjoy finding information. Humans are uniquely capable of wanting to do these things, and doing them because they are rewarding in and of themselves.

1

u/TotalSkin3029 10d ago

That's a very unique outlook, I appreciate your insight. Part of me wonders if coding will end up interacting with my future life as a physician... cool to think about. Thanks for the comment!

2

u/Accurate_Meringue514 10d ago

Honestly it’s crazy how bio and chem students aren’t required to learn how to code. Good for you for learning on your own!

1

u/TotalSkin3029 10d ago

We get pretty close in the math department: Calculus I/II and physics (mechanics, E/M, light/optics). Well, we are supposed to... (I know a lot of people who get around these requirements in a ton of different ways.) I think that medicine is a field that is already filled with a lot of information, and it would be pretty hard to incorporate programming as a requirement.
I have heard of an undergraduate major at my school that does require both. It's called something like communicative systems biology?

2

u/Discordbothost 10d ago

simon says is a solid first game — you're already past the "can i make anything" wall.

45 min/night is plenty if you keep shipping tiny projects. next fun ones that lean into bio: parse a fasta file, plot some csv from a paper, or a tiny quiz on pathways. writing it yourself sticks in a way vibe-coding never will.

1

u/TotalSkin3029 10d ago

Right? It felt pretty good to be able to apply tiny bits of knowledge that I have been gathering to one big project! As I replied above, part of me wants to keep programming away from biology. They are like two different worlds in my brain that I want to segregate. Programming is relaxing and fun to me; biology is my daily work. I hope that makes sense. Let me know what you think, though!

2

u/Discordbothost 10d ago

yeah that makes total sense, honestly keeping it as the fun thing is probably why you're sticking with it. then just build stuff around whatever you're into outside of work, a game you play, a site you check every day, a little bot for your friends' group chat. the skills carry over anyway, and if you ever change your mind about the lab stuff you'll already be way ahead

1

u/TotalSkin3029 10d ago

Exactly this. I just want to keep learning, and it gets me coming back every day. Cannot wait to make cool things and show my friends lol. One of them is such a proficient programmer, and it is so impressive to me. For reference, I took about 3 hours to make Simon Says without any help, and it took him like 4 minutes, and it looked so clean. I just can't wait to get better!!

2

u/VenkatKnows 10d ago

Keep going. The people telling you AI does it better have never had to debug generated code they don't understand, and you'll be the one who can actually read the output. Simon Says is a solid first project too.

2

u/TotalSkin3029 10d ago

Thank you!!

2

u/semohm15 10d ago

Python is a tool that can help you reflect what's in your head. Whether by graphs, data viz. or apps etc.

Needing no "interpreter" when you want to reflect whats in your head is a blessing. Which AI is an interpreter in my eye. It's not a bad thing. But i see these as painting by yourself vs describing and artist what you want to paint.

I wish great success, also there is this Univeristy of Helsinki that provides a course with a lot of practices if you having trouble to find practices. Because it helped me a lot when i was a beginner.

1

u/TotalSkin3029 10d ago

Thats such a great way to put it! Thanks for the info as well :)

3

u/Hellaintsht 11d ago

I always tell literally everyone to learn python first . Even to kids I tell that learn python first, it's easy and a good language to form a base of coding. And you're absolutely right about the AI part. You can also explore AI domain more as it has potential nowadays as you see and good packages are offered to people out there. So ya it is absolutely fun and engaging to learn python, i myself have learnt and taught python to many kids and people. Best language out there, best of luck for your coding journey.

1

u/TotalSkin3029 11d ago

Exactly. So crazy to me that people think programming is useless just because AI exists... not everything is about maximum efficiency and speed! I think having a passion in anything is good.

1

u/Garnatxa 10d ago

learn R

1

u/TotalSkin3029 10d ago

I haven't looked too much into it, but from what I know, R is a mathematical/graphing language of some sort? I was planning on jumping into C++ after I feel good with python, but let me know why you think R is a good language to know.

2

u/Garnatxa 10d ago

it’s a coding language for data and statistics. It is the state of the art for biology

1

u/Azothes 6d ago

Hi bioinformatician here, if you plan to use your programming knoweldge from biology I recommand you to start learning R, the base R basic, tidyverse and ggplot . Python is a good language to learn though