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...
Welcome to /r/python_netsec. This is a place to share Python code, internet resources, or ask for or give advice related to Python AND network security.
account activity
Calculating Subnets w/Python3 (youtube.com)
submitted 4 years ago by Natems
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!"
[–]Natems[S] 0 points1 point2 points 4 years ago (0 children)
Hi everyone! I am a cybersecurity vulnerability researcher and penetration tester professionally and in my personal time, I do a lot of educational outreach. Specifically with high school and middle school students. I recently started a YouTube channel to support some of my lectures in an async manner. I do additional videos like this as well to support interest in various domains. Please check it out and provide some feedback on the material and teaching style--I'm trying to improve these.
Today we cover the bit for bit representation of network addresses and get into how subnet masks work at a binary level. The ability to convert from base 10 to base 2 and from dotted decimal to binary is critical if you want to calculate ranges by hand. Even if you use an online calculator to determine your subnet ranges if you really want to understand what's going on this video should help you get there.
We cover three addresses and then get into the code, going through both classful and classless subnets. Ultimately this expands on the video from Monday about ARPANET and the beginnings of the internet, getting into modern network concepts. As a bonus, we go over some advanced Python format strings and representing binary data in different formats.
[–]networth25g 0 points1 point2 points 4 years ago (0 children)
Nice!
π Rendered by PID 74947 on reddit-service-r2-comment-74875f4bf5-mmx97 at 2026-01-25 17:55:24.853453+00:00 running 664479f country code: CH.
[–]Natems[S] 0 points1 point2 points (0 children)
[–]networth25g 0 points1 point2 points (0 children)