© Dr. Ossama Embarak 2018
Dr. Ossama EmbarakData Analysis and Visualization Using Pythonhttps://doi.org/10.1007/978-1-4842-4109-7_4

4. File I/O Processing and Regular Expressions

Ossama Embarak1 
(1)
Higher Colleges of Technology, Abu Dhabi, United Arab Emirates
 

In this chapter, you’ll study input-output functions and file processing. In addition, you’ll study regular expressions and how to extract data that matches specific patterns.

File I/O Processing

Python provides numerous methods for input, output, and file processing. You can get input from the screen and output data to the screen as well as read data from files and store data in files.

Data Input and Output

You can read data from a user using the input() function . Received data by default is ...

Get Data Analysis and Visualization Using Python: Analyze Data to Create Visualizations for BI Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.