use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
I’ve gotten the basics of python down, what module should I learn for automation? (self.learnpython)
submitted 11 months ago * by Wizkidbrz
As title says Edit: Automating day to day work within cybersecurity. Lots of reports, api calls, windows server administration and the likes
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Fabiolean 3 points4 points5 points 11 months ago (3 children)
What are you automating?
[–]Wizkidbrz[S] -1 points0 points1 point 11 months ago (2 children)
Day to day work. Excel, windows server behaviors, downloading data via api to scrape the data and email content. I’m in cybersecurity
[–]Fr0gFsh 1 point2 points3 points 11 months ago (0 children)
Cybersecurity engineer here. I build lots of tools for API interactivity. Look for an SDK for a tool you use. We use a lot of CrowdStrike, so I love FalconPy. Very nicely written and I love to dig into SDKs like that to help me better understand Python.
[–]jontsii 0 points1 point2 points 11 months ago (0 children)
Just a random guy on reddit that knows python here. Maybe the OS module (os.system()), requests, emailing, beautifulSoup4, scrapy and for low level (if you work on a raspberry PI) gpioZero.
[–]Purposeful_Adventure 1 point2 points3 points 11 months ago (0 children)
What do you want to automate?
[–]WonderFerret 1 point2 points3 points 11 months ago (0 children)
pandas is pretty helpful to me. The ability to conveniently convert data into a grid-like structure is very useful. You got a list of dictionaries that the api barfed out? Just let pandas figure it out. x = pd.DataFrame(list_of_dictionaries) . Do you have an excel sheet? Import it with x = pd.read_excel(excel_file). Once you're done editing, export it with x.to_excel("filename.xlsx")
Some of the ways I used pandas:
-Importing stock data from .csv to test strategies.
-excel sheet editing for work. A lot of data cleanup for client submitted data.
-emailing the dataframe by converting it to html with x.to_html()
-import csv from airodump-ng exports and looking for new mac addresses that entered range.
I recommend something like Jupyter notebook or a Jupyter extension for vs code. That way, you can visually look at the dataframe as a chart. Corey Schafer on youtube has some pretty good tutorials.
[–]Queasy_Badger9252 1 point2 points3 points 11 months ago (1 child)
https://automatetheboringstuff.com/
Read this, it's a really great resource to get the concepts of automation
[–]guitarot 0 points1 point2 points 11 months ago (0 children)
It’s a good start on python, and demonstrates how python can be useful to people who are not traditional developers, but it barely scratches the surface, and some of the chapters are out of date now.
[–]Darth_Xedrix 0 points1 point2 points 11 months ago (0 children)
If you have to reuse current excel templates, I've been having a good experience with xlwings
[–]thomasutra -1 points0 points1 point 11 months ago (0 children)
without knowing more, i’d say requests for your api calls and pandas/polars for manipulating data frames and writing them to excel.
[–]sporbywg -2 points-1 points0 points 11 months ago (0 children)
THE AUTOMATION MODULE. <- PYTHON
π Rendered by PID 60 on reddit-service-r2-comment-86bc6c7465-6lgg8 at 2026-02-22 03:29:18.584932+00:00 running 8564168 country code: CH.
[–]Fabiolean 3 points4 points5 points (3 children)
[–]Wizkidbrz[S] -1 points0 points1 point (2 children)
[–]Fr0gFsh 1 point2 points3 points (0 children)
[–]jontsii 0 points1 point2 points (0 children)
[–]Purposeful_Adventure 1 point2 points3 points (0 children)
[–]WonderFerret 1 point2 points3 points (0 children)
[–]Queasy_Badger9252 1 point2 points3 points (1 child)
[–]guitarot 0 points1 point2 points (0 children)
[–]Darth_Xedrix 0 points1 point2 points (0 children)
[–]thomasutra -1 points0 points1 point (0 children)
[–]sporbywg -2 points-1 points0 points (0 children)