HOME > Development > Working with Binary Data in Python 3

Working with Binary Data in Python 3

  • Development
  • Apr 26, 2025
SynopsisWorking with Binary Data in Python 3, available at $64.99, ha...
Working with Binary Data in Python 3  No.1

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

  • 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
  • Who Should Attend

  • All software developers
  • Anyone who wants to learn to work with binary data in Python
  • Security engineers
  • SOC analysts
  • Malware reverse engineers
  • Target Audiences

  • All software developers
  • Anyone who wants to learn to work with binary data in Python
  • Security engineers
  • SOC analysts
  • Malware reverse engineers
  • 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

  • Working with Binary Data in Python 3  No.2
    John Leon
    Software and Cybersecurity Specialist
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 1 votes
  • 3 stars: 5 votes
  • 4 stars: 22 votes
  • 5 stars: 45 votes
  • 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!