Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python 3000: Tactical File I/O
Rating: 4.3 out of 5(34 ratings)
4,980 students

Python 3000: Tactical File I/O

Techniques, Technologies and More Programming Topics
Last updated 12/2020
English

What you'll learn

  • Learn how to create & save meaningful reports.
  • Discover how to simultaneously print to the screen, as well as to a file.
  • Practice creating data files that can be opened & edited by other applications
  • Learn the secret of Google's success by discovering how to index popular data formats, as well as binary files.
  • Lean how to use Python to quickly export & import data from several popular data formats.

Course content

1 section6 lectures56m total length
  • Welcome to Python 30001:15

    A quick review of the major mission & themes to be covered in Python 3000.

  • 3510: Saving & Exchanging Data8:25

    Everyone is surprised upon learning how easy it is to append printable data to a file in Python. Even more surprising however can be to discover that Python has built-in support for saving data in popular data formats, as well.

    In this lesson, we will:

    • Lean how to open / truncate a file

    • Discover how to use print() report to files

    • Learn how to “quick print” a CSV file in Unix format

    • Learn how to read + split CSV files

    • Learn how to remove a file from the file system

    • Dual-render a faceplate that can be used for calendar representation

  • 3520: The CSV Standards6:25

    While a very common standard, there are sight nuances to be found in the CSV standard. In this lesson, we will review the official support for generating CSV file for the two most popular formats.

    We will:

    • Discover how to enumerate supported textual csv formats

    • Create a program that will format data in all supported formats

    • Learn this difference between “excel” and “unix” CSV formats

  • 3530: Managing File Metadata14:33

    While the content of a file is usually what we are most interested in, knowing more about the file is also important. For example, learning more about file size, creation date, security information, as well as both common & platform-specific information is often just as important.

    In this lesson, we will:

    • Discover how to retrieve file meta-data

    • Understand common & relivable cross-platform values

    • Learn how platform-specific security attributes are used

    • Practice how to manually represent year, month, and day information

    • Discover how to convert time values to localized time displays

  • 3540: Google Billions? Welcome to Indexing!14:33

    Like the content of any book, the content of a file can be categorized. Often referred to as "indexing," our ability to "tag" and keep track of important parts of a file is the heart & soul of modern file-management activities.

    In this lesson we will:

    • Learn the secret behind keeping track of file content

    • Review how to track locations of binary data

    • Discover real-world text indexing success stories

    • Create a binary text-data writer, seeker, and reader

  • 3550: Indexing Human Readable Files11:23

    Much like the CSV Standard itself, when moving human-readable data between operating systems, we can see some curious problems!

    In this lesson, we will document, demystify & correct the curious problems we often see when transferring our programming & other human-readable files between Unix-like systems (zOS, OS/X, Linux, etc.) and Microsoft Windows.

    In this lesson we will:

    • Discover the difference between “raw” and “cooked” data

    • Apply what we have learned to manage variant-length text data

    • Create a report using the tab-delimited format (TDF)

    • Review a simple strategy to index official CSV files

    • Create a newline-delimited record writer, seeker, and reader

Requirements

  • Students should already know how to use Python 3.
  • The completion of Python 1000 & Python 2000 is highly recommended.

Description

Welcome Pythoneers!

Once we have learned any programming language, the next task is to become familiar with the most common activities required to get our jobs done.  Saving data to files is often an important part of any significant data processing activity.  In this training opportunity, we will be discovering how to simply and quickly print what we have created to files on our local hard drive.  We will review how to save data into several classic & ever-popular data formats. 


Tracking Data

Discussing metadata - data that describes other data - countless billions are being made by companies keeping track of what others put on the Internet.


Of course I'm talking about companies such as Google... at the end of the day everything data-marketing firms rely upon are very well known. Time proven techniques.


How To?

The ability to keep track of each and every word on the Internet seems like a daunting undertaking... But underneath all of the contracts and service agreements there is a simple data-and-file indexing capability.


Far from keeping a copy of everything that has ever been placed on the Internet places like Google instead create indexes. Files and techniques that allow us to point to pages to allow us to readily search index files for the information we're looking for.


Bottom Line ...

We will leverage what we have learned so as to be able to tag & keep track of what has been stored in any data-file type ... in Python 3000: Tactical File I/O we're going to show you how to create an index your own data using Python! -By the time you have completed this training, you will know what you will need to do to manage & track data without using any 3rd party database technologies!

Who this course is for:

  • These lessons have been designed for students who need to understand how to process & manage files.
  • Students who need to know how to quickly find data without using a database will also enjoy this training.
  • Those who would like to use spreadsheets & other office applications as a user interface to their Python 4 Programs will also enjoy these lessons!