Working with Binary Data in Python 3
- Development
- Apr 26, 2025

Working with Binary Data in Python 3, available at $64.99, has an average rating of 4.3, with 30 lectures, 2 quizzes, based on 73 reviews, and has 262 subscribers.
You will learn about Work with raw bytes in Python 3 Read and write binary files Formatting binary output Using bitwise operators Encode and decode with UTF-8 and Base64 Packing and unpacking structs This course is ideal for individuals who are All software developers or Anyone who wants to learn to work with binary data in Python or Security engineers or SOC analysts or Malware reverse engineers It is particularly useful for All software developers or Anyone who wants to learn to work with binary data in Python or Security engineers or SOC analysts or Malware reverse engineers.
Enroll now: Working with Binary Data in Python 3
Summary
Title: Working with Binary Data in Python 3
Price: $64.99
Average Rating: 4.3
Number of Lectures: 30
Number of Quizzes: 2
Number of Published Lectures: 30
Number of Published Quizzes: 2
Number of Curriculum Items: 32
Number of Published Curriculum Objects: 32
Original Price: $19.99
Quality Status: approved
Status: Live
What You Will Learn
Who Should Attend
Target Audiences
Learn how to work with binary data using Python 3. Everything in a computer is binary and bytes under the hood, so it is critical to understand how to work with data at this raw level.
Knowing how to manipulate binary data at and byte streams is an essential skill for any type of programming you do with Python from web developers to data scientists to game developers to security analysts and engineers, malware reverse engineers, and penetration testers
Some of the things you will learn include:
Reading write bytes to buffer streams and disk which is useful for working with any kind of binary file or network communication
Formatting output of bytes so you can view it as hexadecimal or even binary format.
Converting between Python objects and raw bytes which is useful for storing objects to disk or loading up binary data that was intended for a different computer system
Encoding and decoding bytes which lets you switch between raw bytes that you can store and transfer and usable objects in Python. For example, creating a save game file or transmitting data over the network.
Packing and unpacking structs; For example, creating a TCP/IP packet header or extracting data from proprietary file formats.
Performing bitwise operation like AND, OR, XOR, and ones copmlement which is useful for a variety of tasks like network masking and cryptography.
Course syllabus
Intro
Course overview
Basics of bytes
Bytes type
Bytearray type
BytesIO class
Formatting output
Bitwise operations
AND
OR
XOR
Ones complement
Bit shifting
Conversion
Integers <-> Bytes
Binary strings
Hexadecimal strings
Working with files
Read and write bytes
Seek position
Get metadata about a file
Struct packing
What is struct packing?
Struct packing
Struct unpacking
Encoding
ASCII
UTF-8
Base64
Course Curriculum
Chapter 1: Introduction
Lecture 1: Course overview
Chapter 2: Basics of bytes
Lecture 1: The Bytes type
Lecture 2: Formatting output
Lecture 3: The Bytearray type
Lecture 4: The BytesIO class
Chapter 3: Bitwise Operations
Lecture 1: Overview of Bitwise Operations
Lecture 2: AND Operation
Lecture 3: OR Operation
Lecture 4: XOR Operation
Lecture 5: Ones Complement
Lecture 6: Bit Shifting
Chapter 4: Conversion
Lecture 1: Introduction
Lecture 2: Convert a large integer to bytes
Lecture 3: Convert a list of small integers to bytes
Lecture 4: Convert a binary string to a byte
Lecture 5: Convert bytes to an integer
Lecture 6: Convert hexadecimal strings
Chapter 5: Working with files
Lecture 1: Write bytes to a file
Lecture 2: Get metadata about a file
Lecture 3: Read Bytes from a File
Lecture 4: Seek a position in a file
Chapter 6: Struct packing and unpacking
Lecture 1: What is struct packing?
Lecture 2: Example of struct packing
Lecture 3: Example of unpacking a struct
Chapter 7: Encoding
Lecture 1: Intro to Encoding
Lecture 2: ASCII encoding
Lecture 3: UTF-8 encoding
Lecture 4: Base64 encoding
Chapter 8: Code Examples
Lecture 1: Code examples
Chapter 9: Conclusion
Lecture 1: Course recap
Instructors

John Leon
Software and Cybersecurity Specialist
Rating Distribution
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
- Random Picks
- Popular
- Hot Reviews
- Make your fortune with the Black Swan! Increase your wealth.
- Youtube Marketing 2020- How to become Famous on Youtube
- Interview Questions and Answer on Python
- Life Insurance Annuity Ultimate Buyer’s Guide
- Crypto Trading Mastery (Scalping, Day trading, price action)
- The Beginner Forex Trading Playbook
- How to Draw Cute Thanksgiving!
- Step-By-Step Stock Market Analysis and Real-Time Trades
- 1YouTube Masterclass The Best Guide to YouTube Success
- 2Photoshop CC- Adjustement Layers, Blending Modes Masks
- 3Personal Finance
- 4SolidWorks Essential Training ( 2023 2024 )
- 5The Architecture of Oscar Niemeyer
- 6Advanced Photoshop Manipulations Tutorials Bundle
- 7Polymer Clay Jewelry Making Techniques for Beginners
- 8How To Market Your Book Grow Your Mailing List
- 1Linux Performance Monitoring Analysis Hands On !!
- 2Content Writing Mastery 1- Content Writing For Beginners
- 3Media Training for PrintOnline Interviews-Get Great Quotes
- 4Learn Facebook Ads from Scratch Get more Leads and Sales
- 5The Complete Digital Marketing Course Learn From Scratch
- 6C#- Start programming with C# (for complete beginners)
- 7[FREE] How to code 10 times faster with Emmet
- 8Driving Results through Data Storytelling