Skip to content

Python for cybersecurity with the basic concepts, easy to understand code examples, lab exercises, real-world examples, different security scripts covering web security, network security, defensive security, crypto examples, exploits etc...

License

Notifications You must be signed in to change notification settings

jassics/python-for-cybersecurity

Repository files navigation

Learning Python Basics with the Real World Examples

This repository is meant to teach Python fundamentals with real-world examples. It would invoke some thoughts and logic inside you to go further.

There are also lots of examples and exercises that you can do to become comfortable with Python Programming. Once you are comfortable with the basic concepts explained in this repository, you can practice the exercises mentioned in the exercise folder. Real-world examples are the examples you see around you on a regular basis, such as converting JSON to CSV, PDF to images, web scraping, etc.

Prerequisites

  1. Python 3.x preferably > 3.7
  2. Mostly pip would be installed with Python package, if not then install pip separately.
  3. git is installed, and you know the basics of git commands.
  4. Have access to the terminal/command line
  5. You know basic concepts of any programming language, it not mandatory, though

Helpful Resources

Books

  1. Learning Python
  2. Programming Python
  3. Head First Python
  4. Fluent Python
  5. Learn Python3 the hard way
  6. Automate the boring stuff with Python
  7. Python Cookbook
  8. Python Crash Course
  9. Effective Python
  10. Modern Python Cookbook

Articles/Blogs

Videos (Youtube mainly)

Flexmind Channel's Python Videos Playlist

Online Courses (Free or Paid)

  1. Python for Everybody Specialization
  2. Python3 Programming Specialization
  3. Crash Course on Python by Google

ToDo List

  • Add examples for all basic concepts ⭐
  • Add at least 20 simple exercises similar to hackerrank or hackerearth 🔥
  • Add at least 20 common real-world examples 😎
  • Add 3-5 real-world examples for ML & DS ✨
  • Add 3-5 real-world examples for Web Development 🌐
  • Add 3-5 real-world examples for AWS ☁️
  • Add 3-5 real-world examples for CyberSecurity 😈
  • Add a basic tutorial page using the cybercloud.guru domain 😎

Troubleshoot

  • You should be using Python 3.x, preferably > 3.9
  • Check python version python --version
  • Similarly, check pip version pip --version. It should point to Python3.x
  • If you get the module name not found error, try to install that named module as pip install module-name
  • If you are getting any other error, mail me. I would add those steps here.
  • for tkinter to work in macOS, you need to run brew install python-tk
  • If speech recognition is not working, try pip3 install SpeechRecognition and pip3 install pyaudio
  • distutils module stopped working in python3.12

Contact(s)/ Contributor(s)

  1. Sanjeev Jaiswal
  2. Deepraj Baidya