[{"data":1,"prerenderedAt":6416},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/module-paths":988},[4,22,31,40,49,58,67,76,86,95,104,113,122,131,141,150,159,168,177,186,196,205,214,223,233,242,251,260,269,279,288,297,306,315,324,333,342,351,360,369,379,388,397,406,415,424,433,442,452,461,470,479,488,497,506,515,525,534,543,552,561,570,579,588,597,606,616,625,634,643,652,661,670,680,689,698,707,716,725,734,744,753,762,771,780,789,798,807,817,826,835,844,853,863,872,881,890,900,909,918,927,936,945,953,961,970,979],{"_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},"/python/getting-started","python",false,"","Getting Started","Begin your Python programming journey. Learn what Python is, how to set it up, and write your first programs. Perfect for complete beginners starting their coding adventure.","getting-started",1,true,"pi pi-folder","markdown","content:python:1.getting-started.md","content","python/1.getting-started.md","python/1.getting-started","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/what-is-python","What is Python","Discover Python's fascinating history, design philosophy, and key features. Learn why Python has become one of the world's most popular programming languages and perfect for beginners.","what-is-python",2,"content:python:2.what-is-python.md","python/2.what-is-python.md","python/2.what-is-python",{"_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/setup-python","Setup Python","Learn how to install Python on your computer and set up your development environment. Step-by-step guide for Windows, macOS, and Linux with beginner-friendly instructions.","setup-python",3,"content:python:3.setup-python.md","python/3.setup-python.md","python/3.setup-python",{"_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/your-first-program","Your First Program","Write and run your first Python program! Learn the basics of Python programming with simple examples and step-by-step instructions for beginners.","your-first-program",4,"content:python:4.your-first-program.md","python/4.your-first-program.md","python/4.your-first-program",{"_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/python-code-structure","Python Code Structure","Learn how Python code is organized and structured. Understand indentation, line breaks, and the basic rules that make Python programs work correctly.","python-code-structure",5,"content:python:5.python-code-structure.md","python/5.python-code-structure.md","python/5.python-code-structure",{"_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/writing-comments","Writing Comments","Learn how to write effective comments in Python. Discover when and how to document your code to make it clear, maintainable, and easy to understand.","writing-comments",6,"content:python:6.writing-comments.md","python/6.writing-comments.md","python/6.writing-comments",{"_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/working-with-variables","Working with Variables","Learn how to create, use, and manage variables in Python. Understand how to store data, change values, and follow naming conventions for clean, readable code.","working-with-variables",7,"content:python:7.working-with-variables.md","python/7.working-with-variables.md","python/7.working-with-variables",{"_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},"/python/basic-data-types","Basic Data Types","Learn about Python's fundamental data types including numbers, text, and boolean values","basic-data-types",8,"content:python:8.basic-data-types.md","python/8.basic-data-types.md","python/8.basic-data-types",[86,95,104,113,122],{"_path":87,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":88,"description":89,"slug":90,"parentId":77,"order":91,"_type":15,"_id":92,"_source":17,"_file":93,"_stem":94,"_extension":20},"/python/understanding-data-types","Understanding Data Types","Learn how Python identifies different data types and why they're important for programming","understanding-data-types",9,"content:python:9.understanding-data-types.md","python/9.understanding-data-types.md","python/9.understanding-data-types",{"_path":96,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":97,"description":98,"slug":99,"parentId":77,"order":100,"_type":15,"_id":101,"_source":17,"_file":102,"_stem":103,"_extension":20},"/python/working-with-numbers","Working with Numbers","Learn about Python's numeric data types including integers and floats, and how to perform calculations","working-with-numbers",10,"content:python:10.working-with-numbers.md","python/10.working-with-numbers.md","python/10.working-with-numbers",{"_path":105,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":106,"description":107,"slug":108,"parentId":77,"order":109,"_type":15,"_id":110,"_source":17,"_file":111,"_stem":112,"_extension":20},"/python/text-and-strings","Text and Strings","Learn how to work with text data in Python using strings, including creation, manipulation, and formatting","text-and-strings",11,"content:python:11.text-and-strings.md","python/11.text-and-strings.md","python/11.text-and-strings",{"_path":114,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":115,"description":116,"slug":117,"parentId":77,"order":118,"_type":15,"_id":119,"_source":17,"_file":120,"_stem":121,"_extension":20},"/python/true-false-values","True/False Values","Learn about boolean values in Python, including True/False logic, comparison operations, and how to use booleans for decision-making in your programs","true-false-values",12,"content:python:12.true-false-values.md","python/12.true-false-values.md","python/12.true-false-values",{"_path":123,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":124,"description":125,"slug":126,"parentId":77,"order":127,"_type":15,"_id":128,"_source":17,"_file":129,"_stem":130,"_extension":20},"/python/converting-types","Converting Types","Learn how to convert between different Python data types including strings, numbers, and booleans","converting-types",13,"content:python:13.converting-types.md","python/13.converting-types.md","python/13.converting-types",{"_path":132,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":133,"description":134,"slug":135,"order":136,"isParent":13,"icon":14,"_type":15,"_id":137,"_source":17,"_file":138,"_stem":139,"_extension":20,"children":140},"/python/python-operators","Python Operators","Learn about Python operators - the symbols and keywords that perform operations on data. Discover arithmetic, comparison, logical, and assignment operators with simple examples.","python-operators",14,"content:python:14.python-operators.md","python/14.python-operators.md","python/14.python-operators",[141,150,159,168,177],{"_path":142,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":143,"description":144,"slug":145,"parentId":132,"order":146,"_type":15,"_id":147,"_source":17,"_file":148,"_stem":149,"_extension":20},"/python/math-operations","Math Operations","Learn Python's arithmetic operators for mathematical calculations. Master addition, subtraction, multiplication, division, and more with practical examples.","math-operations",15,"content:python:15.math-operations.md","python/15.math-operations.md","python/15.math-operations",{"_path":151,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":152,"description":153,"slug":154,"parentId":132,"order":155,"_type":15,"_id":156,"_source":17,"_file":157,"_stem":158,"_extension":20},"/python/comparing-values","Comparing Values","Learn Python's comparison operators to compare values and make decisions. Master equality, inequality, and relational operators with practical examples.","comparing-values",16,"content:python:16.comparing-values.md","python/16.comparing-values.md","python/16.comparing-values",{"_path":160,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":161,"description":162,"slug":163,"parentId":132,"order":164,"_type":15,"_id":165,"_source":17,"_file":166,"_stem":167,"_extension":20},"/python/logic-operations","Logic Operations","Learn about Python's logical operators for combining conditions and creating complex boolean expressions","logic-operations",17,"content:python:17.logic-operations.md","python/17.logic-operations.md","python/17.logic-operations",{"_path":169,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":170,"description":171,"slug":172,"parentId":132,"order":173,"_type":15,"_id":174,"_source":17,"_file":175,"_stem":176,"_extension":20},"/python/value-assignment","Value Assignment","Learn about Python's assignment operators for efficiently updating variables and performing calculations","value-assignment",18,"content:python:18.value-assignment.md","python/18.value-assignment.md","python/18.value-assignment",{"_path":178,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":179,"description":180,"slug":181,"parentId":132,"order":182,"_type":15,"_id":183,"_source":17,"_file":184,"_stem":185,"_extension":20},"/python/operator-precedence","Operator Precedence","Learn how Python evaluates expressions with multiple operators and how to control evaluation order","operator-precedence",19,"content:python:19.operator-precedence.md","python/19.operator-precedence.md","python/19.operator-precedence",{"_path":187,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":188,"description":189,"slug":190,"order":191,"isParent":13,"icon":14,"_type":15,"_id":192,"_source":17,"_file":193,"_stem":194,"_extension":20,"children":195},"/python/decision-making","Decision Making","Learn how to make decisions in your Python programs using conditional statements and control flow","decision-making",20,"content:python:20.decision-making.md","python/20.decision-making.md","python/20.decision-making",[196,205,214],{"_path":197,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":198,"description":199,"slug":200,"parentId":187,"order":201,"_type":15,"_id":202,"_source":17,"_file":203,"_stem":204,"_extension":20},"/python/if-statements","If Statements","Learn how to use if statements to make decisions and control program flow in Python","if-statements",21,"content:python:21.if-statements.md","python/21.if-statements.md","python/21.if-statements",{"_path":206,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":207,"description":208,"slug":209,"parentId":187,"order":210,"_type":15,"_id":211,"_source":17,"_file":212,"_stem":213,"_extension":20},"/python/multiple-conditions","Multiple Conditions","Learn how to handle multiple conditions using elif statements and complex conditional logic in Python","multiple-conditions",22,"content:python:22.multiple-conditions.md","python/22.multiple-conditions.md","python/22.multiple-conditions",{"_path":215,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":216,"description":217,"slug":218,"parentId":187,"order":219,"_type":15,"_id":220,"_source":17,"_file":221,"_stem":222,"_extension":20},"/python/pattern-matching","Pattern Matching","Learn how to use Python's match-case statements for powerful pattern matching and complex decision making","pattern-matching",23,"content:python:23.pattern-matching.md","python/23.pattern-matching.md","python/23.pattern-matching",{"_path":224,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":225,"description":226,"slug":227,"order":228,"isParent":13,"icon":14,"_type":15,"_id":229,"_source":17,"_file":230,"_stem":231,"_extension":20,"children":232},"/python/repetition-and-loops","Python Loops","Learn how to use loops to repeat code efficiently and handle repetitive tasks in Python","repetition-and-loops",24,"content:python:24.repetition-and-loops.md","python/24.repetition-and-loops.md","python/24.repetition-and-loops",[233,242,251,260],{"_path":234,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":235,"description":236,"slug":237,"parentId":224,"order":238,"_type":15,"_id":239,"_source":17,"_file":240,"_stem":241,"_extension":20},"/python/while-loops","While Loops","Learn how to use while loops for condition-based repetition and create loops that run until specific conditions are met","while-loops",25,"content:python:25.while-loops.md","python/25.while-loops.md","python/25.while-loops",{"_path":243,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":244,"description":245,"slug":246,"parentId":224,"order":247,"_type":15,"_id":248,"_source":17,"_file":249,"_stem":250,"_extension":20},"/python/for-loops","For Loops","Learn how to use for loops to iterate through sequences, collections, and ranges efficiently in Python","for-loops",26,"content:python:26.for-loops.md","python/26.for-loops.md","python/26.for-loops",{"_path":252,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":253,"description":254,"slug":255,"parentId":224,"order":256,"_type":15,"_id":257,"_source":17,"_file":258,"_stem":259,"_extension":20},"/python/loop-control","Loop Control","Master advanced loop control techniques including break, continue, and else clauses for sophisticated iteration patterns","loop-control",27,"content:python:27.loop-control.md","python/27.loop-control.md","python/27.loop-control",{"_path":261,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":262,"description":263,"slug":264,"parentId":224,"order":265,"_type":15,"_id":266,"_source":17,"_file":267,"_stem":268,"_extension":20},"/python/nested-loops","Nested Loops","Learn how to use nested loops to process multi-dimensional data, create patterns, and handle complex iteration scenarios","nested-loops",28,"content:python:28.nested-loops.md","python/28.nested-loops.md","python/28.nested-loops",{"_path":270,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":271,"description":272,"slug":273,"order":274,"isParent":13,"icon":14,"_type":15,"_id":275,"_source":17,"_file":276,"_stem":277,"_extension":20,"children":278},"/python/python-lists","Python Lists","Learn about Python lists, one of the most important and versatile data structures for storing and organizing collections of data","python-lists",29,"content:python:29.python-lists.md","python/29.python-lists.md","python/29.python-lists",[279,288,297,306,315,324,333,342,351,360],{"_path":280,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":281,"description":282,"slug":283,"parentId":270,"order":284,"_type":15,"_id":285,"_source":17,"_file":286,"_stem":287,"_extension":20},"/python/creating-lists","Creating Lists","Learn different methods to create and initialize Python lists, from simple literals to advanced techniques","creating-lists",30,"content:python:30.creating-lists.md","python/30.creating-lists.md","python/30.creating-lists",{"_path":289,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":290,"description":291,"slug":292,"parentId":270,"order":293,"_type":15,"_id":294,"_source":17,"_file":295,"_stem":296,"_extension":20},"/python/reading-list-data","Reading List Data","Master techniques for accessing and retrieving data from Python lists using indexing, slicing, and built-in methods","reading-list-data",31,"content:python:31.reading-list-data.md","python/31.reading-list-data.md","python/31.reading-list-data",{"_path":298,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":299,"description":300,"slug":301,"parentId":270,"order":302,"_type":15,"_id":303,"_source":17,"_file":304,"_stem":305,"_extension":20},"/python/modifying-lists","Modifying Lists","Learn how to change, update, and modify existing elements in Python lists using indexing and various methods","modifying-lists",32,"content:python:32.modifying-lists.md","python/32.modifying-lists.md","python/32.modifying-lists",{"_path":307,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":308,"description":309,"slug":310,"parentId":270,"order":311,"_type":15,"_id":312,"_source":17,"_file":313,"_stem":314,"_extension":20},"/python/adding-to-lists","Adding to Lists","Learn various methods to add elements to Python lists including append, insert, extend, and concatenation techniques","adding-to-lists",33,"content:python:33.adding-to-lists.md","python/33.adding-to-lists.md","python/33.adding-to-lists",{"_path":316,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":317,"description":318,"slug":319,"parentId":270,"order":320,"_type":15,"_id":321,"_source":17,"_file":322,"_stem":323,"_extension":20},"/python/removing-from-lists","Removing from Lists","Learn different methods to remove and delete elements from Python lists including remove, pop, del, and clear","removing-from-lists",34,"content:python:34.removing-from-lists.md","python/34.removing-from-lists.md","python/34.removing-from-lists",{"_path":325,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":326,"description":327,"slug":328,"parentId":270,"order":329,"_type":15,"_id":330,"_source":17,"_file":331,"_stem":332,"_extension":20},"/python/looping-through-lists","Looping Through Lists","Learn different ways to iterate through Python lists using for loops, while loops, enumerate, and other iteration techniques","looping-through-lists",35,"content:python:35.looping-through-lists.md","python/35.looping-through-lists.md","python/35.looping-through-lists",{"_path":334,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":335,"description":336,"slug":337,"parentId":270,"order":338,"_type":15,"_id":339,"_source":17,"_file":340,"_stem":341,"_extension":20},"/python/list-shortcuts","List Shortcuts","Learn powerful Python list shortcuts including list comprehensions, slicing tricks, and built-in functions for efficient list operations","list-shortcuts",36,"content:python:36.list-shortcuts.md","python/36.list-shortcuts.md","python/36.list-shortcuts",{"_path":343,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":344,"description":345,"slug":346,"parentId":270,"order":347,"_type":15,"_id":348,"_source":17,"_file":349,"_stem":350,"_extension":20},"/python/organizing-lists","Organizing Lists","Learn how to sort, reverse, and organize Python lists using built-in methods and custom sorting techniques","organizing-lists",37,"content:python:37.organizing-lists.md","python/37.organizing-lists.md","python/37.organizing-lists",{"_path":352,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":353,"description":354,"slug":355,"parentId":270,"order":356,"_type":15,"_id":357,"_source":17,"_file":358,"_stem":359,"_extension":20},"/python/combining-lists","Combining Lists","Learn various techniques to combine, merge, and join Python lists including concatenation, zipping, and advanced merging strategies","combining-lists",38,"content:python:38.combining-lists.md","python/38.combining-lists.md","python/38.combining-lists",{"_path":361,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":362,"description":363,"slug":364,"parentId":270,"order":365,"_type":15,"_id":366,"_source":17,"_file":367,"_stem":368,"_extension":20},"/python/essential-list-tools","Essential List Tools","Master powerful built-in functions and advanced techniques for efficient Python list manipulation and data processing","essential-list-tools",39,"content:python:39.essential-list-tools.md","python/39.essential-list-tools.md","python/39.essential-list-tools",{"_path":370,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":371,"description":372,"slug":373,"order":374,"isParent":13,"icon":14,"_type":15,"_id":375,"_source":17,"_file":376,"_stem":377,"_extension":20,"children":378},"/python/python-tuples","Python Tuples","Master Python tuples - immutable sequences perfect for storing related data that shouldn't change. Learn creation, access, and manipulation techniques.","python-tuples",40,"content:python:40.python-tuples.md","python/40.python-tuples.md","python/40.python-tuples",[379,388,397,406,415,424,433],{"_path":380,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":381,"description":382,"slug":383,"parentId":370,"order":384,"_type":15,"_id":385,"_source":17,"_file":386,"_stem":387,"_extension":20},"/python/creating-tuples","Creating Tuples","Learn different ways to create Python tuples, from basic syntax to advanced techniques. Master tuple initialization and understand when to use tuples.","creating-tuples",41,"content:python:41.creating-tuples.md","python/41.creating-tuples.md","python/41.creating-tuples",{"_path":389,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":390,"description":391,"slug":392,"parentId":370,"order":393,"_type":15,"_id":394,"_source":17,"_file":395,"_stem":396,"_extension":20},"/python/reading-tuple-data","Reading Tuple Data","Master accessing tuple elements through indexing, slicing, and searching. Learn efficient patterns for reading and working with tuple data.","reading-tuple-data",42,"content:python:42.reading-tuple-data.md","python/42.reading-tuple-data.md","python/42.reading-tuple-data",{"_path":398,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":399,"description":400,"slug":401,"parentId":370,"order":402,"_type":15,"_id":403,"_source":17,"_file":404,"_stem":405,"_extension":20},"/python/changing-tuples","Changing Tuples","Understand tuple immutability and learn techniques for working with unchangeable data. Master creating modified tuple versions and handling immutable constraints.","changing-tuples",43,"content:python:43.changing-tuples.md","python/43.changing-tuples.md","python/43.changing-tuples",{"_path":407,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":408,"description":409,"slug":410,"parentId":370,"order":411,"_type":15,"_id":412,"_source":17,"_file":413,"_stem":414,"_extension":20},"/python/tuple-unpacking","Tuple Unpacking","Master tuple unpacking for elegant variable assignment, function returns, and data extraction. Learn Python's powerful unpacking syntax and patterns.","tuple-unpacking",44,"content:python:44.tuple-unpacking.md","python/44.tuple-unpacking.md","python/44.tuple-unpacking",{"_path":416,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":417,"description":418,"slug":419,"parentId":370,"order":420,"_type":15,"_id":421,"_source":17,"_file":422,"_stem":423,"_extension":20},"/python/iterating-tuples","Iterating Tuples","Master tuple iteration techniques for processing sequence data. Learn basic loops, enumerate, nested iteration, and advanced patterns for efficient data processing.","iterating-tuples",45,"content:python:45.iterating-tuples.md","python/45.iterating-tuples.md","python/45.iterating-tuples",{"_path":425,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":426,"description":427,"slug":428,"parentId":370,"order":429,"_type":15,"_id":430,"_source":17,"_file":431,"_stem":432,"_extension":20},"/python/merging-tuples","Merging Tuples","Learn techniques for combining and merging tuples to create larger data structures. Master concatenation, joining multiple tuples, and advanced merging patterns.","merging-tuples",46,"content:python:46.merging-tuples.md","python/46.merging-tuples.md","python/46.merging-tuples",{"_path":434,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":436,"slug":437,"parentId":370,"order":438,"_type":15,"_id":439,"_source":17,"_file":440,"_stem":441,"_extension":20},"/python/tuple-operations","Tuple Operations","Master comprehensive tuple operations including built-in functions, mathematical operations, comparisons, and advanced techniques for efficient tuple manipulation.","tuple-operations",47,"content:python:47.tuple-operations.md","python/47.tuple-operations.md","python/47.tuple-operations",{"_path":443,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":444,"description":445,"slug":446,"order":447,"isParent":13,"icon":14,"_type":15,"_id":448,"_source":17,"_file":449,"_stem":450,"_extension":20,"children":451},"/python/python-sets","Python Sets","Discover Python sets - unique collections that automatically eliminate duplicates and provide powerful mathematical operations for data filtering and analysis.","python-sets",48,"content:python:48.python-sets.md","python/48.python-sets.md","python/48.python-sets",[452,461,470,479,488,497,506],{"_path":453,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":454,"description":455,"slug":456,"parentId":443,"order":457,"_type":15,"_id":458,"_source":17,"_file":459,"_stem":460,"_extension":20},"/python/creating-sets","Creating Sets","Learn multiple ways to create sets in Python including literal syntax, set() function, and set comprehensions. Master set creation from different data sources.","creating-sets",49,"content:python:49.creating-sets.md","python/49.creating-sets.md","python/49.creating-sets",{"_path":462,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":463,"description":464,"slug":465,"parentId":443,"order":466,"_type":15,"_id":467,"_source":17,"_file":468,"_stem":469,"_extension":20},"/python/reading-set-data","Reading Set Data","Learn how to access and examine set data in Python including membership testing, iteration, size checking, and converting sets to other data types.","reading-set-data",50,"content:python:50.reading-set-data.md","python/50.reading-set-data.md","python/50.reading-set-data",{"_path":471,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":472,"description":473,"slug":474,"parentId":443,"order":475,"_type":15,"_id":476,"_source":17,"_file":477,"_stem":478,"_extension":20},"/python/adding-to-sets","Adding to Sets","Learn how to add elements to sets in Python using add(), update(), and union operations. Master growing sets dynamically with single items and multiple elements.","adding-to-sets",51,"content:python:51.adding-to-sets.md","python/51.adding-to-sets.md","python/51.adding-to-sets",{"_path":480,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":481,"description":482,"slug":483,"parentId":443,"order":484,"_type":15,"_id":485,"_source":17,"_file":486,"_stem":487,"_extension":20},"/python/removing-from-sets","Removing from Sets","Learn how to remove elements from Python sets using different methods like remove(), discard(), pop(), and clear()","removing-from-sets",52,"content:python:52.removing-from-sets.md","python/52.removing-from-sets.md","python/52.removing-from-sets",{"_path":489,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":490,"description":491,"slug":492,"parentId":443,"order":493,"_type":15,"_id":494,"_source":17,"_file":495,"_stem":496,"_extension":20},"/python/iterating-sets","Iterating Sets","Learn different ways to iterate through Python sets using for loops, comprehensions, and built-in functions","iterating-sets",53,"content:python:53.iterating-sets.md","python/53.iterating-sets.md","python/53.iterating-sets",{"_path":498,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":499,"description":500,"slug":501,"parentId":443,"order":502,"_type":15,"_id":503,"_source":17,"_file":504,"_stem":505,"_extension":20},"/python/combining-sets","Combining Sets","Learn how to combine Python sets using union, intersection, difference, and other set operations","combining-sets",54,"content:python:54.combining-sets.md","python/54.combining-sets.md","python/54.combining-sets",{"_path":507,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":509,"slug":510,"parentId":443,"order":511,"_type":15,"_id":512,"_source":17,"_file":513,"_stem":514,"_extension":20},"/python/set-operations","Set Operations","Learn advanced Python set operations including comparisons, subsets, supersets, and mathematical set relationships","set-operations",55,"content:python:55.set-operations.md","python/55.set-operations.md","python/55.set-operations",{"_path":516,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":517,"description":518,"slug":519,"order":520,"isParent":13,"icon":14,"_type":15,"_id":521,"_source":17,"_file":522,"_stem":523,"_extension":20,"children":524},"/python/python-dictionaries","Python Dictionaries","Learn about Python dictionaries - key-value data structures for storing and organizing related information","python-dictionaries",56,"content:python:56.python-dictionaries.md","python/56.python-dictionaries.md","python/56.python-dictionaries",[525,534,543,552,561,570,579,588,597],{"_path":526,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":527,"description":528,"slug":529,"parentId":516,"order":530,"_type":15,"_id":531,"_source":17,"_file":532,"_stem":533,"_extension":20},"/python/creating-dictionaries","Creating Dictionaries","Learn different methods to create Python dictionaries using literals, constructors, and comprehensions","creating-dictionaries",57,"content:python:57.creating-dictionaries.md","python/57.creating-dictionaries.md","python/57.creating-dictionaries",{"_path":535,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":536,"description":537,"slug":538,"parentId":516,"order":539,"_type":15,"_id":540,"_source":17,"_file":541,"_stem":542,"_extension":20},"/python/getting-dictionary-values","Getting Dictionary Values","Learn safe and efficient methods to retrieve data from Python dictionaries using various access techniques","getting-dictionary-values",58,"content:python:58.getting-dictionary-values.md","python/58.getting-dictionary-values.md","python/58.getting-dictionary-values",{"_path":544,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":545,"description":546,"slug":547,"parentId":516,"order":548,"_type":15,"_id":549,"_source":17,"_file":550,"_stem":551,"_extension":20},"/python/updating-dictionaries","Updating Dictionaries","Learn how to modify and maintain Python dictionary data using various update methods and techniques","updating-dictionaries",59,"content:python:59.updating-dictionaries.md","python/59.updating-dictionaries.md","python/59.updating-dictionaries",{"_path":553,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":554,"description":555,"slug":556,"parentId":516,"order":557,"_type":15,"_id":558,"_source":17,"_file":559,"_stem":560,"_extension":20},"/python/adding-dictionary-items","Adding Dictionary Items","Learn effective techniques for adding new items to Python dictionaries with various methods and best practices","adding-dictionary-items",60,"content:python:60.adding-dictionary-items.md","python/60.adding-dictionary-items.md","python/60.adding-dictionary-items",{"_path":562,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":563,"description":564,"slug":565,"parentId":516,"order":566,"_type":15,"_id":567,"_source":17,"_file":568,"_stem":569,"_extension":20},"/python/deleting-dictionary-items","Deleting Dictionary Items","Master safe and efficient techniques for removing items from Python dictionaries with various methods and error handling","deleting-dictionary-items",61,"content:python:61.deleting-dictionary-items.md","python/61.deleting-dictionary-items.md","python/61.deleting-dictionary-items",{"_path":571,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":572,"description":573,"slug":574,"parentId":516,"order":575,"_type":15,"_id":576,"_source":17,"_file":577,"_stem":578,"_extension":20},"/python/looping-dictionaries","Looping Dictionaries","Learn efficient techniques for iterating through Python dictionaries using keys, values, and items","looping-dictionaries",62,"content:python:62.looping-dictionaries.md","python/62.looping-dictionaries.md","python/62.looping-dictionaries",{"_path":580,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":581,"description":582,"slug":583,"parentId":516,"order":584,"_type":15,"_id":585,"_source":17,"_file":586,"_stem":587,"_extension":20},"/python/dictionary-copies","Dictionary Copies","Learn safe techniques for duplicating Python dictionaries using shallow and deep copy methods","dictionary-copies",63,"content:python:63.dictionary-copies.md","python/63.dictionary-copies.md","python/63.dictionary-copies",{"_path":589,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":590,"description":591,"slug":592,"parentId":516,"order":593,"_type":15,"_id":594,"_source":17,"_file":595,"_stem":596,"_extension":20},"/python/multi-level-dictionaries","Multi-level Dictionaries","Master working with nested Python dictionaries for complex data structures and hierarchical information","multi-level-dictionaries",64,"content:python:64.multi-level-dictionaries.md","python/64.multi-level-dictionaries.md","python/64.multi-level-dictionaries",{"_path":598,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":599,"description":600,"slug":601,"parentId":516,"order":602,"_type":15,"_id":603,"_source":17,"_file":604,"_stem":605,"_extension":20},"/python/dictionary-tools","Dictionary Tools","Explore powerful built-in functions and advanced techniques for efficient Python dictionary manipulation and analysis","dictionary-tools",65,"content:python:65.dictionary-tools.md","python/65.dictionary-tools.md","python/65.dictionary-tools",{"_path":607,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":608,"description":609,"slug":610,"order":611,"isParent":13,"icon":14,"_type":15,"_id":612,"_source":17,"_file":613,"_stem":614,"_extension":20,"children":615},"/python/python-functions","Python Functions","Learn how to create and use Python functions to organize code into reusable, modular components that make programs more efficient and maintainable","python-functions",66,"content:python:66.python-functions.md","python/66.python-functions.md","python/66.python-functions",[616,625,634,643,652,661],{"_path":617,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":618,"description":619,"slug":620,"parentId":607,"order":621,"_type":15,"_id":622,"_source":17,"_file":623,"_stem":624,"_extension":20},"/python/function-basics","Function Basics","Learn the fundamentals of creating and using Python functions to organize code into reusable, modular components","function-basics",67,"content:python:67.function-basics.md","python/67.function-basics.md","python/67.function-basics",{"_path":626,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":627,"description":628,"slug":629,"parentId":607,"order":630,"_type":15,"_id":631,"_source":17,"_file":632,"_stem":633,"_extension":20},"/python/function-parameters","Function Parameters","Master different types of Python function parameters including positional, keyword, default, and variable-length arguments","function-parameters",68,"content:python:68.function-parameters.md","python/68.function-parameters.md","python/68.function-parameters",{"_path":635,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":636,"description":637,"slug":638,"parentId":607,"order":639,"_type":15,"_id":640,"_source":17,"_file":641,"_stem":642,"_extension":20},"/python/returning-values","Returning Values","Learn different ways Python functions return data including single values, multiple values, and conditional returns","returning-values",69,"content:python:69.returning-values.md","python/69.returning-values.md","python/69.returning-values",{"_path":644,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":645,"description":646,"slug":647,"parentId":607,"order":648,"_type":15,"_id":649,"_source":17,"_file":650,"_stem":651,"_extension":20},"/python/variable-scope","Variable Scope","Understand Python variable scope including local, global, and nonlocal variables and how they affect function behavior","variable-scope",70,"content:python:70.variable-scope.md","python/70.variable-scope.md","python/70.variable-scope",{"_path":653,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":654,"description":655,"slug":656,"parentId":607,"order":657,"_type":15,"_id":658,"_source":17,"_file":659,"_stem":660,"_extension":20},"/python/anonymous-functions","Anonymous Functions","Learn to create and use Python lambda functions for concise, inline function definitions and functional programming patterns","anonymous-functions",71,"content:python:71.anonymous-functions.md","python/71.anonymous-functions.md","python/71.anonymous-functions",{"_path":662,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":663,"description":664,"slug":665,"parentId":607,"order":666,"_type":15,"_id":667,"_source":17,"_file":668,"_stem":669,"_extension":20},"/python/function-recursion","Function Recursion","Master recursive functions in Python by learning how functions can call themselves to solve complex problems with elegant, mathematical solutions","function-recursion",72,"content:python:72.function-recursion.md","python/72.function-recursion.md","python/72.function-recursion",{"_path":671,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":672,"description":673,"slug":674,"order":675,"isParent":13,"icon":14,"_type":15,"_id":676,"_source":17,"_file":677,"_stem":678,"_extension":20,"children":679},"/python/object-programming","Object Programming","Learn object-oriented programming (OOP) in Python - create classes, objects, and methods to build organized, reusable code","object-programming",73,"content:python:73.object-programming.md","python/73.object-programming.md","python/73.object-programming",[680,689,698,707,716,725],{"_path":681,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":682,"description":683,"slug":684,"parentId":671,"order":685,"_type":15,"_id":686,"_source":17,"_file":687,"_stem":688,"_extension":20},"/python/classes-and-objects","Classes and Objects","Learn to create Python classes and objects - the foundation of object-oriented programming for building reusable, organized code","classes-and-objects",74,"content:python:74.classes-and-objects.md","python/74.classes-and-objects.md","python/74.classes-and-objects",{"_path":690,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":691,"description":692,"slug":693,"parentId":671,"order":694,"_type":15,"_id":695,"_source":17,"_file":696,"_stem":697,"_extension":20},"/python/object-methods","Object Methods","Master object methods in Python - learn to define behaviors, work with parameters, and create interactive objects that respond to actions","object-methods",75,"content:python:75.object-methods.md","python/75.object-methods.md","python/75.object-methods",{"_path":699,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":700,"description":701,"slug":702,"parentId":671,"order":703,"_type":15,"_id":704,"_source":17,"_file":705,"_stem":706,"_extension":20},"/python/class-inheritance","Class Inheritance","Learn Python class inheritance - create specialized classes that build upon existing functionality while adding new features and behaviors","class-inheritance",76,"content:python:76.class-inheritance.md","python/76.class-inheritance.md","python/76.class-inheritance",{"_path":708,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":709,"description":710,"slug":711,"parentId":671,"order":712,"_type":15,"_id":713,"_source":17,"_file":714,"_stem":715,"_extension":20},"/python/method-overriding","Method Overriding","Master method overriding in Python - learn to customize inherited methods, use super(), and create specialized behaviors while maintaining inheritance benefits","method-overriding",77,"content:python:77.method-overriding.md","python/77.method-overriding.md","python/77.method-overriding",{"_path":717,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":718,"description":719,"slug":720,"parentId":671,"order":721,"_type":15,"_id":722,"_source":17,"_file":723,"_stem":724,"_extension":20},"/python/variable-visibility","Variable Visibility","Master Python variable visibility - learn public, protected, and private attributes to control access and create well-encapsulated classes","variable-visibility",78,"content:python:78.variable-visibility.md","python/78.variable-visibility.md","python/78.variable-visibility",{"_path":726,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":727,"description":728,"slug":729,"parentId":671,"order":730,"_type":15,"_id":731,"_source":17,"_file":732,"_stem":733,"_extension":20},"/python/special-methods","Special Methods","Master Python special methods (magic methods) - learn to implement __str__, __len__, __eq__ and more to make your classes work seamlessly with Python's built-in functions","special-methods",79,"content:python:79.special-methods.md","python/79.special-methods.md","python/79.special-methods",{"_path":735,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":736,"description":737,"slug":738,"order":739,"isParent":13,"icon":14,"_type":15,"_id":740,"_source":17,"_file":741,"_stem":742,"_extension":20,"children":743},"/python/advanced-concepts","Advanced Concepts","Master advanced Python programming concepts - work with dates, mathematics, JSON data, pattern matching, and more sophisticated programming techniques","advanced-concepts",80,"content:python:80.advanced-concepts.md","python/80.advanced-concepts.md","python/80.advanced-concepts",[744,753,762,771,780,789,798],{"_path":745,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":746,"description":747,"slug":748,"parentId":735,"order":749,"_type":15,"_id":750,"_source":17,"_file":751,"_stem":752,"_extension":20},"/python/working-with-dates","Working with Dates","Master Python date and time handling - work with datetime objects, format dates, calculate durations, and build time-aware applications","working-with-dates",81,"content:python:81.working-with-dates.md","python/81.working-with-dates.md","python/81.working-with-dates",{"_path":754,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":755,"description":756,"slug":757,"parentId":735,"order":758,"_type":15,"_id":759,"_source":17,"_file":760,"_stem":761,"_extension":20},"/python/mathematical-operations","Mathematical Operations","Master Python mathematical computing - use math functions, perform statistical calculations, and implement scientific computing for data analysis and problem-solving","mathematical-operations",82,"content:python:82.mathematical-operations.md","python/82.mathematical-operations.md","python/82.mathematical-operations",{"_path":763,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":764,"description":765,"slug":766,"parentId":735,"order":767,"_type":15,"_id":768,"_source":17,"_file":769,"_stem":770,"_extension":20},"/python/json-data","JSON Data","Master JSON data handling in Python - serialize and deserialize data, work with APIs, manage configuration files, and exchange data between applications","json-data",83,"content:python:83.json-data.md","python/83.json-data.md","python/83.json-data",{"_path":772,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":773,"description":774,"slug":775,"parentId":735,"order":776,"_type":15,"_id":777,"_source":17,"_file":778,"_stem":779,"_extension":20},"/python/package-management","Package Management","Master Python package management with pip and virtual environments - install libraries, manage dependencies, create isolated environments, and distribute packages professionally","package-management",85,"content:python:85.package-management.md","python/85.package-management.md","python/85.package-management",{"_path":781,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":782,"description":783,"slug":784,"parentId":735,"order":785,"_type":15,"_id":786,"_source":17,"_file":787,"_stem":788,"_extension":20},"/python/error-handling","Error Handling","Master Python error handling with try/except blocks, exception types, custom exceptions, debugging techniques, and best practices for robust application development","error-handling",86,"content:python:86.error-handling.md","python/86.error-handling.md","python/86.error-handling",{"_path":790,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":791,"description":792,"slug":793,"parentId":735,"order":794,"_type":15,"_id":795,"_source":17,"_file":796,"_stem":797,"_extension":20},"/python/getting-user-input","Getting User Input","Master user input handling in Python with input validation, data type conversion, interactive programs, and command-line interfaces for engaging user experiences","getting-user-input",87,"content:python:87.getting-user-input.md","python/87.getting-user-input.md","python/87.getting-user-input",{"_path":799,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":800,"description":801,"slug":802,"parentId":735,"order":803,"_type":15,"_id":804,"_source":17,"_file":805,"_stem":806,"_extension":20},"/python/text-formatting","Text Formatting","Master Python text formatting with f-strings, format methods, alignment, number formatting, and advanced techniques for professional, readable output","text-formatting",88,"content:python:88.text-formatting.md","python/88.text-formatting.md","python/88.text-formatting",{"_path":808,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":809,"description":810,"slug":811,"order":812,"isParent":13,"icon":14,"_type":15,"_id":813,"_source":17,"_file":814,"_stem":815,"_extension":20,"children":816},"/python/file-operations","File Operations","Master Python file handling with reading, writing, and managing files for data persistence and real-world applications","file-operations",89,"content:python:89.file-operations.md","python/89.file-operations.md","python/89.file-operations",[817,826,835,844],{"_path":818,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":819,"description":820,"slug":821,"parentId":808,"order":822,"_type":15,"_id":823,"_source":17,"_file":824,"_stem":825,"_extension":20},"/python/file-basics","File Basics","Learn fundamental Python file operations including opening files, understanding file modes, using context managers, and basic file handling concepts","file-basics",90,"content:python:90.file-basics.md","python/90.file-basics.md","python/90.file-basics",{"_path":827,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":828,"description":829,"slug":830,"parentId":808,"order":831,"_type":15,"_id":832,"_source":17,"_file":833,"_stem":834,"_extension":20},"/python/reading-files","Reading Files","Master Python file reading techniques including reading entire files, line-by-line processing, and handling different file formats for efficient data processing","reading-files",91,"content:python:91.reading-files.md","python/91.reading-files.md","python/91.reading-files",{"_path":836,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":837,"description":838,"slug":839,"parentId":808,"order":840,"_type":15,"_id":841,"_source":17,"_file":842,"_stem":843,"_extension":20},"/python/writing-files","Writing Files","Learn Python file writing techniques including creating new files, appending content, updating existing files, and saving different data formats safely","writing-files",92,"content:python:92.writing-files.md","python/92.writing-files.md","python/92.writing-files",{"_path":845,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":846,"description":847,"slug":848,"parentId":808,"order":849,"_type":15,"_id":850,"_source":17,"_file":851,"_stem":852,"_extension":20},"/python/file-management","File Management","Learn Python file management techniques including checking file properties, organizing files, directory operations, and implementing file system maintenance tasks","file-management",93,"content:python:93.file-management.md","python/93.file-management.md","python/93.file-management",{"_path":854,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":855,"description":856,"slug":857,"order":858,"isParent":13,"icon":14,"_type":15,"_id":859,"_source":17,"_file":860,"_stem":861,"_extension":20,"children":862,"expanded":13},"/python/code-organization","Code Organization","Master Python code organization with modules, built-in libraries, and path management for creating maintainable and reusable applications","code-organization",94,"content:python:94.code-organization.md","python/94.code-organization.md","python/94.code-organization",[863,872,881],{"_path":864,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":865,"description":866,"slug":867,"parentId":854,"order":868,"_type":15,"_id":869,"_source":17,"_file":870,"_stem":871,"_extension":20},"/python/creating-modules","Creating Modules","Learn how to create custom Python modules, organize functions and classes, write reusable code components, and design effective module structures","creating-modules",95,"content:python:95.creating-modules.md","python/95.creating-modules.md","python/95.creating-modules",{"_path":873,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":874,"description":875,"slug":876,"parentId":854,"order":877,"_type":15,"_id":878,"_source":17,"_file":879,"_stem":880,"_extension":20},"/python/using-built-in-modules","Using Built-in Modules","Discover Python's extensive standard library and learn to effectively use built-in modules for common programming tasks, data processing, and system operations","using-built-in-modules",96,"content:python:96.using-built-in-modules.md","python/96.using-built-in-modules.md","python/96.using-built-in-modules",{"_path":882,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":883,"description":884,"slug":885,"parentId":854,"order":886,"_type":15,"_id":887,"_source":17,"_file":888,"_stem":889,"_extension":20},"/python/module-paths","Module Paths","Understand Python's module search system, manage import paths, work with packages, and organize larger projects with proper module path management","module-paths",97,"content:python:97.module-paths.md","python/97.module-paths.md","python/97.module-paths",{"_path":891,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":892,"description":893,"slug":894,"order":895,"isParent":13,"icon":14,"_type":15,"_id":896,"_source":17,"_file":897,"_stem":898,"_extension":20,"children":899},"/python/reference-materials","Reference Materials","Comprehensive Python reference materials including reserved words, built-in functions, and operation guides for quick lookup and development support","reference-materials",98,"content:python:98.reference-materials.md","python/98.reference-materials.md","python/98.reference-materials",[900,909,918,927,936,945,953,961,970],{"_path":901,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":902,"description":903,"slug":904,"parentId":891,"order":905,"_type":15,"_id":906,"_source":17,"_file":907,"_stem":908,"_extension":20},"/python/reserved-words","Reserved Words","Complete reference of Python keywords and reserved words with descriptions, usage examples, and syntax guidelines","reserved-words",99,"content:python:99.reserved-words.md","python/99.reserved-words.md","python/99.reserved-words",{"_path":910,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":911,"description":912,"slug":913,"parentId":891,"order":914,"_type":15,"_id":915,"_source":17,"_file":916,"_stem":917,"_extension":20},"/python/built-in-functions","Built-in Functions","Comprehensive reference of Python's built-in functions with parameters, return values, and practical usage examples","built-in-functions",100,"content:python:100.built-in-functions.md","python/100.built-in-functions.md","python/100.built-in-functions",{"_path":919,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":920,"description":921,"slug":922,"parentId":891,"order":923,"_type":15,"_id":924,"_source":17,"_file":925,"_stem":926,"_extension":20},"/python/string-operations","String Operations","Complete reference of Python string methods, operations, and formatting techniques with examples and use cases","string-operations",101,"content:python:101.string-operations.md","python/101.string-operations.md","python/101.string-operations",{"_path":928,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":929,"description":930,"slug":931,"parentId":891,"order":932,"_type":15,"_id":933,"_source":17,"_file":934,"_stem":935,"_extension":20},"/python/list-operations","List Operations","Complete reference of Python list methods, operations, and manipulation techniques with examples and performance notes","list-operations",102,"content:python:102.list-operations.md","python/102.list-operations.md","python/102.list-operations",{"_path":937,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":938,"description":939,"slug":940,"parentId":891,"order":941,"_type":15,"_id":942,"_source":17,"_file":943,"_stem":944,"_extension":20},"/python/dictionary-operations","Dictionary Operations","Complete reference of Python dictionary methods, operations, and manipulation techniques with examples and use cases","dictionary-operations",103,"content:python:103.dictionary-operations.md","python/103.dictionary-operations.md","python/103.dictionary-operations",{"_path":946,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":435,"description":947,"slug":948,"parentId":891,"order":949,"_type":15,"_id":950,"_source":17,"_file":951,"_stem":952,"_extension":20},"/python/tuple-methods","Complete reference of Python tuple operations, methods, and techniques with examples and use cases","tuple-methods",104,"content:python:104.tuple-methods.md","python/104.tuple-methods.md","python/104.tuple-methods",{"_path":954,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":508,"description":955,"slug":956,"parentId":891,"order":957,"_type":15,"_id":958,"_source":17,"_file":959,"_stem":960,"_extension":20},"/python/set-methods","Complete reference of Python set operations, methods, and mathematical set operations with examples and use cases","set-methods",105,"content:python:105.set-methods.md","python/105.set-methods.md","python/105.set-methods",{"_path":962,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":963,"description":964,"slug":965,"parentId":891,"order":966,"_type":15,"_id":967,"_source":17,"_file":968,"_stem":969,"_extension":20},"/python/file-operations-reference","File Operations Reference","Complete reference of Python file operations, modes, methods, and file handling techniques with examples","file-operations-reference",106,"content:python:106.file-operations-reference.md","python/106.file-operations-reference.md","python/106.file-operations-reference",{"_path":971,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":972,"description":973,"slug":974,"parentId":891,"order":975,"_type":15,"_id":976,"_source":17,"_file":977,"_stem":978,"_extension":20},"/python/error-types","Error Types","Complete reference of Python exception types, error handling patterns, and debugging techniques with examples","error-types",107,"content:python:107.error-types.md","python/107.error-types.md","python/107.error-types",{"_path":980,"_dir":8,"_draft":7,"_partial":7,"_locale":8,"title":981,"description":10,"slug":982,"order":983,"icon":14,"_type":15,"_id":984,"_source":17,"_file":985,"_stem":986,"_extension":20},"/python","Introduction","python-tutorial",0,"content:python:index.md","python/index.md","python/index",[881],{"_path":882,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":883,"description":884,"slug":885,"parentId":854,"order":886,"body":989,"_type":15,"_id":887,"_source":17,"_file":888,"_stem":889,"_extension":20},{"type":990,"children":991,"toc":6405},"root",[992,1001,1007,1012,1831,1838,1843,2075,2082,2093,2857,2863,2868,4286,4292,4297,5892,5898,5903,6061,6067,6072,6353,6358,6364,6369,6376,6382,6387,6399],{"type":993,"tag":994,"props":995,"children":997},"element","h1",{"id":996},"️-module-paths",[998],{"type":999,"value":1000},"text","🗺️ Module Paths",{"type":993,"tag":1002,"props":1003,"children":1004},"p",{},[1005],{"type":999,"value":1006},"Module paths in Python are like GPS directions for your code. When you import a module, Python needs to know where to find it. Understanding how Python searches for modules helps you organize larger projects and ensures your code can always find the modules it needs.",{"type":993,"tag":1002,"props":1008,"children":1009},{},[1010],{"type":999,"value":1011},"Think of module paths as Python's roadmap - they tell the interpreter where to look for the code you want to import, just like a GPS helps you navigate to different locations.",{"type":993,"tag":1013,"props":1014,"children":1015},"code-try",{},[1016],{"type":993,"tag":1017,"props":1018,"children":1021},"pre",{"code":1019,"language":6,"meta":8,"className":1020,"style":8},"# 🎯 Module Path Demo\n\nimport sys\nimport os\n\nprint(\"🗺️ Python Module Search Demo:\")\n\n# Show where Python looks for modules\nprint(\"📍 Module search locations:\")\nfor i, path in enumerate(sys.path[:5], 1):  # Show first 5\n    print(f\"  {i}. {path}\")\n\nif len(sys.path) > 5:\n    print(f\"  ... and {len(sys.path) - 5} more locations\")\n\n# Current working directory\ncurrent_dir = os.getcwd()\nprint(f\"\\n📁 Current directory: {os.path.basename(current_dir)}\")\n\n# Check if current directory is in Python's search path\nif current_dir in sys.path:\n    print(\"✅ Current directory is in search path\")\nelse:\n    print(\"❌ Current directory is NOT in search path\")\n\n# Show Python's version and executable location\nprint(f\"\\n🐍 Python info:\")\nprint(f\"  Version: {sys.version.split()[0]}\")\nprint(f\"  Executable: {sys.executable}\")\nprint(f\"  Platform: {sys.platform}\")\n\n# Built-in modules (always available)\nbuiltin_count = len(sys.builtin_module_names)\nprint(f\"\\n🛠️ Built-in modules available: {builtin_count}\")\nprint(f\"  Examples: {list(sys.builtin_module_names)[:5]}...\")\n","language-python shiki shiki-themes github-light github-dark",[1022],{"type":993,"tag":1023,"props":1024,"children":1025},"code",{"__ignoreMap":8},[1026,1037,1045,1060,1072,1079,1104,1111,1119,1139,1192,1256,1263,1296,1344,1351,1359,1377,1427,1434,1442,1463,1483,1495,1515,1522,1530,1562,1613,1654,1695,1702,1710,1731,1780],{"type":993,"tag":1027,"props":1028,"children":1030},"span",{"class":1029,"line":12},"line",[1031],{"type":993,"tag":1027,"props":1032,"children":1034},{"style":1033},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1035],{"type":999,"value":1036},"# 🎯 Module Path Demo\n",{"type":993,"tag":1027,"props":1038,"children":1039},{"class":1029,"line":27},[1040],{"type":993,"tag":1027,"props":1041,"children":1042},{"emptyLinePlaceholder":13},[1043],{"type":999,"value":1044},"\n",{"type":993,"tag":1027,"props":1046,"children":1047},{"class":1029,"line":36},[1048,1054],{"type":993,"tag":1027,"props":1049,"children":1051},{"style":1050},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[1052],{"type":999,"value":1053},"import",{"type":993,"tag":1027,"props":1055,"children":1057},{"style":1056},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[1058],{"type":999,"value":1059}," sys\n",{"type":993,"tag":1027,"props":1061,"children":1062},{"class":1029,"line":45},[1063,1067],{"type":993,"tag":1027,"props":1064,"children":1065},{"style":1050},[1066],{"type":999,"value":1053},{"type":993,"tag":1027,"props":1068,"children":1069},{"style":1056},[1070],{"type":999,"value":1071}," os\n",{"type":993,"tag":1027,"props":1073,"children":1074},{"class":1029,"line":54},[1075],{"type":993,"tag":1027,"props":1076,"children":1077},{"emptyLinePlaceholder":13},[1078],{"type":999,"value":1044},{"type":993,"tag":1027,"props":1080,"children":1081},{"class":1029,"line":63},[1082,1088,1093,1099],{"type":993,"tag":1027,"props":1083,"children":1085},{"style":1084},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1086],{"type":999,"value":1087},"print",{"type":993,"tag":1027,"props":1089,"children":1090},{"style":1056},[1091],{"type":999,"value":1092},"(",{"type":993,"tag":1027,"props":1094,"children":1096},{"style":1095},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1097],{"type":999,"value":1098},"\"🗺️ Python Module Search Demo:\"",{"type":993,"tag":1027,"props":1100,"children":1101},{"style":1056},[1102],{"type":999,"value":1103},")\n",{"type":993,"tag":1027,"props":1105,"children":1106},{"class":1029,"line":72},[1107],{"type":993,"tag":1027,"props":1108,"children":1109},{"emptyLinePlaceholder":13},[1110],{"type":999,"value":1044},{"type":993,"tag":1027,"props":1112,"children":1113},{"class":1029,"line":81},[1114],{"type":993,"tag":1027,"props":1115,"children":1116},{"style":1033},[1117],{"type":999,"value":1118},"# Show where Python looks for modules\n",{"type":993,"tag":1027,"props":1120,"children":1121},{"class":1029,"line":91},[1122,1126,1130,1135],{"type":993,"tag":1027,"props":1123,"children":1124},{"style":1084},[1125],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1127,"children":1128},{"style":1056},[1129],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1131,"children":1132},{"style":1095},[1133],{"type":999,"value":1134},"\"📍 Module search locations:\"",{"type":993,"tag":1027,"props":1136,"children":1137},{"style":1056},[1138],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1140,"children":1141},{"class":1029,"line":100},[1142,1147,1152,1157,1162,1167,1172,1177,1182,1187],{"type":993,"tag":1027,"props":1143,"children":1144},{"style":1050},[1145],{"type":999,"value":1146},"for",{"type":993,"tag":1027,"props":1148,"children":1149},{"style":1056},[1150],{"type":999,"value":1151}," i, path ",{"type":993,"tag":1027,"props":1153,"children":1154},{"style":1050},[1155],{"type":999,"value":1156},"in",{"type":993,"tag":1027,"props":1158,"children":1159},{"style":1084},[1160],{"type":999,"value":1161}," enumerate",{"type":993,"tag":1027,"props":1163,"children":1164},{"style":1056},[1165],{"type":999,"value":1166},"(sys.path[:",{"type":993,"tag":1027,"props":1168,"children":1169},{"style":1084},[1170],{"type":999,"value":1171},"5",{"type":993,"tag":1027,"props":1173,"children":1174},{"style":1056},[1175],{"type":999,"value":1176},"], ",{"type":993,"tag":1027,"props":1178,"children":1179},{"style":1084},[1180],{"type":999,"value":1181},"1",{"type":993,"tag":1027,"props":1183,"children":1184},{"style":1056},[1185],{"type":999,"value":1186},"):  ",{"type":993,"tag":1027,"props":1188,"children":1189},{"style":1033},[1190],{"type":999,"value":1191},"# Show first 5\n",{"type":993,"tag":1027,"props":1193,"children":1194},{"class":1029,"line":109},[1195,1200,1204,1209,1214,1219,1224,1229,1234,1238,1243,1247,1252],{"type":993,"tag":1027,"props":1196,"children":1197},{"style":1084},[1198],{"type":999,"value":1199},"    print",{"type":993,"tag":1027,"props":1201,"children":1202},{"style":1056},[1203],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1205,"children":1206},{"style":1050},[1207],{"type":999,"value":1208},"f",{"type":993,"tag":1027,"props":1210,"children":1211},{"style":1095},[1212],{"type":999,"value":1213},"\"  ",{"type":993,"tag":1027,"props":1215,"children":1216},{"style":1084},[1217],{"type":999,"value":1218},"{",{"type":993,"tag":1027,"props":1220,"children":1221},{"style":1056},[1222],{"type":999,"value":1223},"i",{"type":993,"tag":1027,"props":1225,"children":1226},{"style":1084},[1227],{"type":999,"value":1228},"}",{"type":993,"tag":1027,"props":1230,"children":1231},{"style":1095},[1232],{"type":999,"value":1233},". ",{"type":993,"tag":1027,"props":1235,"children":1236},{"style":1084},[1237],{"type":999,"value":1218},{"type":993,"tag":1027,"props":1239,"children":1240},{"style":1056},[1241],{"type":999,"value":1242},"path",{"type":993,"tag":1027,"props":1244,"children":1245},{"style":1084},[1246],{"type":999,"value":1228},{"type":993,"tag":1027,"props":1248,"children":1249},{"style":1095},[1250],{"type":999,"value":1251},"\"",{"type":993,"tag":1027,"props":1253,"children":1254},{"style":1056},[1255],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1257,"children":1258},{"class":1029,"line":118},[1259],{"type":993,"tag":1027,"props":1260,"children":1261},{"emptyLinePlaceholder":13},[1262],{"type":999,"value":1044},{"type":993,"tag":1027,"props":1264,"children":1265},{"class":1029,"line":127},[1266,1271,1276,1281,1286,1291],{"type":993,"tag":1027,"props":1267,"children":1268},{"style":1050},[1269],{"type":999,"value":1270},"if",{"type":993,"tag":1027,"props":1272,"children":1273},{"style":1084},[1274],{"type":999,"value":1275}," len",{"type":993,"tag":1027,"props":1277,"children":1278},{"style":1056},[1279],{"type":999,"value":1280},"(sys.path) ",{"type":993,"tag":1027,"props":1282,"children":1283},{"style":1050},[1284],{"type":999,"value":1285},">",{"type":993,"tag":1027,"props":1287,"children":1288},{"style":1084},[1289],{"type":999,"value":1290}," 5",{"type":993,"tag":1027,"props":1292,"children":1293},{"style":1056},[1294],{"type":999,"value":1295},":\n",{"type":993,"tag":1027,"props":1297,"children":1298},{"class":1029,"line":136},[1299,1303,1307,1311,1316,1321,1325,1330,1335,1340],{"type":993,"tag":1027,"props":1300,"children":1301},{"style":1084},[1302],{"type":999,"value":1199},{"type":993,"tag":1027,"props":1304,"children":1305},{"style":1056},[1306],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1308,"children":1309},{"style":1050},[1310],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1312,"children":1313},{"style":1095},[1314],{"type":999,"value":1315},"\"  ... and ",{"type":993,"tag":1027,"props":1317,"children":1318},{"style":1084},[1319],{"type":999,"value":1320},"{len",{"type":993,"tag":1027,"props":1322,"children":1323},{"style":1056},[1324],{"type":999,"value":1280},{"type":993,"tag":1027,"props":1326,"children":1327},{"style":1050},[1328],{"type":999,"value":1329},"-",{"type":993,"tag":1027,"props":1331,"children":1332},{"style":1084},[1333],{"type":999,"value":1334}," 5}",{"type":993,"tag":1027,"props":1336,"children":1337},{"style":1095},[1338],{"type":999,"value":1339}," more locations\"",{"type":993,"tag":1027,"props":1341,"children":1342},{"style":1056},[1343],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1345,"children":1346},{"class":1029,"line":146},[1347],{"type":993,"tag":1027,"props":1348,"children":1349},{"emptyLinePlaceholder":13},[1350],{"type":999,"value":1044},{"type":993,"tag":1027,"props":1352,"children":1353},{"class":1029,"line":155},[1354],{"type":993,"tag":1027,"props":1355,"children":1356},{"style":1033},[1357],{"type":999,"value":1358},"# Current working directory\n",{"type":993,"tag":1027,"props":1360,"children":1361},{"class":1029,"line":164},[1362,1367,1372],{"type":993,"tag":1027,"props":1363,"children":1364},{"style":1056},[1365],{"type":999,"value":1366},"current_dir ",{"type":993,"tag":1027,"props":1368,"children":1369},{"style":1050},[1370],{"type":999,"value":1371},"=",{"type":993,"tag":1027,"props":1373,"children":1374},{"style":1056},[1375],{"type":999,"value":1376}," os.getcwd()\n",{"type":993,"tag":1027,"props":1378,"children":1379},{"class":1029,"line":173},[1380,1384,1388,1392,1396,1401,1406,1410,1415,1419,1423],{"type":993,"tag":1027,"props":1381,"children":1382},{"style":1084},[1383],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1385,"children":1386},{"style":1056},[1387],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1389,"children":1390},{"style":1050},[1391],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1393,"children":1394},{"style":1095},[1395],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1397,"children":1398},{"style":1084},[1399],{"type":999,"value":1400},"\\n",{"type":993,"tag":1027,"props":1402,"children":1403},{"style":1095},[1404],{"type":999,"value":1405},"📁 Current directory: ",{"type":993,"tag":1027,"props":1407,"children":1408},{"style":1084},[1409],{"type":999,"value":1218},{"type":993,"tag":1027,"props":1411,"children":1412},{"style":1056},[1413],{"type":999,"value":1414},"os.path.basename(current_dir)",{"type":993,"tag":1027,"props":1416,"children":1417},{"style":1084},[1418],{"type":999,"value":1228},{"type":993,"tag":1027,"props":1420,"children":1421},{"style":1095},[1422],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1424,"children":1425},{"style":1056},[1426],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1428,"children":1429},{"class":1029,"line":182},[1430],{"type":993,"tag":1027,"props":1431,"children":1432},{"emptyLinePlaceholder":13},[1433],{"type":999,"value":1044},{"type":993,"tag":1027,"props":1435,"children":1436},{"class":1029,"line":191},[1437],{"type":993,"tag":1027,"props":1438,"children":1439},{"style":1033},[1440],{"type":999,"value":1441},"# Check if current directory is in Python's search path\n",{"type":993,"tag":1027,"props":1443,"children":1444},{"class":1029,"line":201},[1445,1449,1454,1458],{"type":993,"tag":1027,"props":1446,"children":1447},{"style":1050},[1448],{"type":999,"value":1270},{"type":993,"tag":1027,"props":1450,"children":1451},{"style":1056},[1452],{"type":999,"value":1453}," current_dir ",{"type":993,"tag":1027,"props":1455,"children":1456},{"style":1050},[1457],{"type":999,"value":1156},{"type":993,"tag":1027,"props":1459,"children":1460},{"style":1056},[1461],{"type":999,"value":1462}," sys.path:\n",{"type":993,"tag":1027,"props":1464,"children":1465},{"class":1029,"line":210},[1466,1470,1474,1479],{"type":993,"tag":1027,"props":1467,"children":1468},{"style":1084},[1469],{"type":999,"value":1199},{"type":993,"tag":1027,"props":1471,"children":1472},{"style":1056},[1473],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1475,"children":1476},{"style":1095},[1477],{"type":999,"value":1478},"\"✅ Current directory is in search path\"",{"type":993,"tag":1027,"props":1480,"children":1481},{"style":1056},[1482],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1484,"children":1485},{"class":1029,"line":219},[1486,1491],{"type":993,"tag":1027,"props":1487,"children":1488},{"style":1050},[1489],{"type":999,"value":1490},"else",{"type":993,"tag":1027,"props":1492,"children":1493},{"style":1056},[1494],{"type":999,"value":1295},{"type":993,"tag":1027,"props":1496,"children":1497},{"class":1029,"line":228},[1498,1502,1506,1511],{"type":993,"tag":1027,"props":1499,"children":1500},{"style":1084},[1501],{"type":999,"value":1199},{"type":993,"tag":1027,"props":1503,"children":1504},{"style":1056},[1505],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1507,"children":1508},{"style":1095},[1509],{"type":999,"value":1510},"\"❌ Current directory is NOT in search path\"",{"type":993,"tag":1027,"props":1512,"children":1513},{"style":1056},[1514],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1516,"children":1517},{"class":1029,"line":238},[1518],{"type":993,"tag":1027,"props":1519,"children":1520},{"emptyLinePlaceholder":13},[1521],{"type":999,"value":1044},{"type":993,"tag":1027,"props":1523,"children":1524},{"class":1029,"line":247},[1525],{"type":993,"tag":1027,"props":1526,"children":1527},{"style":1033},[1528],{"type":999,"value":1529},"# Show Python's version and executable location\n",{"type":993,"tag":1027,"props":1531,"children":1532},{"class":1029,"line":256},[1533,1537,1541,1545,1549,1553,1558],{"type":993,"tag":1027,"props":1534,"children":1535},{"style":1084},[1536],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1538,"children":1539},{"style":1056},[1540],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1542,"children":1543},{"style":1050},[1544],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1546,"children":1547},{"style":1095},[1548],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1550,"children":1551},{"style":1084},[1552],{"type":999,"value":1400},{"type":993,"tag":1027,"props":1554,"children":1555},{"style":1095},[1556],{"type":999,"value":1557},"🐍 Python info:\"",{"type":993,"tag":1027,"props":1559,"children":1560},{"style":1056},[1561],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1563,"children":1564},{"class":1029,"line":265},[1565,1569,1573,1577,1582,1586,1591,1596,1601,1605,1609],{"type":993,"tag":1027,"props":1566,"children":1567},{"style":1084},[1568],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1570,"children":1571},{"style":1056},[1572],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1574,"children":1575},{"style":1050},[1576],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1578,"children":1579},{"style":1095},[1580],{"type":999,"value":1581},"\"  Version: ",{"type":993,"tag":1027,"props":1583,"children":1584},{"style":1084},[1585],{"type":999,"value":1218},{"type":993,"tag":1027,"props":1587,"children":1588},{"style":1056},[1589],{"type":999,"value":1590},"sys.version.split()[",{"type":993,"tag":1027,"props":1592,"children":1593},{"style":1084},[1594],{"type":999,"value":1595},"0",{"type":993,"tag":1027,"props":1597,"children":1598},{"style":1056},[1599],{"type":999,"value":1600},"]",{"type":993,"tag":1027,"props":1602,"children":1603},{"style":1084},[1604],{"type":999,"value":1228},{"type":993,"tag":1027,"props":1606,"children":1607},{"style":1095},[1608],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1610,"children":1611},{"style":1056},[1612],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1614,"children":1615},{"class":1029,"line":274},[1616,1620,1624,1628,1633,1637,1642,1646,1650],{"type":993,"tag":1027,"props":1617,"children":1618},{"style":1084},[1619],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1621,"children":1622},{"style":1056},[1623],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1625,"children":1626},{"style":1050},[1627],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1629,"children":1630},{"style":1095},[1631],{"type":999,"value":1632},"\"  Executable: ",{"type":993,"tag":1027,"props":1634,"children":1635},{"style":1084},[1636],{"type":999,"value":1218},{"type":993,"tag":1027,"props":1638,"children":1639},{"style":1056},[1640],{"type":999,"value":1641},"sys.executable",{"type":993,"tag":1027,"props":1643,"children":1644},{"style":1084},[1645],{"type":999,"value":1228},{"type":993,"tag":1027,"props":1647,"children":1648},{"style":1095},[1649],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1651,"children":1652},{"style":1056},[1653],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1655,"children":1656},{"class":1029,"line":284},[1657,1661,1665,1669,1674,1678,1683,1687,1691],{"type":993,"tag":1027,"props":1658,"children":1659},{"style":1084},[1660],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1662,"children":1663},{"style":1056},[1664],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1666,"children":1667},{"style":1050},[1668],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1670,"children":1671},{"style":1095},[1672],{"type":999,"value":1673},"\"  Platform: ",{"type":993,"tag":1027,"props":1675,"children":1676},{"style":1084},[1677],{"type":999,"value":1218},{"type":993,"tag":1027,"props":1679,"children":1680},{"style":1056},[1681],{"type":999,"value":1682},"sys.platform",{"type":993,"tag":1027,"props":1684,"children":1685},{"style":1084},[1686],{"type":999,"value":1228},{"type":993,"tag":1027,"props":1688,"children":1689},{"style":1095},[1690],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1692,"children":1693},{"style":1056},[1694],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1696,"children":1697},{"class":1029,"line":293},[1698],{"type":993,"tag":1027,"props":1699,"children":1700},{"emptyLinePlaceholder":13},[1701],{"type":999,"value":1044},{"type":993,"tag":1027,"props":1703,"children":1704},{"class":1029,"line":302},[1705],{"type":993,"tag":1027,"props":1706,"children":1707},{"style":1033},[1708],{"type":999,"value":1709},"# Built-in modules (always available)\n",{"type":993,"tag":1027,"props":1711,"children":1712},{"class":1029,"line":311},[1713,1718,1722,1726],{"type":993,"tag":1027,"props":1714,"children":1715},{"style":1056},[1716],{"type":999,"value":1717},"builtin_count ",{"type":993,"tag":1027,"props":1719,"children":1720},{"style":1050},[1721],{"type":999,"value":1371},{"type":993,"tag":1027,"props":1723,"children":1724},{"style":1084},[1725],{"type":999,"value":1275},{"type":993,"tag":1027,"props":1727,"children":1728},{"style":1056},[1729],{"type":999,"value":1730},"(sys.builtin_module_names)\n",{"type":993,"tag":1027,"props":1732,"children":1733},{"class":1029,"line":320},[1734,1738,1742,1746,1750,1754,1759,1763,1768,1772,1776],{"type":993,"tag":1027,"props":1735,"children":1736},{"style":1084},[1737],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1739,"children":1740},{"style":1056},[1741],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1743,"children":1744},{"style":1050},[1745],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1747,"children":1748},{"style":1095},[1749],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1751,"children":1752},{"style":1084},[1753],{"type":999,"value":1400},{"type":993,"tag":1027,"props":1755,"children":1756},{"style":1095},[1757],{"type":999,"value":1758},"🛠️ Built-in modules available: ",{"type":993,"tag":1027,"props":1760,"children":1761},{"style":1084},[1762],{"type":999,"value":1218},{"type":993,"tag":1027,"props":1764,"children":1765},{"style":1056},[1766],{"type":999,"value":1767},"builtin_count",{"type":993,"tag":1027,"props":1769,"children":1770},{"style":1084},[1771],{"type":999,"value":1228},{"type":993,"tag":1027,"props":1773,"children":1774},{"style":1095},[1775],{"type":999,"value":1251},{"type":993,"tag":1027,"props":1777,"children":1778},{"style":1056},[1779],{"type":999,"value":1103},{"type":993,"tag":1027,"props":1781,"children":1782},{"class":1029,"line":329},[1783,1787,1791,1795,1800,1805,1810,1814,1818,1822,1827],{"type":993,"tag":1027,"props":1784,"children":1785},{"style":1084},[1786],{"type":999,"value":1087},{"type":993,"tag":1027,"props":1788,"children":1789},{"style":1056},[1790],{"type":999,"value":1092},{"type":993,"tag":1027,"props":1792,"children":1793},{"style":1050},[1794],{"type":999,"value":1208},{"type":993,"tag":1027,"props":1796,"children":1797},{"style":1095},[1798],{"type":999,"value":1799},"\"  Examples: ",{"type":993,"tag":1027,"props":1801,"children":1802},{"style":1084},[1803],{"type":999,"value":1804},"{list",{"type":993,"tag":1027,"props":1806,"children":1807},{"style":1056},[1808],{"type":999,"value":1809},"(sys.builtin_module_names)[:",{"type":993,"tag":1027,"props":1811,"children":1812},{"style":1084},[1813],{"type":999,"value":1171},{"type":993,"tag":1027,"props":1815,"children":1816},{"style":1056},[1817],{"type":999,"value":1600},{"type":993,"tag":1027,"props":1819,"children":1820},{"style":1084},[1821],{"type":999,"value":1228},{"type":993,"tag":1027,"props":1823,"children":1824},{"style":1095},[1825],{"type":999,"value":1826},"...\"",{"type":993,"tag":1027,"props":1828,"children":1829},{"style":1056},[1830],{"type":999,"value":1103},{"type":993,"tag":1832,"props":1833,"children":1835},"h2",{"id":1834},"understanding-module-search-system",[1836],{"type":999,"value":1837},"🎯 Understanding Module Search System",{"type":993,"tag":1002,"props":1839,"children":1840},{},[1841],{"type":999,"value":1842},"Python follows a specific order when looking for modules, and understanding this helps you organize your projects effectively.",{"type":993,"tag":1844,"props":1845,"children":1849},"info-box",{"emoji":1846,"title":1847,"type":1848},"🔍","Module Search Essentials","info",[1850,1859,1914,1922,1966,1974,2024,2032],{"type":993,"tag":1002,"props":1851,"children":1852},{},[1853],{"type":993,"tag":1854,"props":1855,"children":1856},"strong",{},[1857],{"type":999,"value":1858},"Search Order:",{"type":993,"tag":1860,"props":1861,"children":1862},"ol",{},[1863,1874,1884,1894,1904],{"type":993,"tag":1864,"props":1865,"children":1866},"li",{},[1867,1872],{"type":993,"tag":1854,"props":1868,"children":1869},{},[1870],{"type":999,"value":1871},"Built-in modules",{"type":999,"value":1873}," - Compiled into Python (like sys, os)",{"type":993,"tag":1864,"props":1875,"children":1876},{},[1877,1882],{"type":993,"tag":1854,"props":1878,"children":1879},{},[1880],{"type":999,"value":1881},"Current directory",{"type":999,"value":1883}," - Where your script is running",{"type":993,"tag":1864,"props":1885,"children":1886},{},[1887,1892],{"type":993,"tag":1854,"props":1888,"children":1889},{},[1890],{"type":999,"value":1891},"PYTHONPATH",{"type":999,"value":1893}," - Environment variable directories",{"type":993,"tag":1864,"props":1895,"children":1896},{},[1897,1902],{"type":993,"tag":1854,"props":1898,"children":1899},{},[1900],{"type":999,"value":1901},"Standard library",{"type":999,"value":1903}," - Python's built-in modules directory",{"type":993,"tag":1864,"props":1905,"children":1906},{},[1907,1912],{"type":993,"tag":1854,"props":1908,"children":1909},{},[1910],{"type":999,"value":1911},"Site-packages",{"type":999,"value":1913}," - Third-party packages installed with pip",{"type":993,"tag":1002,"props":1915,"children":1916},{},[1917],{"type":993,"tag":1854,"props":1918,"children":1919},{},[1920],{"type":999,"value":1921},"What is sys.path:",{"type":993,"tag":1923,"props":1924,"children":1925},"ul",{},[1926,1936,1946,1956],{"type":993,"tag":1864,"props":1927,"children":1928},{},[1929,1934],{"type":993,"tag":1854,"props":1930,"children":1931},{},[1932],{"type":999,"value":1933},"List of directories",{"type":999,"value":1935}," - Python searches these in order",{"type":993,"tag":1864,"props":1937,"children":1938},{},[1939,1944],{"type":993,"tag":1854,"props":1940,"children":1941},{},[1942],{"type":999,"value":1943},"Modifiable",{"type":999,"value":1945}," - You can add directories programmatically",{"type":993,"tag":1864,"props":1947,"children":1948},{},[1949,1954],{"type":993,"tag":1854,"props":1950,"children":1951},{},[1952],{"type":999,"value":1953},"Dynamic",{"type":999,"value":1955}," - Changes based on your environment",{"type":993,"tag":1864,"props":1957,"children":1958},{},[1959,1964],{"type":993,"tag":1854,"props":1960,"children":1961},{},[1962],{"type":999,"value":1963},"First match wins",{"type":999,"value":1965}," - Python stops searching after finding a module",{"type":993,"tag":1002,"props":1967,"children":1968},{},[1969],{"type":993,"tag":1854,"props":1970,"children":1971},{},[1972],{"type":999,"value":1973},"Common Path Types:",{"type":993,"tag":1923,"props":1975,"children":1976},{},[1977,1987,1997,2014],{"type":993,"tag":1864,"props":1978,"children":1979},{},[1980,1985],{"type":993,"tag":1854,"props":1981,"children":1982},{},[1983],{"type":999,"value":1984},"Absolute paths",{"type":999,"value":1986}," - Full path from root directory",{"type":993,"tag":1864,"props":1988,"children":1989},{},[1990,1995],{"type":993,"tag":1854,"props":1991,"children":1992},{},[1993],{"type":999,"value":1994},"Relative paths",{"type":999,"value":1996}," - Relative to current directory",{"type":993,"tag":1864,"props":1998,"children":1999},{},[2000,2005,2007,2012],{"type":993,"tag":1854,"props":2001,"children":2002},{},[2003],{"type":999,"value":2004},"Package paths",{"type":999,"value":2006}," - Directories with ",{"type":993,"tag":1854,"props":2008,"children":2009},{},[2010],{"type":999,"value":2011},"init",{"type":999,"value":2013},".py files",{"type":993,"tag":1864,"props":2015,"children":2016},{},[2017,2022],{"type":993,"tag":1854,"props":2018,"children":2019},{},[2020],{"type":999,"value":2021},"Virtual environment paths",{"type":999,"value":2023}," - Isolated Python environments",{"type":993,"tag":1002,"props":2025,"children":2026},{},[2027],{"type":993,"tag":1854,"props":2028,"children":2029},{},[2030],{"type":999,"value":2031},"Best Practices:",{"type":993,"tag":1923,"props":2033,"children":2034},{},[2035,2045,2055,2065],{"type":993,"tag":1864,"props":2036,"children":2037},{},[2038,2043],{"type":993,"tag":1854,"props":2039,"children":2040},{},[2041],{"type":999,"value":2042},"Use virtual environments",{"type":999,"value":2044}," - Keep projects isolated",{"type":993,"tag":1864,"props":2046,"children":2047},{},[2048,2053],{"type":993,"tag":1854,"props":2049,"children":2050},{},[2051],{"type":999,"value":2052},"Organize with packages",{"type":999,"value":2054}," - Group related modules",{"type":993,"tag":1864,"props":2056,"children":2057},{},[2058,2063],{"type":993,"tag":1854,"props":2059,"children":2060},{},[2061],{"type":999,"value":2062},"Avoid modifying sys.path",{"type":999,"value":2064}," - Use proper package structure instead",{"type":993,"tag":1864,"props":2066,"children":2067},{},[2068,2073],{"type":993,"tag":1854,"props":2069,"children":2070},{},[2071],{"type":999,"value":2072},"Document dependencies",{"type":999,"value":2074}," - List required modules clearly",{"type":993,"tag":2076,"props":2077,"children":2079},"h3",{"id":2078},"working-with-packages",[2080],{"type":999,"value":2081},"📦 Working with Packages",{"type":993,"tag":1002,"props":2083,"children":2084},{},[2085,2087,2091],{"type":999,"value":2086},"Packages are directories that contain multiple modules, organized with special ",{"type":993,"tag":1854,"props":2088,"children":2089},{},[2090],{"type":999,"value":2011},{"type":999,"value":2092},".py files.",{"type":993,"tag":1013,"props":2094,"children":2095},{},[2096],{"type":993,"tag":1017,"props":2097,"children":2099},{"code":2098,"language":6,"meta":8,"className":1020,"style":8},"# 📦 Package Structure Demo\n\nimport os\nimport sys\n\ndef show_package_structure():\n    \"\"\"Demonstrate how Python packages work\"\"\"\n    \n    print(\"📦 Python Package Structure:\")\n    \n    # Example of a typical package structure\n    package_example = \"\"\"\n    my_project/\n    ├── main.py                 # Main application file\n    ├── config.py              # Configuration settings\n    ├── utils/                  # Utility package\n    │   ├── __init__.py        # Makes it a package\n    │   ├── helpers.py         # Helper functions\n    │   └── validators.py      # Validation functions\n    ├── data/                  # Data processing package\n    │   ├── __init__.py\n    │   ├── readers.py         # Data reading functions\n    │   └── writers.py         # Data writing functions\n    └── tests/                 # Testing package\n        ├── __init__.py\n        ├── test_utils.py\n        └── test_data.py\n    \"\"\"\n    \n    print(package_example)\n    \n    print(\"🔧 How packages work:\")\n    import_examples = [\n        (\"import utils\", \"Import entire package\"),\n        (\"from utils import helpers\", \"Import specific module\"),\n        (\"from utils.helpers import clean_text\", \"Import specific function\"),\n        (\"import data.readers as readers\", \"Import with alias\"),\n        (\"from data import *\", \"Import all (not recommended)\")\n    ]\n    \n    for import_cmd, description in import_examples:\n        print(f\"  {import_cmd:\u003C35} # {description}\")\n    \n    print(f\"\\n📄 __init__.py file purposes:\")\n    purposes = [\n        \"Makes directory a Python package\",\n        \"Controls what gets imported with 'from package import *'\",\n        \"Provides package-level initialization\",\n        \"Sets up convenient package interfaces\",\n        \"Defines package constants and configuration\"\n    ]\n    \n    for purpose in purposes:\n        print(f\"  • {purpose}\")\n\nshow_package_structure()\n",[2100],{"type":993,"tag":1023,"props":2101,"children":2102},{"__ignoreMap":8},[2103,2111,2118,2129,2140,2147,2166,2174,2182,2202,2209,2217,2234,2242,2250,2258,2266,2274,2282,2290,2298,2306,2314,2322,2330,2338,2346,2354,2362,2369,2381,2388,2408,2425,2453,2478,2503,2528,2553,2561,2568,2590,2654,2661,2693,2709,2722,2734,2746,2758,2766,2773,2780,2801,2842,2849],{"type":993,"tag":1027,"props":2104,"children":2105},{"class":1029,"line":12},[2106],{"type":993,"tag":1027,"props":2107,"children":2108},{"style":1033},[2109],{"type":999,"value":2110},"# 📦 Package Structure Demo\n",{"type":993,"tag":1027,"props":2112,"children":2113},{"class":1029,"line":27},[2114],{"type":993,"tag":1027,"props":2115,"children":2116},{"emptyLinePlaceholder":13},[2117],{"type":999,"value":1044},{"type":993,"tag":1027,"props":2119,"children":2120},{"class":1029,"line":36},[2121,2125],{"type":993,"tag":1027,"props":2122,"children":2123},{"style":1050},[2124],{"type":999,"value":1053},{"type":993,"tag":1027,"props":2126,"children":2127},{"style":1056},[2128],{"type":999,"value":1071},{"type":993,"tag":1027,"props":2130,"children":2131},{"class":1029,"line":45},[2132,2136],{"type":993,"tag":1027,"props":2133,"children":2134},{"style":1050},[2135],{"type":999,"value":1053},{"type":993,"tag":1027,"props":2137,"children":2138},{"style":1056},[2139],{"type":999,"value":1059},{"type":993,"tag":1027,"props":2141,"children":2142},{"class":1029,"line":54},[2143],{"type":993,"tag":1027,"props":2144,"children":2145},{"emptyLinePlaceholder":13},[2146],{"type":999,"value":1044},{"type":993,"tag":1027,"props":2148,"children":2149},{"class":1029,"line":63},[2150,2155,2161],{"type":993,"tag":1027,"props":2151,"children":2152},{"style":1050},[2153],{"type":999,"value":2154},"def",{"type":993,"tag":1027,"props":2156,"children":2158},{"style":2157},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[2159],{"type":999,"value":2160}," show_package_structure",{"type":993,"tag":1027,"props":2162,"children":2163},{"style":1056},[2164],{"type":999,"value":2165},"():\n",{"type":993,"tag":1027,"props":2167,"children":2168},{"class":1029,"line":72},[2169],{"type":993,"tag":1027,"props":2170,"children":2171},{"style":1095},[2172],{"type":999,"value":2173},"    \"\"\"Demonstrate how Python packages work\"\"\"\n",{"type":993,"tag":1027,"props":2175,"children":2176},{"class":1029,"line":81},[2177],{"type":993,"tag":1027,"props":2178,"children":2179},{"style":1056},[2180],{"type":999,"value":2181},"    \n",{"type":993,"tag":1027,"props":2183,"children":2184},{"class":1029,"line":91},[2185,2189,2193,2198],{"type":993,"tag":1027,"props":2186,"children":2187},{"style":1084},[2188],{"type":999,"value":1199},{"type":993,"tag":1027,"props":2190,"children":2191},{"style":1056},[2192],{"type":999,"value":1092},{"type":993,"tag":1027,"props":2194,"children":2195},{"style":1095},[2196],{"type":999,"value":2197},"\"📦 Python Package Structure:\"",{"type":993,"tag":1027,"props":2199,"children":2200},{"style":1056},[2201],{"type":999,"value":1103},{"type":993,"tag":1027,"props":2203,"children":2204},{"class":1029,"line":100},[2205],{"type":993,"tag":1027,"props":2206,"children":2207},{"style":1056},[2208],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2210,"children":2211},{"class":1029,"line":109},[2212],{"type":993,"tag":1027,"props":2213,"children":2214},{"style":1033},[2215],{"type":999,"value":2216},"    # Example of a typical package structure\n",{"type":993,"tag":1027,"props":2218,"children":2219},{"class":1029,"line":118},[2220,2225,2229],{"type":993,"tag":1027,"props":2221,"children":2222},{"style":1056},[2223],{"type":999,"value":2224},"    package_example ",{"type":993,"tag":1027,"props":2226,"children":2227},{"style":1050},[2228],{"type":999,"value":1371},{"type":993,"tag":1027,"props":2230,"children":2231},{"style":1095},[2232],{"type":999,"value":2233}," \"\"\"\n",{"type":993,"tag":1027,"props":2235,"children":2236},{"class":1029,"line":127},[2237],{"type":993,"tag":1027,"props":2238,"children":2239},{"style":1095},[2240],{"type":999,"value":2241},"    my_project/\n",{"type":993,"tag":1027,"props":2243,"children":2244},{"class":1029,"line":136},[2245],{"type":993,"tag":1027,"props":2246,"children":2247},{"style":1095},[2248],{"type":999,"value":2249},"    ├── main.py                 # Main application file\n",{"type":993,"tag":1027,"props":2251,"children":2252},{"class":1029,"line":146},[2253],{"type":993,"tag":1027,"props":2254,"children":2255},{"style":1095},[2256],{"type":999,"value":2257},"    ├── config.py              # Configuration settings\n",{"type":993,"tag":1027,"props":2259,"children":2260},{"class":1029,"line":155},[2261],{"type":993,"tag":1027,"props":2262,"children":2263},{"style":1095},[2264],{"type":999,"value":2265},"    ├── utils/                  # Utility package\n",{"type":993,"tag":1027,"props":2267,"children":2268},{"class":1029,"line":164},[2269],{"type":993,"tag":1027,"props":2270,"children":2271},{"style":1095},[2272],{"type":999,"value":2273},"    │   ├── __init__.py        # Makes it a package\n",{"type":993,"tag":1027,"props":2275,"children":2276},{"class":1029,"line":173},[2277],{"type":993,"tag":1027,"props":2278,"children":2279},{"style":1095},[2280],{"type":999,"value":2281},"    │   ├── helpers.py         # Helper functions\n",{"type":993,"tag":1027,"props":2283,"children":2284},{"class":1029,"line":182},[2285],{"type":993,"tag":1027,"props":2286,"children":2287},{"style":1095},[2288],{"type":999,"value":2289},"    │   └── validators.py      # Validation functions\n",{"type":993,"tag":1027,"props":2291,"children":2292},{"class":1029,"line":191},[2293],{"type":993,"tag":1027,"props":2294,"children":2295},{"style":1095},[2296],{"type":999,"value":2297},"    ├── data/                  # Data processing package\n",{"type":993,"tag":1027,"props":2299,"children":2300},{"class":1029,"line":201},[2301],{"type":993,"tag":1027,"props":2302,"children":2303},{"style":1095},[2304],{"type":999,"value":2305},"    │   ├── __init__.py\n",{"type":993,"tag":1027,"props":2307,"children":2308},{"class":1029,"line":210},[2309],{"type":993,"tag":1027,"props":2310,"children":2311},{"style":1095},[2312],{"type":999,"value":2313},"    │   ├── readers.py         # Data reading functions\n",{"type":993,"tag":1027,"props":2315,"children":2316},{"class":1029,"line":219},[2317],{"type":993,"tag":1027,"props":2318,"children":2319},{"style":1095},[2320],{"type":999,"value":2321},"    │   └── writers.py         # Data writing functions\n",{"type":993,"tag":1027,"props":2323,"children":2324},{"class":1029,"line":228},[2325],{"type":993,"tag":1027,"props":2326,"children":2327},{"style":1095},[2328],{"type":999,"value":2329},"    └── tests/                 # Testing package\n",{"type":993,"tag":1027,"props":2331,"children":2332},{"class":1029,"line":238},[2333],{"type":993,"tag":1027,"props":2334,"children":2335},{"style":1095},[2336],{"type":999,"value":2337},"        ├── __init__.py\n",{"type":993,"tag":1027,"props":2339,"children":2340},{"class":1029,"line":247},[2341],{"type":993,"tag":1027,"props":2342,"children":2343},{"style":1095},[2344],{"type":999,"value":2345},"        ├── test_utils.py\n",{"type":993,"tag":1027,"props":2347,"children":2348},{"class":1029,"line":256},[2349],{"type":993,"tag":1027,"props":2350,"children":2351},{"style":1095},[2352],{"type":999,"value":2353},"        └── test_data.py\n",{"type":993,"tag":1027,"props":2355,"children":2356},{"class":1029,"line":265},[2357],{"type":993,"tag":1027,"props":2358,"children":2359},{"style":1095},[2360],{"type":999,"value":2361},"    \"\"\"\n",{"type":993,"tag":1027,"props":2363,"children":2364},{"class":1029,"line":274},[2365],{"type":993,"tag":1027,"props":2366,"children":2367},{"style":1056},[2368],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2370,"children":2371},{"class":1029,"line":284},[2372,2376],{"type":993,"tag":1027,"props":2373,"children":2374},{"style":1084},[2375],{"type":999,"value":1199},{"type":993,"tag":1027,"props":2377,"children":2378},{"style":1056},[2379],{"type":999,"value":2380},"(package_example)\n",{"type":993,"tag":1027,"props":2382,"children":2383},{"class":1029,"line":293},[2384],{"type":993,"tag":1027,"props":2385,"children":2386},{"style":1056},[2387],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2389,"children":2390},{"class":1029,"line":302},[2391,2395,2399,2404],{"type":993,"tag":1027,"props":2392,"children":2393},{"style":1084},[2394],{"type":999,"value":1199},{"type":993,"tag":1027,"props":2396,"children":2397},{"style":1056},[2398],{"type":999,"value":1092},{"type":993,"tag":1027,"props":2400,"children":2401},{"style":1095},[2402],{"type":999,"value":2403},"\"🔧 How packages work:\"",{"type":993,"tag":1027,"props":2405,"children":2406},{"style":1056},[2407],{"type":999,"value":1103},{"type":993,"tag":1027,"props":2409,"children":2410},{"class":1029,"line":311},[2411,2416,2420],{"type":993,"tag":1027,"props":2412,"children":2413},{"style":1056},[2414],{"type":999,"value":2415},"    import_examples ",{"type":993,"tag":1027,"props":2417,"children":2418},{"style":1050},[2419],{"type":999,"value":1371},{"type":993,"tag":1027,"props":2421,"children":2422},{"style":1056},[2423],{"type":999,"value":2424}," [\n",{"type":993,"tag":1027,"props":2426,"children":2427},{"class":1029,"line":320},[2428,2433,2438,2443,2448],{"type":993,"tag":1027,"props":2429,"children":2430},{"style":1056},[2431],{"type":999,"value":2432},"        (",{"type":993,"tag":1027,"props":2434,"children":2435},{"style":1095},[2436],{"type":999,"value":2437},"\"import utils\"",{"type":993,"tag":1027,"props":2439,"children":2440},{"style":1056},[2441],{"type":999,"value":2442},", ",{"type":993,"tag":1027,"props":2444,"children":2445},{"style":1095},[2446],{"type":999,"value":2447},"\"Import entire package\"",{"type":993,"tag":1027,"props":2449,"children":2450},{"style":1056},[2451],{"type":999,"value":2452},"),\n",{"type":993,"tag":1027,"props":2454,"children":2455},{"class":1029,"line":329},[2456,2460,2465,2469,2474],{"type":993,"tag":1027,"props":2457,"children":2458},{"style":1056},[2459],{"type":999,"value":2432},{"type":993,"tag":1027,"props":2461,"children":2462},{"style":1095},[2463],{"type":999,"value":2464},"\"from utils import helpers\"",{"type":993,"tag":1027,"props":2466,"children":2467},{"style":1056},[2468],{"type":999,"value":2442},{"type":993,"tag":1027,"props":2470,"children":2471},{"style":1095},[2472],{"type":999,"value":2473},"\"Import specific module\"",{"type":993,"tag":1027,"props":2475,"children":2476},{"style":1056},[2477],{"type":999,"value":2452},{"type":993,"tag":1027,"props":2479,"children":2480},{"class":1029,"line":338},[2481,2485,2490,2494,2499],{"type":993,"tag":1027,"props":2482,"children":2483},{"style":1056},[2484],{"type":999,"value":2432},{"type":993,"tag":1027,"props":2486,"children":2487},{"style":1095},[2488],{"type":999,"value":2489},"\"from utils.helpers import clean_text\"",{"type":993,"tag":1027,"props":2491,"children":2492},{"style":1056},[2493],{"type":999,"value":2442},{"type":993,"tag":1027,"props":2495,"children":2496},{"style":1095},[2497],{"type":999,"value":2498},"\"Import specific function\"",{"type":993,"tag":1027,"props":2500,"children":2501},{"style":1056},[2502],{"type":999,"value":2452},{"type":993,"tag":1027,"props":2504,"children":2505},{"class":1029,"line":347},[2506,2510,2515,2519,2524],{"type":993,"tag":1027,"props":2507,"children":2508},{"style":1056},[2509],{"type":999,"value":2432},{"type":993,"tag":1027,"props":2511,"children":2512},{"style":1095},[2513],{"type":999,"value":2514},"\"import data.readers as readers\"",{"type":993,"tag":1027,"props":2516,"children":2517},{"style":1056},[2518],{"type":999,"value":2442},{"type":993,"tag":1027,"props":2520,"children":2521},{"style":1095},[2522],{"type":999,"value":2523},"\"Import with alias\"",{"type":993,"tag":1027,"props":2525,"children":2526},{"style":1056},[2527],{"type":999,"value":2452},{"type":993,"tag":1027,"props":2529,"children":2530},{"class":1029,"line":356},[2531,2535,2540,2544,2549],{"type":993,"tag":1027,"props":2532,"children":2533},{"style":1056},[2534],{"type":999,"value":2432},{"type":993,"tag":1027,"props":2536,"children":2537},{"style":1095},[2538],{"type":999,"value":2539},"\"from data import *\"",{"type":993,"tag":1027,"props":2541,"children":2542},{"style":1056},[2543],{"type":999,"value":2442},{"type":993,"tag":1027,"props":2545,"children":2546},{"style":1095},[2547],{"type":999,"value":2548},"\"Import all (not recommended)\"",{"type":993,"tag":1027,"props":2550,"children":2551},{"style":1056},[2552],{"type":999,"value":1103},{"type":993,"tag":1027,"props":2554,"children":2555},{"class":1029,"line":365},[2556],{"type":993,"tag":1027,"props":2557,"children":2558},{"style":1056},[2559],{"type":999,"value":2560},"    ]\n",{"type":993,"tag":1027,"props":2562,"children":2563},{"class":1029,"line":374},[2564],{"type":993,"tag":1027,"props":2565,"children":2566},{"style":1056},[2567],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2569,"children":2570},{"class":1029,"line":384},[2571,2576,2581,2585],{"type":993,"tag":1027,"props":2572,"children":2573},{"style":1050},[2574],{"type":999,"value":2575},"    for",{"type":993,"tag":1027,"props":2577,"children":2578},{"style":1056},[2579],{"type":999,"value":2580}," import_cmd, description ",{"type":993,"tag":1027,"props":2582,"children":2583},{"style":1050},[2584],{"type":999,"value":1156},{"type":993,"tag":1027,"props":2586,"children":2587},{"style":1056},[2588],{"type":999,"value":2589}," import_examples:\n",{"type":993,"tag":1027,"props":2591,"children":2592},{"class":1029,"line":393},[2593,2598,2602,2606,2610,2614,2619,2624,2628,2633,2637,2642,2646,2650],{"type":993,"tag":1027,"props":2594,"children":2595},{"style":1084},[2596],{"type":999,"value":2597},"        print",{"type":993,"tag":1027,"props":2599,"children":2600},{"style":1056},[2601],{"type":999,"value":1092},{"type":993,"tag":1027,"props":2603,"children":2604},{"style":1050},[2605],{"type":999,"value":1208},{"type":993,"tag":1027,"props":2607,"children":2608},{"style":1095},[2609],{"type":999,"value":1213},{"type":993,"tag":1027,"props":2611,"children":2612},{"style":1084},[2613],{"type":999,"value":1218},{"type":993,"tag":1027,"props":2615,"children":2616},{"style":1056},[2617],{"type":999,"value":2618},"import_cmd",{"type":993,"tag":1027,"props":2620,"children":2621},{"style":1050},[2622],{"type":999,"value":2623},":\u003C35",{"type":993,"tag":1027,"props":2625,"children":2626},{"style":1084},[2627],{"type":999,"value":1228},{"type":993,"tag":1027,"props":2629,"children":2630},{"style":1095},[2631],{"type":999,"value":2632}," # ",{"type":993,"tag":1027,"props":2634,"children":2635},{"style":1084},[2636],{"type":999,"value":1218},{"type":993,"tag":1027,"props":2638,"children":2639},{"style":1056},[2640],{"type":999,"value":2641},"description",{"type":993,"tag":1027,"props":2643,"children":2644},{"style":1084},[2645],{"type":999,"value":1228},{"type":993,"tag":1027,"props":2647,"children":2648},{"style":1095},[2649],{"type":999,"value":1251},{"type":993,"tag":1027,"props":2651,"children":2652},{"style":1056},[2653],{"type":999,"value":1103},{"type":993,"tag":1027,"props":2655,"children":2656},{"class":1029,"line":402},[2657],{"type":993,"tag":1027,"props":2658,"children":2659},{"style":1056},[2660],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2662,"children":2663},{"class":1029,"line":411},[2664,2668,2672,2676,2680,2684,2689],{"type":993,"tag":1027,"props":2665,"children":2666},{"style":1084},[2667],{"type":999,"value":1199},{"type":993,"tag":1027,"props":2669,"children":2670},{"style":1056},[2671],{"type":999,"value":1092},{"type":993,"tag":1027,"props":2673,"children":2674},{"style":1050},[2675],{"type":999,"value":1208},{"type":993,"tag":1027,"props":2677,"children":2678},{"style":1095},[2679],{"type":999,"value":1251},{"type":993,"tag":1027,"props":2681,"children":2682},{"style":1084},[2683],{"type":999,"value":1400},{"type":993,"tag":1027,"props":2685,"children":2686},{"style":1095},[2687],{"type":999,"value":2688},"📄 __init__.py file purposes:\"",{"type":993,"tag":1027,"props":2690,"children":2691},{"style":1056},[2692],{"type":999,"value":1103},{"type":993,"tag":1027,"props":2694,"children":2695},{"class":1029,"line":420},[2696,2701,2705],{"type":993,"tag":1027,"props":2697,"children":2698},{"style":1056},[2699],{"type":999,"value":2700},"    purposes ",{"type":993,"tag":1027,"props":2702,"children":2703},{"style":1050},[2704],{"type":999,"value":1371},{"type":993,"tag":1027,"props":2706,"children":2707},{"style":1056},[2708],{"type":999,"value":2424},{"type":993,"tag":1027,"props":2710,"children":2711},{"class":1029,"line":429},[2712,2717],{"type":993,"tag":1027,"props":2713,"children":2714},{"style":1095},[2715],{"type":999,"value":2716},"        \"Makes directory a Python package\"",{"type":993,"tag":1027,"props":2718,"children":2719},{"style":1056},[2720],{"type":999,"value":2721},",\n",{"type":993,"tag":1027,"props":2723,"children":2724},{"class":1029,"line":438},[2725,2730],{"type":993,"tag":1027,"props":2726,"children":2727},{"style":1095},[2728],{"type":999,"value":2729},"        \"Controls what gets imported with 'from package import *'\"",{"type":993,"tag":1027,"props":2731,"children":2732},{"style":1056},[2733],{"type":999,"value":2721},{"type":993,"tag":1027,"props":2735,"children":2736},{"class":1029,"line":447},[2737,2742],{"type":993,"tag":1027,"props":2738,"children":2739},{"style":1095},[2740],{"type":999,"value":2741},"        \"Provides package-level initialization\"",{"type":993,"tag":1027,"props":2743,"children":2744},{"style":1056},[2745],{"type":999,"value":2721},{"type":993,"tag":1027,"props":2747,"children":2748},{"class":1029,"line":457},[2749,2754],{"type":993,"tag":1027,"props":2750,"children":2751},{"style":1095},[2752],{"type":999,"value":2753},"        \"Sets up convenient package interfaces\"",{"type":993,"tag":1027,"props":2755,"children":2756},{"style":1056},[2757],{"type":999,"value":2721},{"type":993,"tag":1027,"props":2759,"children":2760},{"class":1029,"line":466},[2761],{"type":993,"tag":1027,"props":2762,"children":2763},{"style":1095},[2764],{"type":999,"value":2765},"        \"Defines package constants and configuration\"\n",{"type":993,"tag":1027,"props":2767,"children":2768},{"class":1029,"line":475},[2769],{"type":993,"tag":1027,"props":2770,"children":2771},{"style":1056},[2772],{"type":999,"value":2560},{"type":993,"tag":1027,"props":2774,"children":2775},{"class":1029,"line":484},[2776],{"type":993,"tag":1027,"props":2777,"children":2778},{"style":1056},[2779],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2781,"children":2782},{"class":1029,"line":493},[2783,2787,2792,2796],{"type":993,"tag":1027,"props":2784,"children":2785},{"style":1050},[2786],{"type":999,"value":2575},{"type":993,"tag":1027,"props":2788,"children":2789},{"style":1056},[2790],{"type":999,"value":2791}," purpose ",{"type":993,"tag":1027,"props":2793,"children":2794},{"style":1050},[2795],{"type":999,"value":1156},{"type":993,"tag":1027,"props":2797,"children":2798},{"style":1056},[2799],{"type":999,"value":2800}," purposes:\n",{"type":993,"tag":1027,"props":2802,"children":2803},{"class":1029,"line":502},[2804,2808,2812,2816,2821,2825,2830,2834,2838],{"type":993,"tag":1027,"props":2805,"children":2806},{"style":1084},[2807],{"type":999,"value":2597},{"type":993,"tag":1027,"props":2809,"children":2810},{"style":1056},[2811],{"type":999,"value":1092},{"type":993,"tag":1027,"props":2813,"children":2814},{"style":1050},[2815],{"type":999,"value":1208},{"type":993,"tag":1027,"props":2817,"children":2818},{"style":1095},[2819],{"type":999,"value":2820},"\"  • ",{"type":993,"tag":1027,"props":2822,"children":2823},{"style":1084},[2824],{"type":999,"value":1218},{"type":993,"tag":1027,"props":2826,"children":2827},{"style":1056},[2828],{"type":999,"value":2829},"purpose",{"type":993,"tag":1027,"props":2831,"children":2832},{"style":1084},[2833],{"type":999,"value":1228},{"type":993,"tag":1027,"props":2835,"children":2836},{"style":1095},[2837],{"type":999,"value":1251},{"type":993,"tag":1027,"props":2839,"children":2840},{"style":1056},[2841],{"type":999,"value":1103},{"type":993,"tag":1027,"props":2843,"children":2844},{"class":1029,"line":511},[2845],{"type":993,"tag":1027,"props":2846,"children":2847},{"emptyLinePlaceholder":13},[2848],{"type":999,"value":1044},{"type":993,"tag":1027,"props":2850,"children":2851},{"class":1029,"line":520},[2852],{"type":993,"tag":1027,"props":2853,"children":2854},{"style":1056},[2855],{"type":999,"value":2856},"show_package_structure()\n",{"type":993,"tag":2076,"props":2858,"children":2860},{"id":2859},"️-managing-import-paths",[2861],{"type":999,"value":2862},"🛠️ Managing Import Paths",{"type":993,"tag":1002,"props":2864,"children":2865},{},[2866],{"type":999,"value":2867},"Sometimes you need to help Python find modules in custom locations or organize complex projects.",{"type":993,"tag":1013,"props":2869,"children":2870},{},[2871],{"type":993,"tag":1017,"props":2872,"children":2874},{"code":2873,"language":6,"meta":8,"className":1020,"style":8},"# 🛠️ Import Path Management Demo\n\nimport sys\nimport os\n\ndef demonstrate_path_management():\n    \"\"\"Show how to manage Python import paths\"\"\"\n    \n    print(\"🛠️ Import Path Management:\")\n    \n    # Current sys.path length\n    original_path_length = len(sys.path)\n    print(f\"Original sys.path has {original_path_length} directories\")\n    \n    # Adding a custom path (temporarily)\n    custom_path = \"/path/to/my/modules\"  # This would be a real path\n    if custom_path not in sys.path:\n        sys.path.append(custom_path)\n        print(f\"✅ Added custom path: {custom_path}\")\n    \n    # Show different ways to add paths\n    print(f\"\\n📝 Methods to add module paths:\")\n    \n    methods = [\n        (\"sys.path.append(path)\", \"Add to end of search list\"),\n        (\"sys.path.insert(0, path)\", \"Add to beginning (highest priority)\"),\n        (\"PYTHONPATH environment variable\", \"System-wide path addition\"),\n        (\"Virtual environment\", \"Isolated project environment\"),\n        (\".pth files\", \"Permanent path additions in site-packages\")\n    ]\n    \n    for method, description in methods:\n        print(f\"  {method:\u003C35} # {description}\")\n    \n    # Path analysis\n    print(f\"\\n🔍 Current path analysis:\")\n    \n    # Count different types of paths\n    stdlib_paths = 0\n    site_packages = 0\n    local_paths = 0\n    \n    for path in sys.path:\n        if 'site-packages' in path:\n            site_packages += 1\n        elif 'lib/python' in path or 'Lib' in path:\n            stdlib_paths += 1\n        else:\n            local_paths += 1\n    \n    print(f\"  Standard library paths: {stdlib_paths}\")\n    print(f\"  Site-packages paths: {site_packages}\")\n    print(f\"  Local/other paths: {local_paths}\")\n    \n    # Clean up - remove the custom path we added\n    if custom_path in sys.path:\n        sys.path.remove(custom_path)\n        print(f\"\\n🧹 Cleaned up custom path\")\n    \n    # Show where specific modules come from\n    print(f\"\\n📍 Module locations:\")\n    \n    import json\n    import os\n    import sys\n    \n    modules_to_check = [('json', json), ('os', os), ('sys', sys)]\n    \n    for name, module in modules_to_check:\n        if hasattr(module, '__file__') and module.__file__:\n            location = os.path.dirname(module.__file__)\n            print(f\"  {name}: {location}\")\n        else:\n            print(f\"  {name}: Built-in module (no file location)\")\n\ndemonstrate_path_management()\n",[2875],{"type":993,"tag":1023,"props":2876,"children":2877},{"__ignoreMap":8},[2878,2886,2893,2904,2915,2922,2938,2946,2953,2973,2980,2988,3009,3051,3058,3066,3088,3115,3123,3164,3171,3179,3211,3218,3234,3259,3284,3309,3334,3359,3366,3373,3394,3454,3461,3469,3501,3508,3516,3533,3549,3565,3572,3592,3614,3632,3671,3687,3699,3715,3722,3763,3804,3845,3852,3860,3879,3887,3919,3926,3934,3966,3973,3986,3997,4008,4015,4062,4069,4090,4136,4161,4220,4231,4271,4278],{"type":993,"tag":1027,"props":2879,"children":2880},{"class":1029,"line":12},[2881],{"type":993,"tag":1027,"props":2882,"children":2883},{"style":1033},[2884],{"type":999,"value":2885},"# 🛠️ Import Path Management Demo\n",{"type":993,"tag":1027,"props":2887,"children":2888},{"class":1029,"line":27},[2889],{"type":993,"tag":1027,"props":2890,"children":2891},{"emptyLinePlaceholder":13},[2892],{"type":999,"value":1044},{"type":993,"tag":1027,"props":2894,"children":2895},{"class":1029,"line":36},[2896,2900],{"type":993,"tag":1027,"props":2897,"children":2898},{"style":1050},[2899],{"type":999,"value":1053},{"type":993,"tag":1027,"props":2901,"children":2902},{"style":1056},[2903],{"type":999,"value":1059},{"type":993,"tag":1027,"props":2905,"children":2906},{"class":1029,"line":45},[2907,2911],{"type":993,"tag":1027,"props":2908,"children":2909},{"style":1050},[2910],{"type":999,"value":1053},{"type":993,"tag":1027,"props":2912,"children":2913},{"style":1056},[2914],{"type":999,"value":1071},{"type":993,"tag":1027,"props":2916,"children":2917},{"class":1029,"line":54},[2918],{"type":993,"tag":1027,"props":2919,"children":2920},{"emptyLinePlaceholder":13},[2921],{"type":999,"value":1044},{"type":993,"tag":1027,"props":2923,"children":2924},{"class":1029,"line":63},[2925,2929,2934],{"type":993,"tag":1027,"props":2926,"children":2927},{"style":1050},[2928],{"type":999,"value":2154},{"type":993,"tag":1027,"props":2930,"children":2931},{"style":2157},[2932],{"type":999,"value":2933}," demonstrate_path_management",{"type":993,"tag":1027,"props":2935,"children":2936},{"style":1056},[2937],{"type":999,"value":2165},{"type":993,"tag":1027,"props":2939,"children":2940},{"class":1029,"line":72},[2941],{"type":993,"tag":1027,"props":2942,"children":2943},{"style":1095},[2944],{"type":999,"value":2945},"    \"\"\"Show how to manage Python import paths\"\"\"\n",{"type":993,"tag":1027,"props":2947,"children":2948},{"class":1029,"line":81},[2949],{"type":993,"tag":1027,"props":2950,"children":2951},{"style":1056},[2952],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2954,"children":2955},{"class":1029,"line":91},[2956,2960,2964,2969],{"type":993,"tag":1027,"props":2957,"children":2958},{"style":1084},[2959],{"type":999,"value":1199},{"type":993,"tag":1027,"props":2961,"children":2962},{"style":1056},[2963],{"type":999,"value":1092},{"type":993,"tag":1027,"props":2965,"children":2966},{"style":1095},[2967],{"type":999,"value":2968},"\"🛠️ Import Path Management:\"",{"type":993,"tag":1027,"props":2970,"children":2971},{"style":1056},[2972],{"type":999,"value":1103},{"type":993,"tag":1027,"props":2974,"children":2975},{"class":1029,"line":100},[2976],{"type":993,"tag":1027,"props":2977,"children":2978},{"style":1056},[2979],{"type":999,"value":2181},{"type":993,"tag":1027,"props":2981,"children":2982},{"class":1029,"line":109},[2983],{"type":993,"tag":1027,"props":2984,"children":2985},{"style":1033},[2986],{"type":999,"value":2987},"    # Current sys.path length\n",{"type":993,"tag":1027,"props":2989,"children":2990},{"class":1029,"line":118},[2991,2996,3000,3004],{"type":993,"tag":1027,"props":2992,"children":2993},{"style":1056},[2994],{"type":999,"value":2995},"    original_path_length ",{"type":993,"tag":1027,"props":2997,"children":2998},{"style":1050},[2999],{"type":999,"value":1371},{"type":993,"tag":1027,"props":3001,"children":3002},{"style":1084},[3003],{"type":999,"value":1275},{"type":993,"tag":1027,"props":3005,"children":3006},{"style":1056},[3007],{"type":999,"value":3008},"(sys.path)\n",{"type":993,"tag":1027,"props":3010,"children":3011},{"class":1029,"line":127},[3012,3016,3020,3024,3029,3033,3038,3042,3047],{"type":993,"tag":1027,"props":3013,"children":3014},{"style":1084},[3015],{"type":999,"value":1199},{"type":993,"tag":1027,"props":3017,"children":3018},{"style":1056},[3019],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3021,"children":3022},{"style":1050},[3023],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3025,"children":3026},{"style":1095},[3027],{"type":999,"value":3028},"\"Original sys.path has ",{"type":993,"tag":1027,"props":3030,"children":3031},{"style":1084},[3032],{"type":999,"value":1218},{"type":993,"tag":1027,"props":3034,"children":3035},{"style":1056},[3036],{"type":999,"value":3037},"original_path_length",{"type":993,"tag":1027,"props":3039,"children":3040},{"style":1084},[3041],{"type":999,"value":1228},{"type":993,"tag":1027,"props":3043,"children":3044},{"style":1095},[3045],{"type":999,"value":3046}," directories\"",{"type":993,"tag":1027,"props":3048,"children":3049},{"style":1056},[3050],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3052,"children":3053},{"class":1029,"line":136},[3054],{"type":993,"tag":1027,"props":3055,"children":3056},{"style":1056},[3057],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3059,"children":3060},{"class":1029,"line":146},[3061],{"type":993,"tag":1027,"props":3062,"children":3063},{"style":1033},[3064],{"type":999,"value":3065},"    # Adding a custom path (temporarily)\n",{"type":993,"tag":1027,"props":3067,"children":3068},{"class":1029,"line":155},[3069,3074,3078,3083],{"type":993,"tag":1027,"props":3070,"children":3071},{"style":1056},[3072],{"type":999,"value":3073},"    custom_path ",{"type":993,"tag":1027,"props":3075,"children":3076},{"style":1050},[3077],{"type":999,"value":1371},{"type":993,"tag":1027,"props":3079,"children":3080},{"style":1095},[3081],{"type":999,"value":3082}," \"/path/to/my/modules\"",{"type":993,"tag":1027,"props":3084,"children":3085},{"style":1033},[3086],{"type":999,"value":3087},"  # This would be a real path\n",{"type":993,"tag":1027,"props":3089,"children":3090},{"class":1029,"line":164},[3091,3096,3101,3106,3111],{"type":993,"tag":1027,"props":3092,"children":3093},{"style":1050},[3094],{"type":999,"value":3095},"    if",{"type":993,"tag":1027,"props":3097,"children":3098},{"style":1056},[3099],{"type":999,"value":3100}," custom_path ",{"type":993,"tag":1027,"props":3102,"children":3103},{"style":1050},[3104],{"type":999,"value":3105},"not",{"type":993,"tag":1027,"props":3107,"children":3108},{"style":1050},[3109],{"type":999,"value":3110}," in",{"type":993,"tag":1027,"props":3112,"children":3113},{"style":1056},[3114],{"type":999,"value":1462},{"type":993,"tag":1027,"props":3116,"children":3117},{"class":1029,"line":173},[3118],{"type":993,"tag":1027,"props":3119,"children":3120},{"style":1056},[3121],{"type":999,"value":3122},"        sys.path.append(custom_path)\n",{"type":993,"tag":1027,"props":3124,"children":3125},{"class":1029,"line":182},[3126,3130,3134,3138,3143,3147,3152,3156,3160],{"type":993,"tag":1027,"props":3127,"children":3128},{"style":1084},[3129],{"type":999,"value":2597},{"type":993,"tag":1027,"props":3131,"children":3132},{"style":1056},[3133],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3135,"children":3136},{"style":1050},[3137],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3139,"children":3140},{"style":1095},[3141],{"type":999,"value":3142},"\"✅ Added custom path: ",{"type":993,"tag":1027,"props":3144,"children":3145},{"style":1084},[3146],{"type":999,"value":1218},{"type":993,"tag":1027,"props":3148,"children":3149},{"style":1056},[3150],{"type":999,"value":3151},"custom_path",{"type":993,"tag":1027,"props":3153,"children":3154},{"style":1084},[3155],{"type":999,"value":1228},{"type":993,"tag":1027,"props":3157,"children":3158},{"style":1095},[3159],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3161,"children":3162},{"style":1056},[3163],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3165,"children":3166},{"class":1029,"line":191},[3167],{"type":993,"tag":1027,"props":3168,"children":3169},{"style":1056},[3170],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3172,"children":3173},{"class":1029,"line":201},[3174],{"type":993,"tag":1027,"props":3175,"children":3176},{"style":1033},[3177],{"type":999,"value":3178},"    # Show different ways to add paths\n",{"type":993,"tag":1027,"props":3180,"children":3181},{"class":1029,"line":210},[3182,3186,3190,3194,3198,3202,3207],{"type":993,"tag":1027,"props":3183,"children":3184},{"style":1084},[3185],{"type":999,"value":1199},{"type":993,"tag":1027,"props":3187,"children":3188},{"style":1056},[3189],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3191,"children":3192},{"style":1050},[3193],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3195,"children":3196},{"style":1095},[3197],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3199,"children":3200},{"style":1084},[3201],{"type":999,"value":1400},{"type":993,"tag":1027,"props":3203,"children":3204},{"style":1095},[3205],{"type":999,"value":3206},"📝 Methods to add module paths:\"",{"type":993,"tag":1027,"props":3208,"children":3209},{"style":1056},[3210],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3212,"children":3213},{"class":1029,"line":219},[3214],{"type":993,"tag":1027,"props":3215,"children":3216},{"style":1056},[3217],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3219,"children":3220},{"class":1029,"line":228},[3221,3226,3230],{"type":993,"tag":1027,"props":3222,"children":3223},{"style":1056},[3224],{"type":999,"value":3225},"    methods ",{"type":993,"tag":1027,"props":3227,"children":3228},{"style":1050},[3229],{"type":999,"value":1371},{"type":993,"tag":1027,"props":3231,"children":3232},{"style":1056},[3233],{"type":999,"value":2424},{"type":993,"tag":1027,"props":3235,"children":3236},{"class":1029,"line":238},[3237,3241,3246,3250,3255],{"type":993,"tag":1027,"props":3238,"children":3239},{"style":1056},[3240],{"type":999,"value":2432},{"type":993,"tag":1027,"props":3242,"children":3243},{"style":1095},[3244],{"type":999,"value":3245},"\"sys.path.append(path)\"",{"type":993,"tag":1027,"props":3247,"children":3248},{"style":1056},[3249],{"type":999,"value":2442},{"type":993,"tag":1027,"props":3251,"children":3252},{"style":1095},[3253],{"type":999,"value":3254},"\"Add to end of search list\"",{"type":993,"tag":1027,"props":3256,"children":3257},{"style":1056},[3258],{"type":999,"value":2452},{"type":993,"tag":1027,"props":3260,"children":3261},{"class":1029,"line":247},[3262,3266,3271,3275,3280],{"type":993,"tag":1027,"props":3263,"children":3264},{"style":1056},[3265],{"type":999,"value":2432},{"type":993,"tag":1027,"props":3267,"children":3268},{"style":1095},[3269],{"type":999,"value":3270},"\"sys.path.insert(0, path)\"",{"type":993,"tag":1027,"props":3272,"children":3273},{"style":1056},[3274],{"type":999,"value":2442},{"type":993,"tag":1027,"props":3276,"children":3277},{"style":1095},[3278],{"type":999,"value":3279},"\"Add to beginning (highest priority)\"",{"type":993,"tag":1027,"props":3281,"children":3282},{"style":1056},[3283],{"type":999,"value":2452},{"type":993,"tag":1027,"props":3285,"children":3286},{"class":1029,"line":256},[3287,3291,3296,3300,3305],{"type":993,"tag":1027,"props":3288,"children":3289},{"style":1056},[3290],{"type":999,"value":2432},{"type":993,"tag":1027,"props":3292,"children":3293},{"style":1095},[3294],{"type":999,"value":3295},"\"PYTHONPATH environment variable\"",{"type":993,"tag":1027,"props":3297,"children":3298},{"style":1056},[3299],{"type":999,"value":2442},{"type":993,"tag":1027,"props":3301,"children":3302},{"style":1095},[3303],{"type":999,"value":3304},"\"System-wide path addition\"",{"type":993,"tag":1027,"props":3306,"children":3307},{"style":1056},[3308],{"type":999,"value":2452},{"type":993,"tag":1027,"props":3310,"children":3311},{"class":1029,"line":265},[3312,3316,3321,3325,3330],{"type":993,"tag":1027,"props":3313,"children":3314},{"style":1056},[3315],{"type":999,"value":2432},{"type":993,"tag":1027,"props":3317,"children":3318},{"style":1095},[3319],{"type":999,"value":3320},"\"Virtual environment\"",{"type":993,"tag":1027,"props":3322,"children":3323},{"style":1056},[3324],{"type":999,"value":2442},{"type":993,"tag":1027,"props":3326,"children":3327},{"style":1095},[3328],{"type":999,"value":3329},"\"Isolated project environment\"",{"type":993,"tag":1027,"props":3331,"children":3332},{"style":1056},[3333],{"type":999,"value":2452},{"type":993,"tag":1027,"props":3335,"children":3336},{"class":1029,"line":274},[3337,3341,3346,3350,3355],{"type":993,"tag":1027,"props":3338,"children":3339},{"style":1056},[3340],{"type":999,"value":2432},{"type":993,"tag":1027,"props":3342,"children":3343},{"style":1095},[3344],{"type":999,"value":3345},"\".pth files\"",{"type":993,"tag":1027,"props":3347,"children":3348},{"style":1056},[3349],{"type":999,"value":2442},{"type":993,"tag":1027,"props":3351,"children":3352},{"style":1095},[3353],{"type":999,"value":3354},"\"Permanent path additions in site-packages\"",{"type":993,"tag":1027,"props":3356,"children":3357},{"style":1056},[3358],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3360,"children":3361},{"class":1029,"line":284},[3362],{"type":993,"tag":1027,"props":3363,"children":3364},{"style":1056},[3365],{"type":999,"value":2560},{"type":993,"tag":1027,"props":3367,"children":3368},{"class":1029,"line":293},[3369],{"type":993,"tag":1027,"props":3370,"children":3371},{"style":1056},[3372],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3374,"children":3375},{"class":1029,"line":302},[3376,3380,3385,3389],{"type":993,"tag":1027,"props":3377,"children":3378},{"style":1050},[3379],{"type":999,"value":2575},{"type":993,"tag":1027,"props":3381,"children":3382},{"style":1056},[3383],{"type":999,"value":3384}," method, description ",{"type":993,"tag":1027,"props":3386,"children":3387},{"style":1050},[3388],{"type":999,"value":1156},{"type":993,"tag":1027,"props":3390,"children":3391},{"style":1056},[3392],{"type":999,"value":3393}," methods:\n",{"type":993,"tag":1027,"props":3395,"children":3396},{"class":1029,"line":311},[3397,3401,3405,3409,3413,3417,3422,3426,3430,3434,3438,3442,3446,3450],{"type":993,"tag":1027,"props":3398,"children":3399},{"style":1084},[3400],{"type":999,"value":2597},{"type":993,"tag":1027,"props":3402,"children":3403},{"style":1056},[3404],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3406,"children":3407},{"style":1050},[3408],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3410,"children":3411},{"style":1095},[3412],{"type":999,"value":1213},{"type":993,"tag":1027,"props":3414,"children":3415},{"style":1084},[3416],{"type":999,"value":1218},{"type":993,"tag":1027,"props":3418,"children":3419},{"style":1056},[3420],{"type":999,"value":3421},"method",{"type":993,"tag":1027,"props":3423,"children":3424},{"style":1050},[3425],{"type":999,"value":2623},{"type":993,"tag":1027,"props":3427,"children":3428},{"style":1084},[3429],{"type":999,"value":1228},{"type":993,"tag":1027,"props":3431,"children":3432},{"style":1095},[3433],{"type":999,"value":2632},{"type":993,"tag":1027,"props":3435,"children":3436},{"style":1084},[3437],{"type":999,"value":1218},{"type":993,"tag":1027,"props":3439,"children":3440},{"style":1056},[3441],{"type":999,"value":2641},{"type":993,"tag":1027,"props":3443,"children":3444},{"style":1084},[3445],{"type":999,"value":1228},{"type":993,"tag":1027,"props":3447,"children":3448},{"style":1095},[3449],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3451,"children":3452},{"style":1056},[3453],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3455,"children":3456},{"class":1029,"line":320},[3457],{"type":993,"tag":1027,"props":3458,"children":3459},{"style":1056},[3460],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3462,"children":3463},{"class":1029,"line":329},[3464],{"type":993,"tag":1027,"props":3465,"children":3466},{"style":1033},[3467],{"type":999,"value":3468},"    # Path analysis\n",{"type":993,"tag":1027,"props":3470,"children":3471},{"class":1029,"line":338},[3472,3476,3480,3484,3488,3492,3497],{"type":993,"tag":1027,"props":3473,"children":3474},{"style":1084},[3475],{"type":999,"value":1199},{"type":993,"tag":1027,"props":3477,"children":3478},{"style":1056},[3479],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3481,"children":3482},{"style":1050},[3483],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3485,"children":3486},{"style":1095},[3487],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3489,"children":3490},{"style":1084},[3491],{"type":999,"value":1400},{"type":993,"tag":1027,"props":3493,"children":3494},{"style":1095},[3495],{"type":999,"value":3496},"🔍 Current path analysis:\"",{"type":993,"tag":1027,"props":3498,"children":3499},{"style":1056},[3500],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3502,"children":3503},{"class":1029,"line":347},[3504],{"type":993,"tag":1027,"props":3505,"children":3506},{"style":1056},[3507],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3509,"children":3510},{"class":1029,"line":356},[3511],{"type":993,"tag":1027,"props":3512,"children":3513},{"style":1033},[3514],{"type":999,"value":3515},"    # Count different types of paths\n",{"type":993,"tag":1027,"props":3517,"children":3518},{"class":1029,"line":365},[3519,3524,3528],{"type":993,"tag":1027,"props":3520,"children":3521},{"style":1056},[3522],{"type":999,"value":3523},"    stdlib_paths ",{"type":993,"tag":1027,"props":3525,"children":3526},{"style":1050},[3527],{"type":999,"value":1371},{"type":993,"tag":1027,"props":3529,"children":3530},{"style":1084},[3531],{"type":999,"value":3532}," 0\n",{"type":993,"tag":1027,"props":3534,"children":3535},{"class":1029,"line":374},[3536,3541,3545],{"type":993,"tag":1027,"props":3537,"children":3538},{"style":1056},[3539],{"type":999,"value":3540},"    site_packages ",{"type":993,"tag":1027,"props":3542,"children":3543},{"style":1050},[3544],{"type":999,"value":1371},{"type":993,"tag":1027,"props":3546,"children":3547},{"style":1084},[3548],{"type":999,"value":3532},{"type":993,"tag":1027,"props":3550,"children":3551},{"class":1029,"line":384},[3552,3557,3561],{"type":993,"tag":1027,"props":3553,"children":3554},{"style":1056},[3555],{"type":999,"value":3556},"    local_paths ",{"type":993,"tag":1027,"props":3558,"children":3559},{"style":1050},[3560],{"type":999,"value":1371},{"type":993,"tag":1027,"props":3562,"children":3563},{"style":1084},[3564],{"type":999,"value":3532},{"type":993,"tag":1027,"props":3566,"children":3567},{"class":1029,"line":393},[3568],{"type":993,"tag":1027,"props":3569,"children":3570},{"style":1056},[3571],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3573,"children":3574},{"class":1029,"line":402},[3575,3579,3584,3588],{"type":993,"tag":1027,"props":3576,"children":3577},{"style":1050},[3578],{"type":999,"value":2575},{"type":993,"tag":1027,"props":3580,"children":3581},{"style":1056},[3582],{"type":999,"value":3583}," path ",{"type":993,"tag":1027,"props":3585,"children":3586},{"style":1050},[3587],{"type":999,"value":1156},{"type":993,"tag":1027,"props":3589,"children":3590},{"style":1056},[3591],{"type":999,"value":1462},{"type":993,"tag":1027,"props":3593,"children":3594},{"class":1029,"line":411},[3595,3600,3605,3609],{"type":993,"tag":1027,"props":3596,"children":3597},{"style":1050},[3598],{"type":999,"value":3599},"        if",{"type":993,"tag":1027,"props":3601,"children":3602},{"style":1095},[3603],{"type":999,"value":3604}," 'site-packages'",{"type":993,"tag":1027,"props":3606,"children":3607},{"style":1050},[3608],{"type":999,"value":3110},{"type":993,"tag":1027,"props":3610,"children":3611},{"style":1056},[3612],{"type":999,"value":3613}," path:\n",{"type":993,"tag":1027,"props":3615,"children":3616},{"class":1029,"line":420},[3617,3622,3627],{"type":993,"tag":1027,"props":3618,"children":3619},{"style":1056},[3620],{"type":999,"value":3621},"            site_packages ",{"type":993,"tag":1027,"props":3623,"children":3624},{"style":1050},[3625],{"type":999,"value":3626},"+=",{"type":993,"tag":1027,"props":3628,"children":3629},{"style":1084},[3630],{"type":999,"value":3631}," 1\n",{"type":993,"tag":1027,"props":3633,"children":3634},{"class":1029,"line":429},[3635,3640,3645,3649,3653,3658,3663,3667],{"type":993,"tag":1027,"props":3636,"children":3637},{"style":1050},[3638],{"type":999,"value":3639},"        elif",{"type":993,"tag":1027,"props":3641,"children":3642},{"style":1095},[3643],{"type":999,"value":3644}," 'lib/python'",{"type":993,"tag":1027,"props":3646,"children":3647},{"style":1050},[3648],{"type":999,"value":3110},{"type":993,"tag":1027,"props":3650,"children":3651},{"style":1056},[3652],{"type":999,"value":3583},{"type":993,"tag":1027,"props":3654,"children":3655},{"style":1050},[3656],{"type":999,"value":3657},"or",{"type":993,"tag":1027,"props":3659,"children":3660},{"style":1095},[3661],{"type":999,"value":3662}," 'Lib'",{"type":993,"tag":1027,"props":3664,"children":3665},{"style":1050},[3666],{"type":999,"value":3110},{"type":993,"tag":1027,"props":3668,"children":3669},{"style":1056},[3670],{"type":999,"value":3613},{"type":993,"tag":1027,"props":3672,"children":3673},{"class":1029,"line":438},[3674,3679,3683],{"type":993,"tag":1027,"props":3675,"children":3676},{"style":1056},[3677],{"type":999,"value":3678},"            stdlib_paths ",{"type":993,"tag":1027,"props":3680,"children":3681},{"style":1050},[3682],{"type":999,"value":3626},{"type":993,"tag":1027,"props":3684,"children":3685},{"style":1084},[3686],{"type":999,"value":3631},{"type":993,"tag":1027,"props":3688,"children":3689},{"class":1029,"line":447},[3690,3695],{"type":993,"tag":1027,"props":3691,"children":3692},{"style":1050},[3693],{"type":999,"value":3694},"        else",{"type":993,"tag":1027,"props":3696,"children":3697},{"style":1056},[3698],{"type":999,"value":1295},{"type":993,"tag":1027,"props":3700,"children":3701},{"class":1029,"line":457},[3702,3707,3711],{"type":993,"tag":1027,"props":3703,"children":3704},{"style":1056},[3705],{"type":999,"value":3706},"            local_paths ",{"type":993,"tag":1027,"props":3708,"children":3709},{"style":1050},[3710],{"type":999,"value":3626},{"type":993,"tag":1027,"props":3712,"children":3713},{"style":1084},[3714],{"type":999,"value":3631},{"type":993,"tag":1027,"props":3716,"children":3717},{"class":1029,"line":466},[3718],{"type":993,"tag":1027,"props":3719,"children":3720},{"style":1056},[3721],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3723,"children":3724},{"class":1029,"line":475},[3725,3729,3733,3737,3742,3746,3751,3755,3759],{"type":993,"tag":1027,"props":3726,"children":3727},{"style":1084},[3728],{"type":999,"value":1199},{"type":993,"tag":1027,"props":3730,"children":3731},{"style":1056},[3732],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3734,"children":3735},{"style":1050},[3736],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3738,"children":3739},{"style":1095},[3740],{"type":999,"value":3741},"\"  Standard library paths: ",{"type":993,"tag":1027,"props":3743,"children":3744},{"style":1084},[3745],{"type":999,"value":1218},{"type":993,"tag":1027,"props":3747,"children":3748},{"style":1056},[3749],{"type":999,"value":3750},"stdlib_paths",{"type":993,"tag":1027,"props":3752,"children":3753},{"style":1084},[3754],{"type":999,"value":1228},{"type":993,"tag":1027,"props":3756,"children":3757},{"style":1095},[3758],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3760,"children":3761},{"style":1056},[3762],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3764,"children":3765},{"class":1029,"line":484},[3766,3770,3774,3778,3783,3787,3792,3796,3800],{"type":993,"tag":1027,"props":3767,"children":3768},{"style":1084},[3769],{"type":999,"value":1199},{"type":993,"tag":1027,"props":3771,"children":3772},{"style":1056},[3773],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3775,"children":3776},{"style":1050},[3777],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3779,"children":3780},{"style":1095},[3781],{"type":999,"value":3782},"\"  Site-packages paths: ",{"type":993,"tag":1027,"props":3784,"children":3785},{"style":1084},[3786],{"type":999,"value":1218},{"type":993,"tag":1027,"props":3788,"children":3789},{"style":1056},[3790],{"type":999,"value":3791},"site_packages",{"type":993,"tag":1027,"props":3793,"children":3794},{"style":1084},[3795],{"type":999,"value":1228},{"type":993,"tag":1027,"props":3797,"children":3798},{"style":1095},[3799],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3801,"children":3802},{"style":1056},[3803],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3805,"children":3806},{"class":1029,"line":493},[3807,3811,3815,3819,3824,3828,3833,3837,3841],{"type":993,"tag":1027,"props":3808,"children":3809},{"style":1084},[3810],{"type":999,"value":1199},{"type":993,"tag":1027,"props":3812,"children":3813},{"style":1056},[3814],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3816,"children":3817},{"style":1050},[3818],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3820,"children":3821},{"style":1095},[3822],{"type":999,"value":3823},"\"  Local/other paths: ",{"type":993,"tag":1027,"props":3825,"children":3826},{"style":1084},[3827],{"type":999,"value":1218},{"type":993,"tag":1027,"props":3829,"children":3830},{"style":1056},[3831],{"type":999,"value":3832},"local_paths",{"type":993,"tag":1027,"props":3834,"children":3835},{"style":1084},[3836],{"type":999,"value":1228},{"type":993,"tag":1027,"props":3838,"children":3839},{"style":1095},[3840],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3842,"children":3843},{"style":1056},[3844],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3846,"children":3847},{"class":1029,"line":502},[3848],{"type":993,"tag":1027,"props":3849,"children":3850},{"style":1056},[3851],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3853,"children":3854},{"class":1029,"line":511},[3855],{"type":993,"tag":1027,"props":3856,"children":3857},{"style":1033},[3858],{"type":999,"value":3859},"    # Clean up - remove the custom path we added\n",{"type":993,"tag":1027,"props":3861,"children":3862},{"class":1029,"line":520},[3863,3867,3871,3875],{"type":993,"tag":1027,"props":3864,"children":3865},{"style":1050},[3866],{"type":999,"value":3095},{"type":993,"tag":1027,"props":3868,"children":3869},{"style":1056},[3870],{"type":999,"value":3100},{"type":993,"tag":1027,"props":3872,"children":3873},{"style":1050},[3874],{"type":999,"value":1156},{"type":993,"tag":1027,"props":3876,"children":3877},{"style":1056},[3878],{"type":999,"value":1462},{"type":993,"tag":1027,"props":3880,"children":3881},{"class":1029,"line":530},[3882],{"type":993,"tag":1027,"props":3883,"children":3884},{"style":1056},[3885],{"type":999,"value":3886},"        sys.path.remove(custom_path)\n",{"type":993,"tag":1027,"props":3888,"children":3889},{"class":1029,"line":539},[3890,3894,3898,3902,3906,3910,3915],{"type":993,"tag":1027,"props":3891,"children":3892},{"style":1084},[3893],{"type":999,"value":2597},{"type":993,"tag":1027,"props":3895,"children":3896},{"style":1056},[3897],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3899,"children":3900},{"style":1050},[3901],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3903,"children":3904},{"style":1095},[3905],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3907,"children":3908},{"style":1084},[3909],{"type":999,"value":1400},{"type":993,"tag":1027,"props":3911,"children":3912},{"style":1095},[3913],{"type":999,"value":3914},"🧹 Cleaned up custom path\"",{"type":993,"tag":1027,"props":3916,"children":3917},{"style":1056},[3918],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3920,"children":3921},{"class":1029,"line":548},[3922],{"type":993,"tag":1027,"props":3923,"children":3924},{"style":1056},[3925],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3927,"children":3928},{"class":1029,"line":557},[3929],{"type":993,"tag":1027,"props":3930,"children":3931},{"style":1033},[3932],{"type":999,"value":3933},"    # Show where specific modules come from\n",{"type":993,"tag":1027,"props":3935,"children":3936},{"class":1029,"line":566},[3937,3941,3945,3949,3953,3957,3962],{"type":993,"tag":1027,"props":3938,"children":3939},{"style":1084},[3940],{"type":999,"value":1199},{"type":993,"tag":1027,"props":3942,"children":3943},{"style":1056},[3944],{"type":999,"value":1092},{"type":993,"tag":1027,"props":3946,"children":3947},{"style":1050},[3948],{"type":999,"value":1208},{"type":993,"tag":1027,"props":3950,"children":3951},{"style":1095},[3952],{"type":999,"value":1251},{"type":993,"tag":1027,"props":3954,"children":3955},{"style":1084},[3956],{"type":999,"value":1400},{"type":993,"tag":1027,"props":3958,"children":3959},{"style":1095},[3960],{"type":999,"value":3961},"📍 Module locations:\"",{"type":993,"tag":1027,"props":3963,"children":3964},{"style":1056},[3965],{"type":999,"value":1103},{"type":993,"tag":1027,"props":3967,"children":3968},{"class":1029,"line":575},[3969],{"type":993,"tag":1027,"props":3970,"children":3971},{"style":1056},[3972],{"type":999,"value":2181},{"type":993,"tag":1027,"props":3974,"children":3975},{"class":1029,"line":584},[3976,3981],{"type":993,"tag":1027,"props":3977,"children":3978},{"style":1050},[3979],{"type":999,"value":3980},"    import",{"type":993,"tag":1027,"props":3982,"children":3983},{"style":1056},[3984],{"type":999,"value":3985}," json\n",{"type":993,"tag":1027,"props":3987,"children":3988},{"class":1029,"line":593},[3989,3993],{"type":993,"tag":1027,"props":3990,"children":3991},{"style":1050},[3992],{"type":999,"value":3980},{"type":993,"tag":1027,"props":3994,"children":3995},{"style":1056},[3996],{"type":999,"value":1071},{"type":993,"tag":1027,"props":3998,"children":3999},{"class":1029,"line":602},[4000,4004],{"type":993,"tag":1027,"props":4001,"children":4002},{"style":1050},[4003],{"type":999,"value":3980},{"type":993,"tag":1027,"props":4005,"children":4006},{"style":1056},[4007],{"type":999,"value":1059},{"type":993,"tag":1027,"props":4009,"children":4010},{"class":1029,"line":611},[4011],{"type":993,"tag":1027,"props":4012,"children":4013},{"style":1056},[4014],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4016,"children":4017},{"class":1029,"line":621},[4018,4023,4027,4032,4037,4042,4047,4052,4057],{"type":993,"tag":1027,"props":4019,"children":4020},{"style":1056},[4021],{"type":999,"value":4022},"    modules_to_check ",{"type":993,"tag":1027,"props":4024,"children":4025},{"style":1050},[4026],{"type":999,"value":1371},{"type":993,"tag":1027,"props":4028,"children":4029},{"style":1056},[4030],{"type":999,"value":4031}," [(",{"type":993,"tag":1027,"props":4033,"children":4034},{"style":1095},[4035],{"type":999,"value":4036},"'json'",{"type":993,"tag":1027,"props":4038,"children":4039},{"style":1056},[4040],{"type":999,"value":4041},", json), (",{"type":993,"tag":1027,"props":4043,"children":4044},{"style":1095},[4045],{"type":999,"value":4046},"'os'",{"type":993,"tag":1027,"props":4048,"children":4049},{"style":1056},[4050],{"type":999,"value":4051},", os), (",{"type":993,"tag":1027,"props":4053,"children":4054},{"style":1095},[4055],{"type":999,"value":4056},"'sys'",{"type":993,"tag":1027,"props":4058,"children":4059},{"style":1056},[4060],{"type":999,"value":4061},", sys)]\n",{"type":993,"tag":1027,"props":4063,"children":4064},{"class":1029,"line":630},[4065],{"type":993,"tag":1027,"props":4066,"children":4067},{"style":1056},[4068],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4070,"children":4071},{"class":1029,"line":639},[4072,4076,4081,4085],{"type":993,"tag":1027,"props":4073,"children":4074},{"style":1050},[4075],{"type":999,"value":2575},{"type":993,"tag":1027,"props":4077,"children":4078},{"style":1056},[4079],{"type":999,"value":4080}," name, module ",{"type":993,"tag":1027,"props":4082,"children":4083},{"style":1050},[4084],{"type":999,"value":1156},{"type":993,"tag":1027,"props":4086,"children":4087},{"style":1056},[4088],{"type":999,"value":4089}," modules_to_check:\n",{"type":993,"tag":1027,"props":4091,"children":4092},{"class":1029,"line":648},[4093,4097,4102,4107,4112,4117,4122,4127,4132],{"type":993,"tag":1027,"props":4094,"children":4095},{"style":1050},[4096],{"type":999,"value":3599},{"type":993,"tag":1027,"props":4098,"children":4099},{"style":1084},[4100],{"type":999,"value":4101}," hasattr",{"type":993,"tag":1027,"props":4103,"children":4104},{"style":1056},[4105],{"type":999,"value":4106},"(module, ",{"type":993,"tag":1027,"props":4108,"children":4109},{"style":1095},[4110],{"type":999,"value":4111},"'__file__'",{"type":993,"tag":1027,"props":4113,"children":4114},{"style":1056},[4115],{"type":999,"value":4116},") ",{"type":993,"tag":1027,"props":4118,"children":4119},{"style":1050},[4120],{"type":999,"value":4121},"and",{"type":993,"tag":1027,"props":4123,"children":4124},{"style":1056},[4125],{"type":999,"value":4126}," module.",{"type":993,"tag":1027,"props":4128,"children":4129},{"style":1084},[4130],{"type":999,"value":4131},"__file__",{"type":993,"tag":1027,"props":4133,"children":4134},{"style":1056},[4135],{"type":999,"value":1295},{"type":993,"tag":1027,"props":4137,"children":4138},{"class":1029,"line":657},[4139,4144,4148,4153,4157],{"type":993,"tag":1027,"props":4140,"children":4141},{"style":1056},[4142],{"type":999,"value":4143},"            location ",{"type":993,"tag":1027,"props":4145,"children":4146},{"style":1050},[4147],{"type":999,"value":1371},{"type":993,"tag":1027,"props":4149,"children":4150},{"style":1056},[4151],{"type":999,"value":4152}," os.path.dirname(module.",{"type":993,"tag":1027,"props":4154,"children":4155},{"style":1084},[4156],{"type":999,"value":4131},{"type":993,"tag":1027,"props":4158,"children":4159},{"style":1056},[4160],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4162,"children":4163},{"class":1029,"line":666},[4164,4169,4173,4177,4181,4185,4190,4194,4199,4203,4208,4212,4216],{"type":993,"tag":1027,"props":4165,"children":4166},{"style":1084},[4167],{"type":999,"value":4168},"            print",{"type":993,"tag":1027,"props":4170,"children":4171},{"style":1056},[4172],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4174,"children":4175},{"style":1050},[4176],{"type":999,"value":1208},{"type":993,"tag":1027,"props":4178,"children":4179},{"style":1095},[4180],{"type":999,"value":1213},{"type":993,"tag":1027,"props":4182,"children":4183},{"style":1084},[4184],{"type":999,"value":1218},{"type":993,"tag":1027,"props":4186,"children":4187},{"style":1056},[4188],{"type":999,"value":4189},"name",{"type":993,"tag":1027,"props":4191,"children":4192},{"style":1084},[4193],{"type":999,"value":1228},{"type":993,"tag":1027,"props":4195,"children":4196},{"style":1095},[4197],{"type":999,"value":4198},": ",{"type":993,"tag":1027,"props":4200,"children":4201},{"style":1084},[4202],{"type":999,"value":1218},{"type":993,"tag":1027,"props":4204,"children":4205},{"style":1056},[4206],{"type":999,"value":4207},"location",{"type":993,"tag":1027,"props":4209,"children":4210},{"style":1084},[4211],{"type":999,"value":1228},{"type":993,"tag":1027,"props":4213,"children":4214},{"style":1095},[4215],{"type":999,"value":1251},{"type":993,"tag":1027,"props":4217,"children":4218},{"style":1056},[4219],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4221,"children":4222},{"class":1029,"line":675},[4223,4227],{"type":993,"tag":1027,"props":4224,"children":4225},{"style":1050},[4226],{"type":999,"value":3694},{"type":993,"tag":1027,"props":4228,"children":4229},{"style":1056},[4230],{"type":999,"value":1295},{"type":993,"tag":1027,"props":4232,"children":4233},{"class":1029,"line":685},[4234,4238,4242,4246,4250,4254,4258,4262,4267],{"type":993,"tag":1027,"props":4235,"children":4236},{"style":1084},[4237],{"type":999,"value":4168},{"type":993,"tag":1027,"props":4239,"children":4240},{"style":1056},[4241],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4243,"children":4244},{"style":1050},[4245],{"type":999,"value":1208},{"type":993,"tag":1027,"props":4247,"children":4248},{"style":1095},[4249],{"type":999,"value":1213},{"type":993,"tag":1027,"props":4251,"children":4252},{"style":1084},[4253],{"type":999,"value":1218},{"type":993,"tag":1027,"props":4255,"children":4256},{"style":1056},[4257],{"type":999,"value":4189},{"type":993,"tag":1027,"props":4259,"children":4260},{"style":1084},[4261],{"type":999,"value":1228},{"type":993,"tag":1027,"props":4263,"children":4264},{"style":1095},[4265],{"type":999,"value":4266},": Built-in module (no file location)\"",{"type":993,"tag":1027,"props":4268,"children":4269},{"style":1056},[4270],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4272,"children":4273},{"class":1029,"line":694},[4274],{"type":993,"tag":1027,"props":4275,"children":4276},{"emptyLinePlaceholder":13},[4277],{"type":999,"value":1044},{"type":993,"tag":1027,"props":4279,"children":4280},{"class":1029,"line":703},[4281],{"type":993,"tag":1027,"props":4282,"children":4283},{"style":1056},[4284],{"type":999,"value":4285},"demonstrate_path_management()\n",{"type":993,"tag":2076,"props":4287,"children":4289},{"id":4288},"virtual-environments-and-dependencies",[4290],{"type":999,"value":4291},"🌐 Virtual Environments and Dependencies",{"type":993,"tag":1002,"props":4293,"children":4294},{},[4295],{"type":999,"value":4296},"Virtual environments create isolated Python environments for different projects, preventing conflicts between dependencies.",{"type":993,"tag":1013,"props":4298,"children":4299},{},[4300],{"type":993,"tag":1017,"props":4301,"children":4303},{"code":4302,"language":6,"meta":8,"className":1020,"style":8},"# 🌐 Virtual Environment Demo\n\nimport sys\nimport os\n\ndef virtual_environment_info():\n    \"\"\"Show information about virtual environments\"\"\"\n    \n    print(\"🌐 Virtual Environment Information:\")\n    \n    # Check if we're in a virtual environment\n    in_venv = hasattr(sys, 'real_prefix') or (\n        hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix\n    )\n    \n    print(f\"Running in virtual environment: {'Yes' if in_venv else 'No'}\")\n    \n    if in_venv:\n        print(f\"Virtual environment prefix: {sys.prefix}\")\n        if hasattr(sys, 'base_prefix'):\n            print(f\"Base Python prefix: {sys.base_prefix}\")\n    \n    # Python executable location\n    python_executable = sys.executable\n    print(f\"Python executable: {python_executable}\")\n    \n    # Environment variables related to Python\n    print(f\"\\n🔧 Python environment variables:\")\n    \n    env_vars = [\n        ('PYTHONPATH', 'Additional module search paths'),\n        ('PYTHONHOME', 'Python installation directory'),\n        ('VIRTUAL_ENV', 'Current virtual environment path'),\n        ('PATH', 'System executable search paths')\n    ]\n    \n    for var, description in env_vars:\n        value = os.environ.get(var)\n        if value:\n            if var == 'PATH':\n                # Show number of PATH entries instead of full PATH\n                path_count = len(value.split(os.pathsep))\n                print(f\"  {var}: {path_count} directories\")\n            elif len(value) > 50:\n                print(f\"  {var}: {value[:50]}...\")\n            else:\n                print(f\"  {var}: {value}\")\n        else:\n            print(f\"  {var}: Not set\")\n    \n    # Virtual environment benefits\n    print(f\"\\n💡 Virtual environment benefits:\")\n    benefits = [\n        \"Isolate project dependencies\",\n        \"Avoid conflicts between different project requirements\",\n        \"Test with different Python versions\",\n        \"Share exact environment with teammates\",\n        \"Keep global Python installation clean\"\n    ]\n    \n    for benefit in benefits:\n        print(f\"  • {benefit}\")\n    \n    # Common virtual environment commands\n    print(f\"\\n📋 Common virtual environment commands:\")\n    commands = [\n        (\"python -m venv myenv\", \"Create virtual environment\"),\n        (\"source myenv/bin/activate\", \"Activate (Linux/Mac)\"),\n        (\"myenv\\\\Scripts\\\\activate\", \"Activate (Windows)\"),\n        (\"pip install package\", \"Install package in virtual env\"),\n        (\"pip freeze > requirements.txt\", \"Save current packages\"),\n        (\"pip install -r requirements.txt\", \"Install from requirements\"),\n        (\"deactivate\", \"Exit virtual environment\")\n    ]\n    \n    for command, description in commands:\n        print(f\"  {command:\u003C35} # {description}\")\n\nvirtual_environment_info()\n",[4304],{"type":993,"tag":1023,"props":4305,"children":4306},{"__ignoreMap":8},[4307,4315,4322,4333,4344,4351,4367,4375,4382,4402,4409,4417,4456,4496,4504,4511,4571,4578,4590,4631,4655,4696,4703,4711,4728,4769,4776,4784,4816,4823,4839,4864,4889,4914,4939,4946,4953,4974,4991,5003,5030,5038,5059,5117,5147,5212,5224,5280,5291,5331,5338,5346,5378,5394,5406,5418,5430,5442,5450,5457,5464,5485,5525,5532,5540,5572,5588,5613,5638,5682,5707,5732,5757,5782,5789,5796,5817,5877,5884],{"type":993,"tag":1027,"props":4308,"children":4309},{"class":1029,"line":12},[4310],{"type":993,"tag":1027,"props":4311,"children":4312},{"style":1033},[4313],{"type":999,"value":4314},"# 🌐 Virtual Environment Demo\n",{"type":993,"tag":1027,"props":4316,"children":4317},{"class":1029,"line":27},[4318],{"type":993,"tag":1027,"props":4319,"children":4320},{"emptyLinePlaceholder":13},[4321],{"type":999,"value":1044},{"type":993,"tag":1027,"props":4323,"children":4324},{"class":1029,"line":36},[4325,4329],{"type":993,"tag":1027,"props":4326,"children":4327},{"style":1050},[4328],{"type":999,"value":1053},{"type":993,"tag":1027,"props":4330,"children":4331},{"style":1056},[4332],{"type":999,"value":1059},{"type":993,"tag":1027,"props":4334,"children":4335},{"class":1029,"line":45},[4336,4340],{"type":993,"tag":1027,"props":4337,"children":4338},{"style":1050},[4339],{"type":999,"value":1053},{"type":993,"tag":1027,"props":4341,"children":4342},{"style":1056},[4343],{"type":999,"value":1071},{"type":993,"tag":1027,"props":4345,"children":4346},{"class":1029,"line":54},[4347],{"type":993,"tag":1027,"props":4348,"children":4349},{"emptyLinePlaceholder":13},[4350],{"type":999,"value":1044},{"type":993,"tag":1027,"props":4352,"children":4353},{"class":1029,"line":63},[4354,4358,4363],{"type":993,"tag":1027,"props":4355,"children":4356},{"style":1050},[4357],{"type":999,"value":2154},{"type":993,"tag":1027,"props":4359,"children":4360},{"style":2157},[4361],{"type":999,"value":4362}," virtual_environment_info",{"type":993,"tag":1027,"props":4364,"children":4365},{"style":1056},[4366],{"type":999,"value":2165},{"type":993,"tag":1027,"props":4368,"children":4369},{"class":1029,"line":72},[4370],{"type":993,"tag":1027,"props":4371,"children":4372},{"style":1095},[4373],{"type":999,"value":4374},"    \"\"\"Show information about virtual environments\"\"\"\n",{"type":993,"tag":1027,"props":4376,"children":4377},{"class":1029,"line":81},[4378],{"type":993,"tag":1027,"props":4379,"children":4380},{"style":1056},[4381],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4383,"children":4384},{"class":1029,"line":91},[4385,4389,4393,4398],{"type":993,"tag":1027,"props":4386,"children":4387},{"style":1084},[4388],{"type":999,"value":1199},{"type":993,"tag":1027,"props":4390,"children":4391},{"style":1056},[4392],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4394,"children":4395},{"style":1095},[4396],{"type":999,"value":4397},"\"🌐 Virtual Environment Information:\"",{"type":993,"tag":1027,"props":4399,"children":4400},{"style":1056},[4401],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4403,"children":4404},{"class":1029,"line":100},[4405],{"type":993,"tag":1027,"props":4406,"children":4407},{"style":1056},[4408],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4410,"children":4411},{"class":1029,"line":109},[4412],{"type":993,"tag":1027,"props":4413,"children":4414},{"style":1033},[4415],{"type":999,"value":4416},"    # Check if we're in a virtual environment\n",{"type":993,"tag":1027,"props":4418,"children":4419},{"class":1029,"line":118},[4420,4425,4429,4433,4438,4443,4447,4451],{"type":993,"tag":1027,"props":4421,"children":4422},{"style":1056},[4423],{"type":999,"value":4424},"    in_venv ",{"type":993,"tag":1027,"props":4426,"children":4427},{"style":1050},[4428],{"type":999,"value":1371},{"type":993,"tag":1027,"props":4430,"children":4431},{"style":1084},[4432],{"type":999,"value":4101},{"type":993,"tag":1027,"props":4434,"children":4435},{"style":1056},[4436],{"type":999,"value":4437},"(sys, ",{"type":993,"tag":1027,"props":4439,"children":4440},{"style":1095},[4441],{"type":999,"value":4442},"'real_prefix'",{"type":993,"tag":1027,"props":4444,"children":4445},{"style":1056},[4446],{"type":999,"value":4116},{"type":993,"tag":1027,"props":4448,"children":4449},{"style":1050},[4450],{"type":999,"value":3657},{"type":993,"tag":1027,"props":4452,"children":4453},{"style":1056},[4454],{"type":999,"value":4455}," (\n",{"type":993,"tag":1027,"props":4457,"children":4458},{"class":1029,"line":127},[4459,4464,4468,4473,4477,4481,4486,4491],{"type":993,"tag":1027,"props":4460,"children":4461},{"style":1084},[4462],{"type":999,"value":4463},"        hasattr",{"type":993,"tag":1027,"props":4465,"children":4466},{"style":1056},[4467],{"type":999,"value":4437},{"type":993,"tag":1027,"props":4469,"children":4470},{"style":1095},[4471],{"type":999,"value":4472},"'base_prefix'",{"type":993,"tag":1027,"props":4474,"children":4475},{"style":1056},[4476],{"type":999,"value":4116},{"type":993,"tag":1027,"props":4478,"children":4479},{"style":1050},[4480],{"type":999,"value":4121},{"type":993,"tag":1027,"props":4482,"children":4483},{"style":1056},[4484],{"type":999,"value":4485}," sys.base_prefix ",{"type":993,"tag":1027,"props":4487,"children":4488},{"style":1050},[4489],{"type":999,"value":4490},"!=",{"type":993,"tag":1027,"props":4492,"children":4493},{"style":1056},[4494],{"type":999,"value":4495}," sys.prefix\n",{"type":993,"tag":1027,"props":4497,"children":4498},{"class":1029,"line":136},[4499],{"type":993,"tag":1027,"props":4500,"children":4501},{"style":1056},[4502],{"type":999,"value":4503},"    )\n",{"type":993,"tag":1027,"props":4505,"children":4506},{"class":1029,"line":146},[4507],{"type":993,"tag":1027,"props":4508,"children":4509},{"style":1056},[4510],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4512,"children":4513},{"class":1029,"line":155},[4514,4518,4522,4526,4531,4535,4540,4545,4550,4554,4559,4563,4567],{"type":993,"tag":1027,"props":4515,"children":4516},{"style":1084},[4517],{"type":999,"value":1199},{"type":993,"tag":1027,"props":4519,"children":4520},{"style":1056},[4521],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4523,"children":4524},{"style":1050},[4525],{"type":999,"value":1208},{"type":993,"tag":1027,"props":4527,"children":4528},{"style":1095},[4529],{"type":999,"value":4530},"\"Running in virtual environment: ",{"type":993,"tag":1027,"props":4532,"children":4533},{"style":1084},[4534],{"type":999,"value":1218},{"type":993,"tag":1027,"props":4536,"children":4537},{"style":1095},[4538],{"type":999,"value":4539},"'Yes'",{"type":993,"tag":1027,"props":4541,"children":4542},{"style":1050},[4543],{"type":999,"value":4544}," if",{"type":993,"tag":1027,"props":4546,"children":4547},{"style":1056},[4548],{"type":999,"value":4549}," in_venv ",{"type":993,"tag":1027,"props":4551,"children":4552},{"style":1050},[4553],{"type":999,"value":1490},{"type":993,"tag":1027,"props":4555,"children":4556},{"style":1095},[4557],{"type":999,"value":4558}," 'No'",{"type":993,"tag":1027,"props":4560,"children":4561},{"style":1084},[4562],{"type":999,"value":1228},{"type":993,"tag":1027,"props":4564,"children":4565},{"style":1095},[4566],{"type":999,"value":1251},{"type":993,"tag":1027,"props":4568,"children":4569},{"style":1056},[4570],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4572,"children":4573},{"class":1029,"line":164},[4574],{"type":993,"tag":1027,"props":4575,"children":4576},{"style":1056},[4577],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4579,"children":4580},{"class":1029,"line":173},[4581,4585],{"type":993,"tag":1027,"props":4582,"children":4583},{"style":1050},[4584],{"type":999,"value":3095},{"type":993,"tag":1027,"props":4586,"children":4587},{"style":1056},[4588],{"type":999,"value":4589}," in_venv:\n",{"type":993,"tag":1027,"props":4591,"children":4592},{"class":1029,"line":182},[4593,4597,4601,4605,4610,4614,4619,4623,4627],{"type":993,"tag":1027,"props":4594,"children":4595},{"style":1084},[4596],{"type":999,"value":2597},{"type":993,"tag":1027,"props":4598,"children":4599},{"style":1056},[4600],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4602,"children":4603},{"style":1050},[4604],{"type":999,"value":1208},{"type":993,"tag":1027,"props":4606,"children":4607},{"style":1095},[4608],{"type":999,"value":4609},"\"Virtual environment prefix: ",{"type":993,"tag":1027,"props":4611,"children":4612},{"style":1084},[4613],{"type":999,"value":1218},{"type":993,"tag":1027,"props":4615,"children":4616},{"style":1056},[4617],{"type":999,"value":4618},"sys.prefix",{"type":993,"tag":1027,"props":4620,"children":4621},{"style":1084},[4622],{"type":999,"value":1228},{"type":993,"tag":1027,"props":4624,"children":4625},{"style":1095},[4626],{"type":999,"value":1251},{"type":993,"tag":1027,"props":4628,"children":4629},{"style":1056},[4630],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4632,"children":4633},{"class":1029,"line":191},[4634,4638,4642,4646,4650],{"type":993,"tag":1027,"props":4635,"children":4636},{"style":1050},[4637],{"type":999,"value":3599},{"type":993,"tag":1027,"props":4639,"children":4640},{"style":1084},[4641],{"type":999,"value":4101},{"type":993,"tag":1027,"props":4643,"children":4644},{"style":1056},[4645],{"type":999,"value":4437},{"type":993,"tag":1027,"props":4647,"children":4648},{"style":1095},[4649],{"type":999,"value":4472},{"type":993,"tag":1027,"props":4651,"children":4652},{"style":1056},[4653],{"type":999,"value":4654},"):\n",{"type":993,"tag":1027,"props":4656,"children":4657},{"class":1029,"line":201},[4658,4662,4666,4670,4675,4679,4684,4688,4692],{"type":993,"tag":1027,"props":4659,"children":4660},{"style":1084},[4661],{"type":999,"value":4168},{"type":993,"tag":1027,"props":4663,"children":4664},{"style":1056},[4665],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4667,"children":4668},{"style":1050},[4669],{"type":999,"value":1208},{"type":993,"tag":1027,"props":4671,"children":4672},{"style":1095},[4673],{"type":999,"value":4674},"\"Base Python prefix: ",{"type":993,"tag":1027,"props":4676,"children":4677},{"style":1084},[4678],{"type":999,"value":1218},{"type":993,"tag":1027,"props":4680,"children":4681},{"style":1056},[4682],{"type":999,"value":4683},"sys.base_prefix",{"type":993,"tag":1027,"props":4685,"children":4686},{"style":1084},[4687],{"type":999,"value":1228},{"type":993,"tag":1027,"props":4689,"children":4690},{"style":1095},[4691],{"type":999,"value":1251},{"type":993,"tag":1027,"props":4693,"children":4694},{"style":1056},[4695],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4697,"children":4698},{"class":1029,"line":210},[4699],{"type":993,"tag":1027,"props":4700,"children":4701},{"style":1056},[4702],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4704,"children":4705},{"class":1029,"line":219},[4706],{"type":993,"tag":1027,"props":4707,"children":4708},{"style":1033},[4709],{"type":999,"value":4710},"    # Python executable location\n",{"type":993,"tag":1027,"props":4712,"children":4713},{"class":1029,"line":228},[4714,4719,4723],{"type":993,"tag":1027,"props":4715,"children":4716},{"style":1056},[4717],{"type":999,"value":4718},"    python_executable ",{"type":993,"tag":1027,"props":4720,"children":4721},{"style":1050},[4722],{"type":999,"value":1371},{"type":993,"tag":1027,"props":4724,"children":4725},{"style":1056},[4726],{"type":999,"value":4727}," sys.executable\n",{"type":993,"tag":1027,"props":4729,"children":4730},{"class":1029,"line":238},[4731,4735,4739,4743,4748,4752,4757,4761,4765],{"type":993,"tag":1027,"props":4732,"children":4733},{"style":1084},[4734],{"type":999,"value":1199},{"type":993,"tag":1027,"props":4736,"children":4737},{"style":1056},[4738],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4740,"children":4741},{"style":1050},[4742],{"type":999,"value":1208},{"type":993,"tag":1027,"props":4744,"children":4745},{"style":1095},[4746],{"type":999,"value":4747},"\"Python executable: ",{"type":993,"tag":1027,"props":4749,"children":4750},{"style":1084},[4751],{"type":999,"value":1218},{"type":993,"tag":1027,"props":4753,"children":4754},{"style":1056},[4755],{"type":999,"value":4756},"python_executable",{"type":993,"tag":1027,"props":4758,"children":4759},{"style":1084},[4760],{"type":999,"value":1228},{"type":993,"tag":1027,"props":4762,"children":4763},{"style":1095},[4764],{"type":999,"value":1251},{"type":993,"tag":1027,"props":4766,"children":4767},{"style":1056},[4768],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4770,"children":4771},{"class":1029,"line":247},[4772],{"type":993,"tag":1027,"props":4773,"children":4774},{"style":1056},[4775],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4777,"children":4778},{"class":1029,"line":256},[4779],{"type":993,"tag":1027,"props":4780,"children":4781},{"style":1033},[4782],{"type":999,"value":4783},"    # Environment variables related to Python\n",{"type":993,"tag":1027,"props":4785,"children":4786},{"class":1029,"line":265},[4787,4791,4795,4799,4803,4807,4812],{"type":993,"tag":1027,"props":4788,"children":4789},{"style":1084},[4790],{"type":999,"value":1199},{"type":993,"tag":1027,"props":4792,"children":4793},{"style":1056},[4794],{"type":999,"value":1092},{"type":993,"tag":1027,"props":4796,"children":4797},{"style":1050},[4798],{"type":999,"value":1208},{"type":993,"tag":1027,"props":4800,"children":4801},{"style":1095},[4802],{"type":999,"value":1251},{"type":993,"tag":1027,"props":4804,"children":4805},{"style":1084},[4806],{"type":999,"value":1400},{"type":993,"tag":1027,"props":4808,"children":4809},{"style":1095},[4810],{"type":999,"value":4811},"🔧 Python environment variables:\"",{"type":993,"tag":1027,"props":4813,"children":4814},{"style":1056},[4815],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4817,"children":4818},{"class":1029,"line":274},[4819],{"type":993,"tag":1027,"props":4820,"children":4821},{"style":1056},[4822],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4824,"children":4825},{"class":1029,"line":284},[4826,4831,4835],{"type":993,"tag":1027,"props":4827,"children":4828},{"style":1056},[4829],{"type":999,"value":4830},"    env_vars ",{"type":993,"tag":1027,"props":4832,"children":4833},{"style":1050},[4834],{"type":999,"value":1371},{"type":993,"tag":1027,"props":4836,"children":4837},{"style":1056},[4838],{"type":999,"value":2424},{"type":993,"tag":1027,"props":4840,"children":4841},{"class":1029,"line":293},[4842,4846,4851,4855,4860],{"type":993,"tag":1027,"props":4843,"children":4844},{"style":1056},[4845],{"type":999,"value":2432},{"type":993,"tag":1027,"props":4847,"children":4848},{"style":1095},[4849],{"type":999,"value":4850},"'PYTHONPATH'",{"type":993,"tag":1027,"props":4852,"children":4853},{"style":1056},[4854],{"type":999,"value":2442},{"type":993,"tag":1027,"props":4856,"children":4857},{"style":1095},[4858],{"type":999,"value":4859},"'Additional module search paths'",{"type":993,"tag":1027,"props":4861,"children":4862},{"style":1056},[4863],{"type":999,"value":2452},{"type":993,"tag":1027,"props":4865,"children":4866},{"class":1029,"line":302},[4867,4871,4876,4880,4885],{"type":993,"tag":1027,"props":4868,"children":4869},{"style":1056},[4870],{"type":999,"value":2432},{"type":993,"tag":1027,"props":4872,"children":4873},{"style":1095},[4874],{"type":999,"value":4875},"'PYTHONHOME'",{"type":993,"tag":1027,"props":4877,"children":4878},{"style":1056},[4879],{"type":999,"value":2442},{"type":993,"tag":1027,"props":4881,"children":4882},{"style":1095},[4883],{"type":999,"value":4884},"'Python installation directory'",{"type":993,"tag":1027,"props":4886,"children":4887},{"style":1056},[4888],{"type":999,"value":2452},{"type":993,"tag":1027,"props":4890,"children":4891},{"class":1029,"line":311},[4892,4896,4901,4905,4910],{"type":993,"tag":1027,"props":4893,"children":4894},{"style":1056},[4895],{"type":999,"value":2432},{"type":993,"tag":1027,"props":4897,"children":4898},{"style":1095},[4899],{"type":999,"value":4900},"'VIRTUAL_ENV'",{"type":993,"tag":1027,"props":4902,"children":4903},{"style":1056},[4904],{"type":999,"value":2442},{"type":993,"tag":1027,"props":4906,"children":4907},{"style":1095},[4908],{"type":999,"value":4909},"'Current virtual environment path'",{"type":993,"tag":1027,"props":4911,"children":4912},{"style":1056},[4913],{"type":999,"value":2452},{"type":993,"tag":1027,"props":4915,"children":4916},{"class":1029,"line":320},[4917,4921,4926,4930,4935],{"type":993,"tag":1027,"props":4918,"children":4919},{"style":1056},[4920],{"type":999,"value":2432},{"type":993,"tag":1027,"props":4922,"children":4923},{"style":1095},[4924],{"type":999,"value":4925},"'PATH'",{"type":993,"tag":1027,"props":4927,"children":4928},{"style":1056},[4929],{"type":999,"value":2442},{"type":993,"tag":1027,"props":4931,"children":4932},{"style":1095},[4933],{"type":999,"value":4934},"'System executable search paths'",{"type":993,"tag":1027,"props":4936,"children":4937},{"style":1056},[4938],{"type":999,"value":1103},{"type":993,"tag":1027,"props":4940,"children":4941},{"class":1029,"line":329},[4942],{"type":993,"tag":1027,"props":4943,"children":4944},{"style":1056},[4945],{"type":999,"value":2560},{"type":993,"tag":1027,"props":4947,"children":4948},{"class":1029,"line":338},[4949],{"type":993,"tag":1027,"props":4950,"children":4951},{"style":1056},[4952],{"type":999,"value":2181},{"type":993,"tag":1027,"props":4954,"children":4955},{"class":1029,"line":347},[4956,4960,4965,4969],{"type":993,"tag":1027,"props":4957,"children":4958},{"style":1050},[4959],{"type":999,"value":2575},{"type":993,"tag":1027,"props":4961,"children":4962},{"style":1056},[4963],{"type":999,"value":4964}," var, description ",{"type":993,"tag":1027,"props":4966,"children":4967},{"style":1050},[4968],{"type":999,"value":1156},{"type":993,"tag":1027,"props":4970,"children":4971},{"style":1056},[4972],{"type":999,"value":4973}," env_vars:\n",{"type":993,"tag":1027,"props":4975,"children":4976},{"class":1029,"line":356},[4977,4982,4986],{"type":993,"tag":1027,"props":4978,"children":4979},{"style":1056},[4980],{"type":999,"value":4981},"        value ",{"type":993,"tag":1027,"props":4983,"children":4984},{"style":1050},[4985],{"type":999,"value":1371},{"type":993,"tag":1027,"props":4987,"children":4988},{"style":1056},[4989],{"type":999,"value":4990}," os.environ.get(var)\n",{"type":993,"tag":1027,"props":4992,"children":4993},{"class":1029,"line":365},[4994,4998],{"type":993,"tag":1027,"props":4995,"children":4996},{"style":1050},[4997],{"type":999,"value":3599},{"type":993,"tag":1027,"props":4999,"children":5000},{"style":1056},[5001],{"type":999,"value":5002}," value:\n",{"type":993,"tag":1027,"props":5004,"children":5005},{"class":1029,"line":374},[5006,5011,5016,5021,5026],{"type":993,"tag":1027,"props":5007,"children":5008},{"style":1050},[5009],{"type":999,"value":5010},"            if",{"type":993,"tag":1027,"props":5012,"children":5013},{"style":1056},[5014],{"type":999,"value":5015}," var ",{"type":993,"tag":1027,"props":5017,"children":5018},{"style":1050},[5019],{"type":999,"value":5020},"==",{"type":993,"tag":1027,"props":5022,"children":5023},{"style":1095},[5024],{"type":999,"value":5025}," 'PATH'",{"type":993,"tag":1027,"props":5027,"children":5028},{"style":1056},[5029],{"type":999,"value":1295},{"type":993,"tag":1027,"props":5031,"children":5032},{"class":1029,"line":384},[5033],{"type":993,"tag":1027,"props":5034,"children":5035},{"style":1033},[5036],{"type":999,"value":5037},"                # Show number of PATH entries instead of full PATH\n",{"type":993,"tag":1027,"props":5039,"children":5040},{"class":1029,"line":393},[5041,5046,5050,5054],{"type":993,"tag":1027,"props":5042,"children":5043},{"style":1056},[5044],{"type":999,"value":5045},"                path_count ",{"type":993,"tag":1027,"props":5047,"children":5048},{"style":1050},[5049],{"type":999,"value":1371},{"type":993,"tag":1027,"props":5051,"children":5052},{"style":1084},[5053],{"type":999,"value":1275},{"type":993,"tag":1027,"props":5055,"children":5056},{"style":1056},[5057],{"type":999,"value":5058},"(value.split(os.pathsep))\n",{"type":993,"tag":1027,"props":5060,"children":5061},{"class":1029,"line":402},[5062,5067,5071,5075,5079,5083,5088,5092,5096,5100,5105,5109,5113],{"type":993,"tag":1027,"props":5063,"children":5064},{"style":1084},[5065],{"type":999,"value":5066},"                print",{"type":993,"tag":1027,"props":5068,"children":5069},{"style":1056},[5070],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5072,"children":5073},{"style":1050},[5074],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5076,"children":5077},{"style":1095},[5078],{"type":999,"value":1213},{"type":993,"tag":1027,"props":5080,"children":5081},{"style":1084},[5082],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5084,"children":5085},{"style":1056},[5086],{"type":999,"value":5087},"var",{"type":993,"tag":1027,"props":5089,"children":5090},{"style":1084},[5091],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5093,"children":5094},{"style":1095},[5095],{"type":999,"value":4198},{"type":993,"tag":1027,"props":5097,"children":5098},{"style":1084},[5099],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5101,"children":5102},{"style":1056},[5103],{"type":999,"value":5104},"path_count",{"type":993,"tag":1027,"props":5106,"children":5107},{"style":1084},[5108],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5110,"children":5111},{"style":1095},[5112],{"type":999,"value":3046},{"type":993,"tag":1027,"props":5114,"children":5115},{"style":1056},[5116],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5118,"children":5119},{"class":1029,"line":411},[5120,5125,5129,5134,5138,5143],{"type":993,"tag":1027,"props":5121,"children":5122},{"style":1050},[5123],{"type":999,"value":5124},"            elif",{"type":993,"tag":1027,"props":5126,"children":5127},{"style":1084},[5128],{"type":999,"value":1275},{"type":993,"tag":1027,"props":5130,"children":5131},{"style":1056},[5132],{"type":999,"value":5133},"(value) ",{"type":993,"tag":1027,"props":5135,"children":5136},{"style":1050},[5137],{"type":999,"value":1285},{"type":993,"tag":1027,"props":5139,"children":5140},{"style":1084},[5141],{"type":999,"value":5142}," 50",{"type":993,"tag":1027,"props":5144,"children":5145},{"style":1056},[5146],{"type":999,"value":1295},{"type":993,"tag":1027,"props":5148,"children":5149},{"class":1029,"line":420},[5150,5154,5158,5162,5166,5170,5174,5178,5182,5186,5191,5196,5200,5204,5208],{"type":993,"tag":1027,"props":5151,"children":5152},{"style":1084},[5153],{"type":999,"value":5066},{"type":993,"tag":1027,"props":5155,"children":5156},{"style":1056},[5157],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5159,"children":5160},{"style":1050},[5161],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5163,"children":5164},{"style":1095},[5165],{"type":999,"value":1213},{"type":993,"tag":1027,"props":5167,"children":5168},{"style":1084},[5169],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5171,"children":5172},{"style":1056},[5173],{"type":999,"value":5087},{"type":993,"tag":1027,"props":5175,"children":5176},{"style":1084},[5177],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5179,"children":5180},{"style":1095},[5181],{"type":999,"value":4198},{"type":993,"tag":1027,"props":5183,"children":5184},{"style":1084},[5185],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5187,"children":5188},{"style":1056},[5189],{"type":999,"value":5190},"value[:",{"type":993,"tag":1027,"props":5192,"children":5193},{"style":1084},[5194],{"type":999,"value":5195},"50",{"type":993,"tag":1027,"props":5197,"children":5198},{"style":1056},[5199],{"type":999,"value":1600},{"type":993,"tag":1027,"props":5201,"children":5202},{"style":1084},[5203],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5205,"children":5206},{"style":1095},[5207],{"type":999,"value":1826},{"type":993,"tag":1027,"props":5209,"children":5210},{"style":1056},[5211],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5213,"children":5214},{"class":1029,"line":429},[5215,5220],{"type":993,"tag":1027,"props":5216,"children":5217},{"style":1050},[5218],{"type":999,"value":5219},"            else",{"type":993,"tag":1027,"props":5221,"children":5222},{"style":1056},[5223],{"type":999,"value":1295},{"type":993,"tag":1027,"props":5225,"children":5226},{"class":1029,"line":438},[5227,5231,5235,5239,5243,5247,5251,5255,5259,5263,5268,5272,5276],{"type":993,"tag":1027,"props":5228,"children":5229},{"style":1084},[5230],{"type":999,"value":5066},{"type":993,"tag":1027,"props":5232,"children":5233},{"style":1056},[5234],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5236,"children":5237},{"style":1050},[5238],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5240,"children":5241},{"style":1095},[5242],{"type":999,"value":1213},{"type":993,"tag":1027,"props":5244,"children":5245},{"style":1084},[5246],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5248,"children":5249},{"style":1056},[5250],{"type":999,"value":5087},{"type":993,"tag":1027,"props":5252,"children":5253},{"style":1084},[5254],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5256,"children":5257},{"style":1095},[5258],{"type":999,"value":4198},{"type":993,"tag":1027,"props":5260,"children":5261},{"style":1084},[5262],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5264,"children":5265},{"style":1056},[5266],{"type":999,"value":5267},"value",{"type":993,"tag":1027,"props":5269,"children":5270},{"style":1084},[5271],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5273,"children":5274},{"style":1095},[5275],{"type":999,"value":1251},{"type":993,"tag":1027,"props":5277,"children":5278},{"style":1056},[5279],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5281,"children":5282},{"class":1029,"line":447},[5283,5287],{"type":993,"tag":1027,"props":5284,"children":5285},{"style":1050},[5286],{"type":999,"value":3694},{"type":993,"tag":1027,"props":5288,"children":5289},{"style":1056},[5290],{"type":999,"value":1295},{"type":993,"tag":1027,"props":5292,"children":5293},{"class":1029,"line":457},[5294,5298,5302,5306,5310,5314,5318,5322,5327],{"type":993,"tag":1027,"props":5295,"children":5296},{"style":1084},[5297],{"type":999,"value":4168},{"type":993,"tag":1027,"props":5299,"children":5300},{"style":1056},[5301],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5303,"children":5304},{"style":1050},[5305],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5307,"children":5308},{"style":1095},[5309],{"type":999,"value":1213},{"type":993,"tag":1027,"props":5311,"children":5312},{"style":1084},[5313],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5315,"children":5316},{"style":1056},[5317],{"type":999,"value":5087},{"type":993,"tag":1027,"props":5319,"children":5320},{"style":1084},[5321],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5323,"children":5324},{"style":1095},[5325],{"type":999,"value":5326},": Not set\"",{"type":993,"tag":1027,"props":5328,"children":5329},{"style":1056},[5330],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5332,"children":5333},{"class":1029,"line":466},[5334],{"type":993,"tag":1027,"props":5335,"children":5336},{"style":1056},[5337],{"type":999,"value":2181},{"type":993,"tag":1027,"props":5339,"children":5340},{"class":1029,"line":475},[5341],{"type":993,"tag":1027,"props":5342,"children":5343},{"style":1033},[5344],{"type":999,"value":5345},"    # Virtual environment benefits\n",{"type":993,"tag":1027,"props":5347,"children":5348},{"class":1029,"line":484},[5349,5353,5357,5361,5365,5369,5374],{"type":993,"tag":1027,"props":5350,"children":5351},{"style":1084},[5352],{"type":999,"value":1199},{"type":993,"tag":1027,"props":5354,"children":5355},{"style":1056},[5356],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5358,"children":5359},{"style":1050},[5360],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5362,"children":5363},{"style":1095},[5364],{"type":999,"value":1251},{"type":993,"tag":1027,"props":5366,"children":5367},{"style":1084},[5368],{"type":999,"value":1400},{"type":993,"tag":1027,"props":5370,"children":5371},{"style":1095},[5372],{"type":999,"value":5373},"💡 Virtual environment benefits:\"",{"type":993,"tag":1027,"props":5375,"children":5376},{"style":1056},[5377],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5379,"children":5380},{"class":1029,"line":493},[5381,5386,5390],{"type":993,"tag":1027,"props":5382,"children":5383},{"style":1056},[5384],{"type":999,"value":5385},"    benefits ",{"type":993,"tag":1027,"props":5387,"children":5388},{"style":1050},[5389],{"type":999,"value":1371},{"type":993,"tag":1027,"props":5391,"children":5392},{"style":1056},[5393],{"type":999,"value":2424},{"type":993,"tag":1027,"props":5395,"children":5396},{"class":1029,"line":502},[5397,5402],{"type":993,"tag":1027,"props":5398,"children":5399},{"style":1095},[5400],{"type":999,"value":5401},"        \"Isolate project dependencies\"",{"type":993,"tag":1027,"props":5403,"children":5404},{"style":1056},[5405],{"type":999,"value":2721},{"type":993,"tag":1027,"props":5407,"children":5408},{"class":1029,"line":511},[5409,5414],{"type":993,"tag":1027,"props":5410,"children":5411},{"style":1095},[5412],{"type":999,"value":5413},"        \"Avoid conflicts between different project requirements\"",{"type":993,"tag":1027,"props":5415,"children":5416},{"style":1056},[5417],{"type":999,"value":2721},{"type":993,"tag":1027,"props":5419,"children":5420},{"class":1029,"line":520},[5421,5426],{"type":993,"tag":1027,"props":5422,"children":5423},{"style":1095},[5424],{"type":999,"value":5425},"        \"Test with different Python versions\"",{"type":993,"tag":1027,"props":5427,"children":5428},{"style":1056},[5429],{"type":999,"value":2721},{"type":993,"tag":1027,"props":5431,"children":5432},{"class":1029,"line":530},[5433,5438],{"type":993,"tag":1027,"props":5434,"children":5435},{"style":1095},[5436],{"type":999,"value":5437},"        \"Share exact environment with teammates\"",{"type":993,"tag":1027,"props":5439,"children":5440},{"style":1056},[5441],{"type":999,"value":2721},{"type":993,"tag":1027,"props":5443,"children":5444},{"class":1029,"line":539},[5445],{"type":993,"tag":1027,"props":5446,"children":5447},{"style":1095},[5448],{"type":999,"value":5449},"        \"Keep global Python installation clean\"\n",{"type":993,"tag":1027,"props":5451,"children":5452},{"class":1029,"line":548},[5453],{"type":993,"tag":1027,"props":5454,"children":5455},{"style":1056},[5456],{"type":999,"value":2560},{"type":993,"tag":1027,"props":5458,"children":5459},{"class":1029,"line":557},[5460],{"type":993,"tag":1027,"props":5461,"children":5462},{"style":1056},[5463],{"type":999,"value":2181},{"type":993,"tag":1027,"props":5465,"children":5466},{"class":1029,"line":566},[5467,5471,5476,5480],{"type":993,"tag":1027,"props":5468,"children":5469},{"style":1050},[5470],{"type":999,"value":2575},{"type":993,"tag":1027,"props":5472,"children":5473},{"style":1056},[5474],{"type":999,"value":5475}," benefit ",{"type":993,"tag":1027,"props":5477,"children":5478},{"style":1050},[5479],{"type":999,"value":1156},{"type":993,"tag":1027,"props":5481,"children":5482},{"style":1056},[5483],{"type":999,"value":5484}," benefits:\n",{"type":993,"tag":1027,"props":5486,"children":5487},{"class":1029,"line":575},[5488,5492,5496,5500,5504,5508,5513,5517,5521],{"type":993,"tag":1027,"props":5489,"children":5490},{"style":1084},[5491],{"type":999,"value":2597},{"type":993,"tag":1027,"props":5493,"children":5494},{"style":1056},[5495],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5497,"children":5498},{"style":1050},[5499],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5501,"children":5502},{"style":1095},[5503],{"type":999,"value":2820},{"type":993,"tag":1027,"props":5505,"children":5506},{"style":1084},[5507],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5509,"children":5510},{"style":1056},[5511],{"type":999,"value":5512},"benefit",{"type":993,"tag":1027,"props":5514,"children":5515},{"style":1084},[5516],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5518,"children":5519},{"style":1095},[5520],{"type":999,"value":1251},{"type":993,"tag":1027,"props":5522,"children":5523},{"style":1056},[5524],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5526,"children":5527},{"class":1029,"line":584},[5528],{"type":993,"tag":1027,"props":5529,"children":5530},{"style":1056},[5531],{"type":999,"value":2181},{"type":993,"tag":1027,"props":5533,"children":5534},{"class":1029,"line":593},[5535],{"type":993,"tag":1027,"props":5536,"children":5537},{"style":1033},[5538],{"type":999,"value":5539},"    # Common virtual environment commands\n",{"type":993,"tag":1027,"props":5541,"children":5542},{"class":1029,"line":602},[5543,5547,5551,5555,5559,5563,5568],{"type":993,"tag":1027,"props":5544,"children":5545},{"style":1084},[5546],{"type":999,"value":1199},{"type":993,"tag":1027,"props":5548,"children":5549},{"style":1056},[5550],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5552,"children":5553},{"style":1050},[5554],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5556,"children":5557},{"style":1095},[5558],{"type":999,"value":1251},{"type":993,"tag":1027,"props":5560,"children":5561},{"style":1084},[5562],{"type":999,"value":1400},{"type":993,"tag":1027,"props":5564,"children":5565},{"style":1095},[5566],{"type":999,"value":5567},"📋 Common virtual environment commands:\"",{"type":993,"tag":1027,"props":5569,"children":5570},{"style":1056},[5571],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5573,"children":5574},{"class":1029,"line":611},[5575,5580,5584],{"type":993,"tag":1027,"props":5576,"children":5577},{"style":1056},[5578],{"type":999,"value":5579},"    commands ",{"type":993,"tag":1027,"props":5581,"children":5582},{"style":1050},[5583],{"type":999,"value":1371},{"type":993,"tag":1027,"props":5585,"children":5586},{"style":1056},[5587],{"type":999,"value":2424},{"type":993,"tag":1027,"props":5589,"children":5590},{"class":1029,"line":621},[5591,5595,5600,5604,5609],{"type":993,"tag":1027,"props":5592,"children":5593},{"style":1056},[5594],{"type":999,"value":2432},{"type":993,"tag":1027,"props":5596,"children":5597},{"style":1095},[5598],{"type":999,"value":5599},"\"python -m venv myenv\"",{"type":993,"tag":1027,"props":5601,"children":5602},{"style":1056},[5603],{"type":999,"value":2442},{"type":993,"tag":1027,"props":5605,"children":5606},{"style":1095},[5607],{"type":999,"value":5608},"\"Create virtual environment\"",{"type":993,"tag":1027,"props":5610,"children":5611},{"style":1056},[5612],{"type":999,"value":2452},{"type":993,"tag":1027,"props":5614,"children":5615},{"class":1029,"line":630},[5616,5620,5625,5629,5634],{"type":993,"tag":1027,"props":5617,"children":5618},{"style":1056},[5619],{"type":999,"value":2432},{"type":993,"tag":1027,"props":5621,"children":5622},{"style":1095},[5623],{"type":999,"value":5624},"\"source myenv/bin/activate\"",{"type":993,"tag":1027,"props":5626,"children":5627},{"style":1056},[5628],{"type":999,"value":2442},{"type":993,"tag":1027,"props":5630,"children":5631},{"style":1095},[5632],{"type":999,"value":5633},"\"Activate (Linux/Mac)\"",{"type":993,"tag":1027,"props":5635,"children":5636},{"style":1056},[5637],{"type":999,"value":2452},{"type":993,"tag":1027,"props":5639,"children":5640},{"class":1029,"line":639},[5641,5645,5650,5655,5660,5664,5669,5673,5678],{"type":993,"tag":1027,"props":5642,"children":5643},{"style":1056},[5644],{"type":999,"value":2432},{"type":993,"tag":1027,"props":5646,"children":5647},{"style":1095},[5648],{"type":999,"value":5649},"\"myenv",{"type":993,"tag":1027,"props":5651,"children":5652},{"style":1084},[5653],{"type":999,"value":5654},"\\\\",{"type":993,"tag":1027,"props":5656,"children":5657},{"style":1095},[5658],{"type":999,"value":5659},"Scripts",{"type":993,"tag":1027,"props":5661,"children":5662},{"style":1084},[5663],{"type":999,"value":5654},{"type":993,"tag":1027,"props":5665,"children":5666},{"style":1095},[5667],{"type":999,"value":5668},"activate\"",{"type":993,"tag":1027,"props":5670,"children":5671},{"style":1056},[5672],{"type":999,"value":2442},{"type":993,"tag":1027,"props":5674,"children":5675},{"style":1095},[5676],{"type":999,"value":5677},"\"Activate (Windows)\"",{"type":993,"tag":1027,"props":5679,"children":5680},{"style":1056},[5681],{"type":999,"value":2452},{"type":993,"tag":1027,"props":5683,"children":5684},{"class":1029,"line":648},[5685,5689,5694,5698,5703],{"type":993,"tag":1027,"props":5686,"children":5687},{"style":1056},[5688],{"type":999,"value":2432},{"type":993,"tag":1027,"props":5690,"children":5691},{"style":1095},[5692],{"type":999,"value":5693},"\"pip install package\"",{"type":993,"tag":1027,"props":5695,"children":5696},{"style":1056},[5697],{"type":999,"value":2442},{"type":993,"tag":1027,"props":5699,"children":5700},{"style":1095},[5701],{"type":999,"value":5702},"\"Install package in virtual env\"",{"type":993,"tag":1027,"props":5704,"children":5705},{"style":1056},[5706],{"type":999,"value":2452},{"type":993,"tag":1027,"props":5708,"children":5709},{"class":1029,"line":657},[5710,5714,5719,5723,5728],{"type":993,"tag":1027,"props":5711,"children":5712},{"style":1056},[5713],{"type":999,"value":2432},{"type":993,"tag":1027,"props":5715,"children":5716},{"style":1095},[5717],{"type":999,"value":5718},"\"pip freeze > requirements.txt\"",{"type":993,"tag":1027,"props":5720,"children":5721},{"style":1056},[5722],{"type":999,"value":2442},{"type":993,"tag":1027,"props":5724,"children":5725},{"style":1095},[5726],{"type":999,"value":5727},"\"Save current packages\"",{"type":993,"tag":1027,"props":5729,"children":5730},{"style":1056},[5731],{"type":999,"value":2452},{"type":993,"tag":1027,"props":5733,"children":5734},{"class":1029,"line":666},[5735,5739,5744,5748,5753],{"type":993,"tag":1027,"props":5736,"children":5737},{"style":1056},[5738],{"type":999,"value":2432},{"type":993,"tag":1027,"props":5740,"children":5741},{"style":1095},[5742],{"type":999,"value":5743},"\"pip install -r requirements.txt\"",{"type":993,"tag":1027,"props":5745,"children":5746},{"style":1056},[5747],{"type":999,"value":2442},{"type":993,"tag":1027,"props":5749,"children":5750},{"style":1095},[5751],{"type":999,"value":5752},"\"Install from requirements\"",{"type":993,"tag":1027,"props":5754,"children":5755},{"style":1056},[5756],{"type":999,"value":2452},{"type":993,"tag":1027,"props":5758,"children":5759},{"class":1029,"line":675},[5760,5764,5769,5773,5778],{"type":993,"tag":1027,"props":5761,"children":5762},{"style":1056},[5763],{"type":999,"value":2432},{"type":993,"tag":1027,"props":5765,"children":5766},{"style":1095},[5767],{"type":999,"value":5768},"\"deactivate\"",{"type":993,"tag":1027,"props":5770,"children":5771},{"style":1056},[5772],{"type":999,"value":2442},{"type":993,"tag":1027,"props":5774,"children":5775},{"style":1095},[5776],{"type":999,"value":5777},"\"Exit virtual environment\"",{"type":993,"tag":1027,"props":5779,"children":5780},{"style":1056},[5781],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5783,"children":5784},{"class":1029,"line":685},[5785],{"type":993,"tag":1027,"props":5786,"children":5787},{"style":1056},[5788],{"type":999,"value":2560},{"type":993,"tag":1027,"props":5790,"children":5791},{"class":1029,"line":694},[5792],{"type":993,"tag":1027,"props":5793,"children":5794},{"style":1056},[5795],{"type":999,"value":2181},{"type":993,"tag":1027,"props":5797,"children":5798},{"class":1029,"line":703},[5799,5803,5808,5812],{"type":993,"tag":1027,"props":5800,"children":5801},{"style":1050},[5802],{"type":999,"value":2575},{"type":993,"tag":1027,"props":5804,"children":5805},{"style":1056},[5806],{"type":999,"value":5807}," command, description ",{"type":993,"tag":1027,"props":5809,"children":5810},{"style":1050},[5811],{"type":999,"value":1156},{"type":993,"tag":1027,"props":5813,"children":5814},{"style":1056},[5815],{"type":999,"value":5816}," commands:\n",{"type":993,"tag":1027,"props":5818,"children":5819},{"class":1029,"line":712},[5820,5824,5828,5832,5836,5840,5845,5849,5853,5857,5861,5865,5869,5873],{"type":993,"tag":1027,"props":5821,"children":5822},{"style":1084},[5823],{"type":999,"value":2597},{"type":993,"tag":1027,"props":5825,"children":5826},{"style":1056},[5827],{"type":999,"value":1092},{"type":993,"tag":1027,"props":5829,"children":5830},{"style":1050},[5831],{"type":999,"value":1208},{"type":993,"tag":1027,"props":5833,"children":5834},{"style":1095},[5835],{"type":999,"value":1213},{"type":993,"tag":1027,"props":5837,"children":5838},{"style":1084},[5839],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5841,"children":5842},{"style":1056},[5843],{"type":999,"value":5844},"command",{"type":993,"tag":1027,"props":5846,"children":5847},{"style":1050},[5848],{"type":999,"value":2623},{"type":993,"tag":1027,"props":5850,"children":5851},{"style":1084},[5852],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5854,"children":5855},{"style":1095},[5856],{"type":999,"value":2632},{"type":993,"tag":1027,"props":5858,"children":5859},{"style":1084},[5860],{"type":999,"value":1218},{"type":993,"tag":1027,"props":5862,"children":5863},{"style":1056},[5864],{"type":999,"value":2641},{"type":993,"tag":1027,"props":5866,"children":5867},{"style":1084},[5868],{"type":999,"value":1228},{"type":993,"tag":1027,"props":5870,"children":5871},{"style":1095},[5872],{"type":999,"value":1251},{"type":993,"tag":1027,"props":5874,"children":5875},{"style":1056},[5876],{"type":999,"value":1103},{"type":993,"tag":1027,"props":5878,"children":5879},{"class":1029,"line":721},[5880],{"type":993,"tag":1027,"props":5881,"children":5882},{"emptyLinePlaceholder":13},[5883],{"type":999,"value":1044},{"type":993,"tag":1027,"props":5885,"children":5886},{"class":1029,"line":730},[5887],{"type":993,"tag":1027,"props":5888,"children":5889},{"style":1056},[5890],{"type":999,"value":5891},"virtual_environment_info()\n",{"type":993,"tag":1832,"props":5893,"children":5895},{"id":5894},"project-organization-best-practices",[5896],{"type":999,"value":5897},"🚀 Project Organization Best Practices",{"type":993,"tag":1002,"props":5899,"children":5900},{},[5901],{"type":999,"value":5902},"Proper project organization makes your code easier to find, maintain, and share with others.",{"type":993,"tag":1844,"props":5904,"children":5908},{"emoji":5905,"title":5906,"type":5907},"📋","Project Organization Guidelines","success",[5909,5917,5925,5932,5995,6003],{"type":993,"tag":1002,"props":5910,"children":5911},{},[5912],{"type":993,"tag":1854,"props":5913,"children":5914},{},[5915],{"type":999,"value":5916},"Directory Structure:",{"type":993,"tag":1017,"props":5918,"children":5920},{"code":5919},"my_project/\n├── README.md              # Project description\n├── requirements.txt       # Dependencies\n├── setup.py              # Package configuration\n├── main.py               # Main application entry\n├── config/               # Configuration files\n├── src/                  # Source code\n│   ├── __init__.py\n│   ├── core/             # Core functionality\n│   ├── utils/            # Utility functions\n│   └── models/           # Data models\n├── tests/                # Test files\n├── docs/                 # Documentation\n└── data/                 # Data files\n",[5921],{"type":993,"tag":1023,"props":5922,"children":5923},{"__ignoreMap":8},[5924],{"type":999,"value":5919},{"type":993,"tag":1002,"props":5926,"children":5927},{},[5928],{"type":993,"tag":1854,"props":5929,"children":5930},{},[5931],{"type":999,"value":2031},{"type":993,"tag":1923,"props":5933,"children":5934},{},[5935,5945,5955,5965,5975,5985],{"type":993,"tag":1864,"props":5936,"children":5937},{},[5938,5943],{"type":993,"tag":1854,"props":5939,"children":5940},{},[5941],{"type":999,"value":5942},"Use packages",{"type":999,"value":5944},": Organize related modules into packages",{"type":993,"tag":1864,"props":5946,"children":5947},{},[5948,5953],{"type":993,"tag":1854,"props":5949,"children":5950},{},[5951],{"type":999,"value":5952},"Clear naming",{"type":999,"value":5954},": Use descriptive names for modules and packages",{"type":993,"tag":1864,"props":5956,"children":5957},{},[5958,5963],{"type":993,"tag":1854,"props":5959,"children":5960},{},[5961],{"type":999,"value":5962},"Consistent structure",{"type":999,"value":5964},": Follow standard Python project layouts",{"type":993,"tag":1864,"props":5966,"children":5967},{},[5968,5973],{"type":993,"tag":1854,"props":5969,"children":5970},{},[5971],{"type":999,"value":5972},"Virtual environments",{"type":999,"value":5974},": Isolate project dependencies",{"type":993,"tag":1864,"props":5976,"children":5977},{},[5978,5983],{"type":993,"tag":1854,"props":5979,"children":5980},{},[5981],{"type":999,"value":5982},"Requirements file",{"type":999,"value":5984},": List all dependencies with versions",{"type":993,"tag":1864,"props":5986,"children":5987},{},[5988,5993],{"type":993,"tag":1854,"props":5989,"children":5990},{},[5991],{"type":999,"value":5992},"Documentation",{"type":999,"value":5994},": Include README and inline documentation",{"type":993,"tag":1002,"props":5996,"children":5997},{},[5998],{"type":993,"tag":1854,"props":5999,"children":6000},{},[6001],{"type":999,"value":6002},"Import Guidelines:",{"type":993,"tag":1923,"props":6004,"children":6005},{},[6006,6024,6041,6051],{"type":993,"tag":1864,"props":6007,"children":6008},{},[6009,6014,6016,6022],{"type":993,"tag":1854,"props":6010,"children":6011},{},[6012],{"type":999,"value":6013},"Absolute imports",{"type":999,"value":6015},": Preferred for clarity (",{"type":993,"tag":1023,"props":6017,"children":6019},{"className":6018},[],[6020],{"type":999,"value":6021},"from myproject.utils import helper",{"type":999,"value":6023},")",{"type":993,"tag":1864,"props":6025,"children":6026},{},[6027,6032,6034,6040],{"type":993,"tag":1854,"props":6028,"children":6029},{},[6030],{"type":999,"value":6031},"Relative imports",{"type":999,"value":6033},": Use sparingly (",{"type":993,"tag":1023,"props":6035,"children":6037},{"className":6036},[],[6038],{"type":999,"value":6039},"from .utils import helper",{"type":999,"value":6023},{"type":993,"tag":1864,"props":6042,"children":6043},{},[6044,6049],{"type":993,"tag":1854,"props":6045,"children":6046},{},[6047],{"type":999,"value":6048},"Avoid sys.path",{"type":999,"value":6050},": Use proper package structure instead",{"type":993,"tag":1864,"props":6052,"children":6053},{},[6054,6059],{"type":993,"tag":1854,"props":6055,"children":6056},{},[6057],{"type":999,"value":6058},"Import order",{"type":999,"value":6060},": Standard library, third-party, local modules",{"type":993,"tag":1832,"props":6062,"children":6064},{"id":6063},"essential-module-path-concepts",[6065],{"type":999,"value":6066},"Essential Module Path Concepts",{"type":993,"tag":1002,"props":6068,"children":6069},{},[6070],{"type":999,"value":6071},"Understanding module path concepts enables effective project organization and import management in Python applications.",{"type":993,"tag":6073,"props":6074,"children":6075},"table",{},[6076,6105],{"type":993,"tag":6077,"props":6078,"children":6079},"thead",{},[6080],{"type":993,"tag":6081,"props":6082,"children":6083},"tr",{},[6084,6090,6095,6100],{"type":993,"tag":6085,"props":6086,"children":6087},"th",{},[6088],{"type":999,"value":6089},"Concept",{"type":993,"tag":6085,"props":6091,"children":6092},{},[6093],{"type":999,"value":6094},"Purpose",{"type":993,"tag":6085,"props":6096,"children":6097},{},[6098],{"type":999,"value":6099},"Example",{"type":993,"tag":6085,"props":6101,"children":6102},{},[6103],{"type":999,"value":6104},"Best Practice",{"type":993,"tag":6106,"props":6107,"children":6108},"tbody",{},[6109,6140,6169,6203,6233,6263,6293,6323],{"type":993,"tag":6081,"props":6110,"children":6111},{},[6112,6121,6126,6135],{"type":993,"tag":6113,"props":6114,"children":6115},"td",{},[6116],{"type":993,"tag":1854,"props":6117,"children":6118},{},[6119],{"type":999,"value":6120},"sys.path",{"type":993,"tag":6113,"props":6122,"children":6123},{},[6124],{"type":999,"value":6125},"List of module search directories",{"type":993,"tag":6113,"props":6127,"children":6128},{},[6129],{"type":993,"tag":1023,"props":6130,"children":6132},{"className":6131},[],[6133],{"type":999,"value":6134},"sys.path.append(\"/my/modules\")",{"type":993,"tag":6113,"props":6136,"children":6137},{},[6138],{"type":999,"value":6139},"Avoid modifying directly",{"type":993,"tag":6081,"props":6141,"children":6142},{},[6143,6150,6155,6164],{"type":993,"tag":6113,"props":6144,"children":6145},{},[6146],{"type":993,"tag":1854,"props":6147,"children":6148},{},[6149],{"type":999,"value":1891},{"type":993,"tag":6113,"props":6151,"children":6152},{},[6153],{"type":999,"value":6154},"Environment variable for paths",{"type":993,"tag":6113,"props":6156,"children":6157},{},[6158],{"type":993,"tag":1023,"props":6159,"children":6161},{"className":6160},[],[6162],{"type":999,"value":6163},"export PYTHONPATH=/my/modules",{"type":993,"tag":6113,"props":6165,"children":6166},{},[6167],{"type":999,"value":6168},"Use for development only",{"type":993,"tag":6081,"props":6170,"children":6171},{},[6172,6184,6189,6198],{"type":993,"tag":6113,"props":6173,"children":6174},{},[6175],{"type":993,"tag":1854,"props":6176,"children":6177},{},[6178,6182],{"type":993,"tag":1854,"props":6179,"children":6180},{},[6181],{"type":999,"value":2011},{"type":999,"value":6183},".py",{"type":993,"tag":6113,"props":6185,"children":6186},{},[6187],{"type":999,"value":6188},"Makes directory a package",{"type":993,"tag":6113,"props":6190,"children":6191},{},[6192],{"type":993,"tag":1023,"props":6193,"children":6195},{"className":6194},[],[6196],{"type":999,"value":6197},"package/__init__.py",{"type":993,"tag":6113,"props":6199,"children":6200},{},[6201],{"type":999,"value":6202},"Required for packages",{"type":993,"tag":6081,"props":6204,"children":6205},{},[6206,6214,6219,6228],{"type":993,"tag":6113,"props":6207,"children":6208},{},[6209],{"type":993,"tag":1854,"props":6210,"children":6211},{},[6212],{"type":999,"value":6213},"Virtual Environment",{"type":993,"tag":6113,"props":6215,"children":6216},{},[6217],{"type":999,"value":6218},"Isolated Python environment",{"type":993,"tag":6113,"props":6220,"children":6221},{},[6222],{"type":993,"tag":1023,"props":6223,"children":6225},{"className":6224},[],[6226],{"type":999,"value":6227},"python -m venv myenv",{"type":993,"tag":6113,"props":6229,"children":6230},{},[6231],{"type":999,"value":6232},"Use for every project",{"type":993,"tag":6081,"props":6234,"children":6235},{},[6236,6244,6249,6258],{"type":993,"tag":6113,"props":6237,"children":6238},{},[6239],{"type":993,"tag":1854,"props":6240,"children":6241},{},[6242],{"type":999,"value":6243},"Absolute Import",{"type":993,"tag":6113,"props":6245,"children":6246},{},[6247],{"type":999,"value":6248},"Import from project root",{"type":993,"tag":6113,"props":6250,"children":6251},{},[6252],{"type":993,"tag":1023,"props":6253,"children":6255},{"className":6254},[],[6256],{"type":999,"value":6257},"from myproject.utils import func",{"type":993,"tag":6113,"props":6259,"children":6260},{},[6261],{"type":999,"value":6262},"Preferred for clarity",{"type":993,"tag":6081,"props":6264,"children":6265},{},[6266,6274,6279,6288],{"type":993,"tag":6113,"props":6267,"children":6268},{},[6269],{"type":993,"tag":1854,"props":6270,"children":6271},{},[6272],{"type":999,"value":6273},"Relative Import",{"type":993,"tag":6113,"props":6275,"children":6276},{},[6277],{"type":999,"value":6278},"Import relative to current module",{"type":993,"tag":6113,"props":6280,"children":6281},{},[6282],{"type":993,"tag":1023,"props":6283,"children":6285},{"className":6284},[],[6286],{"type":999,"value":6287},"from .utils import func",{"type":993,"tag":6113,"props":6289,"children":6290},{},[6291],{"type":999,"value":6292},"Use sparingly",{"type":993,"tag":6081,"props":6294,"children":6295},{},[6296,6304,6309,6318],{"type":993,"tag":6113,"props":6297,"children":6298},{},[6299],{"type":993,"tag":1854,"props":6300,"children":6301},{},[6302],{"type":999,"value":6303},"Package Structure",{"type":993,"tag":6113,"props":6305,"children":6306},{},[6307],{"type":999,"value":6308},"Organized module hierarchy",{"type":993,"tag":6113,"props":6310,"children":6311},{},[6312],{"type":993,"tag":1023,"props":6313,"children":6315},{"className":6314},[],[6316],{"type":999,"value":6317},"src/core/models/user.py",{"type":993,"tag":6113,"props":6319,"children":6320},{},[6321],{"type":999,"value":6322},"Follow conventions",{"type":993,"tag":6081,"props":6324,"children":6325},{},[6326,6334,6339,6348],{"type":993,"tag":6113,"props":6327,"children":6328},{},[6329],{"type":993,"tag":1854,"props":6330,"children":6331},{},[6332],{"type":999,"value":6333},"Requirements File",{"type":993,"tag":6113,"props":6335,"children":6336},{},[6337],{"type":999,"value":6338},"List project dependencies",{"type":993,"tag":6113,"props":6340,"children":6341},{},[6342],{"type":993,"tag":1023,"props":6343,"children":6345},{"className":6344},[],[6346],{"type":999,"value":6347},"pip freeze > requirements.txt",{"type":993,"tag":6113,"props":6349,"children":6350},{},[6351],{"type":999,"value":6352},"Version pin dependencies",{"type":993,"tag":1002,"props":6354,"children":6355},{},[6356],{"type":999,"value":6357},"Understanding module paths is crucial for organizing larger Python projects and ensuring your code can find the modules it needs across different environments.",{"type":993,"tag":1832,"props":6359,"children":6361},{"id":6360},"test-your-knowledge",[6362],{"type":999,"value":6363},"Test Your Knowledge",{"type":993,"tag":1002,"props":6365,"children":6366},{},[6367],{"type":999,"value":6368},"Test your understanding of Python module paths:",{"type":993,"tag":6370,"props":6371,"children":6375},"redirect-button",{"icon":6372,"label":6373,"url":6374},"pi pi-send","Take Quiz","/tutorial-quiz/python/module-paths",[],{"type":993,"tag":1832,"props":6377,"children":6379},{"id":6378},"whats-next",[6380],{"type":999,"value":6381},"What's Next?",{"type":993,"tag":1002,"props":6383,"children":6384},{},[6385],{"type":999,"value":6386},"Congratulations! You've completed the Code Organization section. You now understand how to create modules, use built-in modules, and manage module paths effectively.",{"type":993,"tag":1002,"props":6388,"children":6389},{},[6390,6392,6397],{"type":999,"value":6391},"Ready to continue your Python journey? Check out our next section on ",{"type":993,"tag":6393,"props":6394,"children":6395},"a",{"href":901},[6396],{"type":999,"value":892},{"type":999,"value":6398}," to explore Python's built-in keywords, functions, and operations.",{"type":993,"tag":6400,"props":6401,"children":6402},"style",{},[6403],{"type":999,"value":6404},"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":6406},[6407,6412,6413,6414,6415],{"id":1834,"depth":27,"text":1837,"children":6408},[6409,6410,6411],{"id":2078,"depth":36,"text":2081},{"id":2859,"depth":36,"text":2862},{"id":4288,"depth":36,"text":4291},{"id":5894,"depth":27,"text":5897},{"id":6063,"depth":27,"text":6066},{"id":6360,"depth":27,"text":6363},{"id":6378,"depth":27,"text":6381},1782373752881]