Python for Academics is a series of coding tutorials where you will learn how to automate your everyday academic life with Python!
My goal is to provide you with extra tools and ideas that you haven't thought about using or implementing before. The best use of these tutorials, as I see it, is that you take those tools and ideas and start building your own Python toolbox that can help you in your everyday academic life. My hope is that you'll find pieces of useful advice that can help you automate your work, your own way!
The audience I think will benefit a lot from these tutorials are Ph.D. students, especially at the beginning of their Ph.D. I believe that the earlier you learn how to automate dull tasks the better! My motivation is to teach you things that I wish I had learned early in my Ph.D. But, of course, academics at all stages of their careers are welcome to join along! 🙂
I'm assuming that you have some exposure to Python and have used Python before, at least a little bit. Thus, I will not be explaining Python from scratch in this series. There's plenty of materials for that out there already! However, I am going to explain the bits of the code as we go. I invite you to check and learn things on your own here and there to expand on what I do not cover. Since you're an academic, I'm confident that this approach will work out well!
You can access all video tutorials from the YouTube playlist:
Below, you'll find links to all videos and the associated Jupyter notebooks. You can pick any topic you'd like first!
-
📹 5 min
: Generate large column headers with list comprehensions -
📹 6 min
: Generate large row headers with list comprehensions
-
📹 14 min
Prepare your script for asynchronously arriving data -
📹 14 min
Setting numeric parameters of a Python script from the command line -
📹 4 min
Setting boolean parameters of a Python script from the command line
You can access the toolbox of ready scripts in the scripts
directory. Feel free to copy and modify them for your target use case!
The video tutorials and Jupyter notebooks explain step-by-step how the scripts have been built.