Just wait till your renderings don't work or your code doesn't compile properly.
A friend of mine is doing his phd in computational chemistry/biology and his facebook statuses are just him being pissed at code.
Stackoverflow is open all the time on my computer. It takes a certain degree of patience but I will take debugging over restarting a whole PCR/cell culture any day and every day.
How much of a CS background do you need for this? Do you have to have mastery of any languages (e.g., Python, etc.)?
None at all, really. However, it does depend on the lab. CS experience would be preferable, however I don't think they expect you to be a master of code like a CS major would and the tools you are using are (generally) not as complex as you might encounter in an upper-div CS course. I'm taking some CS classes because I have room and I like my research/coding in general but the grad students in my lab where straight up Chem majors in undergrad and continue to be but picked up what they know along the way. Really, there is no way to survive in the modern professional world (research, corporate, entrepreneurship, etc.) without knowing how to code or at least being familiar with the best practices.
Like I said, it all depends on the lab. My lab and my research is all about
speed so C++ knowledge is good (and I don't have a lot of it, to be honest) and a lot of the data compiling stuff is done with Python (super ez mode, learn this first if you just want to do quick and dirty stuff when you need to/want to put it on your resume). I know a lot of labs that have to do a lot of statistics use R, etc. If you would like to get involved with computational research you should:
1. Look up the faculty at your univ. pursuing comp. research.
2. Ask them how willing they are to work with undergrads/mentor them.
3. If they do not offer mentorship in the required comp. knowledge then go take a class or ask them what it is you need to know to work with them and then go try to learn that.
4. Offer to do smaller, boring things (submitting multiple tests, making graphs and presentations for more senior members of the lab from their data, etc) while you learn the code you need to contribute creatively.
When I started working in my lab though I had only taken the Harvard edX course CS50x online through edX. I did that as a senior in high school though. With a uni course load I don't think I could afford the luxury of taking a class in parallel that isn't graded/won't go on my transcript. I would just end up ignoring it, but you do you!
If you do think comp. research is really cool I would recommend taking Algorithms, Data Structures, and Linear Algebra after an Intro to Programming course (if you have literally 0 experience, which is OK).