Skip to content

Commit a12bfbf

Browse files
committed
Increase chapter numbers by 1 to make room for new Modules and Packages chapter
1 parent 30c3f99 commit a12bfbf

File tree

56 files changed

+28
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+28
-28
lines changed

ch11-file-input-and-output/2-working-with-file-paths-in-python.py renamed to ch12-file-input-and-output/2-working-with-file-paths-in-python.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.2 - Working With File Paths in Python
1+
# 12.2 - Working With File Paths in Python
22
# Solutions to review exercises
33

44

ch11-file-input-and-output/3-common-file-system-operations.py renamed to ch12-file-input-and-output/3-common-file-system-operations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.3 Common File System Operations
1+
# 12.3 Common File System Operations
22
# Solutions to Exercises
33

44

ch11-file-input-and-output/4-challenge-move-all-image-files-to-a-new-directory.py renamed to ch12-file-input-and-output/4-challenge-move-all-image-files-to-a-new-directory.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.4 Challenge: Move All Image Files To a New Directory
1+
# 12.4 Challenge: Move All Image Files To a New Directory
22
# Solution to Challenge
33

44
from pathlib import Path

ch11-file-input-and-output/5-reading-and-writing-files.py renamed to ch12-file-input-and-output/5-reading-and-writing-files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.5 - Reading and Writing Files
1+
# 12.5 - Reading and Writing Files
22
# Solutions to Exercises
33

44

ch11-file-input-and-output/6-read-and-write-csv-data.py renamed to ch12-file-input-and-output/6-read-and-write-csv-data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.5 Read and Write CSV Data
1+
# 12.5 Read and Write CSV Data
22
# Solutions to Exercises
33

44

ch11-file-input-and-output/7-challenge-create-a-high-scores-list.py renamed to ch12-file-input-and-output/7-challenge-create-a-high-scores-list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.7 Challenge: Create a High Scores List
1+
# 12.7 Challenge: Create a High Scores List
22
# Solution to Challenge
33

44
import csv

ch13-interact-with-pdf-files/1-extract-text-from-a-pdf.py renamed to ch14-interact-with-pdf-files/1-extract-text-from-a-pdf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 13.1 - Extract Text From a PDF
1+
# 14.1 - Extract Text From a PDF
22
# Solutions to review exercises
33

44

ch13-interact-with-pdf-files/2-extract-pages-from-a-pdf.py renamed to ch14-interact-with-pdf-files/2-extract-pages-from-a-pdf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 13.2 - Extract Pages From a PDF
1+
# 14.2 - Extract Pages From a PDF
22
# Solutions to review exercises
33

44
# ***********

ch13-interact-with-pdf-files/3-challenge-PdfFileSplitter-class.py renamed to ch14-interact-with-pdf-files/3-challenge-PdfFileSplitter-class.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 13.5 - Challenge: PdfFileSplitter Class
1+
# 14.5 - Challenge: PdfFileSplitter Class
22
# Solution to challenge
33

44
from pathlib import Path

ch13-interact-with-pdf-files/4-concatenating-and-merging-pdfs.py renamed to ch14-interact-with-pdf-files/4-concatenating-and-merging-pdfs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 13.4 - Concatenating and Merging PDFs
1+
# 14.4 - Concatenating and Merging PDFs
22
# Solutions to review exercises
33

44
# ***********

ch13-interact-with-pdf-files/5-rotating-and-cropping-pdf-pages.py renamed to ch14-interact-with-pdf-files/5-rotating-and-cropping-pdf-pages.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 13.5 - Rotating and Cropping PDF pages
1+
# 14.5 - Rotating and Cropping PDF pages
22
# Solutions to review exercises
33

44
# ***********

ch13-interact-with-pdf-files/6-encrypting-and-decrypting-pdfs.py renamed to ch14-interact-with-pdf-files/6-encrypting-and-decrypting-pdfs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 13.6 - Encrypting and Decrypting PDFs
1+
# 14.6 - Encrypting and Decrypting PDFs
22
# Solutions to review exercises
33

44
# ***********

ch13-interact-with-pdf-files/7-challenge-unscramble-a-pdf.py renamed to ch14-interact-with-pdf-files/7-challenge-unscramble-a-pdf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 13.7 - Challenge: Unscramble a PDF
1+
# 14.7 - Challenge: Unscramble a PDF
22
# Solution to challenge
33

44
from pathlib import Path

ch14-sql-database-connections/1-use-sqlite.py renamed to ch15-sql-database-connections/1-use-sqlite.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 14.1 - Use SQLite
1+
# 15.1 - Use SQLite
22
# Solutions to review exercises
33

44
import sqlite3

ch15-interacting-with-the-web/1-scrape-and-parse-text-from-websites.py renamed to ch16-interacting-with-the-web/1-scrape-and-parse-text-from-websites.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 15.1 - Scrape and Parse Text From Websites
1+
# 16.1 - Scrape and Parse Text From Websites
22
# Solutions to review exercises
33

