r/learnpython • u/ezel12345 • Jun 13 '19
Automate the Boring Stuff vs Python Crash Course beginner's book for computational biology type of work
Which would be a better beginner's book related to data science, such as for computational biology?
4
u/Abernachy Jun 13 '19
Python Crash Course's 2nd guided project is more up your alley where you use a plotter to visualize data.
PCC goes into more syntax detail but holy shit it can get dry. Automate gives you a quick overview of syntax and how you can manipulate but then goes right teaching you how you can use Python modules to Automate office / boring IT processes.
You can't really go wrong with either. PCC just had a 2nd edition release, but you can accomplish most of the books code with the 1st edition book (you will have a shit load of headaches on the Django project).
2
u/ezel12345 Jun 13 '19
thanks for your help! which book would you say is shorter? I also know that Automate doesnt cover everything, such as classes, is this important?
1
u/Abernachy Jun 13 '19
It all depends on your needs.
For data science stuff you can Automate what you need through functions. Classes are generally used for objects.
So I use Classes to represent individual monsters using their stats and abilities.
As far as which book is shorter, I think they are both close to the same length. The 3 projects at the back of CCP are designed to give you a taste of some of the things you can do with Python modules (make a space invaders style game / visualize and plot data / make a website). You don't have to do all 3 projects.
64
u/pinkyponkjuice Jun 13 '19
Python Crash Course because it goes through the fundamentals of the language in enough detail to get you started doing the computational stuff straight away. There is even a data exercise in there which will be a good starting point.
Automate is good but I think it focuses too much on using third party modules, especially towards the latter half of the book. It is better for seeing the immediate results of your efforts.
21
13
Jun 13 '19
They're both good. Automate is lighter and don't mention OOP, but get you started with projects quicker. PCC is more thorough and will probably give you a more solid base. Since the Automate book is free, my advice is to use both.
Use Automate as your main guide and supplement it with PCC whenever you feel it's going too fast and shallow for your tastes.
6
u/emsuperstar Jun 13 '19
Why not both?
6
u/BlazingJaws Jun 13 '19
Which to use first?
3
u/emsuperstar Jun 13 '19
Automate!
3
u/ezel12345 Jun 13 '19
automate leaves out some topics, like classes. are these important?
2
u/emsuperstar Jun 13 '19
Those topics are definitely important, but they aren't things you need to know when you're just beginning with Python. Just make a note to yourself to read up on them after you've finished going through Automate.
1
4
4
u/CompSciSelfLearning Jun 13 '19 edited Jun 13 '19
Because that's a waste of time. You only need one beginners book. It's time to move on after completing one.
4
u/emsuperstar Jun 13 '19
I disagree. Automate covers topics Crash doesn't, and vice versa. For that reason alone, I'd say there's a benefit to going through both. Also, reviewing the same topic should bolster understanding not harm it. The more exposure OP gets to Python the better. OP didn't mention any time constraint, so there's no reason not to at least skim the second book.
1
u/ColdStonedCoder Jun 13 '19 edited Jun 13 '19
Seconded. It's a too much of a generalization to call them beginning books. I do agree they're both beginner level, but each one covers different beginner concepts. I'd also be wary of anyone who'd say gaining knowledge is a waste of time.
1
u/CompSciSelfLearning Jun 14 '19
If you look around this subreddit and others about learning to program, you will see a common mistake of people doing nothing but beginners courses and never progressing past that level because they don't attempt to complete projects thier own. If you don't think that's a waste of time, then I'd be wary of your advice.
Learning for the sake of learning isn't a problem in and of itself, but having a goal and not using your time wisely to reach that goal that it's problematic. The OP's goal isn't to learn Python, but to learn how Python can assist in the field of computational biology.
1
u/ezel12345 Jun 14 '19
thanks for your advice. this is kind of a dumb question, but how could i get started on my own project?
1
u/CompSciSelfLearning Jun 15 '19
Once you have some knowledge of fundamentals of python, you can complete many personal projects. I'm not sure if this makes sense to you but a project is anything you want to accomplish. You start with the result in mind and you break it down into smaller parts. Complete each part and make the parts work together.
Check out https://biopython.org/ for ideas related to computational biology. I'm not familiar with that subject, but I'm sure you can come up with some project ideas in that area.
1
u/notParticularlyAnony Jun 14 '19
because then they get stuck in the perpetual student cycle. it's not complicated it is Python just pick a horse and ride it.
6
u/notParticularlyAnony Jun 13 '19
Crash Course I have read, and I really liked it. I have not read Automate the Boring stuff: frankly looking over its ToC it might be better because you really don't need to do Django or PyGame....even though I really liked those chapters a lot. :) I am a biologist.
More important is your second book, frankly. For that I recommend the Python Data Science Handbook. Most important is you understand the basics of numpy and matplotlib, and then go from there.
Plus, I strongly recommend you just start using Anaconda now.
2
8
u/StyrmirBloodhowl Jun 13 '19
Well, in Python Crash Course you got project that will help you learn how to work with data to generate interactive visualizations, so it may be helpfull in your topic.
Crash Course is also up to date, 2nd ed was resealsed this year.
1
u/Mellon2 Oct 05 '19
Personally I read both I'm half way through PCC and I can tell you PCC is better at explaining the concepts. It forced you to master the basics whereas automate is quick and dirty. You won't really understand how things work you just learn "Type this to do that"
0
Jun 13 '19
[deleted]
1
Jun 13 '19
Bioinformatics Algorithms
I also highly recommend this book for computational biology/bioinformatics, although it assumes some familiarity with python.
Their website has a few intro python exercises but they're not comprehensive.
39
u/[deleted] Jun 13 '19
Python Crash Course is better and more comprehensive. In general, it is probably the best single book to learn Python with. If people recommend doing both - don't. Don't get caught in the cycle of doing beginner resources. Work through every page of one good beginner resource and then start working on a project of your own. Then move on to advanced topics which focus on mastery.