File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ loads quickly on GitHub and PyPI.
4545
4646The scripted flow should stay focused on the first-time user path:
4747
48- 1 . Initialize a clean workspace.
49- 2 . Show topic progress with ` pythonlings list ` .
50- 3 . Show a hint and official docs link with ` pythonlings hint variables1 ` .
51- 4 . Open the Pythonlings TUI .
52- 5 . Show the first pending exercise in the coding screen .
53- 6 . Open and close the local docs window with ` F5 ` and ` Esc ` .
54- 7 . Open the topic picker with ` F4 ` .
55- 8 . Quit with ` Ctrl+Q ` .
48+ 1 . Run ` pythonlings ` with no setup — it creates ` ~/.pythonlings ` and opens the
49+ first pending exercise (zero-config first run) .
50+ 2 . Show the first pending exercise in the coding screen .
51+ 3 . Open and close the local docs window with ` F5 ` and ` Esc ` .
52+ 4 . Open the topic picker with ` F4 ` .
53+ 5 . Quit with ` Ctrl+Q ` .
54+ 6 . Show topic progress with ` pythonlings list ` .
55+ 7 . Show a hint and official docs link with ` pythonlings hint variables1 ` .
5656
5757## Fallback Workflow
5858
Original file line number Diff line number Diff line change @@ -8,36 +8,41 @@ Set Padding 16
88Set Framerate 16
99Set TypingSpeed 35ms
1010
11- Type "pythonlings init --path /tmp/pythonlings-demo"
11+ # Hidden setup: a throwaway HOME so `pythonlings` creates a fresh ~/.pythonlings
12+ # without touching the real one, from a non-workspace directory so zero-config
13+ # resolution kicks in. None of this is recorded.
14+ Hide
15+ Type 'export HOME=/tmp/pythonlings-demo && rm -rf "$HOME" && mkdir -p "$HOME" && cd "$HOME" && clear'
1216Enter
13- Sleep 1s
14-
15- Type "cd /tmp/pythonlings-demo"
16- Enter
17- Sleep 300ms
18-
19- Type "pythonlings list"
20- Enter
21- Sleep 1.5s
22-
23- Type "pythonlings hint variables1"
24- Enter
25- Sleep 1.5s
17+ Sleep 500ms
18+ Show
2619
20+ # Zero-config: one command creates the workspace and opens the first exercise.
2721Type "pythonlings"
2822Enter
29- Sleep 2s
23+ Sleep 3s
3024
25+ # Coding screen -> local Python reference (F5), then close it (Esc)
3126Escape
3227Type@0ms "[15~"
3328Sleep 2s
34-
3529Escape
3630Sleep 700ms
3731
32+ # Topic picker (F4)
3833Escape
3934Type@0ms "OS"
4035Sleep 1.5s
4136
37+ # Quit back to the shell
4238Ctrl+Q
43- Sleep 500ms
39+ Sleep 800ms
40+
41+ # There's a CLI too: progress and hints
42+ Type "pythonlings list"
43+ Enter
44+ Sleep 1.5s
45+
46+ Type "pythonlings hint variables1"
47+ Enter
48+ Sleep 1.8s
You can’t perform that action at this time.
0 commit comments