8000 Tweak best practices shortcuts and session 2 slides coding time · kavya-git3/intro-to-python@6622a8c · GitHub
[go: up one dir, main page]

Skip to content

Commit 6622a8c

Browse files
committed
Tweak best practices shortcuts and session 2 slides coding time
1 parent e91d8a4 commit 6622a8c

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

best_practices.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
- UP/DOWN Arrows - Scroll backward and forwards through previous commands you’ve typed in the current session. ​
1515

16-
- F3 - Repeat the previous command​.
17-
1816
- CTRL + C - Abort the current line you’re typing or a command that is currently executing​.
1917

2018

@@ -45,7 +43,7 @@ cd .. # Gets out of the directory you are in
4543
## How do you run a python file?
4644
1. Make sure that you are using the Shell 🐚.
4745
1. Verify that you are in the folder containing the file you want to run. You can use `pwd` to check the current folder and `ls` to see the files in the current folder.
48-
2. Run `python <file_name.py>` (ex: `python session_1.py`).
46+
2. Run `python <file_name.py>` (ex: `python exercises_1.py`).
4947

5048
---
5149

session_01/exercises_1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
# Commenting out shortcut:
77
# Select the lines you want to comment and press:
8-
# - Windows: ```Ctrl + / ```
9-
# - Mac: ```Command + /```
8+
# - Windows: Ctrl + /
9+
# - Mac: Command + /
1010

1111

1212
## Section A

session_01/slides_1.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ clear # Clears the terminal screen
118118

119119
- UP/DOWN Arrows - Scroll backward and forwards through previous commands you’ve typed in the current session. ​
120120

121-
- F3 - Repeat the previous command​.
122-
123121
- CTRL + C - Abort the current line you’re typing or a command that is currently executing​.
124122

125123

session_02/slides_2.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,11 @@ print(name[-1]) # Always the last element
279279

280280
---
281281

282+
# Coding Time
283+
## Section A
284+
285+
---
286+
282287
# Input
283288

284289
---

0 commit comments

Comments
 (0)
0