Need Python Automation Roadmap

I Am Batman

Senior Member
Joined
Apr 14, 2021
Messages
1,159
Reaction score
605
Hello everyone,
I'm new programmer. I'm planning to learn python for making bot automation. Can you guys give me a roadmap to become master in automation? What knowledges I should to focus? What projects I need to do to improve my skill?
Hope you guys can help me. Thanks for reading.
 
I would start with learning python. All the basics. There are plenty of cheap courses on Udemy and free tutorials on youtube. For the automation part, it truly depends on what kind of automation you want to do. But I would suggest learning to automate some really basic task and build it from there.There are some good youtube channels that focus on python and plenty of videos/tutorials with different automation projects. Maybe you could watch and learn from them and see what type of packages they use and how they build their programs.
 
according to my experience, i'll learn all the basic like @smurfelina talk. to make it easier for me to learn something, usually i have a goal to create something that is easy and i want to use.
when i try to reach my goal, i have other ideas to work on or to improve my goals. and over and over again. most of my programming problems were solved by looking for answers on stackoverflow.

but the most important thing of all is intention and never give up..
good luck ;)
 
Python and YAML... Python as your general programming language and YAML for plugging into any auto-deployment with any popularity right now. it doesn't matter if it's Ansible, composer or HELM, etc... YAML will be forced upon you in the process... if you are focusing on starting with desktop bots, getting cozy with the Python libraries like scrapy and beautiful soup would be a good place to start when you begin, and pandas/numpy to roll into hacking at the data you used the previously mentioned libraries to scrape.
 
Hello everyone,
I'm new programmer. I'm planning to learn python for making bot automation. Can you guys give me a roadmap to become master in automation? What knowledges I should to focus? What projects I need to do to improve my skill?
Hope you guys can help me. Thanks for reading.
Hi,
Code Academy -> Learn Python 3.
It's free, you have exercises, quiz, etc. Best way to learn by doing.
I did it with HTML, CSS, PHP.
 
Code Academy is pretty good start. And I LOVE that profile picture it's fucking awesome.
 
To be honest if there is a "roadmap" i won't recommend you using it you will learn the code wrong and won't understand why it does what it does, learn the basics and understand them. Then just challenge yourself, like "scrape top 10 SERP results of a keyword" and just find the puzzle pieces you need by cutting the code in small steps and Google that like "How do i retrieve HTML from an URL in python" -> "How to extract certain links from an HTML string in python". You will need to try and learn by failing and learning why something works a certain way. Make every challenge harder than the one before, good luck!
 
Here's a roadmap that i made for a friend of mine.

Learn the Language.
Learn the basics of python and programming. Stuff like variables, conditionals, functions, lists, dicts ,loops, opening and writing files, taking input from a user, running a python file etc. At this stage you should get familiar with the language and get comfortable with writing code.

Understand python style guide and setup a proper environment
Now that you know basic python, understand how python code should be written. Python uses the PEP8 specification as it's style guide. Setup your ide/editor (i recommend Visual Studio Code) with a language server for autocompletion and a code formatterr like black.

Learn to Handle Errors
This is important phase, don't skip it. Learn how to debug code and how to use a debugger. Learn what exceptions are and how to handle it with
Code:
try,catch
. Learn how to raise exceptions when needed and how to understand tracebacks.

Learn OOP
in python almost everything is an object.learn what they are. Learn how to use classes and make objects, use inheritance and other basic oop concepts like polymorphism and composition. Next python oop concepts likew dunder methods and properties.

Modules, Imports and Libraries.
A python file is called a module. You can import classes, functions and variables from one python file to another. Learn how namespaces work, how to use the "import keyword", what packages are. Make a small package yourself and try using it.

Python standard library
python has a huge standard library for doing a lot of stuff. Want to get the current time? There's the time module. Want to compute square root of a number? There's the math module. Want to send an email? There's a smtp module. Get familiar with using a few of them.

Libraries and Frameworks
now that you are comfortable with python syntax, packages and the standard library. Its time to make fun stuff. Python has a huge number of third party libraries and frameworks (learnt packages? These are just packages or collection of packages). You can install them with "pip", pythons package installer tool.

There are several helpful libs for automation you can install. There's PyAutoGui that you can use to automate mouse movements and keyboard presses. Selenium for browser automation and many others.

Further Learning
There's always a lot of stuff to learn. You can learn concurrency, async and threading, there are advanced language features like lambdas, iterators, decorators, generators, pattern matching etc. There's source control like git/github. Just keep learning.

Resources
"So, how am I gonna learn all of this", you ask? Well, I could recommend these 2 books to begin with:
- Automate the Boring Stuff with python(atbs)
- Beyond the basic stuff with python (btbs)
Both of these are free to read online. I recommend going through atbs first and complete it cover to cover while doing the projects. It will you teach you the basics of python while doing fun projects. Then proceed with btbs either cover to cover or complete the topics mentioned here first.
 
To be honest if there is a "roadmap" i won't recommend you using it you will learn the code wrong and won't understand why it does what it does, learn the basics and understand them. Then just challenge yourself, like "scrape top 10 SERP results of a keyword" and just find the puzzle pieces you need by cutting the code in small steps and Google that like "How do i retrieve HTML from an URL in python" -> "How to extract certain links from an HTML string in python". You will need to try and learn by failing and learning why something works a certain way. Make every challenge harder than the one before, good luck!
This is exactly i am following nowdays, and after watching lot of tutorial videos i found above is the best way to learn faster. i am still new in python but i can tell you with my so far experience, i have already developed my money making python scripts, already launched youtube channel where i shared video about whatever i learn on daily basis, and last thing, if you are doing actually working on any problem to build solution , you will learn fast. for example, if i want want to scrap website or do any automation stuff, just list down in plan english like what you want to do then , google step by step, after following this kind of approach you will learn faster then anyone else who are just watching video tutorials .
 
It's mostly just about learning Selenium. Puppeteer is actually better but it's Javascript. You probably need some Javascript anyway.
 
Back
Top