|
82 | 82 | }, |
83 | 83 | { |
84 | 84 | "color":"red", |
85 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/code.py\", line63, in runsource\n" |
| 85 | +"text":" File\"my_program.py\", line1\n" |
86 | 86 | }, |
87 | 87 | { |
88 | 88 | "color":"red", |
89 | | -"text":"File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 168, in __call__\n" |
| 89 | +"text":" 3 x 4\n" |
90 | 90 | }, |
91 | 91 | { |
92 | 92 | "color":"red", |
93 | | -"text":"File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 99, in _maybe_compile\n" |
| 93 | +"text":" ^\n" |
94 | 94 | }, |
95 | 95 | { |
96 | 96 | "color":"red", |
97 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 87, in _maybe_compile\n" |
98 | | - }, |
99 | | - { |
100 | | -"color":"red", |
101 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 133, in __call__\n" |
102 | | - }, |
103 | | - { |
104 | | -"color":"red", |
105 | | -"text":" File\"<console>\", line 1\n" |
106 | | - }, |
107 | | - { |
108 | | -"color":"red", |
109 | | -"text":"" |
110 | | - }, |
111 | | - { |
112 | | -"color":"red", |
113 | | -"text":"3 x 4\n" |
114 | | - }, |
115 | | - { |
116 | | -"color":"red", |
117 | | -"text":"" |
118 | | - }, |
119 | | - { |
120 | | -"color":"red", |
121 | | -"text":"" |
122 | | - }, |
123 | | - { |
124 | | -"color":"red", |
125 | | -"text":"" |
126 | | - }, |
127 | | - { |
128 | | -"color":"red", |
129 | | -"text":"^\n" |
130 | | - }, |
131 | | - { |
132 | | -"color":"red", |
133 | | -"text":"SyntaxError" |
134 | | - }, |
135 | | - { |
136 | | -"color":"red", |
137 | | -"text":":" |
138 | | - }, |
139 | | - { |
140 | | -"color":"red", |
141 | | -"text":"invalid syntax" |
142 | | - }, |
143 | | - { |
144 | | -"color":"red", |
145 | | -"text":"\n" |
| 97 | +"text":"SyntaxError: invalid syntax\n" |
146 | 98 | }, |
147 | 99 | { |
148 | 100 | "color":"white", |
|
446 | 398 | }, |
447 | 399 | { |
448 | 400 | "color":"red", |
449 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/code.py\", line 90, in runcode\n" |
450 | | - }, |
451 | | - { |
452 | | -"color":"red", |
453 | | -"text":" File\"<console>\", line 1, in <module>\n" |
454 | | - }, |
455 | | - { |
456 | | -"color":"red", |
457 | | -"text":"NameError" |
458 | | - }, |
459 | | - { |
460 | | -"color":"red", |
461 | | -"text":":" |
| 401 | +"text":" File\"my_program.py\", line 1, in <module>\n" |
462 | 402 | }, |
463 | 403 | { |
464 | 404 | "color":"red", |
465 | | -"text":"name 'sunshine' is not defined" |
| 405 | +"text":"--> 1 |\u001b[38;5;15msunshine\u001b[39m\n" |
466 | 406 | }, |
467 | 407 | { |
468 | 408 | "color":"red", |
469 | | -"text":"\n" |
| 409 | +"text":"NameError: name 'sunshine' is not defined\n" |
470 | 410 | }, |
471 | 411 | { |
472 | 412 | "color":"white", |
|
1024 | 964 | "result": [ |
1025 | 965 | { |
1026 | 966 | "color":"red", |
1027 | | -"text":" File\"my_program.py\", line 2\n print(character)\n ^\nIndentationError: expected an indented block\n" |
| 967 | +"text":"Traceback (most recent call last):\n" |
1028 | 968 | }, |
1029 | 969 | { |
1030 | 970 | "color":"red", |
1031 | | -"text":"\n" |
| 971 | +"text":" File\"my_program.py\", line 2\n" |
| 972 | + }, |
| 973 | + { |
| 974 | +"color":"red", |
| 975 | +"text":" print(character)\n" |
| 976 | + }, |
| 977 | + { |
| 978 | +"color":"red", |
| 979 | +"text":" ^\n" |
| 980 | + }, |
| 981 | + { |
| 982 | +"color":"red", |
| 983 | +"text":"IndentationError: expected an indented block\n" |
1032 | 984 | }, |
1033 | 985 | { |
1034 | 986 | "color":"white", |
|
1248 | 1200 | "result": [ |
1249 | 1201 | { |
1250 | 1202 | "color":"red", |
1251 | | -"text":" File\"my_program.py\", line 3\n print('---')\n ^\nIndentationError: unindent does not match any outer indentation level\n" |
| 1203 | +"text":"Traceback (most recent call last):\n" |
1252 | 1204 | }, |
1253 | 1205 | { |
1254 | 1206 | "color":"red", |
1255 | | -"text":"\n" |
| 1207 | +"text":" File\"my_program.py\", line 3\n" |
| 1208 | + }, |
| 1209 | + { |
| 1210 | +"color":"red", |
| 1211 | +"text":" print('---')\n" |
| 1212 | + }, |
| 1213 | + { |
| 1214 | +"color":"red", |
| 1215 | +"text":" ^\n" |
| 1216 | + }, |
| 1217 | + { |
| 1218 | +"color":"red", |
| 1219 | +"text":"IndentationError: unindent does not match any outer indentation level\n" |
1256 | 1220 | }, |
1257 | 1221 | { |
1258 | 1222 | "color":"white", |
|
1539 | 1503 | "birdseye_url":null, |
1540 | 1504 | "message":"", |
1541 | 1505 | "result": [ |
1542 | | - { |
1543 | | -"color":"white", |
1544 | | -"text":"" |
1545 | | - }, |
1546 | 1506 | { |
1547 | 1507 | "color":"white", |
1548 | 1508 | "text":"\n" |
|
2493 | 2453 | "birdseye_url":null, |
2494 | 2454 | "message":"", |
2495 | 2455 | "result": [ |
2496 | | - { |
2497 | | -"color":"white", |
2498 | | -"text":"" |
2499 | | - }, |
2500 | 2456 | { |
2501 | 2457 | "color":"white", |
2502 | 2458 | "text":"\u001b[38;5;242m\u001b[0m\u001b[38;5;242m 1\u001b[0m | sentence\u001b[38;5;197m=\u001b[39m\u001b[38;5;186m'\u001b[39m\u001b[38;5;186mHello World\u001b[39m\u001b[38;5;186m'\u001b[39m\n" |
|
2697 | 2653 | "color":"white", |
2698 | 2654 | "text":"\n" |
2699 | 2655 | }, |
2700 | | - { |
2701 | | -"color":"white", |
2702 | | -"text":"" |
2703 | | - }, |
2704 | 2656 | { |
2705 | 2657 | "color":"white", |
2706 | 2658 | "text":">>>" |
|
2940 | 2892 | "result": [ |
2941 | 2893 | { |
2942 | 2894 | "color":"red", |
2943 | | -"text":"NameError: name 'char' is not defined\n" |
| 2895 | +"text":"Traceback (most recent call last):\n" |
2944 | 2896 | }, |
2945 | 2897 | { |
2946 | 2898 | "color":"red", |
2947 | | -"text":"\n" |
| 2899 | +"text":" File\"my_program.py\", line 6, in <module>\n" |
| 2900 | + }, |
| 2901 | + { |
| 2902 | +"color":"red", |
| 2903 | +"text":"--> 6 |\u001b[38;5;15msentence\u001b[39m\u001b[38;5;15m\u001b[39m\u001b[38;5;197m+\u001b[39m\u001b[38;5;197m=\u001b[39m\u001b[38;5;15m\u001b[39m\u001b[38;5;15mchar\u001b[39m\n" |
| 2904 | + }, |
| 2905 | + { |
| 2906 | +"color":"red", |
| 2907 | +"text":"NameError: name 'char' is not defined\n" |
2948 | 2908 | }, |
2949 | 2909 | { |
2950 | 2910 | "color":"white", |
|
3287 | 3247 | }, |
3288 | 3248 | { |
3289 | 3249 | "color":"red", |
3290 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/code.py\", line 63, in runsource\n" |
3291 | | - }, |
3292 | | - { |
3293 | | -"color":"red", |
3294 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 168, in __call__\n" |
3295 | | - }, |
3296 | | - { |
3297 | | -"color":"red", |
3298 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 99, in _maybe_compile\n" |
3299 | | - }, |
3300 | | - { |
3301 | | -"color":"red", |
3302 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 87, in _maybe_compile\n" |
3303 | | - }, |
3304 | | - { |
3305 | | -"color":"red", |
3306 | | -"text":" File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/codeop.py\", line 133, in __call__\n" |
3307 | | - }, |
3308 | | - { |
3309 | | -"color":"red", |
3310 | | -"text":" File\"<console>\", line 1\n" |
| 3250 | +"text":" File\"my_program.py\", line 1\n" |
3311 | 3251 | }, |
3312 | 3252 | { |
3313 | 3253 | "color":"red", |
3314 | | -"text":"SyntaxError" |
3315 | | - }, |
3316 | | - { |
3317 | | -"color":"red", |
3318 | | -"text":":" |
3319 | | - }, |
3320 | | - { |
3321 | | -"color":"red", |
3322 | | -"text":"expression cannot contain assignment, perhaps you meant\"==\"?" |
3323 | | - }, |
3324 | | - { |
3325 | | -"color":"red", |
3326 | | -"text":"\n" |
| 3254 | +"text":"SyntaxError: expression cannot contain assignment, perhaps you meant\"==\"?\n" |
3327 | 3255 | }, |
3328 | 3256 | { |
3329 | 3257 | "color":"white", |
|
4204 | 4132 | }, |
4205 | 4133 | { |
4206 | 4134 | "color":"red", |
4207 | | -"text":"File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/code.py\", line90, inruncode\n" |
| 4135 | +"text":" File\"my_program.py\", line1, in<module>\n" |
4208 | 4136 | }, |
4209 | 4137 | { |
4210 | 4138 | "color":"red", |
4211 | | -"text":" File\"<console>\", line 1, in <module>\n" |
| 4139 | +"text":"--> 1 |\u001b[38;5;15mwords\u001b[39m\u001b[38;5;15m[\u001b[39m\u001b[38;5;141m4\u001b[39m\u001b[38;5;15m]\u001b[39m\n" |
4212 | 4140 | }, |
4213 | 4141 | { |
4214 | 4142 | "color":"red", |
4215 | | -"text":"IndexError" |
4216 | | - }, |
4217 | | - { |
4218 | | -"color":"red", |
4219 | | -"text":":" |
4220 | | - }, |
4221 | | - { |
4222 | | -"color":"red", |
4223 | | -"text":"list index out of range" |
4224 | | - }, |
4225 | | - { |
4226 | | -"color":"red", |
4227 | | -"text":"\n" |
| 4143 | +"text":"IndexError: list index out of range\n" |
4228 | 4144 | }, |
4229 | 4145 | { |
4230 | 4146 | "color":"white", |
|
4893 | 4809 | }, |
4894 | 4810 | { |
4895 | 4811 | "color":"red", |
4896 | | -"text":"TypeError: 'str' object is not callable\n" |
| 4812 | +"text":"Traceback (most recent call last):\n" |
4897 | 4813 | }, |
4898 | 4814 | { |
4899 | 4815 | "color":"red", |
4900 | | -"text":"\n" |
| 4816 | +"text":" File\"my_program.py\", line 3, in <module>\n" |
| 4817 | + }, |
| 4818 | + { |
| 4819 | +"color":"red", |
| 4820 | +"text":"--> 3 |\u001b[38;5;15;48;5;24mf\u001b[39;49m\u001b[38;5;15;48;5;24m(\u001b[39;49m\u001b[38;5;15;48;5;24m)\u001b[39;49m\n" |
| 4821 | + }, |
| 4822 | + { |
| 4823 | +"color":"red", |
| 4824 | +"text":"TypeError: 'str' object is not callable\n" |
4901 | 4825 | }, |
4902 | 4826 | { |
4903 | 4827 | "color":"white", |
|
4981 | 4905 | }, |
4982 | 4906 | { |
4983 | 4907 | "color":"red", |
4984 | | -"text":"TypeError: object of type 'NoneType' has no len()\n" |
| 4908 | +"text":"Traceback (most recent call last):\n" |
4985 | 4909 | }, |
4986 | 4910 | { |
4987 | 4911 | "color":"red", |
4988 | | -"text":"\n" |
| 4912 | +"text":" File\"my_program.py\", line 2, in <module>\n" |
| 4913 | + }, |
| 4914 | + { |
| 4915 | +"color":"red", |
| 4916 | +"text":"--> 2 |\u001b[38;5;15mlength\u001b[39m\u001b[38;5;15m\u001b[39m\u001b[38;5;197m=\u001b[39m\u001b[38;5;15m\u001b[39m\u001b[38;5;15;48;5;24mlen\u001b[39;49m\u001b[38;5;15;48;5;24m(\u001b[39;49m\u001b[38;5;15;48;5;24mthings\u001b[39;49m\u001b[38;5;15;48;5;24m)\u001b[39;49m\n" |
| 4917 | + }, |
| 4918 | + { |
| 4919 | +"color":"red", |
| 4920 | +"text":"TypeError: object of type 'NoneType' has no len()\n" |
4989 | 4921 | }, |
4990 | 4922 | { |
4991 | 4923 | "color":"white", |
|
5060 | 4992 | "result": [ |
5061 | 4993 | { |
5062 | 4994 | "color":"red", |
5063 | | -"text":"AttributeError: 'str' object has no attribute 'append'\n" |
| 4995 | +"text":"Traceback (most recent call last):\n" |
5064 | 4996 | }, |
5065 | 4997 | { |
5066 | 4998 | "color":"red", |
5067 | | -"text":"\n" |
| 4999 | +"text":" File\"my_program.py\", line 2, in <module>\n" |
| 5000 | + }, |
| 5001 | + { |
| 5002 | +"color":"red", |
| 5003 | +"text":"--> 2 |\u001b[38;5;15;48;5;24mword\u001b[39;49m\u001b[38;5;197;48;5;24m.\u001b[39;49m\u001b[38;5;15;48;5;24mappend\u001b[39;49m\u001b[38;5;15m(\u001b[39m\u001b[38;5;186m'\u001b[39m\u001b[38;5;186m!\u001b[39m\u001b[38;5;186m'\u001b[39m\u001b[38;5;15m)\u001b[39m\n" |
| 5004 | + }, |
| 5005 | + { |
| 5006 | +"color":"red", |
| 5007 | +"text":"AttributeError: 'str' object has no attribute 'append'\n" |
5068 | 5008 | }, |
5069 | 5009 | { |
5070 | 5010 | "color":"white", |
|
5137 | 5077 | }, |
5138 | 5078 | { |
5139 | 5079 | "color":"red", |
5140 | | -"text":"File\"/Users/alexhall/.pyenv/versions/3.8.0/lib/python3.8/code.py\", line90, inruncode\n" |
| 5080 | +"text":" File\"my_program.py\", line1, in<module>\n" |
5141 | 5081 | }, |
5142 | 5082 | { |
5143 | 5083 | "color":"red", |
5144 | | -"text":" File\"<console>\", line 1, in <module>\n" |
| 5084 | +"text":"--> 1 |\u001b[38;5;15mnums\u001b[39m\u001b[38;5;197m.\u001b[39m\u001b[38;5;15minsert\u001b[39m\u001b[38;5;15m(\u001b[39m\u001b[38;5;141m2\u001b[39m\u001b[38;5;15m,\u001b[39m\u001b[38;5;15m\u001b[39m\u001b[38;5;141m9\u001b[39m\u001b[38;5;15m)\u001b[39m\n" |
5145 | 5085 | }, |
5146 | 5086 | { |
5147 | 5087 | "color":"red", |
5148 | | -"text":"NameError" |
5149 | | - }, |
5150 | | - { |
5151 | | -"color":"red", |
5152 | | -"text":":" |
5153 | | - }, |
5154 | | - { |
5155 | | -"color":"red", |
5156 | | -"text":"name 'nums' is not defined" |
5157 | | - }, |
5158 | | - { |
5159 | | -"color":"red", |
5160 | | -"text":"\n" |
| 5088 | +"text":"NameError: name 'nums' is not defined\n" |
5161 | 5089 | }, |
5162 | 5090 | { |
5163 | 5091 | "color":"white", |
|