File tree 4 files changed +20
-13
lines changed
4 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 2
2
"cells" : [
3
3
{
4
4
"cell_type" : " code" ,
5
- "execution_count" : 20 ,
5
+ "execution_count" : 26 ,
6
6
"metadata" : {},
7
7
"outputs" : [],
8
8
"source" : [
9
9
" from rich import inspect, pretty\n " ,
10
10
" from rich import print\n " ,
11
+ " from rich.traceback import install\n " ,
11
12
" \n " ,
13
+ " install(show_locals=True)\n " ,
12
14
" pretty.install()"
13
15
]
14
16
},
15
17
{
16
18
"cell_type" : " code" ,
17
- "execution_count" : 21 ,
19
+ "execution_count" : 27 ,
18
20
"metadata" : {},
19
21
"outputs" : [
20
22
{
129
131
},
130
132
{
131
133
"cell_type" : " code" ,
132
- "execution_count" : 22 ,
134
+ "execution_count" : 28 ,
133
135
"metadata" : {},
134
136
"outputs" : [
135
137
{
209
211
},
210
212
{
211
213
"cell_type" : " code" ,
212
- "execution_count" : 23 ,
214
+ "execution_count" : 29 ,
213
215
"metadata" : {},
214
216
"outputs" : [
215
217
{
286
288
},
287
289
{
288
290
"cell_type" : " code" ,
289
- "execution_count" : 24 ,
291
+ "execution_count" : 30 ,
290
292
"metadata" : {},
291
293
"outputs" : [
292
294
{
358
360
},
359
361
{
360
362
"cell_type" : " code" ,
361
- "execution_count" : 25 ,
363
+ "execution_count" : 31 ,
362
364
"metadata" : {},
363
365
"outputs" : [
364
366
{
429
431
],
430
432
"source" : [
431
433
" from dataclasses import dataclass\n " ,
432
- " from rich.traceback import install\n " ,
433
- " install(show_locals=True)\n " ,
434
- " from rich import console\n " ,
435
434
" \n " ,
436
435
" @dataclass(frozen=True)\n " ,
437
436
" class Coordinate:\n " ,
Original file line number Diff line number Diff line change 8
8
"source" : [
9
9
" from rich import inspect, pretty\n " ,
10
10
" from rich import print\n " ,
11
+ " from rich.traceback import install\n " ,
12
+ " \n " ,
13
+ " install(show_locals=True)\n " ,
11
14
" \n " ,
12
15
" pretty.install()"
13
16
]
228
231
"name" : " python" ,
229
232
"nbconvert_exporter" : " python" ,
230
233
"pygments_lexer" : " ipython3" ,
231
- "version" : " 3.9.12 "
234
+ "version" : " 3.10.6 "
232
235
},
233
236
"vscode" : {
234
237
"interpreter" : {
Original file line number Diff line number Diff line change 15
15
"source" : [
16
16
" from rich import inspect, pretty\n " ,
17
17
" from rich import print\n " ,
18
+ " from rich.traceback import install\n " ,
18
19
" \n " ,
20
+ " install(show_locals=True)\n " ,
19
21
" pretty.install()"
20
22
]
21
23
},
Original file line number Diff line number Diff line change 16
16
},
17
17
{
18
18
"cell_type" : " code" ,
19
- "execution_count" : 4 ,
19
+ "execution_count" : 11 ,
20
20
"metadata" : {},
21
21
"outputs" : [
22
22
{
48
48
],
49
49
"source" : [
50
50
" from rich import print\n " ,
51
+ " from rich.traceback import install\n " ,
52
+ " \n " ,
53
+ " install(show_locals=True)\n " ,
51
54
" \n " ,
52
55
" print('[italic white]italic[/] [red]red[/] [bold underline green]bold underline green[/]' )\n " ,
53
56
" print('Numbers like 1, 2 and 3 are easy to remember.')"
62
65
},
63
66
{
64
67
"cell_type" : " code" ,
65
- "execution_count" : 5 ,
68
+ "execution_count" : 12 ,
66
69
"metadata" : {},
67
70
"outputs" : [
68
71
{
103
106
},
104
107
{
105
108
"cell_type" : " code" ,
106
- "execution_count" : 10 ,
109
+ "execution_count" : 13 ,
107
110
"metadata" : {},
108
111
"outputs" : [
109
112
{
You can’t perform that action at this time.
0 commit comments