44
from urllib.request import urlopen

ch15-interacting-with-the-web/2-use-an-html-parser-to-scrape-websites.py renamed to ch16-interacting-with-the-web/2-use-an-html-parser-to-scrape-websites.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 15.2 - Use an HTML Parser to Scrape Websites
1+
# 16.2 - Use an HTML Parser to Scrape Websites
22
# Solutions to review exercises
33

44
# Make sure BeautifulSoup is installed first with:

ch15-interacting-with-the-web/3-interact-with-html-forms.py renamed to ch16-interacting-with-the-web/3-interact-with-html-forms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 15.3 - Interact with HTML Forms
1+
# 16.3 - Interact with HTML Forms
22
# Solutions to review exercises
33

44
# Make sure BeautifulSoup is installed first with:

ch15-interacting-with-the-web/4-interact-with-websites-in-realtime.py renamed to ch16-interacting-with-the-web/4-interact-with-websites-in-realtime.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 15.4 - Interact With Websites in Real-Time
1+
# 16.4 - Interact With Websites in Real-Time
22
# Solutions to review exercise
33

44
# Make sure BeautifulSoup is installed first with:

ch16-scientific-computing-and-graphing/1-use-numpy-for-matrix-manipulation.py renamed to ch17-scientific-computing-and-graphing/1-use-numpy-for-matrix-manipulation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 16.2 - Use matplotlib for Plotting Graphs
1+
# 17.2 - Use matplotlib for Plotting Graphs
22
# Solution to review exercise #2
33

44
# Setup

ch16-scientific-computing-and-graphing/2-use-matplotlib-for-plotting-graphs.py renamed to ch17-scientific-computing-and-graphing/2-use-matplotlib-for-plotting-graphs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 16.3 - Use matplotlib for Plotting Graphs
1+
# 17.3 - Use matplotlib for Plotting Graphs
22
# Solution to review exercise #2
33

44
# Graph pirates versus global warming

ch17-graphical-user-interfaces/1-add-gui-elements-with-easygui.py renamed to ch18-graphical-user-interfaces/1-add-gui-elements-with-easygui.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.1 - Add GUI Elements with EasyGUI
1+
# 18.1 - Add GUI Elements with EasyGUI
22
# Review Exercises
33

44
import easygui as gui

ch17-graphical-user-interfaces/10-challenge-return-of-the-poet.py renamed to ch18-graphical-user-interfaces/10-challenge-return-of-the-poet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.10 - Challenge: Return of the Poet
1+
# 18.10 - Challenge: Return of the Poet
22
# Solution to challenge
33

44
# Please note that there are many ways to solve this challenge. The code

ch17-graphical-user-interfaces/2-example-app-pdf-page-rotator.py renamed to ch18-graphical-user-interfaces/2-example-app-pdf-page-rotator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.2 - Example App: PDF Page Rotator
1+
# 18.2 - Example App: PDF Page Rotator
22
# Review Exercise #1
33

44
import easygui as gui

ch17-graphical-user-interfaces/3-challenge-use-gui-elements-to-help-a-user-modify-files.py renamed to ch18-graphical-user-interfaces/3-challenge-use-gui-elements-to-help-a-user-modify-files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.3 - Challenge: Use GUI Elements to Help a User Modify Files
1+
# 18.3 - Challenge: Use GUI Elements to Help a User Modify Files
22
# Solution to challenge
33

44
# save part of a PDF based on a user-supplied page range using a GUI

ch17-graphical-user-interfaces/4-introduction-to-tkinter.py renamed to ch18-graphical-user-interfaces/4-introduction-to-tkinter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.4 - Introduction to Tkinter
1+
# 18.4 - Introduction to Tkinter
22
# Review exercises
33

44
import tkinter as tk

ch17-graphical-user-interfaces/5-working-with-widgets.py renamed to ch18-graphical-user-interfaces/5-working-with-widgets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.4 - Introduction to Tkinter
1+
# 18.4 - Introduction to Tkinter
22
# Review exercises
33

44
import tkinter as tk

ch17-graphical-user-interfaces/6-control-layout-with-geometry-managers.py renamed to ch18-graphical-user-interfaces/6-control-layout-with-geometry-managers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.6 - Control Layout With Geometry Managers
1+
# 18.6 - Control Layout With Geometry Managers
22
# Review Exercise #2
33

44
# NOTE: The first exercise in this section is instructional and does

ch17-graphical-user-interfaces/7-make-your-applications-interactive.py renamed to ch18-graphical-user-interfaces/7-make-your-applications-interactive.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 17.7 - Make Your Applications Interactive
1+
# 18.7 - Make Your Applications Interactive
22
# Review Exercises
33

44

0 commit comments

Comments
 (0)