Skip to content

Commit bc855a2

Browse files
authored
Merge branch 'master' into master
2 parents 6078a05 + a7fa6ce commit bc855a2

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

arcade-a-primer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Source files supporting the **Arcade - A Modern Python Game Framework** article
1+
Source files supporting the [Arcade: A Primer on the Python Game Framework](https://realpython.com/arcade-python-game-framework/) article on [Real Python](https://realpython.com/).

arcade-a-primer/arcade_game.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class SpaceShooter(arcade.Window):
4040
Collisions end the game
4141
"""
4242

43-
def __init__(self, width, height, title):
43+
def __init__(self, width: int, height: int, title: str):
4444
"""Initialize the game
4545
"""
4646
super().__init__(width, height, title)
@@ -131,7 +131,7 @@ def add_cloud(self, delta_time: float):
131131
self.clouds_list.append(cloud)
132132
self.all_sprites.append(cloud)
133133

134-
def on_key_press(self, symbol, modifiers):
134+
def on_key_press(self, symbol: int, modifiers: int):
135135
"""Handle user keyboard input
136136
Q: Quit the game
137137
P: Pause the game

rp-portfolio/personal_portfolio/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<li class="nav-item active">
1313
<a class="nav-link" href="{% url 'project_index' %}">Home</a>
1414
</li>
15-
<li class="nav-item">
15+
<li class="nav-item active">
1616
<a class="nav-link" href="{% url 'blog_index' %}">Blog</a>
1717
</li>
1818
</ul>

web-scraping-bs4/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Build a Web Scraper With Requests and Beautiful Soup
2+
3+
This repository contains code relating to the Real Python tutorial on how to [Build a Web Scraper With Requests and Beautiful Soup](https://realpython.com/build-web-scraper-with-requests-beautiful-soup/).
4+
5+
There are two available scripts:
6+
7+
1. **[`scrape_jobs.py`](https://github.com/realpython/materials/blob/master/web-scraping-bs4/scrape_jobs.py):** The sample script that you build throughout the tutorial
8+
2. **[`job_search.py`](https://github.com/realpython/materials/blob/master/web-scraping-bs4/job_search.py):** The final code expanded as a command-line-interface app

0 commit comments

Comments
 (0)