[{"data":1,"prerenderedAt":1136},["ShallowReactive",2],{"doc-\u002Ferrors\u002Fsyntaxerror-eol-while-scanning-string-literal-fix":3},{"id":4,"title":5,"body":6,"description":1129,"extension":1130,"meta":1131,"navigation":82,"path":1132,"seo":1133,"stem":1134,"__hash__":1135},"content\u002Ferrors\u002Fsyntaxerror-eol-while-scanning-string-literal-fix.md","SyntaxError: EOL while scanning string literal (Fix)",{"type":7,"value":8,"toc":1105},"minimark",[9,13,17,20,25,113,116,120,133,142,146,149,175,178,242,248,251,255,260,276,279,297,301,316,318,335,339,342,358,361,377,380,396,400,403,428,433,436,454,457,479,483,507,513,516,540,543,561,565,568,590,593,616,619,646,653,657,660,677,680,816,820,823,841,844,859,862,880,887,891,894,931,935,938,958,970,974,978,981,985,988,992,995,998,1016,1018,1040,1044,1047,1049,1072,1076,1101],[10,11,5],"h1",{"id":12},"syntaxerror-eol-while-scanning-string-literal-fix",[14,15,16],"p",{},"This error means Python found the start of a string, but never found the end of it.",[14,18,19],{},"In simple terms, you opened a string with a quote, but the closing quote is missing or incorrect. Because this is a syntax error, your code will not run until you fix it.",[21,22,24],"h2",{"id":23},"quick-fix","Quick fix",[26,27,32],"pre",{"className":28,"code":29,"language":30,"meta":31,"style":31},"language-python shiki shiki-themes material-theme-lighter github-light github-dark","name = \"Alice\"\nprint(name)\n\nmessage = 'Hello world'\nprint(message)\n","python","",[33,34,35,59,77,84,101],"code",{"__ignoreMap":31},[36,37,40,44,48,52,56],"span",{"class":38,"line":39},"line",1,[36,41,43],{"class":42},"su5hD","name ",[36,45,47],{"class":46},"smGrS","=",[36,49,51],{"class":50},"sjJ54"," \"",[36,53,55],{"class":54},"s_sjI","Alice",[36,57,58],{"class":50},"\"\n",[36,60,62,66,70,74],{"class":38,"line":61},2,[36,63,65],{"class":64},"sptTA","print",[36,67,69],{"class":68},"sP7_E","(",[36,71,73],{"class":72},"slqww","name",[36,75,76],{"class":68},")\n",[36,78,80],{"class":38,"line":79},3,[36,81,83],{"emptyLinePlaceholder":82},true,"\n",[36,85,87,90,92,95,98],{"class":38,"line":86},4,[36,88,89],{"class":42},"message ",[36,91,47],{"class":46},[36,93,94],{"class":50}," '",[36,96,97],{"class":54},"Hello world",[36,99,100],{"class":50},"'\n",[36,102,104,106,108,111],{"class":38,"line":103},5,[36,105,65],{"class":64},[36,107,69],{"class":68},[36,109,110],{"class":72},"message",[36,112,76],{"class":68},[14,114,115],{},"This error usually happens when a string starts with a quote but does not end with the matching quote on the same line.",[21,117,119],{"id":118},"what-this-error-means","What this error means",[121,122,123,127,130],"ul",{},[124,125,126],"li",{},"Python reached the end of the line before the string was finished.",[124,128,129],{},"A string started with a quote, but Python could not find the closing quote.",[124,131,132],{},"This is a syntax error, so the code will not run at all until it is fixed.",[14,134,135,136,141],{},"If you are new to strings, see ",[137,138,140],"a",{"href":139},"\u002Flearn\u002Fpython-strings-explained-basics-and-examples\u002F","Python strings explained with basics and examples",".",[21,143,145],{"id":144},"example-that-causes-the-error","Example that causes the error",[14,147,148],{},"Here is a simple example with a missing closing quote:",[26,150,152],{"className":28,"code":151,"language":30,"meta":31,"style":31},"name = \"Alice\nprint(name)\n",[33,153,154,165],{"__ignoreMap":31},[36,155,156,158,160,162],{"class":38,"line":39},[36,157,43],{"class":42},[36,159,47],{"class":46},[36,161,51],{"class":50},[36,163,164],{"class":54},"Alice\n",[36,166,167,169,171,173],{"class":38,"line":61},[36,168,65],{"class":64},[36,170,69],{"class":68},[36,172,73],{"class":72},[36,174,76],{"class":68},[14,176,177],{},"You will usually see an error like this:",[26,179,181],{"className":28,"code":180,"language":30,"meta":31,"style":31},"  File \"test.py\", line 1\n    name = \"Alice\n                 ^\nSyntaxError: EOL while scanning string literal\n",[33,182,183,206,217,222],{"__ignoreMap":31},[36,184,185,188,191,194,196,199,202],{"class":38,"line":39},[36,186,187],{"class":42},"  File ",[36,189,190],{"class":50},"\"",[36,192,193],{"class":54},"test.py",[36,195,190],{"class":50},[36,197,198],{"class":68},",",[36,200,201],{"class":42}," line ",[36,203,205],{"class":204},"srdBf","1\n",[36,207,208,211,213,215],{"class":38,"line":61},[36,209,210],{"class":42},"    name ",[36,212,47],{"class":46},[36,214,51],{"class":50},[36,216,164],{"class":54},[36,218,219],{"class":38,"line":79},[36,220,221],{"class":46},"                 ^\n",[36,223,224,228,231,235,239],{"class":38,"line":86},[36,225,227],{"class":226},"sZMiF","SyntaxError",[36,229,230],{"class":68},":",[36,232,234],{"class":233},"s_hVV"," EOL",[36,236,238],{"class":237},"sVHd0"," while",[36,240,241],{"class":42}," scanning string literal\n",[14,243,244,245,247],{},"Python expected the string to end with another ",[33,246,190],{}," on the same line.",[14,249,250],{},"Sometimes the error points to the next line instead. That happens because Python still thinks the string is open.",[21,252,254],{"id":253},"common-causes","Common causes",[256,257,259],"h3",{"id":258},"missing-closing-single-quote","Missing closing single quote",[26,261,263],{"className":28,"code":262,"language":30,"meta":31,"style":31},"message = 'Hello\n",[33,264,265],{"__ignoreMap":31},[36,266,267,269,271,273],{"class":38,"line":39},[36,268,89],{"class":42},[36,270,47],{"class":46},[36,272,94],{"class":50},[36,274,275],{"class":54},"Hello\n",[14,277,278],{},"Fix:",[26,280,282],{"className":28,"code":281,"language":30,"meta":31,"style":31},"message = 'Hello'\n",[33,283,284],{"__ignoreMap":31},[36,285,286,288,290,292,295],{"class":38,"line":39},[36,287,89],{"class":42},[36,289,47],{"class":46},[36,291,94],{"class":50},[36,293,294],{"class":54},"Hello",[36,296,100],{"class":50},[256,298,300],{"id":299},"missing-closing-double-quote","Missing closing double quote",[26,302,304],{"className":28,"code":303,"language":30,"meta":31,"style":31},"message = \"Hello\n",[33,305,306],{"__ignoreMap":31},[36,307,308,310,312,314],{"class":38,"line":39},[36,309,89],{"class":42},[36,311,47],{"class":46},[36,313,51],{"class":50},[36,315,275],{"class":54},[14,317,278],{},[26,319,321],{"className":28,"code":320,"language":30,"meta":31,"style":31},"message = \"Hello\"\n",[33,322,323],{"__ignoreMap":31},[36,324,325,327,329,331,333],{"class":38,"line":39},[36,326,89],{"class":42},[36,328,47],{"class":46},[36,330,51],{"class":50},[36,332,294],{"class":54},[36,334,58],{"class":50},[256,336,338],{"id":337},"opening-and-closing-quotes-do-not-match","Opening and closing quotes do not match",[14,340,341],{},"This starts with a single quote and ends with a double quote:",[26,343,345],{"className":28,"code":344,"language":30,"meta":31,"style":31},"message = 'Hello\"\n",[33,346,347],{"__ignoreMap":31},[36,348,349,351,353,355],{"class":38,"line":39},[36,350,89],{"class":42},[36,352,47],{"class":46},[36,354,94],{"class":50},[36,356,357],{"class":54},"Hello\"\n",[14,359,360],{},"Fix it by using matching quotes:",[26,362,363],{"className":28,"code":281,"language":30,"meta":31,"style":31},[33,364,365],{"__ignoreMap":31},[36,366,367,369,371,373,375],{"class":38,"line":39},[36,368,89],{"class":42},[36,370,47],{"class":46},[36,372,94],{"class":50},[36,374,294],{"class":54},[36,376,100],{"class":50},[14,378,379],{},"or:",[26,381,382],{"className":28,"code":320,"language":30,"meta":31,"style":31},[33,383,384],{"__ignoreMap":31},[36,385,386,388,390,392,394],{"class":38,"line":39},[36,387,89],{"class":42},[36,389,47],{"class":46},[36,391,51],{"class":50},[36,393,294],{"class":54},[36,395,58],{"class":50},[256,397,399],{"id":398},"apostrophe-inside-a-single-quoted-string","Apostrophe inside a single-quoted string",[14,401,402],{},"This is a very common beginner mistake:",[26,404,406],{"className":28,"code":405,"language":30,"meta":31,"style":31},"text = 'don't do that'\n",[33,407,408],{"__ignoreMap":31},[36,409,410,413,415,417,420,423,426],{"class":38,"line":39},[36,411,412],{"class":42},"text ",[36,414,47],{"class":46},[36,416,94],{"class":50},[36,418,419],{"class":54},"don",[36,421,422],{"class":50},"'",[36,424,425],{"class":42},"t do that",[36,427,100],{"class":50},[14,429,430,431,141],{},"Python thinks the string ends after ",[33,432,419],{},[14,434,435],{},"Fix it by using double quotes:",[26,437,439],{"className":28,"code":438,"language":30,"meta":31,"style":31},"text = \"don't do that\"\n",[33,440,441],{"__ignoreMap":31},[36,442,443,445,447,449,452],{"class":38,"line":39},[36,444,412],{"class":42},[36,446,47],{"class":46},[36,448,51],{"class":50},[36,450,451],{"class":54},"don't do that",[36,453,58],{"class":50},[14,455,456],{},"You can also escape the apostrophe:",[26,458,460],{"className":28,"code":459,"language":30,"meta":31,"style":31},"text = 'don\\'t do that'\n",[33,461,462],{"__ignoreMap":31},[36,463,464,466,468,470,472,475,477],{"class":38,"line":39},[36,465,412],{"class":42},[36,467,47],{"class":46},[36,469,94],{"class":50},[36,471,419],{"class":54},[36,473,474],{"class":233},"\\'",[36,476,425],{"class":54},[36,478,100],{"class":50},[256,480,482],{"id":481},"quote-inside-the-string-is-not-escaped","Quote inside the string is not escaped",[26,484,486],{"className":28,"code":485,"language":30,"meta":31,"style":31},"text = \"She said \"hello\"\"\n",[33,487,488],{"__ignoreMap":31},[36,489,490,492,494,496,499,501,504],{"class":38,"line":39},[36,491,412],{"class":42},[36,493,47],{"class":46},[36,495,51],{"class":50},[36,497,498],{"class":54},"She said ",[36,500,190],{"class":50},[36,502,503],{"class":42},"hello",[36,505,506],{"class":50},"\"\"\n",[14,508,509,510,512],{},"Python sees the second ",[33,511,190],{}," as the end of the string.",[14,514,515],{},"Fix it by escaping the inner quotes:",[26,517,519],{"className":28,"code":518,"language":30,"meta":31,"style":31},"text = \"She said \\\"hello\\\"\"\n",[33,520,521],{"__ignoreMap":31},[36,522,523,525,527,529,531,534,536,538],{"class":38,"line":39},[36,524,412],{"class":42},[36,526,47],{"class":46},[36,528,51],{"class":50},[36,530,498],{"class":54},[36,532,533],{"class":233},"\\\"",[36,535,503],{"class":54},[36,537,533],{"class":233},[36,539,58],{"class":50},[14,541,542],{},"Or use single quotes around the whole string:",[26,544,546],{"className":28,"code":545,"language":30,"meta":31,"style":31},"text = 'She said \"hello\"'\n",[33,547,548],{"__ignoreMap":31},[36,549,550,552,554,556,559],{"class":38,"line":39},[36,551,412],{"class":42},[36,553,47],{"class":46},[36,555,94],{"class":50},[36,557,558],{"class":54},"She said \"hello\"",[36,560,100],{"class":50},[256,562,564],{"id":563},"breaking-a-normal-string-across-lines","Breaking a normal string across lines",[14,566,567],{},"This does not work:",[26,569,571],{"className":28,"code":570,"language":30,"meta":31,"style":31},"text = \"Hello\nworld\"\n",[33,572,573,583],{"__ignoreMap":31},[36,574,575,577,579,581],{"class":38,"line":39},[36,576,412],{"class":42},[36,578,47],{"class":46},[36,580,51],{"class":50},[36,582,275],{"class":54},[36,584,585,588],{"class":38,"line":61},[36,586,587],{"class":42},"world",[36,589,58],{"class":50},[14,591,592],{},"Use triple quotes for a multi-line string:",[26,594,596],{"className":28,"code":595,"language":30,"meta":31,"style":31},"text = \"\"\"Hello\nworld\"\"\"\n",[33,597,598,609],{"__ignoreMap":31},[36,599,600,602,604,607],{"class":38,"line":39},[36,601,412],{"class":42},[36,603,47],{"class":46},[36,605,606],{"class":50}," \"\"\"",[36,608,275],{"class":54},[36,610,611,613],{"class":38,"line":61},[36,612,587],{"class":54},[36,614,615],{"class":50},"\"\"\"\n",[14,617,618],{},"Or join separate strings correctly:",[26,620,622],{"className":28,"code":621,"language":30,"meta":31,"style":31},"text = \"Hello \" + \"world\"\n",[33,623,624],{"__ignoreMap":31},[36,625,626,628,630,632,635,637,640,642,644],{"class":38,"line":39},[36,627,412],{"class":42},[36,629,47],{"class":46},[36,631,51],{"class":50},[36,633,634],{"class":54},"Hello ",[36,636,190],{"class":50},[36,638,639],{"class":46}," +",[36,641,51],{"class":50},[36,643,587],{"class":54},[36,645,58],{"class":50},[14,647,648,649,141],{},"If you want to build strings in different ways, see ",[137,650,652],{"href":651},"\u002Fhow-to\u002Fhow-to-format-strings-in-python\u002F","how to format strings in Python",[21,654,656],{"id":655},"how-to-fix-it","How to fix it",[14,658,659],{},"Use these checks:",[121,661,662,665,668,671,674],{},[124,663,664],{},"Add the missing closing quote.",[124,666,667],{},"Make sure the opening and closing quotes match.",[124,669,670],{},"Use double quotes if the text contains an apostrophe.",[124,672,673],{},"Escape inner quotes with a backslash when needed.",[124,675,676],{},"Use triple quotes for multi-line strings.",[14,678,679],{},"Here are a few corrected examples:",[26,681,683],{"className":28,"code":682,"language":30,"meta":31,"style":31},"# Missing closing quote fixed\nname = \"Alice\"\n\n# Matching quotes\ncolor = 'blue'\n\n# Apostrophe handled correctly\nanswer = \"I don't know\"\n\n# Inner quotes escaped\nquote = \"He said \\\"Python is fun\\\"\"\n\n# Multi-line string\nmessage = \"\"\"Line one\nLine two\"\"\"\n",[33,684,685,691,703,707,712,726,731,737,752,757,763,785,790,796,808],{"__ignoreMap":31},[36,686,687],{"class":38,"line":39},[36,688,690],{"class":689},"sutJx","# Missing closing quote fixed\n",[36,692,693,695,697,699,701],{"class":38,"line":61},[36,694,43],{"class":42},[36,696,47],{"class":46},[36,698,51],{"class":50},[36,700,55],{"class":54},[36,702,58],{"class":50},[36,704,705],{"class":38,"line":79},[36,706,83],{"emptyLinePlaceholder":82},[36,708,709],{"class":38,"line":86},[36,710,711],{"class":689},"# Matching quotes\n",[36,713,714,717,719,721,724],{"class":38,"line":103},[36,715,716],{"class":42},"color ",[36,718,47],{"class":46},[36,720,94],{"class":50},[36,722,723],{"class":54},"blue",[36,725,100],{"class":50},[36,727,729],{"class":38,"line":728},6,[36,730,83],{"emptyLinePlaceholder":82},[36,732,734],{"class":38,"line":733},7,[36,735,736],{"class":689},"# Apostrophe handled correctly\n",[36,738,740,743,745,747,750],{"class":38,"line":739},8,[36,741,742],{"class":42},"answer ",[36,744,47],{"class":46},[36,746,51],{"class":50},[36,748,749],{"class":54},"I don't know",[36,751,58],{"class":50},[36,753,755],{"class":38,"line":754},9,[36,756,83],{"emptyLinePlaceholder":82},[36,758,760],{"class":38,"line":759},10,[36,761,762],{"class":689},"# Inner quotes escaped\n",[36,764,766,769,771,773,776,778,781,783],{"class":38,"line":765},11,[36,767,768],{"class":42},"quote ",[36,770,47],{"class":46},[36,772,51],{"class":50},[36,774,775],{"class":54},"He said ",[36,777,533],{"class":233},[36,779,780],{"class":54},"Python is fun",[36,782,533],{"class":233},[36,784,58],{"class":50},[36,786,788],{"class":38,"line":787},12,[36,789,83],{"emptyLinePlaceholder":82},[36,791,793],{"class":38,"line":792},13,[36,794,795],{"class":689},"# Multi-line string\n",[36,797,799,801,803,805],{"class":38,"line":798},14,[36,800,89],{"class":42},[36,802,47],{"class":46},[36,804,606],{"class":50},[36,806,807],{"class":54},"Line one\n",[36,809,811,814],{"class":38,"line":810},15,[36,812,813],{"class":54},"Line two",[36,815,615],{"class":50},[21,817,819],{"id":818},"debugging-steps","Debugging steps",[14,821,822],{},"When you see this error, go through these steps:",[824,825,826,829,832,835,838],"ol",{},[124,827,828],{},"Look at the line named in the error message first.",[124,830,831],{},"Check the line before it too, because the real problem may start earlier.",[124,833,834],{},"Count opening and closing quotes.",[124,836,837],{},"Check whether a quote inside the text ends the string by accident.",[124,839,840],{},"If the string spans lines, replace it with triple quotes or join lines correctly.",[14,842,843],{},"You can also run your file directly:",[26,845,849],{"className":846,"code":847,"language":848,"meta":31,"style":31},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","python your_script.py\n","bash",[33,850,851],{"__ignoreMap":31},[36,852,853,856],{"class":38,"line":39},[36,854,30],{"class":855},"sbgvK",[36,857,858],{"class":54}," your_script.py\n",[14,860,861],{},"Or check it without running the program:",[26,863,865],{"className":846,"code":864,"language":848,"meta":31,"style":31},"python -m py_compile your_script.py\n",[33,866,867],{"__ignoreMap":31},[36,868,869,871,875,878],{"class":38,"line":39},[36,870,30],{"class":855},[36,872,874],{"class":873},"stzsN"," -m",[36,876,877],{"class":54}," py_compile",[36,879,858],{"class":54},[14,881,882,883,141],{},"If Python reports a broader syntax problem, compare it with ",[137,884,886],{"href":885},"\u002Ferrors\u002Fsyntaxerror-invalid-syntax-fix\u002F","SyntaxError: invalid syntax",[21,888,890],{"id":889},"related-errors-to-compare","Related errors to compare",[14,892,893],{},"Some syntax errors look similar but mean different things:",[121,895,896,901,924],{},[124,897,898,900],{},[137,899,886],{"href":885}," is a general syntax error.",[124,902,903,906,907,910,911,910,914,910,917,920,921,141],{},[33,904,905],{},"SyntaxError: missing colon"," happens when punctuation is missing after ",[33,908,909],{},"if",", ",[33,912,913],{},"for",[33,915,916],{},"while",[33,918,919],{},"def",", or ",[33,922,923],{},"class",[124,925,926,930],{},[137,927,929],{"href":928},"\u002Ferrors\u002Fsyntaxerror-unexpected-eof-while-parsing-fix\u002F","SyntaxError: unexpected EOF while parsing"," happens when Python reaches the end of the file with unfinished code.",[21,932,934],{"id":933},"common-mistakes","Common mistakes",[14,936,937],{},"These are the most common reasons this error appears:",[121,939,940,943,946,952,955],{},[124,941,942],{},"A missing closing quote at the end of a string",[124,944,945],{},"Mixed quote types, such as opening with a single quote and closing with a double quote",[124,947,948,949],{},"An apostrophe inside a single-quoted string like ",[33,950,951],{},"'don't'",[124,953,954],{},"A double quote inside a double-quoted string without escaping it",[124,956,957],{},"Trying to write a multi-line string with normal quotes",[14,959,960,961,969],{},"Understanding how string quotes work will help you avoid this error again. You can also review the ",[137,962,964,965,968],{"href":963},"\u002Freference\u002Fpython-str-function-explained\u002F","Python ",[33,966,967],{},"str()"," function explained"," if you want to understand strings better.",[21,971,973],{"id":972},"faq","FAQ",[256,975,977],{"id":976},"what-does-eol-mean-in-this-error","What does EOL mean in this error?",[14,979,980],{},"EOL means end of line. Python reached the end of the line before the string was closed.",[256,982,984],{"id":983},"why-does-the-error-sometimes-point-to-the-next-line","Why does the error sometimes point to the next line?",[14,986,987],{},"If Python thinks a string is still open, it may continue reading until the next line before reporting the error.",[256,989,991],{"id":990},"how-do-i-include-an-apostrophe-inside-a-string","How do I include an apostrophe inside a string?",[14,993,994],{},"Use double quotes around the string, or escape the apostrophe with a backslash.",[14,996,997],{},"Example:",[26,999,1001],{"className":28,"code":1000,"language":30,"meta":31,"style":31},"text = \"don't\"\n",[33,1002,1003],{"__ignoreMap":31},[36,1004,1005,1007,1009,1011,1014],{"class":38,"line":39},[36,1006,412],{"class":42},[36,1008,47],{"class":46},[36,1010,51],{"class":50},[36,1012,1013],{"class":54},"don't",[36,1015,58],{"class":50},[14,1017,379],{},[26,1019,1021],{"className":28,"code":1020,"language":30,"meta":31,"style":31},"text = 'don\\'t'\n",[33,1022,1023],{"__ignoreMap":31},[36,1024,1025,1027,1029,1031,1033,1035,1038],{"class":38,"line":39},[36,1026,412],{"class":42},[36,1028,47],{"class":46},[36,1030,94],{"class":50},[36,1032,419],{"class":54},[36,1034,474],{"class":233},[36,1036,1037],{"class":54},"t",[36,1039,100],{"class":50},[256,1041,1043],{"id":1042},"can-i-split-a-string-across-multiple-lines","Can I split a string across multiple lines?",[14,1045,1046],{},"Yes. Use triple quotes for a multi-line string, or combine separate strings correctly.",[14,1048,997],{},[26,1050,1052],{"className":28,"code":1051,"language":30,"meta":31,"style":31},"text = \"\"\"first line\nsecond line\"\"\"\n",[33,1053,1054,1065],{"__ignoreMap":31},[36,1055,1056,1058,1060,1062],{"class":38,"line":39},[36,1057,412],{"class":42},[36,1059,47],{"class":46},[36,1061,606],{"class":50},[36,1063,1064],{"class":54},"first line\n",[36,1066,1067,1070],{"class":38,"line":61},[36,1068,1069],{"class":54},"second line",[36,1071,615],{"class":50},[21,1073,1075],{"id":1074},"see-also","See also",[121,1077,1078,1082,1086,1090,1095],{},[124,1079,1080],{},[137,1081,140],{"href":139},[124,1083,1084],{},[137,1085,886],{"href":885},[124,1087,1088],{},[137,1089,929],{"href":928},[124,1091,1092],{},[137,1093,1094],{"href":651},"How to format strings in Python",[124,1096,1097],{},[137,1098,964,1099,968],{"href":963},[33,1100,967],{},[1102,1103,1104],"style",{},"html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sptTA, html code.shiki .sptTA{--shiki-light:#6182B8;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .slqww, html code.shiki .slqww{--shiki-light:#6182B8;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .srdBf, html code.shiki .srdBf{--shiki-light:#F76D47;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZMiF, html code.shiki .sZMiF{--shiki-light:#E2931D;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .s_hVV, html code.shiki .s_hVV{--shiki-light:#90A4AE;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sVHd0, html code.shiki .sVHd0{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit}html pre.shiki code .sutJx, html code.shiki .sutJx{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#6A737D;--shiki-dark-font-style:inherit}html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .stzsN, html code.shiki .stzsN{--shiki-light:#91B859;--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":31,"searchDepth":61,"depth":61,"links":1106},[1107,1108,1109,1110,1118,1119,1120,1121,1122,1128],{"id":23,"depth":61,"text":24},{"id":118,"depth":61,"text":119},{"id":144,"depth":61,"text":145},{"id":253,"depth":61,"text":254,"children":1111},[1112,1113,1114,1115,1116,1117],{"id":258,"depth":79,"text":259},{"id":299,"depth":79,"text":300},{"id":337,"depth":79,"text":338},{"id":398,"depth":79,"text":399},{"id":481,"depth":79,"text":482},{"id":563,"depth":79,"text":564},{"id":655,"depth":61,"text":656},{"id":818,"depth":61,"text":819},{"id":889,"depth":61,"text":890},{"id":933,"depth":61,"text":934},{"id":972,"depth":61,"text":973,"children":1123},[1124,1125,1126,1127],{"id":976,"depth":79,"text":977},{"id":983,"depth":79,"text":984},{"id":990,"depth":79,"text":991},{"id":1042,"depth":79,"text":1043},{"id":1074,"depth":61,"text":1075},"Master syntaxerror eol while scanning string literal fix in our comprehensive Python beginner guide.","md",{},"\u002Ferrors\u002Fsyntaxerror-eol-while-scanning-string-literal-fix",{"title":5,"description":1129},"errors\u002Fsyntaxerror-eol-while-scanning-string-literal-fix","px5dUnsnpigWpcaD8cPzjCoi1pv5QRqkcULfOze-7tk",1777585480881]