整理 course 目录:原课程归入同名文件夹,新增学习资料/动手练习分类

This commit is contained in:
2026-09-28 11:52:44 +08:00
parent 5629d57ea7
commit cb211da473
51 changed files with 398 additions and 32 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# 一键跑练习:bash run.sh 或 bash run.sh 03
cd "$(dirname "$0")"
export PYTHONPATH="$(pwd)/../pylibs"
export MPLCONFIGDIR="/tmp/mpl"
mkdir -p ../data/cache
case "$1" in
01|02|03|04|05) python3 ${1}_*.py ;;
*) for f in 0*.py; do echo; echo "############ $f ############"; python3 "$f"; done ;;
esac