Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1141c37

Browse files
committed
Fixed zip and pathlib examples
1 parent9019195 commit1141c37

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ Index 3 in supplies is: binders
11341134
>>>print('{} is{} years old'.format(n, a))
11351135
Peteis6 years old
11361136
Johnis23 years old
1137-
Aliceis44 years old
1137+
Elizabethis44 years old
11381138
```
11391139

11401140
###The in and not in Operators
@@ -3238,7 +3238,7 @@ And using `pathlib` on \*nix:
32383238
```python
32393239
>>>from pathlibimport Path
32403240

3241-
>>>print(Path('usr').joinpath('bin').joinpath('spam')
3241+
>>>print(Path('usr').joinpath('bin').joinpath('spam'))
32423242
usr/bin/spam
32433243
```
32443244

‎blog_files/pysheet.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ Index 3 in supplies is: binders
847847
>>>print('{} is{} years old'.format(n, a))
848848
Peteis6 years old
849849
Johnis23 years old
850-
Aliceis44 years old
850+
Elizabethis44 years old
851851
```
852852

853853
###The in and not in Operators
@@ -2807,7 +2807,7 @@ And using `pathlib` on \*nix:
28072807
```python
28082808
>>>from pathlibimport Path
28092809

2810-
>>>print(Path('usr').joinpath('bin').joinpath('spam')
2810+
>>>print(Path('usr').joinpath('bin').joinpath('spam'))
28112811
usr/bin/spam
28122812
```
28132813

‎python_cheat_sheet.ipynb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,7 @@
18471847
">>> print('{} is {} years old'.format(n, a))\n",
18481848
"Pete is 6 years old\n",
18491849
"John is 23 years old\n",
1850-
"Alice is 44 years old"
1850+
"Elizabeth is 44 years old"
18511851
]
18521852
},
18531853
{
@@ -5623,7 +5623,7 @@
56235623
"source": [
56245624
">>> from pathlib import Path\n",
56255625
"\n",
5626-
">>> print(Path('usr').joinpath('bin').joinpath('spam')\n",
5626+
">>> print(Path('usr').joinpath('bin').joinpath('spam'))\n",
56275627
"usr/bin/spam"
56285628
]
56295629
},

‎python_cheat_sheet.pdf‎

25 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp