GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 修复错误 · aiden66535/notes-python@79a7bc1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • 02. python essentials
    • 02.07 mutable and immutable data types.ipynb.REMOVED.git-id
  • generate static files.ipynb.REMOVED.git-id
  • generate_static_files.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎02. python essentials/02.07 mutable and immutable data types.ipynb.REMOVED.git-id‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a1ec3798790928d60f2fd7eb95e63eadc9a2ddee
1+
cc103892979790d019e34c703f9bdbc6438305e9
Collapse file

‎generate static files.ipynb.REMOVED.git-id‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0af47a8b54290e4c30ae0bad0fd0d344efa457a8
1+
788e818806c64f3054a07faf2926f8e377915eb6
Collapse file

‎generate_static_files.py‎

Copy file name to clipboardExpand all lines: generate_static_files.py
+7-3Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@
1010
import nbconvert
1111

1212

13-
# 检查路径是否存在:
13+
# 检查路径是否存在,删除旧的文件:
1414

1515
# In[2]:
1616

1717
if not os.path.exists('static files'):
1818
os.mkdir('static files')
1919

20-
20+
for n in glob.glob('static files/*/*/*'):
21+
os.remove(n)
22+
23+
2124
# 文件夹:
2225

2326
# In[3]:
@@ -32,7 +35,8 @@
3235
'08. object-oriented programming',
3336
'09. theano',
3437
'10. something interesting',
35-
'11. useful tools'
38+
'11. useful tools',
39+
'12. pandas'
3640
]
3741

3842

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.