[{"data":1,"prerenderedAt":3046},["ShallowReactive",2],{"tutorials-python-how-to":3,"category-items-python-how-to":600,"content-/python-how-to/unicode-special-chars":601},[4,22,31,40,49,58,67,76,86,94,103,112,121,130,139,148,158,167,176,185,194,203,212,222,231,240,249,258,267,276,285,297,306,315,324,333,342,351,362,371,380,389,398,407,418,427,436,445,454,463,472,483,492,501,510,519,528,539,548,557,566,575,584,593],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"slug":11,"order":12,"isParent":13,"icon":14,"_type":15,"_id":16,"_source":17,"_file":18,"_stem":19,"_extension":20,"children":21,"expanded":13},"/python-how-to/string-manipulation","python-how-to",false,"","String Manipulation","Learn essential string manipulation techniques in Python","string-manipulation",1,true,"pi pi-folder","markdown","content:python-how-to:1.string-manipulation.md","content","python-how-to/1.string-manipulation.md","python-how-to/1.string-manipulation","md",[22,31,40,49,58,67],{"_path":23,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":24,"description":25,"slug":26,"parentId":5,"order":27,"_type":15,"_id":28,"_source":17,"_file":29,"_stem":30,"_extension":20},"/python-how-to/split-join-strings","Split and Join Strings","Learn how to split strings into lists and join lists back into strings in Python","split-join-strings",2,"content:python-how-to:2.split-join-strings.md","python-how-to/2.split-join-strings.md","python-how-to/2.split-join-strings",{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},"/python-how-to/remove-whitespace","Remove Whitespace","Learn how to clean up and remove unwanted whitespace from strings in Python","remove-whitespace",3,"content:python-how-to:3.remove-whitespace.md","python-how-to/3.remove-whitespace.md","python-how-to/3.remove-whitespace",{"_path":41,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":42,"description":43,"slug":44,"parentId":5,"order":45,"_type":15,"_id":46,"_source":17,"_file":47,"_stem":48,"_extension":20},"/python-how-to/find-replace-text","Find and Replace Text","Learn how to search for and replace text within strings in Python","find-replace-text",4,"content:python-how-to:4.find-replace-text.md","python-how-to/4.find-replace-text.md","python-how-to/4.find-replace-text",{"_path":50,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":51,"description":52,"slug":53,"parentId":5,"order":54,"_type":15,"_id":55,"_source":17,"_file":56,"_stem":57,"_extension":20},"/python-how-to/check-string-content","Check String Content","Learn how to validate and check the content of strings in Python","check-string-content",5,"content:python-how-to:5.check-string-content.md","python-how-to/5.check-string-content.md","python-how-to/5.check-string-content",{"_path":59,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":60,"description":61,"slug":62,"parentId":5,"order":63,"_type":15,"_id":64,"_source":17,"_file":65,"_stem":66,"_extension":20},"/python-how-to/format-strings","Format Strings","Learn how to format strings in Python using f-strings and format() method","format-strings",6,"content:python-how-to:6.format-strings.md","python-how-to/6.format-strings.md","python-how-to/6.format-strings",{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},"/python-how-to/unicode-special-chars","Handle Unicode and Special Characters","Learn how to work with Unicode and special characters in Python strings","unicode-special-chars",7,"content:python-how-to:7.unicode-special-chars.md","python-how-to/7.unicode-special-chars.md","python-how-to/7.unicode-special-chars",{"_path":77,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":78,"description":79,"slug":80,"order":81,"isParent":13,"icon":14,"_type":15,"_id":82,"_source":17,"_file":83,"_stem":84,"_extension":20,"children":85,"expanded":13},"/python-how-to/list-operations","List Operations","Learn essential operations for working with lists in Python","list-operations",8,"content:python-how-to:8.list-operations.md","python-how-to/8.list-operations.md","python-how-to/8.list-operations",[86,94,103,112,121,130,139],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":81,"_type":15,"_id":91,"_source":17,"_file":92,"_stem":93,"_extension":20},"/python-how-to/sort-lists","Sort Lists","Learn how to sort lists in Python using different methods and custom sorting","sort-lists","content:python-how-to:9.sort-lists.md","python-how-to/9.sort-lists.md","python-how-to/9.sort-lists",{"_path":95,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":96,"description":97,"slug":98,"parentId":77,"order":99,"_type":15,"_id":100,"_source":17,"_file":101,"_stem":102,"_extension":20},"/python-how-to/remove-duplicates","Remove Duplicates","Learn how to remove duplicate elements from lists in Python","remove-duplicates",10,"content:python-how-to:10.remove-duplicates.md","python-how-to/10.remove-duplicates.md","python-how-to/10.remove-duplicates",{"_path":104,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":105,"description":106,"slug":107,"parentId":77,"order":108,"_type":15,"_id":109,"_source":17,"_file":110,"_stem":111,"_extension":20},"/python-how-to/filter-lists","Filter Lists","Learn how to filter lists in Python using different methods","filter-lists",11,"content:python-how-to:11.filter-lists.md","python-how-to/11.filter-lists.md","python-how-to/11.filter-lists",{"_path":113,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":114,"description":115,"slug":116,"parentId":77,"order":117,"_type":15,"_id":118,"_source":17,"_file":119,"_stem":120,"_extension":20},"/python-how-to/combine-lists","Combine Lists","Learn different methods to combine lists in Python","combine-lists",12,"content:python-how-to:12.combine-lists.md","python-how-to/12.combine-lists.md","python-how-to/12.combine-lists",{"_path":122,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":123,"description":124,"slug":125,"parentId":77,"order":126,"_type":15,"_id":127,"_source":17,"_file":128,"_stem":129,"_extension":20},"/python-how-to/list-comprehensions","Use List Comprehensions","Learn how to create and transform lists efficiently using Python's list comprehension syntax","list-comprehensions",13,"content:python-how-to:13.list-comprehensions.md","python-how-to/13.list-comprehensions.md","python-how-to/13.list-comprehensions",{"_path":131,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":132,"description":133,"slug":134,"parentId":77,"order":135,"_type":15,"_id":136,"_source":17,"_file":137,"_stem":138,"_extension":20},"/python-how-to/nested-lists","Work with Nested Lists","Learn how to work with nested lists (2D arrays) in Python","nested-lists",14,"content:python-how-to:14.nested-lists.md","python-how-to/14.nested-lists.md","python-how-to/14.nested-lists",{"_path":140,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":141,"description":142,"slug":143,"parentId":77,"order":144,"_type":15,"_id":145,"_source":17,"_file":146,"_stem":147,"_extension":20},"/python-how-to/enumerate-zip","Use enumerate() and zip()","Learn how to use enumerate() and zip() for efficient iteration in Python","enumerate-zip",15,"content:python-how-to:15.enumerate-zip.md","python-how-to/15.enumerate-zip.md","python-how-to/15.enumerate-zip",{"_path":149,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":150,"description":151,"slug":152,"order":153,"isParent":13,"icon":14,"_type":15,"_id":154,"_source":17,"_file":155,"_stem":156,"_extension":20,"children":157,"expanded":13},"/python-how-to/dictionary-operations","Dictionary Operations","Learn essential operations for working with dictionaries in Python","dictionary-operations",16,"content:python-how-to:16.dictionary-operations.md","python-how-to/16.dictionary-operations.md","python-how-to/16.dictionary-operations",[158,167,176,185,194,203],{"_path":159,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":160,"description":161,"slug":162,"parentId":149,"order":163,"_type":15,"_id":164,"_source":17,"_file":165,"_stem":166,"_extension":20},"/python-how-to/merge-dictionaries","Merge Dictionaries","Learn different methods to merge dictionaries in Python","merge-dictionaries",17,"content:python-how-to:17.merge-dictionaries.md","python-how-to/17.merge-dictionaries.md","python-how-to/17.merge-dictionaries",{"_path":168,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":169,"description":170,"slug":171,"parentId":149,"order":172,"_type":15,"_id":173,"_source":17,"_file":174,"_stem":175,"_extension":20},"/python-how-to/sort-dictionaries","Sort Dictionaries","Learn how to sort dictionaries by keys or values in Python","sort-dictionaries",18,"content:python-how-to:18.sort-dictionaries.md","python-how-to/18.sort-dictionaries.md","python-how-to/18.sort-dictionaries",{"_path":177,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":178,"description":179,"slug":180,"parentId":149,"order":181,"_type":15,"_id":182,"_source":17,"_file":183,"_stem":184,"_extension":20},"/python-how-to/filter-dictionaries","Filter Dictionaries","Learn how to filter dictionaries based on keys or values in Python","filter-dictionaries",19,"content:python-how-to:19.filter-dictionaries.md","python-how-to/19.filter-dictionaries.md","python-how-to/19.filter-dictionaries",{"_path":186,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":187,"description":188,"slug":189,"parentId":149,"order":190,"_type":15,"_id":191,"_source":17,"_file":192,"_stem":193,"_extension":20},"/python-how-to/handle-missing-keys","Handle Missing Keys","Learn safe ways to access dictionary keys and handle missing values","handle-missing-keys",20,"content:python-how-to:20.handle-missing-keys.md","python-how-to/20.handle-missing-keys.md","python-how-to/20.handle-missing-keys",{"_path":195,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":196,"description":197,"slug":198,"parentId":149,"order":199,"_type":15,"_id":200,"_source":17,"_file":201,"_stem":202,"_extension":20},"/python-how-to/dictionary-comprehensions","Use Dictionary Comprehensions","Learn how to create dictionaries efficiently using comprehensions","dictionary-comprehensions",21,"content:python-how-to:21.dictionary-comprehensions.md","python-how-to/21.dictionary-comprehensions.md","python-how-to/21.dictionary-comprehensions",{"_path":204,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":205,"description":206,"slug":207,"parentId":149,"order":208,"_type":15,"_id":209,"_source":17,"_file":210,"_stem":211,"_extension":20},"/python-how-to/convert-lists-dictionaries","Convert Between Lists and Dictionaries","Learn how to transform data between lists and dictionaries in Python","convert-lists-dictionaries",22,"content:python-how-to:22.convert-lists-dictionaries.md","python-how-to/22.convert-lists-dictionaries.md","python-how-to/22.convert-lists-dictionaries",{"_path":213,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":214,"description":215,"slug":216,"order":217,"isParent":13,"icon":14,"_type":15,"_id":218,"_source":17,"_file":219,"_stem":220,"_extension":20,"children":221,"expanded":13},"/python-how-to/file-operations","File Operations","Learn essential file operations in Python for reading, writing, and managing files","file-operations",23,"content:python-how-to:23.file-operations.md","python-how-to/23.file-operations.md","python-how-to/23.file-operations",[222,231,240,249,258,267,276],{"_path":223,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":224,"description":225,"slug":226,"parentId":213,"order":227,"_type":15,"_id":228,"_source":17,"_file":229,"_stem":230,"_extension":20},"/python-how-to/read-text-files","Read Text Files","Learn how to read text files in Python using different methods","read-text-files",24,"content:python-how-to:24.read-text-files.md","python-how-to/24.read-text-files.md","python-how-to/24.read-text-files",{"_path":232,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":233,"description":234,"slug":235,"parentId":213,"order":236,"_type":15,"_id":237,"_source":17,"_file":238,"_stem":239,"_extension":20},"/python-how-to/write-to-files","Write to Files","Learn how to write and create files in Python using different methods","write-to-files",25,"content:python-how-to:25.write-to-files.md","python-how-to/25.write-to-files.md","python-how-to/25.write-to-files",{"_path":241,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":242,"description":243,"slug":244,"parentId":213,"order":245,"_type":15,"_id":246,"_source":17,"_file":247,"_stem":248,"_extension":20},"/python-how-to/work-csv-files","Work with CSV Files","Learn how to read and write CSV files in Python using the csv module","work-csv-files",26,"content:python-how-to:26.work-csv-files.md","python-how-to/26.work-csv-files.md","python-how-to/26.work-csv-files",{"_path":250,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":251,"description":252,"slug":253,"parentId":213,"order":254,"_type":15,"_id":255,"_source":17,"_file":256,"_stem":257,"_extension":20},"/python-how-to/handle-file-paths","Handle File Paths","Learn how to work with file and directory paths in Python using pathlib and os modules","handle-file-paths",27,"content:python-how-to:27.handle-file-paths.md","python-how-to/27.handle-file-paths.md","python-how-to/27.handle-file-paths",{"_path":259,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":260,"description":261,"slug":262,"parentId":213,"order":263,"_type":15,"_id":264,"_source":17,"_file":265,"_stem":266,"_extension":20},"/python-how-to/work-json-files","Work with JSON Files","Learn how to read and write JSON files in Python using the json module","work-json-files",28,"content:python-how-to:28.work-json-files.md","python-how-to/28.work-json-files.md","python-how-to/28.work-json-files",{"_path":268,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":269,"description":270,"slug":271,"parentId":213,"order":272,"_type":15,"_id":273,"_source":17,"_file":274,"_stem":275,"_extension":20},"/python-how-to/handle-binary-files","Handle Binary Files","Learn how to work with binary files in Python for images, data, and other non-text content","handle-binary-files",29,"content:python-how-to:29.handle-binary-files.md","python-how-to/29.handle-binary-files.md","python-how-to/29.handle-binary-files",{"_path":277,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":278,"description":279,"slug":280,"parentId":213,"order":281,"_type":15,"_id":282,"_source":17,"_file":283,"_stem":284,"_extension":20},"/python-how-to/use-context-managers","Use Context Managers","Learn how to use context managers for safe resource handling in Python","use-context-managers",30,"content:python-how-to:30.use-context-managers.md","python-how-to/30.use-context-managers.md","python-how-to/30.use-context-managers",{"_path":286,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":287,"description":288,"slug":289,"parentId":290,"order":291,"isParent":13,"icon":292,"_type":15,"_id":293,"_source":17,"_file":294,"_stem":295,"_extension":20,"children":296,"expanded":13},"/python-how-to/date-and-time","Date and Time","Master Python's date and time handling with datetime, time zones, formatting, and calculations","date-and-time","/python-how-to",31,"pi pi-calendar","content:python-how-to:31.date-and-time.md","python-how-to/31.date-and-time.md","python-how-to/31.date-and-time",[297,306,315,324,333,342],{"_path":298,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":299,"description":300,"slug":301,"parentId":286,"order":302,"_type":15,"_id":303,"_source":17,"_file":304,"_stem":305,"_extension":20},"/python-how-to/get-current-datetime","Get Current Date/Time","Learn how to get current date, time, and timestamps using Python's datetime module","get-current-datetime",32,"content:python-how-to:32.get-current-datetime.md","python-how-to/32.get-current-datetime.md","python-how-to/32.get-current-datetime",{"_path":307,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":308,"description":309,"slug":310,"parentId":286,"order":311,"_type":15,"_id":312,"_source":17,"_file":313,"_stem":314,"_extension":20},"/python-how-to/format-dates","Format Dates","Master date formatting with strftime, custom formats, and locale-aware formatting for user-friendly displays","format-dates",33,"content:python-how-to:33.format-dates.md","python-how-to/33.format-dates.md","python-how-to/33.format-dates",{"_path":316,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":317,"description":318,"slug":319,"parentId":286,"order":320,"_type":15,"_id":321,"_source":17,"_file":322,"_stem":323,"_extension":20},"/python-how-to/calculate-date-differences","Calculate Date Differences","Learn to calculate time differences, durations, and intervals using Python's timedelta for scheduling and analytics","calculate-date-differences",34,"content:python-how-to:34.calculate-date-differences.md","python-how-to/34.calculate-date-differences.md","python-how-to/34.calculate-date-differences",{"_path":325,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":326,"description":327,"slug":328,"parentId":286,"order":329,"_type":15,"_id":330,"_source":17,"_file":331,"_stem":332,"_extension":20},"/python-how-to/parse-date-strings","Parse Date Strings","Convert text dates into Python datetime objects using strptime, handle multiple formats, and validate date input","parse-date-strings",35,"content:python-how-to:35.parse-date-strings.md","python-how-to/35.parse-date-strings.md","python-how-to/35.parse-date-strings",{"_path":334,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":335,"description":336,"slug":337,"parentId":286,"order":338,"_type":15,"_id":339,"_source":17,"_file":340,"_stem":341,"_extension":20},"/python-how-to/handle-timezones","Handle Timezones","Master timezone handling with zoneinfo, UTC conversions, and timezone-aware datetime objects for global applications","handle-timezones",36,"content:python-how-to:36.handle-timezones.md","python-how-to/36.handle-timezones.md","python-how-to/36.handle-timezones",{"_path":343,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":344,"description":345,"slug":346,"parentId":286,"order":347,"_type":15,"_id":348,"_source":17,"_file":349,"_stem":350,"_extension":20},"/python-how-to/work-with-timestamps","Work with Timestamps","Master Unix timestamps in Python - convert between datetime objects and timestamps for APIs, databases, and system integration","work-with-timestamps",37,"content:python-how-to:37.work-with-timestamps.md","python-how-to/37.work-with-timestamps.md","python-how-to/37.work-with-timestamps",{"_path":352,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":353,"description":354,"slug":355,"parentId":290,"order":356,"isParent":13,"icon":357,"_type":15,"_id":358,"_source":17,"_file":359,"_stem":360,"_extension":20,"children":361,"expanded":13},"/python-how-to/error-handling","Error Handling","Learn Python's error handling with try/except, custom exceptions, debugging, logging, and retry logic for robust applications","error-handling",38,"pi pi-exclamation-triangle","content:python-how-to:38.error-handling.md","python-how-to/38.error-handling.md","python-how-to/38.error-handling",[362,371,380,389,398],{"_path":363,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":364,"description":365,"slug":366,"parentId":352,"order":367,"_type":15,"_id":368,"_source":17,"_file":369,"_stem":370,"_extension":20},"/python-how-to/handle-exceptions","Handle Exceptions","Master try/except blocks, multiple exception handling, and finally clauses for robust error handling in Python","handle-exceptions",39,"content:python-how-to:39.handle-exceptions.md","python-how-to/39.handle-exceptions.md","python-how-to/39.handle-exceptions",{"_path":372,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":373,"description":374,"slug":375,"parentId":352,"order":376,"_type":15,"_id":377,"_source":17,"_file":378,"_stem":379,"_extension":20},"/python-how-to/create-custom-exceptions","Create Custom Exceptions","Learn to create custom exception classes in Python for specific error handling and better code organization","create-custom-exceptions",40,"content:python-how-to:40.create-custom-exceptions.md","python-how-to/40.create-custom-exceptions.md","python-how-to/40.create-custom-exceptions",{"_path":381,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":382,"description":383,"slug":384,"parentId":352,"order":385,"_type":15,"_id":386,"_source":17,"_file":387,"_stem":388,"_extension":20},"/python-how-to/debug-code","Debug Code","Learn Python debugging techniques using print statements, the debugger, and tools to find and fix code issues","debug-code",41,"content:python-how-to:41.debug-code.md","python-how-to/41.debug-code.md","python-how-to/41.debug-code",{"_path":390,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":391,"description":392,"slug":393,"parentId":352,"order":394,"_type":15,"_id":395,"_source":17,"_file":396,"_stem":397,"_extension":20},"/python-how-to/use-logging","Use Logging","Learn Python's logging module for tracking application behavior, errors, and debugging information","use-logging",42,"content:python-how-to:42.use-logging.md","python-how-to/42.use-logging.md","python-how-to/42.use-logging",{"_path":399,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":400,"description":401,"slug":402,"parentId":352,"order":403,"_type":15,"_id":404,"_source":17,"_file":405,"_stem":406,"_extension":20},"/python-how-to/implement-retry-logic","Implement Retry Logic","Learn to implement retry mechanisms in Python for handling temporary failures and building resilient applications","implement-retry-logic",43,"content:python-how-to:43.implement-retry-logic.md","python-how-to/43.implement-retry-logic.md","python-how-to/43.implement-retry-logic",{"_path":408,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":409,"description":410,"slug":411,"parentId":290,"order":412,"isParent":13,"icon":413,"_type":15,"_id":414,"_source":17,"_file":415,"_stem":416,"_extension":20,"children":417,"expanded":13},"/python-how-to/functions-and-modules","Functions and Modules","Learn Python functions, modules, and code organization for building reusable, maintainable applications","functions-and-modules",44,"pi pi-box","content:python-how-to:44.functions-and-modules.md","python-how-to/44.functions-and-modules.md","python-how-to/44.functions-and-modules",[418,427,436,445,454,463],{"_path":419,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":420,"description":421,"slug":422,"parentId":408,"order":423,"_type":15,"_id":424,"_source":17,"_file":425,"_stem":426,"_extension":20},"/python-how-to/write-functions","Write Functions","Learn to create Python functions with parameters, return values, and documentation for reusable code","write-functions",45,"content:python-how-to:45.write-functions.md","python-how-to/45.write-functions.md","python-how-to/45.write-functions",{"_path":428,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":429,"description":430,"slug":431,"parentId":408,"order":432,"_type":15,"_id":433,"_source":17,"_file":434,"_stem":435,"_extension":20},"/python-how-to/use-args-kwargs","Use *args and **kwargs","Learn to use *args and **kwargs for flexible function arguments in Python","use-args-kwargs",46,"content:python-how-to:46.use-args-kwargs.md","python-how-to/46.use-args-kwargs.md","python-how-to/46.use-args-kwargs",{"_path":437,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":438,"description":439,"slug":440,"parentId":408,"order":441,"_type":15,"_id":442,"_source":17,"_file":443,"_stem":444,"_extension":20},"/python-how-to/create-decorators","Create Decorators","Learn to create and use Python decorators to enhance function behavior and add functionality","create-decorators",47,"content:python-how-to:47.create-decorators.md","python-how-to/47.create-decorators.md","python-how-to/47.create-decorators",{"_path":446,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":447,"description":448,"slug":449,"parentId":408,"order":450,"_type":15,"_id":451,"_source":17,"_file":452,"_stem":453,"_extension":20},"/python-how-to/use-generators","Use Generators","Learn to create memory-efficient generators with yield for processing large datasets and sequences","use-generators",48,"content:python-how-to:48.use-generators.md","python-how-to/48.use-generators.md","python-how-to/48.use-generators",{"_path":455,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":456,"description":457,"slug":458,"parentId":408,"order":459,"_type":15,"_id":460,"_source":17,"_file":461,"_stem":462,"_extension":20},"/python-how-to/work-modules-packages","Work with Modules and Packages","Learn to organize Python code with modules and packages, and use imports effectively","work-modules-packages",49,"content:python-how-to:49.work-modules-packages.md","python-how-to/49.work-modules-packages.md","python-how-to/49.work-modules-packages",{"_path":464,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":465,"description":466,"slug":467,"parentId":408,"order":468,"_type":15,"_id":469,"_source":17,"_file":470,"_stem":471,"_extension":20},"/python-how-to/create-virtual-environments","Create Virtual Environments","Learn to create and manage Python virtual environments for project dependency isolation","create-virtual-environments",50,"content:python-how-to:50.create-virtual-environments.md","python-how-to/50.create-virtual-environments.md","python-how-to/50.create-virtual-environments",{"_path":473,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":474,"description":475,"slug":476,"parentId":290,"order":477,"isParent":13,"icon":478,"_type":15,"_id":479,"_source":17,"_file":480,"_stem":481,"_extension":20,"children":482,"expanded":13},"/python-how-to/data-processing","Data Processing","Learn Python data processing techniques including regex, APIs, databases, and large file handling","data-processing",51,"pi pi-database","content:python-how-to:51.data-processing.md","python-how-to/51.data-processing.md","python-how-to/51.data-processing",[483,492,501,510,519],{"_path":484,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":485,"description":486,"slug":487,"parentId":473,"order":488,"_type":15,"_id":489,"_source":17,"_file":490,"_stem":491,"_extension":20},"/python-how-to/work-regular-expressions","Work with Regular Expressions","Learn to use Python's re module for pattern matching, text extraction, and data validation","work-regular-expressions",52,"content:python-how-to:52.work-regular-expressions.md","python-how-to/52.work-regular-expressions.md","python-how-to/52.work-regular-expressions",{"_path":493,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":494,"description":495,"slug":496,"parentId":473,"order":497,"_type":15,"_id":498,"_source":17,"_file":499,"_stem":500,"_extension":20},"/python-how-to/parse-xml-html","Parse XML and HTML","Learn to extract data from XML and HTML documents using Python's built-in parsing tools","parse-xml-html",53,"content:python-how-to:53.parse-xml-html.md","python-how-to/53.parse-xml-html.md","python-how-to/53.parse-xml-html",{"_path":502,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":503,"description":504,"slug":505,"parentId":473,"order":506,"_type":15,"_id":507,"_source":17,"_file":508,"_stem":509,"_extension":20},"/python-how-to/handle-api-requests","Handle API Requests","Learn to fetch and process data from web APIs using Python's urllib and external requests library","handle-api-requests",54,"content:python-how-to:54.handle-api-requests.md","python-how-to/54.handle-api-requests.md","python-how-to/54.handle-api-requests",{"_path":511,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":512,"description":513,"slug":514,"parentId":473,"order":515,"_type":15,"_id":516,"_source":17,"_file":517,"_stem":518,"_extension":20},"/python-how-to/work-databases","Work with Databases","Learn to connect to and query SQL databases using Python's sqlite3 and database techniques","work-databases",55,"content:python-how-to:55.work-databases.md","python-how-to/55.work-databases.md","python-how-to/55.work-databases",{"_path":520,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":521,"description":522,"slug":523,"parentId":473,"order":524,"_type":15,"_id":525,"_source":17,"_file":526,"_stem":527,"_extension":20},"/python-how-to/process-large-files","Process Large Files","Learn memory-efficient techniques for handling large files and datasets in Python","process-large-files",56,"content:python-how-to:56.process-large-files.md","python-how-to/56.process-large-files.md","python-how-to/56.process-large-files",{"_path":529,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":530,"description":531,"slug":532,"parentId":290,"order":533,"isParent":13,"icon":534,"_type":15,"_id":535,"_source":17,"_file":536,"_stem":537,"_extension":20,"children":538,"expanded":13},"/python-how-to/best-practices","Best Practices","Learn Python best practices for writing clean, maintainable, and efficient code","best-practices",57,"pi pi-star","content:python-how-to:57.best-practices.md","python-how-to/57.best-practices.md","python-how-to/57.best-practices",[539,548,557,566,575,584],{"_path":540,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":541,"description":542,"slug":543,"parentId":529,"order":544,"_type":15,"_id":545,"_source":17,"_file":546,"_stem":547,"_extension":20},"/python-how-to/structure-code","Structure Your Code","Learn to organize Python code with proper module structure, functions, and classes","structure-code",58,"content:python-how-to:58.structure-code.md","python-how-to/58.structure-code.md","python-how-to/58.structure-code",{"_path":549,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":550,"description":551,"slug":552,"parentId":529,"order":553,"_type":15,"_id":554,"_source":17,"_file":555,"_stem":556,"_extension":20},"/python-how-to/write-clean-code","Write Clean Code","Learn to write readable, maintainable Python code with proper naming, comments, and clear logic","write-clean-code",59,"content:python-how-to:59.write-clean-code.md","python-how-to/59.write-clean-code.md","python-how-to/59.write-clean-code",{"_path":558,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":559,"description":560,"slug":561,"parentId":529,"order":562,"_type":15,"_id":563,"_source":17,"_file":564,"_stem":565,"_extension":20},"/python-how-to/optimize-performance","Optimize Performance","Learn to identify and fix performance bottlenecks in Python code for faster execution","optimize-performance",60,"content:python-how-to:60.optimize-performance.md","python-how-to/60.optimize-performance.md","python-how-to/60.optimize-performance",{"_path":567,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":568,"description":569,"slug":570,"parentId":529,"order":571,"_type":15,"_id":572,"_source":17,"_file":573,"_stem":574,"_extension":20},"/python-how-to/write-unit-tests","Write Unit Tests","Learn to create reliable unit tests to verify your Python code works correctly and catch bugs early","write-unit-tests",61,"content:python-how-to:61.write-unit-tests.md","python-how-to/61.write-unit-tests.md","python-how-to/61.write-unit-tests",{"_path":576,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":577,"description":578,"slug":579,"parentId":529,"order":580,"_type":15,"_id":581,"_source":17,"_file":582,"_stem":583,"_extension":20},"/python-how-to/document-code","Document Your Code","Learn to write clear documentation and helpful comments for your Python code","document-code",62,"content:python-how-to:62.document-code.md","python-how-to/62.document-code.md","python-how-to/62.document-code",{"_path":585,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":586,"description":587,"slug":588,"parentId":529,"order":589,"_type":15,"_id":590,"_source":17,"_file":591,"_stem":592,"_extension":20},"/python-how-to/use-type-hints","Use Type Hints","Learn to add type annotations to Python code for better clarity, tooling support, and error detection","use-type-hints",63,"content:python-how-to:63.use-type-hints.md","python-how-to/63.use-type-hints.md","python-how-to/63.use-type-hints",{"_path":290,"_dir":8,"_draft":7,"_partial":7,"_locale":8,"title":594,"description":595,"slug":6,"order":596,"icon":14,"_type":15,"_id":597,"_source":17,"_file":598,"_stem":599,"_extension":20,"expanded":13},"Python How-To Guide","Practical Python tutorials for common programming tasks. Learn step-by-step solutions for string manipulation, file operations, data processing, and more with real-world examples.",0,"content:python-how-to:index.md","python-how-to/index.md","python-how-to/index",[67],{"_path":68,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":69,"description":70,"slug":71,"parentId":5,"order":72,"body":602,"_type":15,"_id":73,"_source":17,"_file":74,"_stem":75,"_extension":20},{"type":603,"children":604,"toc":3035},"root",[605,614,620,728,735,740,840,847,1076,1082,1087,1410,1416,1421,2110,2116,2121,2318,2324,2874,2880,3029],{"type":606,"tag":607,"props":608,"children":610},"element","h1",{"id":609},"unicode-and-special-characters",[611],{"type":612,"value":613},"text","🌐 Unicode and Special Characters",{"type":606,"tag":615,"props":616,"children":617},"p",{},[618],{"type":612,"value":619},"Python 3 uses Unicode by default, making it easy to work with text in any language and special characters. Understanding Unicode is essential for handling international text and symbols.",{"type":606,"tag":621,"props":622,"children":623},"code-try",{},[624],{"type":606,"tag":625,"props":626,"children":630},"pre",{"className":627,"code":628,"language":629,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Basic Unicode examples\nprint(\"Hello, 世界!\")  # Chinese characters\nprint(\"こんにちは\")    # Japanese characters\nprint(\"안녕하세요\")    # Korean characters\n","python",[631],{"type":606,"tag":632,"props":633,"children":634},"code",{"__ignoreMap":8},[635,646,677,703],{"type":606,"tag":636,"props":637,"children":639},"span",{"class":638,"line":12},"line",[640],{"type":606,"tag":636,"props":641,"children":643},{"style":642},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[644],{"type":612,"value":645},"# Basic Unicode examples\n",{"type":606,"tag":636,"props":647,"children":648},{"class":638,"line":27},[649,655,661,667,672],{"type":606,"tag":636,"props":650,"children":652},{"style":651},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[653],{"type":612,"value":654},"print",{"type":606,"tag":636,"props":656,"children":658},{"style":657},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[659],{"type":612,"value":660},"(",{"type":606,"tag":636,"props":662,"children":664},{"style":663},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[665],{"type":612,"value":666},"\"Hello, 世界!\"",{"type":606,"tag":636,"props":668,"children":669},{"style":657},[670],{"type":612,"value":671},")  ",{"type":606,"tag":636,"props":673,"children":674},{"style":642},[675],{"type":612,"value":676},"# Chinese characters\n",{"type":606,"tag":636,"props":678,"children":679},{"class":638,"line":36},[680,684,688,693,698],{"type":606,"tag":636,"props":681,"children":682},{"style":651},[683],{"type":612,"value":654},{"type":606,"tag":636,"props":685,"children":686},{"style":657},[687],{"type":612,"value":660},{"type":606,"tag":636,"props":689,"children":690},{"style":663},[691],{"type":612,"value":692},"\"こんにちは\"",{"type":606,"tag":636,"props":694,"children":695},{"style":657},[696],{"type":612,"value":697},")    ",{"type":606,"tag":636,"props":699,"children":700},{"style":642},[701],{"type":612,"value":702},"# Japanese characters\n",{"type":606,"tag":636,"props":704,"children":705},{"class":638,"line":45},[706,710,714,719,723],{"type":606,"tag":636,"props":707,"children":708},{"style":651},[709],{"type":612,"value":654},{"type":606,"tag":636,"props":711,"children":712},{"style":657},[713],{"type":612,"value":660},{"type":606,"tag":636,"props":715,"children":716},{"style":663},[717],{"type":612,"value":718},"\"안녕하세요\"",{"type":606,"tag":636,"props":720,"children":721},{"style":657},[722],{"type":612,"value":697},{"type":606,"tag":636,"props":724,"children":725},{"style":642},[726],{"type":612,"value":727},"# Korean characters\n",{"type":606,"tag":729,"props":730,"children":732},"h2",{"id":731},"unicode-basics",[733],{"type":612,"value":734},"🎯 Unicode Basics",{"type":606,"tag":615,"props":736,"children":737},{},[738],{"type":612,"value":739},"Unicode is a standard that assigns unique numbers to characters from all writing systems.",{"type":606,"tag":741,"props":742,"children":746},"info-box",{"emoji":743,"title":744,"type":745},"📝","Unicode Essentials","info",[747,756,809,817],{"type":606,"tag":615,"props":748,"children":749},{},[750],{"type":606,"tag":751,"props":752,"children":753},"strong",{},[754],{"type":612,"value":755},"Key Concepts:",{"type":606,"tag":757,"props":758,"children":759},"ul",{},[760,774,787,798],{"type":606,"tag":761,"props":762,"children":763},"li",{},[764,766,772],{"type":612,"value":765},"Unicode points: ",{"type":606,"tag":632,"props":767,"children":769},{"className":768},[],[770],{"type":612,"value":771},"\\uXXXX",{"type":612,"value":773}," (4-digit hex)",{"type":606,"tag":761,"props":775,"children":776},{},[777,779,785],{"type":612,"value":778},"Extended points: ",{"type":606,"tag":632,"props":780,"children":782},{"className":781},[],[783],{"type":612,"value":784},"\\UXXXXXXXX",{"type":612,"value":786}," (8-digit hex)",{"type":606,"tag":761,"props":788,"children":789},{},[790,792],{"type":612,"value":791},"Named characters: ",{"type":606,"tag":632,"props":793,"children":795},{"className":794},[],[796],{"type":612,"value":797},"\\N{name}",{"type":606,"tag":761,"props":799,"children":800},{},[801,803],{"type":612,"value":802},"Raw strings: ",{"type":606,"tag":632,"props":804,"children":806},{"className":805},[],[807],{"type":612,"value":808},"r\"string\"",{"type":606,"tag":615,"props":810,"children":811},{},[812],{"type":606,"tag":751,"props":813,"children":814},{},[815],{"type":612,"value":816},"Common Uses:",{"type":606,"tag":757,"props":818,"children":819},{},[820,825,830,835],{"type":606,"tag":761,"props":821,"children":822},{},[823],{"type":612,"value":824},"International text",{"type":606,"tag":761,"props":826,"children":827},{},[828],{"type":612,"value":829},"Emojis and symbols",{"type":606,"tag":761,"props":831,"children":832},{},[833],{"type":612,"value":834},"Special characters",{"type":606,"tag":761,"props":836,"children":837},{},[838],{"type":612,"value":839},"Escape sequences",{"type":606,"tag":841,"props":842,"children":844},"h3",{"id":843},"basic-examples",[845],{"type":612,"value":846},"Basic Examples",{"type":606,"tag":621,"props":848,"children":849},{},[850],{"type":606,"tag":625,"props":851,"children":853},{"className":627,"code":852,"language":629,"meta":8,"style":8},"# Different ways to represent Unicode\n# Using Unicode escape sequences\nprint(\"\\u0041\")  # 'A'\nprint(\"\\u4F60\\u597D\")  # '你好' (Hello in Chinese)\n\n# Using named characters\nprint(\"\\N{GRINNING FACE}\")  # 😀\nprint(\"\\N{HEAVY BLACK HEART}\")  # ❤\n\n# Using raw strings\nprint(r\"\\u0041\")  # Prints the literal \\u0041\n",[854],{"type":606,"tag":632,"props":855,"children":856},{"__ignoreMap":8},[857,865,873,907,940,948,956,989,1022,1030,1038],{"type":606,"tag":636,"props":858,"children":859},{"class":638,"line":12},[860],{"type":606,"tag":636,"props":861,"children":862},{"style":642},[863],{"type":612,"value":864},"# Different ways to represent Unicode\n",{"type":606,"tag":636,"props":866,"children":867},{"class":638,"line":27},[868],{"type":606,"tag":636,"props":869,"children":870},{"style":642},[871],{"type":612,"value":872},"# Using Unicode escape sequences\n",{"type":606,"tag":636,"props":874,"children":875},{"class":638,"line":36},[876,880,884,889,894,898,902],{"type":606,"tag":636,"props":877,"children":878},{"style":651},[879],{"type":612,"value":654},{"type":606,"tag":636,"props":881,"children":882},{"style":657},[883],{"type":612,"value":660},{"type":606,"tag":636,"props":885,"children":886},{"style":663},[887],{"type":612,"value":888},"\"",{"type":606,"tag":636,"props":890,"children":891},{"style":651},[892],{"type":612,"value":893},"\\u0041",{"type":606,"tag":636,"props":895,"children":896},{"style":663},[897],{"type":612,"value":888},{"type":606,"tag":636,"props":899,"children":900},{"style":657},[901],{"type":612,"value":671},{"type":606,"tag":636,"props":903,"children":904},{"style":642},[905],{"type":612,"value":906},"# 'A'\n",{"type":606,"tag":636,"props":908,"children":909},{"class":638,"line":45},[910,914,918,922,927,931,935],{"type":606,"tag":636,"props":911,"children":912},{"style":651},[913],{"type":612,"value":654},{"type":606,"tag":636,"props":915,"children":916},{"style":657},[917],{"type":612,"value":660},{"type":606,"tag":636,"props":919,"children":920},{"style":663},[921],{"type":612,"value":888},{"type":606,"tag":636,"props":923,"children":924},{"style":651},[925],{"type":612,"value":926},"\\u4F60\\u597D",{"type":606,"tag":636,"props":928,"children":929},{"style":663},[930],{"type":612,"value":888},{"type":606,"tag":636,"props":932,"children":933},{"style":657},[934],{"type":612,"value":671},{"type":606,"tag":636,"props":936,"children":937},{"style":642},[938],{"type":612,"value":939},"# '你好' (Hello in Chinese)\n",{"type":606,"tag":636,"props":941,"children":942},{"class":638,"line":54},[943],{"type":606,"tag":636,"props":944,"children":945},{"emptyLinePlaceholder":13},[946],{"type":612,"value":947},"\n",{"type":606,"tag":636,"props":949,"children":950},{"class":638,"line":63},[951],{"type":606,"tag":636,"props":952,"children":953},{"style":642},[954],{"type":612,"value":955},"# Using named characters\n",{"type":606,"tag":636,"props":957,"children":958},{"class":638,"line":72},[959,963,967,971,976,980,984],{"type":606,"tag":636,"props":960,"children":961},{"style":651},[962],{"type":612,"value":654},{"type":606,"tag":636,"props":964,"children":965},{"style":657},[966],{"type":612,"value":660},{"type":606,"tag":636,"props":968,"children":969},{"style":663},[970],{"type":612,"value":888},{"type":606,"tag":636,"props":972,"children":973},{"style":651},[974],{"type":612,"value":975},"\\N{GRINNING FACE}",{"type":606,"tag":636,"props":977,"children":978},{"style":663},[979],{"type":612,"value":888},{"type":606,"tag":636,"props":981,"children":982},{"style":657},[983],{"type":612,"value":671},{"type":606,"tag":636,"props":985,"children":986},{"style":642},[987],{"type":612,"value":988},"# 😀\n",{"type":606,"tag":636,"props":990,"children":991},{"class":638,"line":81},[992,996,1000,1004,1009,1013,1017],{"type":606,"tag":636,"props":993,"children":994},{"style":651},[995],{"type":612,"value":654},{"type":606,"tag":636,"props":997,"children":998},{"style":657},[999],{"type":612,"value":660},{"type":606,"tag":636,"props":1001,"children":1002},{"style":663},[1003],{"type":612,"value":888},{"type":606,"tag":636,"props":1005,"children":1006},{"style":651},[1007],{"type":612,"value":1008},"\\N{HEAVY BLACK HEART}",{"type":606,"tag":636,"props":1010,"children":1011},{"style":663},[1012],{"type":612,"value":888},{"type":606,"tag":636,"props":1014,"children":1015},{"style":657},[1016],{"type":612,"value":671},{"type":606,"tag":636,"props":1018,"children":1019},{"style":642},[1020],{"type":612,"value":1021},"# ❤\n",{"type":606,"tag":636,"props":1023,"children":1025},{"class":638,"line":1024},9,[1026],{"type":606,"tag":636,"props":1027,"children":1028},{"emptyLinePlaceholder":13},[1029],{"type":612,"value":947},{"type":606,"tag":636,"props":1031,"children":1032},{"class":638,"line":99},[1033],{"type":606,"tag":636,"props":1034,"children":1035},{"style":642},[1036],{"type":612,"value":1037},"# Using raw strings\n",{"type":606,"tag":636,"props":1039,"children":1040},{"class":638,"line":108},[1041,1045,1049,1055,1059,1063,1067,1071],{"type":606,"tag":636,"props":1042,"children":1043},{"style":651},[1044],{"type":612,"value":654},{"type":606,"tag":636,"props":1046,"children":1047},{"style":657},[1048],{"type":612,"value":660},{"type":606,"tag":636,"props":1050,"children":1052},{"style":1051},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1053],{"type":612,"value":1054},"r",{"type":606,"tag":636,"props":1056,"children":1057},{"style":663},[1058],{"type":612,"value":888},{"type":606,"tag":636,"props":1060,"children":1061},{"style":651},[1062],{"type":612,"value":893},{"type":606,"tag":636,"props":1064,"children":1065},{"style":663},[1066],{"type":612,"value":888},{"type":606,"tag":636,"props":1068,"children":1069},{"style":657},[1070],{"type":612,"value":671},{"type":606,"tag":636,"props":1072,"children":1073},{"style":642},[1074],{"type":612,"value":1075},"# Prints the literal \\u0041\n",{"type":606,"tag":729,"props":1077,"children":1079},{"id":1078},"special-characters",[1080],{"type":612,"value":1081},"🔍 Special Characters",{"type":606,"tag":615,"props":1083,"children":1084},{},[1085],{"type":612,"value":1086},"Python provides ways to handle special characters and escape sequences.",{"type":606,"tag":621,"props":1088,"children":1089},{},[1090],{"type":606,"tag":625,"props":1091,"children":1093},{"className":627,"code":1092,"language":629,"meta":8,"style":8},"# Special character examples\n# Common escape sequences\nprint(\"First line\\nSecond line\")  # Newline\nprint(\"Tab\\tseparated\")  # Tab\nprint(\"Backslash: \\\\\")  # Backslash\nprint(\"Quotes: \\\"Hello\\\"\")  # Quotes\n\n# Raw strings for paths\npath = r\"C:\\Users\\name\\Documents\"\nprint(path)\n\n# Multi-line strings\ntext = \"\"\"Line 1\nLine 2\nLine 3\"\"\"\nprint(text)\n",[1094],{"type":606,"tag":632,"props":1095,"children":1096},{"__ignoreMap":8},[1097,1105,1113,1148,1183,1217,1260,1267,1275,1338,1350,1357,1365,1382,1390,1398],{"type":606,"tag":636,"props":1098,"children":1099},{"class":638,"line":12},[1100],{"type":606,"tag":636,"props":1101,"children":1102},{"style":642},[1103],{"type":612,"value":1104},"# Special character examples\n",{"type":606,"tag":636,"props":1106,"children":1107},{"class":638,"line":27},[1108],{"type":606,"tag":636,"props":1109,"children":1110},{"style":642},[1111],{"type":612,"value":1112},"# Common escape sequences\n",{"type":606,"tag":636,"props":1114,"children":1115},{"class":638,"line":36},[1116,1120,1124,1129,1134,1139,1143],{"type":606,"tag":636,"props":1117,"children":1118},{"style":651},[1119],{"type":612,"value":654},{"type":606,"tag":636,"props":1121,"children":1122},{"style":657},[1123],{"type":612,"value":660},{"type":606,"tag":636,"props":1125,"children":1126},{"style":663},[1127],{"type":612,"value":1128},"\"First line",{"type":606,"tag":636,"props":1130,"children":1131},{"style":651},[1132],{"type":612,"value":1133},"\\n",{"type":606,"tag":636,"props":1135,"children":1136},{"style":663},[1137],{"type":612,"value":1138},"Second line\"",{"type":606,"tag":636,"props":1140,"children":1141},{"style":657},[1142],{"type":612,"value":671},{"type":606,"tag":636,"props":1144,"children":1145},{"style":642},[1146],{"type":612,"value":1147},"# Newline\n",{"type":606,"tag":636,"props":1149,"children":1150},{"class":638,"line":45},[1151,1155,1159,1164,1169,1174,1178],{"type":606,"tag":636,"props":1152,"children":1153},{"style":651},[1154],{"type":612,"value":654},{"type":606,"tag":636,"props":1156,"children":1157},{"style":657},[1158],{"type":612,"value":660},{"type":606,"tag":636,"props":1160,"children":1161},{"style":663},[1162],{"type":612,"value":1163},"\"Tab",{"type":606,"tag":636,"props":1165,"children":1166},{"style":651},[1167],{"type":612,"value":1168},"\\t",{"type":606,"tag":636,"props":1170,"children":1171},{"style":663},[1172],{"type":612,"value":1173},"separated\"",{"type":606,"tag":636,"props":1175,"children":1176},{"style":657},[1177],{"type":612,"value":671},{"type":606,"tag":636,"props":1179,"children":1180},{"style":642},[1181],{"type":612,"value":1182},"# Tab\n",{"type":606,"tag":636,"props":1184,"children":1185},{"class":638,"line":54},[1186,1190,1194,1199,1204,1208,1212],{"type":606,"tag":636,"props":1187,"children":1188},{"style":651},[1189],{"type":612,"value":654},{"type":606,"tag":636,"props":1191,"children":1192},{"style":657},[1193],{"type":612,"value":660},{"type":606,"tag":636,"props":1195,"children":1196},{"style":663},[1197],{"type":612,"value":1198},"\"Backslash: ",{"type":606,"tag":636,"props":1200,"children":1201},{"style":651},[1202],{"type":612,"value":1203},"\\\\",{"type":606,"tag":636,"props":1205,"children":1206},{"style":663},[1207],{"type":612,"value":888},{"type":606,"tag":636,"props":1209,"children":1210},{"style":657},[1211],{"type":612,"value":671},{"type":606,"tag":636,"props":1213,"children":1214},{"style":642},[1215],{"type":612,"value":1216},"# Backslash\n",{"type":606,"tag":636,"props":1218,"children":1219},{"class":638,"line":63},[1220,1224,1228,1233,1238,1243,1247,1251,1255],{"type":606,"tag":636,"props":1221,"children":1222},{"style":651},[1223],{"type":612,"value":654},{"type":606,"tag":636,"props":1225,"children":1226},{"style":657},[1227],{"type":612,"value":660},{"type":606,"tag":636,"props":1229,"children":1230},{"style":663},[1231],{"type":612,"value":1232},"\"Quotes: ",{"type":606,"tag":636,"props":1234,"children":1235},{"style":651},[1236],{"type":612,"value":1237},"\\\"",{"type":606,"tag":636,"props":1239,"children":1240},{"style":663},[1241],{"type":612,"value":1242},"Hello",{"type":606,"tag":636,"props":1244,"children":1245},{"style":651},[1246],{"type":612,"value":1237},{"type":606,"tag":636,"props":1248,"children":1249},{"style":663},[1250],{"type":612,"value":888},{"type":606,"tag":636,"props":1252,"children":1253},{"style":657},[1254],{"type":612,"value":671},{"type":606,"tag":636,"props":1256,"children":1257},{"style":642},[1258],{"type":612,"value":1259},"# Quotes\n",{"type":606,"tag":636,"props":1261,"children":1262},{"class":638,"line":72},[1263],{"type":606,"tag":636,"props":1264,"children":1265},{"emptyLinePlaceholder":13},[1266],{"type":612,"value":947},{"type":606,"tag":636,"props":1268,"children":1269},{"class":638,"line":81},[1270],{"type":606,"tag":636,"props":1271,"children":1272},{"style":642},[1273],{"type":612,"value":1274},"# Raw strings for paths\n",{"type":606,"tag":636,"props":1276,"children":1277},{"class":638,"line":1024},[1278,1283,1288,1293,1297,1303,1309,1314,1318,1323,1328,1333],{"type":606,"tag":636,"props":1279,"children":1280},{"style":657},[1281],{"type":612,"value":1282},"path ",{"type":606,"tag":636,"props":1284,"children":1285},{"style":1051},[1286],{"type":612,"value":1287},"=",{"type":606,"tag":636,"props":1289,"children":1290},{"style":1051},[1291],{"type":612,"value":1292}," r",{"type":606,"tag":636,"props":1294,"children":1295},{"style":663},[1296],{"type":612,"value":888},{"type":606,"tag":636,"props":1298,"children":1300},{"style":1299},"--shiki-default:#032F62;--shiki-app-dark-mode:#DBEDFF",[1301],{"type":612,"value":1302},"C:",{"type":606,"tag":636,"props":1304,"children":1306},{"style":1305},"--shiki-default:#22863A;--shiki-default-font-weight:bold;--shiki-app-dark-mode:#85E89D;--shiki-app-dark-mode-font-weight:bold",[1307],{"type":612,"value":1308},"\\U",{"type":606,"tag":636,"props":1310,"children":1311},{"style":1299},[1312],{"type":612,"value":1313},"sers",{"type":606,"tag":636,"props":1315,"children":1316},{"style":1305},[1317],{"type":612,"value":1133},{"type":606,"tag":636,"props":1319,"children":1320},{"style":1299},[1321],{"type":612,"value":1322},"ame",{"type":606,"tag":636,"props":1324,"children":1325},{"style":651},[1326],{"type":612,"value":1327},"\\D",{"type":606,"tag":636,"props":1329,"children":1330},{"style":1299},[1331],{"type":612,"value":1332},"ocuments",{"type":606,"tag":636,"props":1334,"children":1335},{"style":663},[1336],{"type":612,"value":1337},"\"\n",{"type":606,"tag":636,"props":1339,"children":1340},{"class":638,"line":99},[1341,1345],{"type":606,"tag":636,"props":1342,"children":1343},{"style":651},[1344],{"type":612,"value":654},{"type":606,"tag":636,"props":1346,"children":1347},{"style":657},[1348],{"type":612,"value":1349},"(path)\n",{"type":606,"tag":636,"props":1351,"children":1352},{"class":638,"line":108},[1353],{"type":606,"tag":636,"props":1354,"children":1355},{"emptyLinePlaceholder":13},[1356],{"type":612,"value":947},{"type":606,"tag":636,"props":1358,"children":1359},{"class":638,"line":117},[1360],{"type":606,"tag":636,"props":1361,"children":1362},{"style":642},[1363],{"type":612,"value":1364},"# Multi-line strings\n",{"type":606,"tag":636,"props":1366,"children":1367},{"class":638,"line":126},[1368,1373,1377],{"type":606,"tag":636,"props":1369,"children":1370},{"style":657},[1371],{"type":612,"value":1372},"text ",{"type":606,"tag":636,"props":1374,"children":1375},{"style":1051},[1376],{"type":612,"value":1287},{"type":606,"tag":636,"props":1378,"children":1379},{"style":663},[1380],{"type":612,"value":1381}," \"\"\"Line 1\n",{"type":606,"tag":636,"props":1383,"children":1384},{"class":638,"line":135},[1385],{"type":606,"tag":636,"props":1386,"children":1387},{"style":663},[1388],{"type":612,"value":1389},"Line 2\n",{"type":606,"tag":636,"props":1391,"children":1392},{"class":638,"line":144},[1393],{"type":606,"tag":636,"props":1394,"children":1395},{"style":663},[1396],{"type":612,"value":1397},"Line 3\"\"\"\n",{"type":606,"tag":636,"props":1399,"children":1400},{"class":638,"line":153},[1401,1405],{"type":606,"tag":636,"props":1402,"children":1403},{"style":651},[1404],{"type":612,"value":654},{"type":606,"tag":636,"props":1406,"children":1407},{"style":657},[1408],{"type":612,"value":1409},"(text)\n",{"type":606,"tag":729,"props":1411,"children":1413},{"id":1412},"common-use-cases",[1414],{"type":612,"value":1415},"🎨 Common Use Cases",{"type":606,"tag":615,"props":1417,"children":1418},{},[1419],{"type":612,"value":1420},"Here are some practical examples of working with Unicode and special characters.",{"type":606,"tag":621,"props":1422,"children":1423},{},[1424],{"type":606,"tag":625,"props":1425,"children":1427},{"className":627,"code":1426,"language":629,"meta":8,"style":8},"# 1. Handling file paths\ndef normalize_path(path):\n    return path.replace(\"\\\\\", \"/\")\n\n# 2. Creating a progress bar with symbols\ndef progress_bar(current, total):\n    filled = \"█\" * int(current/total * 10)\n    empty = \"░\" * (10 - len(filled))\n    return f\"[{filled}{empty}] {current/total:.0%}\"\n\n# 3. Formatting text with special characters\ndef format_card(title, content):\n    return f\"\"\"\n╔{'═' * (len(title) + 2)}╗\n║ {title} ║\n╠{'═' * (len(title) + 2)}╣\n║ {content} ║\n╚{'═' * (len(title) + 2)}╝\n\"\"\"\n\n# Test the functions\nprint(normalize_path(r\"C:\\Users\\name\\Documents\"))\nprint(progress_bar(7, 10))\nprint(format_card(\"Hello\", \"World\"))\n",[1428],{"type":606,"tag":632,"props":1429,"children":1430},{"__ignoreMap":8},[1431,1439,1458,1498,1505,1513,1530,1586,1632,1710,1717,1725,1742,1758,1817,1843,1896,1919,1972,1979,1986,1994,2051,2080],{"type":606,"tag":636,"props":1432,"children":1433},{"class":638,"line":12},[1434],{"type":606,"tag":636,"props":1435,"children":1436},{"style":642},[1437],{"type":612,"value":1438},"# 1. Handling file paths\n",{"type":606,"tag":636,"props":1440,"children":1441},{"class":638,"line":27},[1442,1447,1453],{"type":606,"tag":636,"props":1443,"children":1444},{"style":1051},[1445],{"type":612,"value":1446},"def",{"type":606,"tag":636,"props":1448,"children":1450},{"style":1449},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[1451],{"type":612,"value":1452}," normalize_path",{"type":606,"tag":636,"props":1454,"children":1455},{"style":657},[1456],{"type":612,"value":1457},"(path):\n",{"type":606,"tag":636,"props":1459,"children":1460},{"class":638,"line":36},[1461,1466,1471,1475,1479,1483,1488,1493],{"type":606,"tag":636,"props":1462,"children":1463},{"style":1051},[1464],{"type":612,"value":1465},"    return",{"type":606,"tag":636,"props":1467,"children":1468},{"style":657},[1469],{"type":612,"value":1470}," path.replace(",{"type":606,"tag":636,"props":1472,"children":1473},{"style":663},[1474],{"type":612,"value":888},{"type":606,"tag":636,"props":1476,"children":1477},{"style":651},[1478],{"type":612,"value":1203},{"type":606,"tag":636,"props":1480,"children":1481},{"style":663},[1482],{"type":612,"value":888},{"type":606,"tag":636,"props":1484,"children":1485},{"style":657},[1486],{"type":612,"value":1487},", ",{"type":606,"tag":636,"props":1489,"children":1490},{"style":663},[1491],{"type":612,"value":1492},"\"/\"",{"type":606,"tag":636,"props":1494,"children":1495},{"style":657},[1496],{"type":612,"value":1497},")\n",{"type":606,"tag":636,"props":1499,"children":1500},{"class":638,"line":45},[1501],{"type":606,"tag":636,"props":1502,"children":1503},{"emptyLinePlaceholder":13},[1504],{"type":612,"value":947},{"type":606,"tag":636,"props":1506,"children":1507},{"class":638,"line":54},[1508],{"type":606,"tag":636,"props":1509,"children":1510},{"style":642},[1511],{"type":612,"value":1512},"# 2. Creating a progress bar with symbols\n",{"type":606,"tag":636,"props":1514,"children":1515},{"class":638,"line":63},[1516,1520,1525],{"type":606,"tag":636,"props":1517,"children":1518},{"style":1051},[1519],{"type":612,"value":1446},{"type":606,"tag":636,"props":1521,"children":1522},{"style":1449},[1523],{"type":612,"value":1524}," progress_bar",{"type":606,"tag":636,"props":1526,"children":1527},{"style":657},[1528],{"type":612,"value":1529},"(current, total):\n",{"type":606,"tag":636,"props":1531,"children":1532},{"class":638,"line":72},[1533,1538,1542,1547,1552,1557,1562,1567,1572,1577,1582],{"type":606,"tag":636,"props":1534,"children":1535},{"style":657},[1536],{"type":612,"value":1537},"    filled ",{"type":606,"tag":636,"props":1539,"children":1540},{"style":1051},[1541],{"type":612,"value":1287},{"type":606,"tag":636,"props":1543,"children":1544},{"style":663},[1545],{"type":612,"value":1546}," \"█\"",{"type":606,"tag":636,"props":1548,"children":1549},{"style":1051},[1550],{"type":612,"value":1551}," *",{"type":606,"tag":636,"props":1553,"children":1554},{"style":651},[1555],{"type":612,"value":1556}," int",{"type":606,"tag":636,"props":1558,"children":1559},{"style":657},[1560],{"type":612,"value":1561},"(current",{"type":606,"tag":636,"props":1563,"children":1564},{"style":1051},[1565],{"type":612,"value":1566},"/",{"type":606,"tag":636,"props":1568,"children":1569},{"style":657},[1570],{"type":612,"value":1571},"total ",{"type":606,"tag":636,"props":1573,"children":1574},{"style":1051},[1575],{"type":612,"value":1576},"*",{"type":606,"tag":636,"props":1578,"children":1579},{"style":651},[1580],{"type":612,"value":1581}," 10",{"type":606,"tag":636,"props":1583,"children":1584},{"style":657},[1585],{"type":612,"value":1497},{"type":606,"tag":636,"props":1587,"children":1588},{"class":638,"line":81},[1589,1594,1598,1603,1607,1612,1617,1622,1627],{"type":606,"tag":636,"props":1590,"children":1591},{"style":657},[1592],{"type":612,"value":1593},"    empty ",{"type":606,"tag":636,"props":1595,"children":1596},{"style":1051},[1597],{"type":612,"value":1287},{"type":606,"tag":636,"props":1599,"children":1600},{"style":663},[1601],{"type":612,"value":1602}," \"░\"",{"type":606,"tag":636,"props":1604,"children":1605},{"style":1051},[1606],{"type":612,"value":1551},{"type":606,"tag":636,"props":1608,"children":1609},{"style":657},[1610],{"type":612,"value":1611}," (",{"type":606,"tag":636,"props":1613,"children":1614},{"style":651},[1615],{"type":612,"value":1616},"10",{"type":606,"tag":636,"props":1618,"children":1619},{"style":1051},[1620],{"type":612,"value":1621}," -",{"type":606,"tag":636,"props":1623,"children":1624},{"style":651},[1625],{"type":612,"value":1626}," len",{"type":606,"tag":636,"props":1628,"children":1629},{"style":657},[1630],{"type":612,"value":1631},"(filled))\n",{"type":606,"tag":636,"props":1633,"children":1634},{"class":638,"line":1024},[1635,1639,1644,1649,1654,1659,1664,1669,1674,1679,1683,1688,1692,1697,1702,1706],{"type":606,"tag":636,"props":1636,"children":1637},{"style":1051},[1638],{"type":612,"value":1465},{"type":606,"tag":636,"props":1640,"children":1641},{"style":1051},[1642],{"type":612,"value":1643}," f",{"type":606,"tag":636,"props":1645,"children":1646},{"style":663},[1647],{"type":612,"value":1648},"\"[",{"type":606,"tag":636,"props":1650,"children":1651},{"style":651},[1652],{"type":612,"value":1653},"{",{"type":606,"tag":636,"props":1655,"children":1656},{"style":657},[1657],{"type":612,"value":1658},"filled",{"type":606,"tag":636,"props":1660,"children":1661},{"style":651},[1662],{"type":612,"value":1663},"}{",{"type":606,"tag":636,"props":1665,"children":1666},{"style":657},[1667],{"type":612,"value":1668},"empty",{"type":606,"tag":636,"props":1670,"children":1671},{"style":651},[1672],{"type":612,"value":1673},"}",{"type":606,"tag":636,"props":1675,"children":1676},{"style":663},[1677],{"type":612,"value":1678},"] ",{"type":606,"tag":636,"props":1680,"children":1681},{"style":651},[1682],{"type":612,"value":1653},{"type":606,"tag":636,"props":1684,"children":1685},{"style":657},[1686],{"type":612,"value":1687},"current",{"type":606,"tag":636,"props":1689,"children":1690},{"style":1051},[1691],{"type":612,"value":1566},{"type":606,"tag":636,"props":1693,"children":1694},{"style":657},[1695],{"type":612,"value":1696},"total",{"type":606,"tag":636,"props":1698,"children":1699},{"style":1051},[1700],{"type":612,"value":1701},":.0%",{"type":606,"tag":636,"props":1703,"children":1704},{"style":651},[1705],{"type":612,"value":1673},{"type":606,"tag":636,"props":1707,"children":1708},{"style":663},[1709],{"type":612,"value":1337},{"type":606,"tag":636,"props":1711,"children":1712},{"class":638,"line":99},[1713],{"type":606,"tag":636,"props":1714,"children":1715},{"emptyLinePlaceholder":13},[1716],{"type":612,"value":947},{"type":606,"tag":636,"props":1718,"children":1719},{"class":638,"line":108},[1720],{"type":606,"tag":636,"props":1721,"children":1722},{"style":642},[1723],{"type":612,"value":1724},"# 3. Formatting text with special characters\n",{"type":606,"tag":636,"props":1726,"children":1727},{"class":638,"line":117},[1728,1732,1737],{"type":606,"tag":636,"props":1729,"children":1730},{"style":1051},[1731],{"type":612,"value":1446},{"type":606,"tag":636,"props":1733,"children":1734},{"style":1449},[1735],{"type":612,"value":1736}," format_card",{"type":606,"tag":636,"props":1738,"children":1739},{"style":657},[1740],{"type":612,"value":1741},"(title, content):\n",{"type":606,"tag":636,"props":1743,"children":1744},{"class":638,"line":126},[1745,1749,1753],{"type":606,"tag":636,"props":1746,"children":1747},{"style":1051},[1748],{"type":612,"value":1465},{"type":606,"tag":636,"props":1750,"children":1751},{"style":1051},[1752],{"type":612,"value":1643},{"type":606,"tag":636,"props":1754,"children":1755},{"style":663},[1756],{"type":612,"value":1757},"\"\"\"\n",{"type":606,"tag":636,"props":1759,"children":1760},{"class":638,"line":135},[1761,1766,1770,1775,1779,1783,1788,1793,1798,1803,1808,1812],{"type":606,"tag":636,"props":1762,"children":1763},{"style":663},[1764],{"type":612,"value":1765},"╔",{"type":606,"tag":636,"props":1767,"children":1768},{"style":651},[1769],{"type":612,"value":1653},{"type":606,"tag":636,"props":1771,"children":1772},{"style":663},[1773],{"type":612,"value":1774},"'═'",{"type":606,"tag":636,"props":1776,"children":1777},{"style":1051},[1778],{"type":612,"value":1551},{"type":606,"tag":636,"props":1780,"children":1781},{"style":657},[1782],{"type":612,"value":1611},{"type":606,"tag":636,"props":1784,"children":1785},{"style":651},[1786],{"type":612,"value":1787},"len",{"type":606,"tag":636,"props":1789,"children":1790},{"style":657},[1791],{"type":612,"value":1792},"(title) ",{"type":606,"tag":636,"props":1794,"children":1795},{"style":1051},[1796],{"type":612,"value":1797},"+",{"type":606,"tag":636,"props":1799,"children":1800},{"style":651},[1801],{"type":612,"value":1802}," 2",{"type":606,"tag":636,"props":1804,"children":1805},{"style":657},[1806],{"type":612,"value":1807},")",{"type":606,"tag":636,"props":1809,"children":1810},{"style":651},[1811],{"type":612,"value":1673},{"type":606,"tag":636,"props":1813,"children":1814},{"style":663},[1815],{"type":612,"value":1816},"╗\n",{"type":606,"tag":636,"props":1818,"children":1819},{"class":638,"line":144},[1820,1825,1829,1834,1838],{"type":606,"tag":636,"props":1821,"children":1822},{"style":663},[1823],{"type":612,"value":1824},"║ ",{"type":606,"tag":636,"props":1826,"children":1827},{"style":651},[1828],{"type":612,"value":1653},{"type":606,"tag":636,"props":1830,"children":1831},{"style":657},[1832],{"type":612,"value":1833},"title",{"type":606,"tag":636,"props":1835,"children":1836},{"style":651},[1837],{"type":612,"value":1673},{"type":606,"tag":636,"props":1839,"children":1840},{"style":663},[1841],{"type":612,"value":1842}," ║\n",{"type":606,"tag":636,"props":1844,"children":1845},{"class":638,"line":153},[1846,1851,1855,1859,1863,1867,1871,1875,1879,1883,1887,1891],{"type":606,"tag":636,"props":1847,"children":1848},{"style":663},[1849],{"type":612,"value":1850},"╠",{"type":606,"tag":636,"props":1852,"children":1853},{"style":651},[1854],{"type":612,"value":1653},{"type":606,"tag":636,"props":1856,"children":1857},{"style":663},[1858],{"type":612,"value":1774},{"type":606,"tag":636,"props":1860,"children":1861},{"style":1051},[1862],{"type":612,"value":1551},{"type":606,"tag":636,"props":1864,"children":1865},{"style":657},[1866],{"type":612,"value":1611},{"type":606,"tag":636,"props":1868,"children":1869},{"style":651},[1870],{"type":612,"value":1787},{"type":606,"tag":636,"props":1872,"children":1873},{"style":657},[1874],{"type":612,"value":1792},{"type":606,"tag":636,"props":1876,"children":1877},{"style":1051},[1878],{"type":612,"value":1797},{"type":606,"tag":636,"props":1880,"children":1881},{"style":651},[1882],{"type":612,"value":1802},{"type":606,"tag":636,"props":1884,"children":1885},{"style":657},[1886],{"type":612,"value":1807},{"type":606,"tag":636,"props":1888,"children":1889},{"style":651},[1890],{"type":612,"value":1673},{"type":606,"tag":636,"props":1892,"children":1893},{"style":663},[1894],{"type":612,"value":1895},"╣\n",{"type":606,"tag":636,"props":1897,"children":1898},{"class":638,"line":163},[1899,1903,1907,1911,1915],{"type":606,"tag":636,"props":1900,"children":1901},{"style":663},[1902],{"type":612,"value":1824},{"type":606,"tag":636,"props":1904,"children":1905},{"style":651},[1906],{"type":612,"value":1653},{"type":606,"tag":636,"props":1908,"children":1909},{"style":657},[1910],{"type":612,"value":17},{"type":606,"tag":636,"props":1912,"children":1913},{"style":651},[1914],{"type":612,"value":1673},{"type":606,"tag":636,"props":1916,"children":1917},{"style":663},[1918],{"type":612,"value":1842},{"type":606,"tag":636,"props":1920,"children":1921},{"class":638,"line":172},[1922,1927,1931,1935,1939,1943,1947,1951,1955,1959,1963,1967],{"type":606,"tag":636,"props":1923,"children":1924},{"style":663},[1925],{"type":612,"value":1926},"╚",{"type":606,"tag":636,"props":1928,"children":1929},{"style":651},[1930],{"type":612,"value":1653},{"type":606,"tag":636,"props":1932,"children":1933},{"style":663},[1934],{"type":612,"value":1774},{"type":606,"tag":636,"props":1936,"children":1937},{"style":1051},[1938],{"type":612,"value":1551},{"type":606,"tag":636,"props":1940,"children":1941},{"style":657},[1942],{"type":612,"value":1611},{"type":606,"tag":636,"props":1944,"children":1945},{"style":651},[1946],{"type":612,"value":1787},{"type":606,"tag":636,"props":1948,"children":1949},{"style":657},[1950],{"type":612,"value":1792},{"type":606,"tag":636,"props":1952,"children":1953},{"style":1051},[1954],{"type":612,"value":1797},{"type":606,"tag":636,"props":1956,"children":1957},{"style":651},[1958],{"type":612,"value":1802},{"type":606,"tag":636,"props":1960,"children":1961},{"style":657},[1962],{"type":612,"value":1807},{"type":606,"tag":636,"props":1964,"children":1965},{"style":651},[1966],{"type":612,"value":1673},{"type":606,"tag":636,"props":1968,"children":1969},{"style":663},[1970],{"type":612,"value":1971},"╝\n",{"type":606,"tag":636,"props":1973,"children":1974},{"class":638,"line":181},[1975],{"type":606,"tag":636,"props":1976,"children":1977},{"style":663},[1978],{"type":612,"value":1757},{"type":606,"tag":636,"props":1980,"children":1981},{"class":638,"line":190},[1982],{"type":606,"tag":636,"props":1983,"children":1984},{"emptyLinePlaceholder":13},[1985],{"type":612,"value":947},{"type":606,"tag":636,"props":1987,"children":1988},{"class":638,"line":199},[1989],{"type":606,"tag":636,"props":1990,"children":1991},{"style":642},[1992],{"type":612,"value":1993},"# Test the functions\n",{"type":606,"tag":636,"props":1995,"children":1996},{"class":638,"line":208},[1997,2001,2006,2010,2014,2018,2022,2026,2030,2034,2038,2042,2046],{"type":606,"tag":636,"props":1998,"children":1999},{"style":651},[2000],{"type":612,"value":654},{"type":606,"tag":636,"props":2002,"children":2003},{"style":657},[2004],{"type":612,"value":2005},"(normalize_path(",{"type":606,"tag":636,"props":2007,"children":2008},{"style":1051},[2009],{"type":612,"value":1054},{"type":606,"tag":636,"props":2011,"children":2012},{"style":663},[2013],{"type":612,"value":888},{"type":606,"tag":636,"props":2015,"children":2016},{"style":1299},[2017],{"type":612,"value":1302},{"type":606,"tag":636,"props":2019,"children":2020},{"style":1305},[2021],{"type":612,"value":1308},{"type":606,"tag":636,"props":2023,"children":2024},{"style":1299},[2025],{"type":612,"value":1313},{"type":606,"tag":636,"props":2027,"children":2028},{"style":1305},[2029],{"type":612,"value":1133},{"type":606,"tag":636,"props":2031,"children":2032},{"style":1299},[2033],{"type":612,"value":1322},{"type":606,"tag":636,"props":2035,"children":2036},{"style":651},[2037],{"type":612,"value":1327},{"type":606,"tag":636,"props":2039,"children":2040},{"style":1299},[2041],{"type":612,"value":1332},{"type":606,"tag":636,"props":2043,"children":2044},{"style":663},[2045],{"type":612,"value":888},{"type":606,"tag":636,"props":2047,"children":2048},{"style":657},[2049],{"type":612,"value":2050},"))\n",{"type":606,"tag":636,"props":2052,"children":2053},{"class":638,"line":217},[2054,2058,2063,2068,2072,2076],{"type":606,"tag":636,"props":2055,"children":2056},{"style":651},[2057],{"type":612,"value":654},{"type":606,"tag":636,"props":2059,"children":2060},{"style":657},[2061],{"type":612,"value":2062},"(progress_bar(",{"type":606,"tag":636,"props":2064,"children":2065},{"style":651},[2066],{"type":612,"value":2067},"7",{"type":606,"tag":636,"props":2069,"children":2070},{"style":657},[2071],{"type":612,"value":1487},{"type":606,"tag":636,"props":2073,"children":2074},{"style":651},[2075],{"type":612,"value":1616},{"type":606,"tag":636,"props":2077,"children":2078},{"style":657},[2079],{"type":612,"value":2050},{"type":606,"tag":636,"props":2081,"children":2082},{"class":638,"line":227},[2083,2087,2092,2097,2101,2106],{"type":606,"tag":636,"props":2084,"children":2085},{"style":651},[2086],{"type":612,"value":654},{"type":606,"tag":636,"props":2088,"children":2089},{"style":657},[2090],{"type":612,"value":2091},"(format_card(",{"type":606,"tag":636,"props":2093,"children":2094},{"style":663},[2095],{"type":612,"value":2096},"\"Hello\"",{"type":606,"tag":636,"props":2098,"children":2099},{"style":657},[2100],{"type":612,"value":1487},{"type":606,"tag":636,"props":2102,"children":2103},{"style":663},[2104],{"type":612,"value":2105},"\"World\"",{"type":606,"tag":636,"props":2107,"children":2108},{"style":657},[2109],{"type":612,"value":2050},{"type":606,"tag":729,"props":2111,"children":2113},{"id":2112},"quick-practice",[2114],{"type":612,"value":2115},"📝 Quick Practice",{"type":606,"tag":615,"props":2117,"children":2118},{},[2119],{"type":612,"value":2120},"Let's practice working with Unicode and special characters!",{"type":606,"tag":2122,"props":2123,"children":2126},"exercise",{"hint":2124,"prompt":2125},"Try using Unicode box-drawing characters for borders!","Create a function to display a menu with Unicode box-drawing characters.",[2127],{"type":606,"tag":625,"props":2128,"children":2130},{"className":627,"code":2129,"language":629,"meta":8,"style":8},"# Menu Display Practice\ndef display_menu(items):\n    # TODO: Implement menu display\n    # 1. Find the longest item for proper box width\n    # 2. Create a box using Unicode box-drawing characters\n    # 3. Display each item with a number\n    # 4. Add a border around the menu\n    \n    # Example items: [\"Option 1\", \"Option 2\", \"Option 3\"]\n    return \"\"\n\n# Test the function\nmenu_items = [\"New Game\", \"Load Game\", \"Settings\", \"Exit\"]\nprint(display_menu(menu_items))\n",[2131],{"type":606,"tag":632,"props":2132,"children":2133},{"__ignoreMap":8},[2134,2142,2159,2177,2185,2193,2201,2209,2217,2225,2237,2244,2252,2306],{"type":606,"tag":636,"props":2135,"children":2136},{"class":638,"line":12},[2137],{"type":606,"tag":636,"props":2138,"children":2139},{"style":642},[2140],{"type":612,"value":2141},"# Menu Display Practice\n",{"type":606,"tag":636,"props":2143,"children":2144},{"class":638,"line":27},[2145,2149,2154],{"type":606,"tag":636,"props":2146,"children":2147},{"style":1051},[2148],{"type":612,"value":1446},{"type":606,"tag":636,"props":2150,"children":2151},{"style":1449},[2152],{"type":612,"value":2153}," display_menu",{"type":606,"tag":636,"props":2155,"children":2156},{"style":657},[2157],{"type":612,"value":2158},"(items):\n",{"type":606,"tag":636,"props":2160,"children":2161},{"class":638,"line":36},[2162,2167,2172],{"type":606,"tag":636,"props":2163,"children":2164},{"style":642},[2165],{"type":612,"value":2166},"    # ",{"type":606,"tag":636,"props":2168,"children":2169},{"style":1051},[2170],{"type":612,"value":2171},"TODO",{"type":606,"tag":636,"props":2173,"children":2174},{"style":642},[2175],{"type":612,"value":2176},": Implement menu display\n",{"type":606,"tag":636,"props":2178,"children":2179},{"class":638,"line":45},[2180],{"type":606,"tag":636,"props":2181,"children":2182},{"style":642},[2183],{"type":612,"value":2184},"    # 1. Find the longest item for proper box width\n",{"type":606,"tag":636,"props":2186,"children":2187},{"class":638,"line":54},[2188],{"type":606,"tag":636,"props":2189,"children":2190},{"style":642},[2191],{"type":612,"value":2192},"    # 2. Create a box using Unicode box-drawing characters\n",{"type":606,"tag":636,"props":2194,"children":2195},{"class":638,"line":63},[2196],{"type":606,"tag":636,"props":2197,"children":2198},{"style":642},[2199],{"type":612,"value":2200},"    # 3. Display each item with a number\n",{"type":606,"tag":636,"props":2202,"children":2203},{"class":638,"line":72},[2204],{"type":606,"tag":636,"props":2205,"children":2206},{"style":642},[2207],{"type":612,"value":2208},"    # 4. Add a border around the menu\n",{"type":606,"tag":636,"props":2210,"children":2211},{"class":638,"line":81},[2212],{"type":606,"tag":636,"props":2213,"children":2214},{"style":657},[2215],{"type":612,"value":2216},"    \n",{"type":606,"tag":636,"props":2218,"children":2219},{"class":638,"line":1024},[2220],{"type":606,"tag":636,"props":2221,"children":2222},{"style":642},[2223],{"type":612,"value":2224},"    # Example items: [\"Option 1\", \"Option 2\", \"Option 3\"]\n",{"type":606,"tag":636,"props":2226,"children":2227},{"class":638,"line":99},[2228,2232],{"type":606,"tag":636,"props":2229,"children":2230},{"style":1051},[2231],{"type":612,"value":1465},{"type":606,"tag":636,"props":2233,"children":2234},{"style":663},[2235],{"type":612,"value":2236}," \"\"\n",{"type":606,"tag":636,"props":2238,"children":2239},{"class":638,"line":108},[2240],{"type":606,"tag":636,"props":2241,"children":2242},{"emptyLinePlaceholder":13},[2243],{"type":612,"value":947},{"type":606,"tag":636,"props":2245,"children":2246},{"class":638,"line":117},[2247],{"type":606,"tag":636,"props":2248,"children":2249},{"style":642},[2250],{"type":612,"value":2251},"# Test the function\n",{"type":606,"tag":636,"props":2253,"children":2254},{"class":638,"line":126},[2255,2260,2264,2269,2274,2278,2283,2287,2292,2296,2301],{"type":606,"tag":636,"props":2256,"children":2257},{"style":657},[2258],{"type":612,"value":2259},"menu_items ",{"type":606,"tag":636,"props":2261,"children":2262},{"style":1051},[2263],{"type":612,"value":1287},{"type":606,"tag":636,"props":2265,"children":2266},{"style":657},[2267],{"type":612,"value":2268}," [",{"type":606,"tag":636,"props":2270,"children":2271},{"style":663},[2272],{"type":612,"value":2273},"\"New Game\"",{"type":606,"tag":636,"props":2275,"children":2276},{"style":657},[2277],{"type":612,"value":1487},{"type":606,"tag":636,"props":2279,"children":2280},{"style":663},[2281],{"type":612,"value":2282},"\"Load Game\"",{"type":606,"tag":636,"props":2284,"children":2285},{"style":657},[2286],{"type":612,"value":1487},{"type":606,"tag":636,"props":2288,"children":2289},{"style":663},[2290],{"type":612,"value":2291},"\"Settings\"",{"type":606,"tag":636,"props":2293,"children":2294},{"style":657},[2295],{"type":612,"value":1487},{"type":606,"tag":636,"props":2297,"children":2298},{"style":663},[2299],{"type":612,"value":2300},"\"Exit\"",{"type":606,"tag":636,"props":2302,"children":2303},{"style":657},[2304],{"type":612,"value":2305},"]\n",{"type":606,"tag":636,"props":2307,"children":2308},{"class":638,"line":135},[2309,2313],{"type":606,"tag":636,"props":2310,"children":2311},{"style":651},[2312],{"type":612,"value":654},{"type":606,"tag":636,"props":2314,"children":2315},{"style":657},[2316],{"type":612,"value":2317},"(display_menu(menu_items))\n",{"type":606,"tag":841,"props":2319,"children":2321},{"id":2320},"solution-and-explanation",[2322],{"type":612,"value":2323},"Solution and Explanation 💡",{"type":606,"tag":2325,"props":2326,"children":2327},"details",{},[2328,2336,2835,2843],{"type":606,"tag":2329,"props":2330,"children":2333},"summary",{"className":2331},[2332],"cursor-pointer",[2334],{"type":612,"value":2335},"Click to see the solution",{"type":606,"tag":621,"props":2337,"children":2338},{},[2339],{"type":606,"tag":625,"props":2340,"children":2342},{"className":627,"code":2341,"language":629,"meta":8,"style":8},"# Menu Display Solution\ndef display_menu(items):\n    # Find the longest item\n    max_length = max(len(item) for item in items)\n    width = max_length + 4  # Add padding\n    \n    # Create the menu\n    menu = []\n    \n    # Top border\n    menu.append(\"╔\" + \"═\" * width + \"╗\")\n    \n    # Menu items\n    for i, item in enumerate(items, 1):\n        menu.append(f\"║ {i}. {item:\u003C{max_length}} ║\")\n    \n    # Bottom border\n    menu.append(\"╚\" + \"═\" * width + \"╝\")\n    \n    return \"\\n\".join(menu)\n\n# Test the function\nmenu_items = [\"New Game\", \"Load Game\", \"Settings\", \"Exit\"]\nprint(display_menu(menu_items))\n",[2343],{"type":606,"tag":632,"props":2344,"children":2345},{"__ignoreMap":8},[2346,2354,2369,2377,2427,2458,2465,2473,2490,2497,2505,2550,2557,2565,2602,2675,2682,2690,2731,2738,2763,2770,2777,2824],{"type":606,"tag":636,"props":2347,"children":2348},{"class":638,"line":12},[2349],{"type":606,"tag":636,"props":2350,"children":2351},{"style":642},[2352],{"type":612,"value":2353},"# Menu Display Solution\n",{"type":606,"tag":636,"props":2355,"children":2356},{"class":638,"line":27},[2357,2361,2365],{"type":606,"tag":636,"props":2358,"children":2359},{"style":1051},[2360],{"type":612,"value":1446},{"type":606,"tag":636,"props":2362,"children":2363},{"style":1449},[2364],{"type":612,"value":2153},{"type":606,"tag":636,"props":2366,"children":2367},{"style":657},[2368],{"type":612,"value":2158},{"type":606,"tag":636,"props":2370,"children":2371},{"class":638,"line":36},[2372],{"type":606,"tag":636,"props":2373,"children":2374},{"style":642},[2375],{"type":612,"value":2376},"    # Find the longest item\n",{"type":606,"tag":636,"props":2378,"children":2379},{"class":638,"line":45},[2380,2385,2389,2394,2398,2402,2407,2412,2417,2422],{"type":606,"tag":636,"props":2381,"children":2382},{"style":657},[2383],{"type":612,"value":2384},"    max_length ",{"type":606,"tag":636,"props":2386,"children":2387},{"style":1051},[2388],{"type":612,"value":1287},{"type":606,"tag":636,"props":2390,"children":2391},{"style":651},[2392],{"type":612,"value":2393}," max",{"type":606,"tag":636,"props":2395,"children":2396},{"style":657},[2397],{"type":612,"value":660},{"type":606,"tag":636,"props":2399,"children":2400},{"style":651},[2401],{"type":612,"value":1787},{"type":606,"tag":636,"props":2403,"children":2404},{"style":657},[2405],{"type":612,"value":2406},"(item) ",{"type":606,"tag":636,"props":2408,"children":2409},{"style":1051},[2410],{"type":612,"value":2411},"for",{"type":606,"tag":636,"props":2413,"children":2414},{"style":657},[2415],{"type":612,"value":2416}," item ",{"type":606,"tag":636,"props":2418,"children":2419},{"style":1051},[2420],{"type":612,"value":2421},"in",{"type":606,"tag":636,"props":2423,"children":2424},{"style":657},[2425],{"type":612,"value":2426}," items)\n",{"type":606,"tag":636,"props":2428,"children":2429},{"class":638,"line":54},[2430,2435,2439,2444,2448,2453],{"type":606,"tag":636,"props":2431,"children":2432},{"style":657},[2433],{"type":612,"value":2434},"    width ",{"type":606,"tag":636,"props":2436,"children":2437},{"style":1051},[2438],{"type":612,"value":1287},{"type":606,"tag":636,"props":2440,"children":2441},{"style":657},[2442],{"type":612,"value":2443}," max_length ",{"type":606,"tag":636,"props":2445,"children":2446},{"style":1051},[2447],{"type":612,"value":1797},{"type":606,"tag":636,"props":2449,"children":2450},{"style":651},[2451],{"type":612,"value":2452}," 4",{"type":606,"tag":636,"props":2454,"children":2455},{"style":642},[2456],{"type":612,"value":2457},"  # Add padding\n",{"type":606,"tag":636,"props":2459,"children":2460},{"class":638,"line":63},[2461],{"type":606,"tag":636,"props":2462,"children":2463},{"style":657},[2464],{"type":612,"value":2216},{"type":606,"tag":636,"props":2466,"children":2467},{"class":638,"line":72},[2468],{"type":606,"tag":636,"props":2469,"children":2470},{"style":642},[2471],{"type":612,"value":2472},"    # Create the menu\n",{"type":606,"tag":636,"props":2474,"children":2475},{"class":638,"line":81},[2476,2481,2485],{"type":606,"tag":636,"props":2477,"children":2478},{"style":657},[2479],{"type":612,"value":2480},"    menu ",{"type":606,"tag":636,"props":2482,"children":2483},{"style":1051},[2484],{"type":612,"value":1287},{"type":606,"tag":636,"props":2486,"children":2487},{"style":657},[2488],{"type":612,"value":2489}," []\n",{"type":606,"tag":636,"props":2491,"children":2492},{"class":638,"line":1024},[2493],{"type":606,"tag":636,"props":2494,"children":2495},{"style":657},[2496],{"type":612,"value":2216},{"type":606,"tag":636,"props":2498,"children":2499},{"class":638,"line":99},[2500],{"type":606,"tag":636,"props":2501,"children":2502},{"style":642},[2503],{"type":612,"value":2504},"    # Top border\n",{"type":606,"tag":636,"props":2506,"children":2507},{"class":638,"line":108},[2508,2513,2518,2523,2528,2532,2537,2541,2546],{"type":606,"tag":636,"props":2509,"children":2510},{"style":657},[2511],{"type":612,"value":2512},"    menu.append(",{"type":606,"tag":636,"props":2514,"children":2515},{"style":663},[2516],{"type":612,"value":2517},"\"╔\"",{"type":606,"tag":636,"props":2519,"children":2520},{"style":1051},[2521],{"type":612,"value":2522}," +",{"type":606,"tag":636,"props":2524,"children":2525},{"style":663},[2526],{"type":612,"value":2527}," \"═\"",{"type":606,"tag":636,"props":2529,"children":2530},{"style":1051},[2531],{"type":612,"value":1551},{"type":606,"tag":636,"props":2533,"children":2534},{"style":657},[2535],{"type":612,"value":2536}," width ",{"type":606,"tag":636,"props":2538,"children":2539},{"style":1051},[2540],{"type":612,"value":1797},{"type":606,"tag":636,"props":2542,"children":2543},{"style":663},[2544],{"type":612,"value":2545}," \"╗\"",{"type":606,"tag":636,"props":2547,"children":2548},{"style":657},[2549],{"type":612,"value":1497},{"type":606,"tag":636,"props":2551,"children":2552},{"class":638,"line":117},[2553],{"type":606,"tag":636,"props":2554,"children":2555},{"style":657},[2556],{"type":612,"value":2216},{"type":606,"tag":636,"props":2558,"children":2559},{"class":638,"line":126},[2560],{"type":606,"tag":636,"props":2561,"children":2562},{"style":642},[2563],{"type":612,"value":2564},"    # Menu items\n",{"type":606,"tag":636,"props":2566,"children":2567},{"class":638,"line":135},[2568,2573,2578,2582,2587,2592,2597],{"type":606,"tag":636,"props":2569,"children":2570},{"style":1051},[2571],{"type":612,"value":2572},"    for",{"type":606,"tag":636,"props":2574,"children":2575},{"style":657},[2576],{"type":612,"value":2577}," i, item ",{"type":606,"tag":636,"props":2579,"children":2580},{"style":1051},[2581],{"type":612,"value":2421},{"type":606,"tag":636,"props":2583,"children":2584},{"style":651},[2585],{"type":612,"value":2586}," enumerate",{"type":606,"tag":636,"props":2588,"children":2589},{"style":657},[2590],{"type":612,"value":2591},"(items, ",{"type":606,"tag":636,"props":2593,"children":2594},{"style":651},[2595],{"type":612,"value":2596},"1",{"type":606,"tag":636,"props":2598,"children":2599},{"style":657},[2600],{"type":612,"value":2601},"):\n",{"type":606,"tag":636,"props":2603,"children":2604},{"class":638,"line":144},[2605,2610,2615,2620,2624,2629,2633,2638,2642,2647,2652,2656,2661,2666,2671],{"type":606,"tag":636,"props":2606,"children":2607},{"style":657},[2608],{"type":612,"value":2609},"        menu.append(",{"type":606,"tag":636,"props":2611,"children":2612},{"style":1051},[2613],{"type":612,"value":2614},"f",{"type":606,"tag":636,"props":2616,"children":2617},{"style":663},[2618],{"type":612,"value":2619},"\"║ ",{"type":606,"tag":636,"props":2621,"children":2622},{"style":651},[2623],{"type":612,"value":1653},{"type":606,"tag":636,"props":2625,"children":2626},{"style":657},[2627],{"type":612,"value":2628},"i",{"type":606,"tag":636,"props":2630,"children":2631},{"style":651},[2632],{"type":612,"value":1673},{"type":606,"tag":636,"props":2634,"children":2635},{"style":663},[2636],{"type":612,"value":2637},". ",{"type":606,"tag":636,"props":2639,"children":2640},{"style":651},[2641],{"type":612,"value":1653},{"type":606,"tag":636,"props":2643,"children":2644},{"style":657},[2645],{"type":612,"value":2646},"item",{"type":606,"tag":636,"props":2648,"children":2649},{"style":1051},[2650],{"type":612,"value":2651},":\u003C",{"type":606,"tag":636,"props":2653,"children":2654},{"style":651},[2655],{"type":612,"value":1653},{"type":606,"tag":636,"props":2657,"children":2658},{"style":657},[2659],{"type":612,"value":2660},"max_length",{"type":606,"tag":636,"props":2662,"children":2663},{"style":651},[2664],{"type":612,"value":2665},"}}",{"type":606,"tag":636,"props":2667,"children":2668},{"style":663},[2669],{"type":612,"value":2670}," ║\"",{"type":606,"tag":636,"props":2672,"children":2673},{"style":657},[2674],{"type":612,"value":1497},{"type":606,"tag":636,"props":2676,"children":2677},{"class":638,"line":153},[2678],{"type":606,"tag":636,"props":2679,"children":2680},{"style":657},[2681],{"type":612,"value":2216},{"type":606,"tag":636,"props":2683,"children":2684},{"class":638,"line":163},[2685],{"type":606,"tag":636,"props":2686,"children":2687},{"style":642},[2688],{"type":612,"value":2689},"    # Bottom border\n",{"type":606,"tag":636,"props":2691,"children":2692},{"class":638,"line":172},[2693,2697,2702,2706,2710,2714,2718,2722,2727],{"type":606,"tag":636,"props":2694,"children":2695},{"style":657},[2696],{"type":612,"value":2512},{"type":606,"tag":636,"props":2698,"children":2699},{"style":663},[2700],{"type":612,"value":2701},"\"╚\"",{"type":606,"tag":636,"props":2703,"children":2704},{"style":1051},[2705],{"type":612,"value":2522},{"type":606,"tag":636,"props":2707,"children":2708},{"style":663},[2709],{"type":612,"value":2527},{"type":606,"tag":636,"props":2711,"children":2712},{"style":1051},[2713],{"type":612,"value":1551},{"type":606,"tag":636,"props":2715,"children":2716},{"style":657},[2717],{"type":612,"value":2536},{"type":606,"tag":636,"props":2719,"children":2720},{"style":1051},[2721],{"type":612,"value":1797},{"type":606,"tag":636,"props":2723,"children":2724},{"style":663},[2725],{"type":612,"value":2726}," \"╝\"",{"type":606,"tag":636,"props":2728,"children":2729},{"style":657},[2730],{"type":612,"value":1497},{"type":606,"tag":636,"props":2732,"children":2733},{"class":638,"line":181},[2734],{"type":606,"tag":636,"props":2735,"children":2736},{"style":657},[2737],{"type":612,"value":2216},{"type":606,"tag":636,"props":2739,"children":2740},{"class":638,"line":190},[2741,2745,2750,2754,2758],{"type":606,"tag":636,"props":2742,"children":2743},{"style":1051},[2744],{"type":612,"value":1465},{"type":606,"tag":636,"props":2746,"children":2747},{"style":663},[2748],{"type":612,"value":2749}," \"",{"type":606,"tag":636,"props":2751,"children":2752},{"style":651},[2753],{"type":612,"value":1133},{"type":606,"tag":636,"props":2755,"children":2756},{"style":663},[2757],{"type":612,"value":888},{"type":606,"tag":636,"props":2759,"children":2760},{"style":657},[2761],{"type":612,"value":2762},".join(menu)\n",{"type":606,"tag":636,"props":2764,"children":2765},{"class":638,"line":199},[2766],{"type":606,"tag":636,"props":2767,"children":2768},{"emptyLinePlaceholder":13},[2769],{"type":612,"value":947},{"type":606,"tag":636,"props":2771,"children":2772},{"class":638,"line":208},[2773],{"type":606,"tag":636,"props":2774,"children":2775},{"style":642},[2776],{"type":612,"value":2251},{"type":606,"tag":636,"props":2778,"children":2779},{"class":638,"line":217},[2780,2784,2788,2792,2796,2800,2804,2808,2812,2816,2820],{"type":606,"tag":636,"props":2781,"children":2782},{"style":657},[2783],{"type":612,"value":2259},{"type":606,"tag":636,"props":2785,"children":2786},{"style":1051},[2787],{"type":612,"value":1287},{"type":606,"tag":636,"props":2789,"children":2790},{"style":657},[2791],{"type":612,"value":2268},{"type":606,"tag":636,"props":2793,"children":2794},{"style":663},[2795],{"type":612,"value":2273},{"type":606,"tag":636,"props":2797,"children":2798},{"style":657},[2799],{"type":612,"value":1487},{"type":606,"tag":636,"props":2801,"children":2802},{"style":663},[2803],{"type":612,"value":2282},{"type":606,"tag":636,"props":2805,"children":2806},{"style":657},[2807],{"type":612,"value":1487},{"type":606,"tag":636,"props":2809,"children":2810},{"style":663},[2811],{"type":612,"value":2291},{"type":606,"tag":636,"props":2813,"children":2814},{"style":657},[2815],{"type":612,"value":1487},{"type":606,"tag":636,"props":2817,"children":2818},{"style":663},[2819],{"type":612,"value":2300},{"type":606,"tag":636,"props":2821,"children":2822},{"style":657},[2823],{"type":612,"value":2305},{"type":606,"tag":636,"props":2825,"children":2826},{"class":638,"line":227},[2827,2831],{"type":606,"tag":636,"props":2828,"children":2829},{"style":651},[2830],{"type":612,"value":654},{"type":606,"tag":636,"props":2832,"children":2833},{"style":657},[2834],{"type":612,"value":2317},{"type":606,"tag":615,"props":2836,"children":2837},{},[2838],{"type":606,"tag":751,"props":2839,"children":2840},{},[2841],{"type":612,"value":2842},"Key Learning Points:",{"type":606,"tag":757,"props":2844,"children":2845},{},[2846,2851,2856,2861],{"type":606,"tag":761,"props":2847,"children":2848},{},[2849],{"type":612,"value":2850},"📌 Used Unicode box-drawing characters",{"type":606,"tag":761,"props":2852,"children":2853},{},[2854],{"type":612,"value":2855},"📌 Used string formatting for alignment",{"type":606,"tag":761,"props":2857,"children":2858},{},[2859],{"type":612,"value":2860},"📌 Used list comprehension for width calculation",{"type":606,"tag":761,"props":2862,"children":2863},{},[2864,2866,2872],{"type":612,"value":2865},"📌 Used ",{"type":606,"tag":632,"props":2867,"children":2869},{"className":2868},[],[2870],{"type":612,"value":2871},"join()",{"type":612,"value":2873}," for final output",{"type":606,"tag":729,"props":2875,"children":2877},{"id":2876},"key-takeaways",[2878],{"type":612,"value":2879},"🎯 Key Takeaways",{"type":606,"tag":741,"props":2881,"children":2885},{"emoji":2882,"title":2883,"type":2884},"📚","Unicode and Special Characters Essentials","success",[2886,2894,2937,2945,2988,2996,3019],{"type":606,"tag":615,"props":2887,"children":2888},{},[2889],{"type":606,"tag":751,"props":2890,"children":2891},{},[2892],{"type":612,"value":2893},"Unicode Features:",{"type":606,"tag":757,"props":2895,"children":2896},{},[2897,2907,2917,2927],{"type":606,"tag":761,"props":2898,"children":2899},{},[2900,2905],{"type":606,"tag":632,"props":2901,"children":2903},{"className":2902},[],[2904],{"type":612,"value":771},{"type":612,"value":2906}," for 4-digit hex",{"type":606,"tag":761,"props":2908,"children":2909},{},[2910,2915],{"type":606,"tag":632,"props":2911,"children":2913},{"className":2912},[],[2914],{"type":612,"value":784},{"type":612,"value":2916}," for 8-digit hex",{"type":606,"tag":761,"props":2918,"children":2919},{},[2920,2925],{"type":606,"tag":632,"props":2921,"children":2923},{"className":2922},[],[2924],{"type":612,"value":797},{"type":612,"value":2926}," for named characters",{"type":606,"tag":761,"props":2928,"children":2929},{},[2930,2932],{"type":612,"value":2931},"Raw strings with ",{"type":606,"tag":632,"props":2933,"children":2935},{"className":2934},[],[2936],{"type":612,"value":808},{"type":606,"tag":615,"props":2938,"children":2939},{},[2940],{"type":606,"tag":751,"props":2941,"children":2942},{},[2943],{"type":612,"value":2944},"Special Characters:",{"type":606,"tag":757,"props":2946,"children":2947},{},[2948,2958,2968,2978],{"type":606,"tag":761,"props":2949,"children":2950},{},[2951,2956],{"type":606,"tag":632,"props":2952,"children":2954},{"className":2953},[],[2955],{"type":612,"value":1133},{"type":612,"value":2957}," for newline",{"type":606,"tag":761,"props":2959,"children":2960},{},[2961,2966],{"type":606,"tag":632,"props":2962,"children":2964},{"className":2963},[],[2965],{"type":612,"value":1168},{"type":612,"value":2967}," for tab",{"type":606,"tag":761,"props":2969,"children":2970},{},[2971,2976],{"type":606,"tag":632,"props":2972,"children":2974},{"className":2973},[],[2975],{"type":612,"value":1203},{"type":612,"value":2977}," for backslash",{"type":606,"tag":761,"props":2979,"children":2980},{},[2981,2986],{"type":606,"tag":632,"props":2982,"children":2984},{"className":2983},[],[2985],{"type":612,"value":1237},{"type":612,"value":2987}," for quotes",{"type":606,"tag":615,"props":2989,"children":2990},{},[2991],{"type":606,"tag":751,"props":2992,"children":2993},{},[2994],{"type":612,"value":2995},"Best Practices:",{"type":606,"tag":757,"props":2997,"children":2998},{},[2999,3004,3009,3014],{"type":606,"tag":761,"props":3000,"children":3001},{},[3002],{"type":612,"value":3003},"Use raw strings for paths",{"type":606,"tag":761,"props":3005,"children":3006},{},[3007],{"type":612,"value":3008},"Use Unicode for international text",{"type":606,"tag":761,"props":3010,"children":3011},{},[3012],{"type":612,"value":3013},"Use proper encoding when reading/writing files",{"type":606,"tag":761,"props":3015,"children":3016},{},[3017],{"type":612,"value":3018},"Consider terminal compatibility",{"type":606,"tag":615,"props":3020,"children":3021},{},[3022,3027],{"type":606,"tag":751,"props":3023,"children":3024},{},[3025],{"type":612,"value":3026},"Remember:",{"type":612,"value":3028}," Python 3 uses Unicode by default, making it great for international text!",{"type":606,"tag":3030,"props":3031,"children":3032},"style",{},[3033],{"type":612,"value":3034},"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 .app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}html.app-dark-mode .shiki span {color: var(--shiki-app-dark-mode);background: var(--shiki-app-dark-mode-bg);font-style: var(--shiki-app-dark-mode-font-style);font-weight: var(--shiki-app-dark-mode-font-weight);text-decoration: var(--shiki-app-dark-mode-text-decoration);}",{"title":8,"searchDepth":36,"depth":36,"links":3036},[3037,3040,3041,3042,3045],{"id":731,"depth":27,"text":734,"children":3038},[3039],{"id":843,"depth":36,"text":846},{"id":1078,"depth":27,"text":1081},{"id":1412,"depth":27,"text":1415},{"id":2112,"depth":27,"text":2115,"children":3043},[3044],{"id":2320,"depth":36,"text":2323},{"id":2876,"depth":27,"text":2879},1782373765354]