[{"data":1,"prerenderedAt":2867},["ShallowReactive",2],{"tutorials-python":3,"category-items-python":987,"content-/python/setup-python":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,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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,"expanded":13},"/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},"/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,"expanded":13},"/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",[31],{"_path":32,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":33,"description":34,"slug":35,"parentId":5,"order":36,"body":989,"_type":15,"_id":37,"_source":17,"_file":38,"_stem":39,"_extension":20},{"type":990,"children":991,"toc":2821},"root",[992,1001,1007,1012,1019,1024,1108,1114,1121,1149,1155,1165,1170,1208,1214,1219,1262,1267,1273,1279,1301,1307,1312,1341,1347,1392,1438,1444,1449,1481,1487,1492,1498,1551,1557,1591,1597,1631,1636,1667,1673,1689,1695,1761,1808,1814,1819,1825,1833,1856,1872,1878,1901,1928,1934,1939,1945,1965,1994,2000,2011,2028,2358,2364,2369,2375,2380,2436,2442,2467,2473,2498,2504,2522,2612,2618,2625,2640,2646,2662,2668,2691,2697,2719,2725,2730,2758,2763,2768,2774,2779,2786,2792,2797,2810,2815],{"type":993,"tag":994,"props":995,"children":997},"element","h1",{"id":996},"️-setup-python",[998],{"type":999,"value":1000},"text","🛠️ Setup Python",{"type":993,"tag":1002,"props":1003,"children":1004},"p",{},[1005],{"type":999,"value":1006},"Getting Python installed on your computer is easier than you might think! Whether you're using Windows, macOS, or Linux, you'll have Python up and running in just a few minutes.",{"type":993,"tag":1002,"props":1008,"children":1009},{},[1010],{"type":999,"value":1011},"A proper setup means you can write and run Python programs without any headaches. Let's get started!",{"type":993,"tag":1013,"props":1014,"children":1016},"h2",{"id":1015},"check-if-python-is-already-installed",[1017],{"type":999,"value":1018},"🔍 Check if Python is Already Installed",{"type":993,"tag":1002,"props":1020,"children":1021},{},[1022],{"type":999,"value":1023},"First, let's see if Python is already on your computer. Open your terminal or command prompt and try these commands:",{"type":993,"tag":1025,"props":1026,"children":1029},"info-box",{"title":1027,"type":1028},"Version Check Commands","info",[1030,1091],{"type":993,"tag":1031,"props":1032,"children":1033},"ul",{},[1034,1053,1068],{"type":993,"tag":1035,"props":1036,"children":1037},"li",{},[1038,1044,1046],{"type":993,"tag":1039,"props":1040,"children":1041},"strong",{},[1042],{"type":999,"value":1043},"Windows",{"type":999,"value":1045},": ",{"type":993,"tag":1047,"props":1048,"children":1050},"code",{"className":1049},[],[1051],{"type":999,"value":1052},"python --version",{"type":993,"tag":1035,"props":1054,"children":1055},{},[1056,1061,1062],{"type":993,"tag":1039,"props":1057,"children":1058},{},[1059],{"type":999,"value":1060},"macOS/Linux",{"type":999,"value":1045},{"type":993,"tag":1047,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":999,"value":1067},"python3 --version",{"type":993,"tag":1035,"props":1069,"children":1070},{},[1071,1076,1077,1083,1085],{"type":993,"tag":1039,"props":1072,"children":1073},{},[1074],{"type":999,"value":1075},"Alternative",{"type":999,"value":1045},{"type":993,"tag":1047,"props":1078,"children":1080},{"className":1079},[],[1081],{"type":999,"value":1082},"python -V",{"type":999,"value":1084}," or ",{"type":993,"tag":1047,"props":1086,"children":1088},{"className":1087},[],[1089],{"type":999,"value":1090},"python3 -V",{"type":993,"tag":1002,"props":1092,"children":1093},{},[1094,1099,1101,1106],{"type":993,"tag":1039,"props":1095,"children":1096},{},[1097],{"type":999,"value":1098},"Important",{"type":999,"value":1100},": We need ",{"type":993,"tag":1039,"props":1102,"children":1103},{},[1104],{"type":999,"value":1105},"Python 3.x",{"type":999,"value":1107}," (3.8 or newer recommended). Python 2 is no longer supported!",{"type":993,"tag":1013,"props":1109,"children":1111},{"id":1110},"installing-python-on-windows",[1112],{"type":999,"value":1113},"🪟 Installing Python on Windows",{"type":993,"tag":1115,"props":1116,"children":1118},"h3",{"id":1117},"step-1-download-python",[1119],{"type":999,"value":1120},"Step 1: Download Python",{"type":993,"tag":1122,"props":1123,"children":1124},"ol",{},[1125,1139,1144],{"type":993,"tag":1035,"props":1126,"children":1127},{},[1128,1130],{"type":999,"value":1129},"Go to ",{"type":993,"tag":1131,"props":1132,"children":1136},"a",{"href":1133,"rel":1134},"https://python.org",[1135],"nofollow",[1137],{"type":999,"value":1138},"python.org",{"type":993,"tag":1035,"props":1140,"children":1141},{},[1142],{"type":999,"value":1143},"Click \"Download Python\" (gets the latest version)",{"type":993,"tag":1035,"props":1145,"children":1146},{},[1147],{"type":999,"value":1148},"Save the installer file",{"type":993,"tag":1115,"props":1150,"children":1152},{"id":1151},"step-2-run-the-installer",[1153],{"type":999,"value":1154},"Step 2: Run the Installer",{"type":993,"tag":1002,"props":1156,"children":1157},{},[1158,1163],{"type":993,"tag":1039,"props":1159,"children":1160},{},[1161],{"type":999,"value":1162},"⚠️ CRITICAL",{"type":999,"value":1164},": Check the box \"Add Python to PATH\" before clicking Install!",{"type":993,"tag":1002,"props":1166,"children":1167},{},[1168],{"type":999,"value":1169},"This is the most important step - it lets you run Python from anywhere on your computer.",{"type":993,"tag":1025,"props":1171,"children":1174},{"title":1172,"type":1173},"Windows Installation Checklist","warning",[1175,1198],{"type":993,"tag":1031,"props":1176,"children":1177},{},[1178,1188,1193],{"type":993,"tag":1035,"props":1179,"children":1180},{},[1181,1183],{"type":999,"value":1182},"✅ ",{"type":993,"tag":1039,"props":1184,"children":1185},{},[1186],{"type":999,"value":1187},"Must check \"Add Python to PATH\"",{"type":993,"tag":1035,"props":1189,"children":1190},{},[1191],{"type":999,"value":1192},"✅ Choose \"Install for all users\" (if you have admin rights)",{"type":993,"tag":1035,"props":1194,"children":1195},{},[1196],{"type":999,"value":1197},"✅ Keep all other default settings",{"type":993,"tag":1002,"props":1199,"children":1200},{},[1201,1206],{"type":993,"tag":1039,"props":1202,"children":1203},{},[1204],{"type":999,"value":1205},"Why PATH matters",{"type":999,"value":1207},": Without it, you'll get \"Python is not recognized\" errors!",{"type":993,"tag":1115,"props":1209,"children":1211},{"id":1210},"step-3-verify-installation",[1212],{"type":999,"value":1213},"Step 3: Verify Installation",{"type":993,"tag":1002,"props":1215,"children":1216},{},[1217],{"type":999,"value":1218},"Open Command Prompt and type:",{"type":993,"tag":1220,"props":1221,"children":1223},"code-try",{":playground":1222},"false",[1224],{"type":993,"tag":1225,"props":1226,"children":1230},"pre",{"className":1227,"code":1228,"language":1229,"meta":8,"style":8},"language-bash shiki shiki-themes github-light github-dark","python --version\npip --version\n","bash",[1231],{"type":993,"tag":1047,"props":1232,"children":1233},{"__ignoreMap":8},[1234,1250],{"type":993,"tag":1235,"props":1236,"children":1238},"span",{"class":1237,"line":12},"line",[1239,1244],{"type":993,"tag":1235,"props":1240,"children":1242},{"style":1241},"--shiki-default:#6F42C1;--shiki-app-dark-mode:#B392F0",[1243],{"type":999,"value":6},{"type":993,"tag":1235,"props":1245,"children":1247},{"style":1246},"--shiki-default:#005CC5;--shiki-app-dark-mode:#79B8FF",[1248],{"type":999,"value":1249}," --version\n",{"type":993,"tag":1235,"props":1251,"children":1252},{"class":1237,"line":27},[1253,1258],{"type":993,"tag":1235,"props":1254,"children":1255},{"style":1241},[1256],{"type":999,"value":1257},"pip",{"type":993,"tag":1235,"props":1259,"children":1260},{"style":1246},[1261],{"type":999,"value":1249},{"type":993,"tag":1002,"props":1263,"children":1264},{},[1265],{"type":999,"value":1266},"Both commands should show version numbers.",{"type":993,"tag":1013,"props":1268,"children":1270},{"id":1269},"installing-python-on-macos",[1271],{"type":999,"value":1272},"Installing Python on macOS",{"type":993,"tag":1115,"props":1274,"children":1276},{"id":1275},"option-1-official-installer-recommended-for-beginners",[1277],{"type":999,"value":1278},"Option 1: Official Installer (Recommended for Beginners)",{"type":993,"tag":1122,"props":1280,"children":1281},{},[1282,1291,1296],{"type":993,"tag":1035,"props":1283,"children":1284},{},[1285,1286],{"type":999,"value":1129},{"type":993,"tag":1131,"props":1287,"children":1289},{"href":1133,"rel":1288},[1135],[1290],{"type":999,"value":1138},{"type":993,"tag":1035,"props":1292,"children":1293},{},[1294],{"type":999,"value":1295},"Download the macOS installer",{"type":993,"tag":1035,"props":1297,"children":1298},{},[1299],{"type":999,"value":1300},"Run the installer (follow default settings)",{"type":993,"tag":1115,"props":1302,"children":1304},{"id":1303},"option-2-using-homebrew",[1305],{"type":999,"value":1306},"Option 2: Using Homebrew",{"type":993,"tag":1002,"props":1308,"children":1309},{},[1310],{"type":999,"value":1311},"If you have Homebrew installed:\\",{"type":993,"tag":1220,"props":1313,"children":1314},{":playground":1222},[1315],{"type":993,"tag":1225,"props":1316,"children":1318},{"className":1227,"code":1317,"language":1229,"meta":8,"style":8},"brew install python3\n",[1319],{"type":993,"tag":1047,"props":1320,"children":1321},{"__ignoreMap":8},[1322],{"type":993,"tag":1235,"props":1323,"children":1324},{"class":1237,"line":12},[1325,1330,1336],{"type":993,"tag":1235,"props":1326,"children":1327},{"style":1241},[1328],{"type":999,"value":1329},"brew",{"type":993,"tag":1235,"props":1331,"children":1333},{"style":1332},"--shiki-default:#032F62;--shiki-app-dark-mode:#9ECBFF",[1334],{"type":999,"value":1335}," install",{"type":993,"tag":1235,"props":1337,"children":1338},{"style":1332},[1339],{"type":999,"value":1340}," python3\n",{"type":993,"tag":1115,"props":1342,"children":1344},{"id":1343},"important-macos-notes",[1345],{"type":999,"value":1346},"📝 Important macOS Notes",{"type":993,"tag":1031,"props":1348,"children":1349},{},[1350,1370,1387],{"type":993,"tag":1035,"props":1351,"children":1352},{},[1353,1355,1361,1363,1368],{"type":999,"value":1354},"Use ",{"type":993,"tag":1047,"props":1356,"children":1358},{"className":1357},[],[1359],{"type":999,"value":1360},"python3",{"type":999,"value":1362}," command (not ",{"type":993,"tag":1047,"props":1364,"children":1366},{"className":1365},[],[1367],{"type":999,"value":6},{"type":999,"value":1369},")",{"type":993,"tag":1035,"props":1371,"children":1372},{},[1373,1374,1380,1381,1386],{"type":999,"value":1354},{"type":993,"tag":1047,"props":1375,"children":1377},{"className":1376},[],[1378],{"type":999,"value":1379},"pip3",{"type":999,"value":1362},{"type":993,"tag":1047,"props":1382,"children":1384},{"className":1383},[],[1385],{"type":999,"value":1257},{"type":999,"value":1369},{"type":993,"tag":1035,"props":1388,"children":1389},{},[1390],{"type":999,"value":1391},"Your system Python stays safe alongside the new Python",{"type":993,"tag":1025,"props":1393,"children":1396},{"title":1394,"type":1395},"macOS Commands","success",[1397,1405],{"type":993,"tag":1002,"props":1398,"children":1399},{},[1400],{"type":993,"tag":1039,"props":1401,"children":1402},{},[1403],{"type":999,"value":1404},"Always use these commands on macOS:",{"type":993,"tag":1031,"props":1406,"children":1407},{},[1408,1418,1428],{"type":993,"tag":1035,"props":1409,"children":1410},{},[1411,1416],{"type":993,"tag":1047,"props":1412,"children":1414},{"className":1413},[],[1415],{"type":999,"value":1360},{"type":999,"value":1417}," to run Python",{"type":993,"tag":1035,"props":1419,"children":1420},{},[1421,1426],{"type":993,"tag":1047,"props":1422,"children":1424},{"className":1423},[],[1425],{"type":999,"value":1379},{"type":999,"value":1427}," to install packages",{"type":993,"tag":1035,"props":1429,"children":1430},{},[1431,1436],{"type":993,"tag":1047,"props":1432,"children":1434},{"className":1433},[],[1435],{"type":999,"value":1067},{"type":999,"value":1437}," to check version",{"type":993,"tag":1115,"props":1439,"children":1441},{"id":1440},"verify-installation",[1442],{"type":999,"value":1443},"✅ Verify Installation",{"type":993,"tag":1002,"props":1445,"children":1446},{},[1447],{"type":999,"value":1448},"Open Terminal and type:",{"type":993,"tag":1220,"props":1450,"children":1451},{":playground":1222},[1452],{"type":993,"tag":1225,"props":1453,"children":1455},{"className":1227,"code":1454,"language":1229,"meta":8,"style":8},"python3 --version\npip3 --version\n",[1456],{"type":993,"tag":1047,"props":1457,"children":1458},{"__ignoreMap":8},[1459,1470],{"type":993,"tag":1235,"props":1460,"children":1461},{"class":1237,"line":12},[1462,1466],{"type":993,"tag":1235,"props":1463,"children":1464},{"style":1241},[1465],{"type":999,"value":1360},{"type":993,"tag":1235,"props":1467,"children":1468},{"style":1246},[1469],{"type":999,"value":1249},{"type":993,"tag":1235,"props":1471,"children":1472},{"class":1237,"line":27},[1473,1477],{"type":993,"tag":1235,"props":1474,"children":1475},{"style":1241},[1476],{"type":999,"value":1379},{"type":993,"tag":1235,"props":1478,"children":1479},{"style":1246},[1480],{"type":999,"value":1249},{"type":993,"tag":1013,"props":1482,"children":1484},{"id":1483},"installing-python-on-linux",[1485],{"type":999,"value":1486},"🐧 Installing Python on Linux",{"type":993,"tag":1002,"props":1488,"children":1489},{},[1490],{"type":999,"value":1491},"Most Linux systems have Python 3, but let's make sure you have the latest version and pip.",{"type":993,"tag":1115,"props":1493,"children":1495},{"id":1494},"ubuntudebian",[1496],{"type":999,"value":1497},"Ubuntu/Debian:",{"type":993,"tag":1220,"props":1499,"children":1500},{":playground":1222},[1501],{"type":993,"tag":1225,"props":1502,"children":1504},{"className":1227,"code":1503,"language":1229,"meta":8,"style":8},"sudo apt update\nsudo apt install python3 python3-pip\n",[1505],{"type":993,"tag":1047,"props":1506,"children":1507},{"__ignoreMap":8},[1508,1526],{"type":993,"tag":1235,"props":1509,"children":1510},{"class":1237,"line":12},[1511,1516,1521],{"type":993,"tag":1235,"props":1512,"children":1513},{"style":1241},[1514],{"type":999,"value":1515},"sudo",{"type":993,"tag":1235,"props":1517,"children":1518},{"style":1332},[1519],{"type":999,"value":1520}," apt",{"type":993,"tag":1235,"props":1522,"children":1523},{"style":1332},[1524],{"type":999,"value":1525}," update\n",{"type":993,"tag":1235,"props":1527,"children":1528},{"class":1237,"line":27},[1529,1533,1537,1541,1546],{"type":993,"tag":1235,"props":1530,"children":1531},{"style":1241},[1532],{"type":999,"value":1515},{"type":993,"tag":1235,"props":1534,"children":1535},{"style":1332},[1536],{"type":999,"value":1520},{"type":993,"tag":1235,"props":1538,"children":1539},{"style":1332},[1540],{"type":999,"value":1335},{"type":993,"tag":1235,"props":1542,"children":1543},{"style":1332},[1544],{"type":999,"value":1545}," python3",{"type":993,"tag":1235,"props":1547,"children":1548},{"style":1332},[1549],{"type":999,"value":1550}," python3-pip\n",{"type":993,"tag":1115,"props":1552,"children":1554},{"id":1553},"centosrhel",[1555],{"type":999,"value":1556},"CentOS/RHEL:",{"type":993,"tag":1220,"props":1558,"children":1559},{":playground":1222},[1560],{"type":993,"tag":1225,"props":1561,"children":1563},{"className":1227,"code":1562,"language":1229,"meta":8,"style":8},"sudo yum install python3 python3-pip\n",[1564],{"type":993,"tag":1047,"props":1565,"children":1566},{"__ignoreMap":8},[1567],{"type":993,"tag":1235,"props":1568,"children":1569},{"class":1237,"line":12},[1570,1574,1579,1583,1587],{"type":993,"tag":1235,"props":1571,"children":1572},{"style":1241},[1573],{"type":999,"value":1515},{"type":993,"tag":1235,"props":1575,"children":1576},{"style":1332},[1577],{"type":999,"value":1578}," yum",{"type":993,"tag":1235,"props":1580,"children":1581},{"style":1332},[1582],{"type":999,"value":1335},{"type":993,"tag":1235,"props":1584,"children":1585},{"style":1332},[1586],{"type":999,"value":1545},{"type":993,"tag":1235,"props":1588,"children":1589},{"style":1332},[1590],{"type":999,"value":1550},{"type":993,"tag":1115,"props":1592,"children":1594},{"id":1593},"fedora",[1595],{"type":999,"value":1596},"Fedora:",{"type":993,"tag":1220,"props":1598,"children":1599},{":playground":1222},[1600],{"type":993,"tag":1225,"props":1601,"children":1603},{"className":1227,"code":1602,"language":1229,"meta":8,"style":8},"sudo dnf install python3 python3-pip\n",[1604],{"type":993,"tag":1047,"props":1605,"children":1606},{"__ignoreMap":8},[1607],{"type":993,"tag":1235,"props":1608,"children":1609},{"class":1237,"line":12},[1610,1614,1619,1623,1627],{"type":993,"tag":1235,"props":1611,"children":1612},{"style":1241},[1613],{"type":999,"value":1515},{"type":993,"tag":1235,"props":1615,"children":1616},{"style":1332},[1617],{"type":999,"value":1618}," dnf",{"type":993,"tag":1235,"props":1620,"children":1621},{"style":1332},[1622],{"type":999,"value":1335},{"type":993,"tag":1235,"props":1624,"children":1625},{"style":1332},[1626],{"type":999,"value":1545},{"type":993,"tag":1235,"props":1628,"children":1629},{"style":1332},[1630],{"type":999,"value":1550},{"type":993,"tag":1115,"props":1632,"children":1634},{"id":1633},"verify-installation-1",[1635],{"type":999,"value":1443},{"type":993,"tag":1220,"props":1637,"children":1638},{":playground":1222},[1639],{"type":993,"tag":1225,"props":1640,"children":1641},{"className":1227,"code":1454,"language":1229,"meta":8,"style":8},[1642],{"type":993,"tag":1047,"props":1643,"children":1644},{"__ignoreMap":8},[1645,1656],{"type":993,"tag":1235,"props":1646,"children":1647},{"class":1237,"line":12},[1648,1652],{"type":993,"tag":1235,"props":1649,"children":1650},{"style":1241},[1651],{"type":999,"value":1360},{"type":993,"tag":1235,"props":1653,"children":1654},{"style":1246},[1655],{"type":999,"value":1249},{"type":993,"tag":1235,"props":1657,"children":1658},{"class":1237,"line":27},[1659,1663],{"type":993,"tag":1235,"props":1660,"children":1661},{"style":1241},[1662],{"type":999,"value":1379},{"type":993,"tag":1235,"props":1664,"children":1665},{"style":1246},[1666],{"type":999,"value":1249},{"type":993,"tag":1013,"props":1668,"children":1670},{"id":1669},"understanding-pip-package-installer",[1671],{"type":999,"value":1672},"📦 Understanding pip (Package Installer)",{"type":993,"tag":1002,"props":1674,"children":1675},{},[1676,1680,1682,1687],{"type":993,"tag":1039,"props":1677,"children":1678},{},[1679],{"type":999,"value":1257},{"type":999,"value":1681}," stands for \"",{"type":993,"tag":1039,"props":1683,"children":1684},{},[1685],{"type":999,"value":1686},"Pip Installs Packages",{"type":999,"value":1688},"\" - it's Python's package installer that comes with Python.",{"type":993,"tag":1115,"props":1690,"children":1692},{"id":1691},"️-essential-pip-commands",[1693],{"type":999,"value":1694},"🛠️ Essential pip Commands:",{"type":993,"tag":1220,"props":1696,"children":1697},{":playground":1222},[1698],{"type":993,"tag":1225,"props":1699,"children":1701},{"className":1227,"code":1700,"language":1229,"meta":8,"style":8},"pip install package_name    # Install a package\npip list                   # Show installed packages  \npip --version              # Check pip version\n",[1702],{"type":993,"tag":1047,"props":1703,"children":1704},{"__ignoreMap":8},[1705,1727,1744],{"type":993,"tag":1235,"props":1706,"children":1707},{"class":1237,"line":12},[1708,1712,1716,1721],{"type":993,"tag":1235,"props":1709,"children":1710},{"style":1241},[1711],{"type":999,"value":1257},{"type":993,"tag":1235,"props":1713,"children":1714},{"style":1332},[1715],{"type":999,"value":1335},{"type":993,"tag":1235,"props":1717,"children":1718},{"style":1332},[1719],{"type":999,"value":1720}," package_name",{"type":993,"tag":1235,"props":1722,"children":1724},{"style":1723},"--shiki-default:#6A737D;--shiki-app-dark-mode:#6A737D",[1725],{"type":999,"value":1726},"    # Install a package\n",{"type":993,"tag":1235,"props":1728,"children":1729},{"class":1237,"line":27},[1730,1734,1739],{"type":993,"tag":1235,"props":1731,"children":1732},{"style":1241},[1733],{"type":999,"value":1257},{"type":993,"tag":1235,"props":1735,"children":1736},{"style":1332},[1737],{"type":999,"value":1738}," list",{"type":993,"tag":1235,"props":1740,"children":1741},{"style":1723},[1742],{"type":999,"value":1743},"                   # Show installed packages  \n",{"type":993,"tag":1235,"props":1745,"children":1746},{"class":1237,"line":36},[1747,1751,1756],{"type":993,"tag":1235,"props":1748,"children":1749},{"style":1241},[1750],{"type":999,"value":1257},{"type":993,"tag":1235,"props":1752,"children":1753},{"style":1246},[1754],{"type":999,"value":1755}," --version",{"type":993,"tag":1235,"props":1757,"children":1758},{"style":1723},[1759],{"type":999,"value":1760},"              # Check pip version\n",{"type":993,"tag":1025,"props":1762,"children":1764},{"title":1763,"type":1028},"pip Essentials",[1765],{"type":993,"tag":1031,"props":1766,"children":1767},{},[1768,1778,1788,1798],{"type":993,"tag":1035,"props":1769,"children":1770},{},[1771,1776],{"type":993,"tag":1039,"props":1772,"children":1773},{},[1774],{"type":999,"value":1775},"What it does",{"type":999,"value":1777},": Installs extra Python libraries from the internet",{"type":993,"tag":1035,"props":1779,"children":1780},{},[1781,1786],{"type":993,"tag":1039,"props":1782,"children":1783},{},[1784],{"type":999,"value":1785},"Where it gets them",{"type":999,"value":1787},": Python Package Index (PyPI)",{"type":993,"tag":1035,"props":1789,"children":1790},{},[1791,1796],{"type":993,"tag":1039,"props":1792,"children":1793},{},[1794],{"type":999,"value":1795},"Safety",{"type":999,"value":1797},": Only install packages from trusted sources",{"type":993,"tag":1035,"props":1799,"children":1800},{},[1801,1806],{"type":993,"tag":1039,"props":1802,"children":1803},{},[1804],{"type":999,"value":1805},"Comes with Python",{"type":999,"value":1807},": No separate installation needed",{"type":993,"tag":1013,"props":1809,"children":1811},{"id":1810},"setting-up-a-code-editor",[1812],{"type":999,"value":1813},"📝 Setting Up a Code Editor",{"type":993,"tag":1002,"props":1815,"children":1816},{},[1817],{"type":999,"value":1818},"You can write Python in any text editor, but a good code editor makes everything easier!",{"type":993,"tag":1115,"props":1820,"children":1822},{"id":1821},"recommended-visual-studio-code",[1823],{"type":999,"value":1824},"🌟 Recommended: Visual Studio Code",{"type":993,"tag":1002,"props":1826,"children":1827},{},[1828],{"type":993,"tag":1039,"props":1829,"children":1830},{},[1831],{"type":999,"value":1832},"Why VS Code is perfect for beginners:",{"type":993,"tag":1031,"props":1834,"children":1835},{},[1836,1841,1846,1851],{"type":993,"tag":1035,"props":1837,"children":1838},{},[1839],{"type":999,"value":1840},"Free and easy to use",{"type":993,"tag":1035,"props":1842,"children":1843},{},[1844],{"type":999,"value":1845},"Great Python support",{"type":993,"tag":1035,"props":1847,"children":1848},{},[1849],{"type":999,"value":1850},"Built-in terminal",{"type":993,"tag":1035,"props":1852,"children":1853},{},[1854],{"type":999,"value":1855},"Helpful error highlighting",{"type":993,"tag":1002,"props":1857,"children":1858},{},[1859,1864,1865],{"type":993,"tag":1039,"props":1860,"children":1861},{},[1862],{"type":999,"value":1863},"Download",{"type":999,"value":1045},{"type":993,"tag":1131,"props":1866,"children":1869},{"href":1867,"rel":1868},"https://code.visualstudio.com",[1135],[1870],{"type":999,"value":1871},"code.visualstudio.com",{"type":993,"tag":1115,"props":1873,"children":1875},{"id":1874},"other-good-options",[1876],{"type":999,"value":1877},"🔧 Other Good Options:",{"type":993,"tag":1031,"props":1879,"children":1880},{},[1881,1891],{"type":993,"tag":1035,"props":1882,"children":1883},{},[1884,1889],{"type":993,"tag":1039,"props":1885,"children":1886},{},[1887],{"type":999,"value":1888},"PyCharm Community",{"type":999,"value":1890},": Free, Python-focused",{"type":993,"tag":1035,"props":1892,"children":1893},{},[1894,1899],{"type":993,"tag":1039,"props":1895,"children":1896},{},[1897],{"type":999,"value":1898},"IDLE",{"type":999,"value":1900},": Comes with Python (simple but limited)",{"type":993,"tag":1025,"props":1902,"children":1904},{"title":1903,"type":1395},"Code Editor Features to Look For",[1905],{"type":993,"tag":1031,"props":1906,"children":1907},{},[1908,1913,1918,1923],{"type":993,"tag":1035,"props":1909,"children":1910},{},[1911],{"type":999,"value":1912},"✅ Syntax highlighting (colors your code)",{"type":993,"tag":1035,"props":1914,"children":1915},{},[1916],{"type":999,"value":1917},"✅ Error detection (spots mistakes)",{"type":993,"tag":1035,"props":1919,"children":1920},{},[1921],{"type":999,"value":1922},"✅ Code completion (suggests as you type)",{"type":993,"tag":1035,"props":1924,"children":1925},{},[1926],{"type":999,"value":1927},"✅ Integrated terminal (run code directly)",{"type":993,"tag":1013,"props":1929,"children":1931},{"id":1930},"creating-your-first-python-project",[1932],{"type":999,"value":1933},"📁 Creating Your First Python Project",{"type":993,"tag":1002,"props":1935,"children":1936},{},[1937],{"type":999,"value":1938},"Let's set up a proper workspace for your Python learning:",{"type":993,"tag":1115,"props":1940,"children":1942},{"id":1941},"_1-create-a-project-folder",[1943],{"type":999,"value":1944},"📂 1. Create a Project Folder",{"type":993,"tag":1002,"props":1946,"children":1947},{},[1948,1950,1955,1957,1963],{"type":999,"value":1949},"Create a folder in your ",{"type":993,"tag":1039,"props":1951,"children":1952},{},[1953],{"type":999,"value":1954},"Documents",{"type":999,"value":1956}," directory called ",{"type":993,"tag":1047,"props":1958,"children":1960},{"className":1959},[],[1961],{"type":999,"value":1962},"python-projects",{"type":999,"value":1964},":",{"type":993,"tag":1002,"props":1966,"children":1967},{},[1968,1972,1973,1979,1983,1987,1988],{"type":993,"tag":1039,"props":1969,"children":1970},{},[1971],{"type":999,"value":1043},{"type":999,"value":1045},{"type":993,"tag":1047,"props":1974,"children":1976},{"className":1975},[],[1977],{"type":999,"value":1978},"Documents\\python-projects",{"type":993,"tag":1980,"props":1981,"children":1982},"br",{},[],{"type":993,"tag":1039,"props":1984,"children":1985},{},[1986],{"type":999,"value":1060},{"type":999,"value":1045},{"type":993,"tag":1047,"props":1989,"children":1991},{"className":1990},[],[1992],{"type":999,"value":1993},"Documents/python-projects",{"type":993,"tag":1115,"props":1995,"children":1997},{"id":1996},"_2-create-your-first-python-file",[1998],{"type":999,"value":1999},"📄 2. Create Your First Python File",{"type":993,"tag":1002,"props":2001,"children":2002},{},[2003,2005],{"type":999,"value":2004},"Inside your project folder, create a file called ",{"type":993,"tag":1047,"props":2006,"children":2008},{"className":2007},[],[2009],{"type":999,"value":2010},"hello.py",{"type":993,"tag":1002,"props":2012,"children":2013},{},[2014,2018,2020,2026],{"type":993,"tag":1039,"props":2015,"children":2016},{},[2017],{"type":999,"value":1098},{"type":999,"value":2019},": Python files must end with ",{"type":993,"tag":1047,"props":2021,"children":2023},{"className":2022},[],[2024],{"type":999,"value":2025},".py",{"type":999,"value":2027},"!",{"type":993,"tag":1220,"props":2029,"children":2030},{},[2031],{"type":993,"tag":1225,"props":2032,"children":2035},{"className":2033,"code":2034,"language":6,"meta":8,"style":8},"language-python shiki shiki-themes github-light github-dark","# Save this as hello.py in your python-projects folder:\nprint(\"=== MY FIRST PYTHON PROGRAM ===\")\n\nname = \"Python Learner\"\nprint(f\"Hello, {name}!\")\n\n# Simple math\nfavorite_number = 7\ndoubled = favorite_number * 2\nprint(f\"Your favorite number doubled: {doubled}\")\n\n# Fun with text\nmessage = \"I'm learning Python!\"\nprint(message.upper())\nprint(f\"Message length: {len(message)} characters\")\n\nprint(\"Setup complete! 🐍\")\n",[2036],{"type":993,"tag":1047,"props":2037,"children":2038},{"__ignoreMap":8},[2039,2047,2071,2079,2098,2143,2150,2158,2175,2202,2244,2251,2259,2276,2288,2331,2338],{"type":993,"tag":1235,"props":2040,"children":2041},{"class":1237,"line":12},[2042],{"type":993,"tag":1235,"props":2043,"children":2044},{"style":1723},[2045],{"type":999,"value":2046},"# Save this as hello.py in your python-projects folder:\n",{"type":993,"tag":1235,"props":2048,"children":2049},{"class":1237,"line":27},[2050,2055,2061,2066],{"type":993,"tag":1235,"props":2051,"children":2052},{"style":1246},[2053],{"type":999,"value":2054},"print",{"type":993,"tag":1235,"props":2056,"children":2058},{"style":2057},"--shiki-default:#24292E;--shiki-app-dark-mode:#E1E4E8",[2059],{"type":999,"value":2060},"(",{"type":993,"tag":1235,"props":2062,"children":2063},{"style":1332},[2064],{"type":999,"value":2065},"\"=== MY FIRST PYTHON PROGRAM ===\"",{"type":993,"tag":1235,"props":2067,"children":2068},{"style":2057},[2069],{"type":999,"value":2070},")\n",{"type":993,"tag":1235,"props":2072,"children":2073},{"class":1237,"line":36},[2074],{"type":993,"tag":1235,"props":2075,"children":2076},{"emptyLinePlaceholder":13},[2077],{"type":999,"value":2078},"\n",{"type":993,"tag":1235,"props":2080,"children":2081},{"class":1237,"line":45},[2082,2087,2093],{"type":993,"tag":1235,"props":2083,"children":2084},{"style":2057},[2085],{"type":999,"value":2086},"name ",{"type":993,"tag":1235,"props":2088,"children":2090},{"style":2089},"--shiki-default:#D73A49;--shiki-app-dark-mode:#F97583",[2091],{"type":999,"value":2092},"=",{"type":993,"tag":1235,"props":2094,"children":2095},{"style":1332},[2096],{"type":999,"value":2097}," \"Python Learner\"\n",{"type":993,"tag":1235,"props":2099,"children":2100},{"class":1237,"line":54},[2101,2105,2109,2114,2119,2124,2129,2134,2139],{"type":993,"tag":1235,"props":2102,"children":2103},{"style":1246},[2104],{"type":999,"value":2054},{"type":993,"tag":1235,"props":2106,"children":2107},{"style":2057},[2108],{"type":999,"value":2060},{"type":993,"tag":1235,"props":2110,"children":2111},{"style":2089},[2112],{"type":999,"value":2113},"f",{"type":993,"tag":1235,"props":2115,"children":2116},{"style":1332},[2117],{"type":999,"value":2118},"\"Hello, ",{"type":993,"tag":1235,"props":2120,"children":2121},{"style":1246},[2122],{"type":999,"value":2123},"{",{"type":993,"tag":1235,"props":2125,"children":2126},{"style":2057},[2127],{"type":999,"value":2128},"name",{"type":993,"tag":1235,"props":2130,"children":2131},{"style":1246},[2132],{"type":999,"value":2133},"}",{"type":993,"tag":1235,"props":2135,"children":2136},{"style":1332},[2137],{"type":999,"value":2138},"!\"",{"type":993,"tag":1235,"props":2140,"children":2141},{"style":2057},[2142],{"type":999,"value":2070},{"type":993,"tag":1235,"props":2144,"children":2145},{"class":1237,"line":63},[2146],{"type":993,"tag":1235,"props":2147,"children":2148},{"emptyLinePlaceholder":13},[2149],{"type":999,"value":2078},{"type":993,"tag":1235,"props":2151,"children":2152},{"class":1237,"line":72},[2153],{"type":993,"tag":1235,"props":2154,"children":2155},{"style":1723},[2156],{"type":999,"value":2157},"# Simple math\n",{"type":993,"tag":1235,"props":2159,"children":2160},{"class":1237,"line":81},[2161,2166,2170],{"type":993,"tag":1235,"props":2162,"children":2163},{"style":2057},[2164],{"type":999,"value":2165},"favorite_number ",{"type":993,"tag":1235,"props":2167,"children":2168},{"style":2089},[2169],{"type":999,"value":2092},{"type":993,"tag":1235,"props":2171,"children":2172},{"style":1246},[2173],{"type":999,"value":2174}," 7\n",{"type":993,"tag":1235,"props":2176,"children":2177},{"class":1237,"line":91},[2178,2183,2187,2192,2197],{"type":993,"tag":1235,"props":2179,"children":2180},{"style":2057},[2181],{"type":999,"value":2182},"doubled ",{"type":993,"tag":1235,"props":2184,"children":2185},{"style":2089},[2186],{"type":999,"value":2092},{"type":993,"tag":1235,"props":2188,"children":2189},{"style":2057},[2190],{"type":999,"value":2191}," favorite_number ",{"type":993,"tag":1235,"props":2193,"children":2194},{"style":2089},[2195],{"type":999,"value":2196},"*",{"type":993,"tag":1235,"props":2198,"children":2199},{"style":1246},[2200],{"type":999,"value":2201}," 2\n",{"type":993,"tag":1235,"props":2203,"children":2204},{"class":1237,"line":100},[2205,2209,2213,2217,2222,2226,2231,2235,2240],{"type":993,"tag":1235,"props":2206,"children":2207},{"style":1246},[2208],{"type":999,"value":2054},{"type":993,"tag":1235,"props":2210,"children":2211},{"style":2057},[2212],{"type":999,"value":2060},{"type":993,"tag":1235,"props":2214,"children":2215},{"style":2089},[2216],{"type":999,"value":2113},{"type":993,"tag":1235,"props":2218,"children":2219},{"style":1332},[2220],{"type":999,"value":2221},"\"Your favorite number doubled: ",{"type":993,"tag":1235,"props":2223,"children":2224},{"style":1246},[2225],{"type":999,"value":2123},{"type":993,"tag":1235,"props":2227,"children":2228},{"style":2057},[2229],{"type":999,"value":2230},"doubled",{"type":993,"tag":1235,"props":2232,"children":2233},{"style":1246},[2234],{"type":999,"value":2133},{"type":993,"tag":1235,"props":2236,"children":2237},{"style":1332},[2238],{"type":999,"value":2239},"\"",{"type":993,"tag":1235,"props":2241,"children":2242},{"style":2057},[2243],{"type":999,"value":2070},{"type":993,"tag":1235,"props":2245,"children":2246},{"class":1237,"line":109},[2247],{"type":993,"tag":1235,"props":2248,"children":2249},{"emptyLinePlaceholder":13},[2250],{"type":999,"value":2078},{"type":993,"tag":1235,"props":2252,"children":2253},{"class":1237,"line":118},[2254],{"type":993,"tag":1235,"props":2255,"children":2256},{"style":1723},[2257],{"type":999,"value":2258},"# Fun with text\n",{"type":993,"tag":1235,"props":2260,"children":2261},{"class":1237,"line":127},[2262,2267,2271],{"type":993,"tag":1235,"props":2263,"children":2264},{"style":2057},[2265],{"type":999,"value":2266},"message ",{"type":993,"tag":1235,"props":2268,"children":2269},{"style":2089},[2270],{"type":999,"value":2092},{"type":993,"tag":1235,"props":2272,"children":2273},{"style":1332},[2274],{"type":999,"value":2275}," \"I'm learning Python!\"\n",{"type":993,"tag":1235,"props":2277,"children":2278},{"class":1237,"line":136},[2279,2283],{"type":993,"tag":1235,"props":2280,"children":2281},{"style":1246},[2282],{"type":999,"value":2054},{"type":993,"tag":1235,"props":2284,"children":2285},{"style":2057},[2286],{"type":999,"value":2287},"(message.upper())\n",{"type":993,"tag":1235,"props":2289,"children":2290},{"class":1237,"line":146},[2291,2295,2299,2303,2308,2313,2318,2322,2327],{"type":993,"tag":1235,"props":2292,"children":2293},{"style":1246},[2294],{"type":999,"value":2054},{"type":993,"tag":1235,"props":2296,"children":2297},{"style":2057},[2298],{"type":999,"value":2060},{"type":993,"tag":1235,"props":2300,"children":2301},{"style":2089},[2302],{"type":999,"value":2113},{"type":993,"tag":1235,"props":2304,"children":2305},{"style":1332},[2306],{"type":999,"value":2307},"\"Message length: ",{"type":993,"tag":1235,"props":2309,"children":2310},{"style":1246},[2311],{"type":999,"value":2312},"{len",{"type":993,"tag":1235,"props":2314,"children":2315},{"style":2057},[2316],{"type":999,"value":2317},"(message)",{"type":993,"tag":1235,"props":2319,"children":2320},{"style":1246},[2321],{"type":999,"value":2133},{"type":993,"tag":1235,"props":2323,"children":2324},{"style":1332},[2325],{"type":999,"value":2326}," characters\"",{"type":993,"tag":1235,"props":2328,"children":2329},{"style":2057},[2330],{"type":999,"value":2070},{"type":993,"tag":1235,"props":2332,"children":2333},{"class":1237,"line":155},[2334],{"type":993,"tag":1235,"props":2335,"children":2336},{"emptyLinePlaceholder":13},[2337],{"type":999,"value":2078},{"type":993,"tag":1235,"props":2339,"children":2340},{"class":1237,"line":164},[2341,2345,2349,2354],{"type":993,"tag":1235,"props":2342,"children":2343},{"style":1246},[2344],{"type":999,"value":2054},{"type":993,"tag":1235,"props":2346,"children":2347},{"style":2057},[2348],{"type":999,"value":2060},{"type":993,"tag":1235,"props":2350,"children":2351},{"style":1332},[2352],{"type":999,"value":2353},"\"Setup complete! 🐍\"",{"type":993,"tag":1235,"props":2355,"children":2356},{"style":2057},[2357],{"type":999,"value":2070},{"type":993,"tag":1013,"props":2359,"children":2361},{"id":2360},"️-running-python-programs",[2362],{"type":999,"value":2363},"▶️ Running Python Programs",{"type":993,"tag":1002,"props":2365,"children":2366},{},[2367],{"type":999,"value":2368},"There are several ways to run your Python code:",{"type":993,"tag":1115,"props":2370,"children":2372},{"id":2371},"method-1-command-line",[2373],{"type":999,"value":2374},"Method 1: Command Line",{"type":993,"tag":1002,"props":2376,"children":2377},{},[2378],{"type":999,"value":2379},"Navigate to your project folder and run:",{"type":993,"tag":1220,"props":2381,"children":2382},{":playground":1222},[2383],{"type":993,"tag":1225,"props":2384,"children":2386},{"className":1227,"code":2385,"language":1229,"meta":8,"style":8},"# Windows\npython hello.py\n\n# macOS/Linux  \npython3 hello.py\n",[2387],{"type":993,"tag":1047,"props":2388,"children":2389},{"__ignoreMap":8},[2390,2398,2410,2417,2425],{"type":993,"tag":1235,"props":2391,"children":2392},{"class":1237,"line":12},[2393],{"type":993,"tag":1235,"props":2394,"children":2395},{"style":1723},[2396],{"type":999,"value":2397},"# Windows\n",{"type":993,"tag":1235,"props":2399,"children":2400},{"class":1237,"line":27},[2401,2405],{"type":993,"tag":1235,"props":2402,"children":2403},{"style":1241},[2404],{"type":999,"value":6},{"type":993,"tag":1235,"props":2406,"children":2407},{"style":1332},[2408],{"type":999,"value":2409}," hello.py\n",{"type":993,"tag":1235,"props":2411,"children":2412},{"class":1237,"line":36},[2413],{"type":993,"tag":1235,"props":2414,"children":2415},{"emptyLinePlaceholder":13},[2416],{"type":999,"value":2078},{"type":993,"tag":1235,"props":2418,"children":2419},{"class":1237,"line":45},[2420],{"type":993,"tag":1235,"props":2421,"children":2422},{"style":1723},[2423],{"type":999,"value":2424},"# macOS/Linux  \n",{"type":993,"tag":1235,"props":2426,"children":2427},{"class":1237,"line":54},[2428,2432],{"type":993,"tag":1235,"props":2429,"children":2430},{"style":1241},[2431],{"type":999,"value":1360},{"type":993,"tag":1235,"props":2433,"children":2434},{"style":1332},[2435],{"type":999,"value":2409},{"type":993,"tag":1115,"props":2437,"children":2439},{"id":2438},"method-2-vs-code",[2440],{"type":999,"value":2441},"Method 2: VS Code",{"type":993,"tag":1122,"props":2443,"children":2444},{},[2445,2457,2462],{"type":993,"tag":1035,"props":2446,"children":2447},{},[2448,2450,2455],{"type":999,"value":2449},"Open your ",{"type":993,"tag":1047,"props":2451,"children":2453},{"className":2452},[],[2454],{"type":999,"value":2025},{"type":999,"value":2456}," file in VS Code",{"type":993,"tag":1035,"props":2458,"children":2459},{},[2460],{"type":999,"value":2461},"Click the ▶️ play button",{"type":993,"tag":1035,"props":2463,"children":2464},{},[2465],{"type":999,"value":2466},"Or press F5",{"type":993,"tag":1115,"props":2468,"children":2470},{"id":2469},"method-3-idle",[2471],{"type":999,"value":2472},"Method 3: IDLE",{"type":993,"tag":1122,"props":2474,"children":2475},{},[2476,2481,2493],{"type":993,"tag":1035,"props":2477,"children":2478},{},[2479],{"type":999,"value":2480},"Open IDLE (comes with Python)",{"type":993,"tag":1035,"props":2482,"children":2483},{},[2484,2486,2491],{"type":999,"value":2485},"File → Open your ",{"type":993,"tag":1047,"props":2487,"children":2489},{"className":2488},[],[2490],{"type":999,"value":2025},{"type":999,"value":2492}," file",{"type":993,"tag":1035,"props":2494,"children":2495},{},[2496],{"type":999,"value":2497},"Run → Run Module (or F5)",{"type":993,"tag":1115,"props":2499,"children":2501},{"id":2500},"method-4-interactive-shell-repl",[2502],{"type":999,"value":2503},"Method 4: Interactive Shell (REPL)",{"type":993,"tag":1002,"props":2505,"children":2506},{},[2507,2509,2514,2515,2520],{"type":999,"value":2508},"Type ",{"type":993,"tag":1047,"props":2510,"children":2512},{"className":2511},[],[2513],{"type":999,"value":6},{"type":999,"value":1084},{"type":993,"tag":1047,"props":2516,"children":2518},{"className":2517},[],[2519],{"type":999,"value":1360},{"type":999,"value":2521}," to start Python interactively:",{"type":993,"tag":1220,"props":2523,"children":2524},{":playground":1222},[2525],{"type":993,"tag":1225,"props":2526,"children":2528},{"className":2033,"code":2527,"language":6,"meta":8,"style":8},">>> print(\"Hello World!\")\nHello World!\n>>> 2 + 2\n4\n>>> exit()\n",[2529],{"type":993,"tag":1047,"props":2530,"children":2531},{"__ignoreMap":8},[2532,2558,2566,2587,2595],{"type":993,"tag":1235,"props":2533,"children":2534},{"class":1237,"line":12},[2535,2540,2545,2549,2554],{"type":993,"tag":1235,"props":2536,"children":2537},{"style":2089},[2538],{"type":999,"value":2539},">>>",{"type":993,"tag":1235,"props":2541,"children":2542},{"style":1246},[2543],{"type":999,"value":2544}," print",{"type":993,"tag":1235,"props":2546,"children":2547},{"style":2057},[2548],{"type":999,"value":2060},{"type":993,"tag":1235,"props":2550,"children":2551},{"style":1332},[2552],{"type":999,"value":2553},"\"Hello World!\"",{"type":993,"tag":1235,"props":2555,"children":2556},{"style":2057},[2557],{"type":999,"value":2070},{"type":993,"tag":1235,"props":2559,"children":2560},{"class":1237,"line":27},[2561],{"type":993,"tag":1235,"props":2562,"children":2563},{"style":2057},[2564],{"type":999,"value":2565},"Hello World!\n",{"type":993,"tag":1235,"props":2567,"children":2568},{"class":1237,"line":36},[2569,2573,2578,2583],{"type":993,"tag":1235,"props":2570,"children":2571},{"style":2089},[2572],{"type":999,"value":2539},{"type":993,"tag":1235,"props":2574,"children":2575},{"style":1246},[2576],{"type":999,"value":2577}," 2",{"type":993,"tag":1235,"props":2579,"children":2580},{"style":2089},[2581],{"type":999,"value":2582}," +",{"type":993,"tag":1235,"props":2584,"children":2585},{"style":1246},[2586],{"type":999,"value":2201},{"type":993,"tag":1235,"props":2588,"children":2589},{"class":1237,"line":45},[2590],{"type":993,"tag":1235,"props":2591,"children":2592},{"style":1246},[2593],{"type":999,"value":2594},"4\n",{"type":993,"tag":1235,"props":2596,"children":2597},{"class":1237,"line":54},[2598,2602,2607],{"type":993,"tag":1235,"props":2599,"children":2600},{"style":2089},[2601],{"type":999,"value":2539},{"type":993,"tag":1235,"props":2603,"children":2604},{"style":1246},[2605],{"type":999,"value":2606}," exit",{"type":993,"tag":1235,"props":2608,"children":2609},{"style":2057},[2610],{"type":999,"value":2611},"()\n",{"type":993,"tag":1013,"props":2613,"children":2615},{"id":2614},"common-setup-problems-solutions",[2616],{"type":999,"value":2617},"Common Setup Problems & Solutions",{"type":993,"tag":2619,"props":2620,"children":2622},"h4",{"id":2621},"problem-python-is-not-recognized-windows",[2623],{"type":999,"value":2624},"Problem: \"Python is not recognized\" (Windows)",{"type":993,"tag":1002,"props":2626,"children":2627},{},[2628,2633,2635],{"type":993,"tag":1039,"props":2629,"children":2630},{},[2631],{"type":999,"value":2632},"Solution",{"type":999,"value":2634},": Reinstall Python and ",{"type":993,"tag":1039,"props":2636,"children":2637},{},[2638],{"type":999,"value":2639},"check \"Add Python to PATH\"",{"type":993,"tag":2619,"props":2641,"children":2643},{"id":2642},"problem-permission-errors-during-installation",[2644],{"type":999,"value":2645},"Problem: Permission errors during installation",{"type":993,"tag":1002,"props":2647,"children":2648},{},[2649,2653,2655,2660],{"type":993,"tag":1039,"props":2650,"children":2651},{},[2652],{"type":999,"value":2632},{"type":999,"value":2654},": Run installer as Administrator (Windows) or use ",{"type":993,"tag":1047,"props":2656,"children":2658},{"className":2657},[],[2659],{"type":999,"value":1515},{"type":999,"value":2661}," (Linux/macOS)",{"type":993,"tag":2619,"props":2663,"children":2665},{"id":2664},"problem-multiple-python-versions-confusion",[2666],{"type":999,"value":2667},"Problem: Multiple Python versions confusion",{"type":993,"tag":1002,"props":2669,"children":2670},{},[2671,2675,2677,2682,2684,2689],{"type":993,"tag":1039,"props":2672,"children":2673},{},[2674],{"type":999,"value":2632},{"type":999,"value":2676},": Always use ",{"type":993,"tag":1047,"props":2678,"children":2680},{"className":2679},[],[2681],{"type":999,"value":1360},{"type":999,"value":2683}," and ",{"type":993,"tag":1047,"props":2685,"children":2687},{"className":2686},[],[2688],{"type":999,"value":1379},{"type":999,"value":2690}," on macOS/Linux",{"type":993,"tag":2619,"props":2692,"children":2694},{"id":2693},"problem-pip-not-working",[2695],{"type":999,"value":2696},"Problem: pip not working",{"type":993,"tag":1002,"props":2698,"children":2699},{},[2700,2704,2706,2712,2714],{"type":993,"tag":1039,"props":2701,"children":2702},{},[2703],{"type":999,"value":2632},{"type":999,"value":2705},": Try ",{"type":993,"tag":1047,"props":2707,"children":2709},{"className":2708},[],[2710],{"type":999,"value":2711},"python -m pip",{"type":999,"value":2713}," instead of just ",{"type":993,"tag":1047,"props":2715,"children":2717},{"className":2716},[],[2718],{"type":999,"value":1257},{"type":993,"tag":1013,"props":2720,"children":2722},{"id":2721},"what-youve-accomplished",[2723],{"type":999,"value":2724},"✅ What You've Accomplished",{"type":993,"tag":1002,"props":2726,"children":2727},{},[2728],{"type":999,"value":2729},"Congratulations! You now have:",{"type":993,"tag":1031,"props":2731,"children":2732},{},[2733,2738,2743,2748,2753],{"type":993,"tag":1035,"props":2734,"children":2735},{},[2736],{"type":999,"value":2737},"Python 3 installed and working",{"type":993,"tag":1035,"props":2739,"children":2740},{},[2741],{"type":999,"value":2742},"pip package installer ready",{"type":993,"tag":1035,"props":2744,"children":2745},{},[2746],{"type":999,"value":2747},"A code editor set up",{"type":993,"tag":1035,"props":2749,"children":2750},{},[2751],{"type":999,"value":2752},"Your first Python project folder",{"type":993,"tag":1035,"props":2754,"children":2755},{},[2756],{"type":999,"value":2757},"Knowledge of how to run Python programs",{"type":993,"tag":1002,"props":2759,"children":2760},{},[2761],{"type":999,"value":2762},"You're ready to start programming!",{"type":993,"tag":2764,"props":2765,"children":2767},"content-exercise",{":widget-view":2766,"category":6,"id":35},"true",[],{"type":993,"tag":1013,"props":2769,"children":2771},{"id":2770},"test-your-knowledge",[2772],{"type":999,"value":2773},"Test Your Knowledge",{"type":993,"tag":1002,"props":2775,"children":2776},{},[2777],{"type":999,"value":2778},"Test your understanding of Python setup:",{"type":993,"tag":2780,"props":2781,"children":2785},"redirect-button",{"icon":2782,"label":2783,"url":2784},"pi pi-send","Take Quiz","/tutorial-quiz/python/setup-python",[],{"type":993,"tag":1013,"props":2787,"children":2789},{"id":2788},"whats-next",[2790],{"type":999,"value":2791},"What's Next?",{"type":993,"tag":1002,"props":2793,"children":2794},{},[2795],{"type":999,"value":2796},"Perfect! Python is installed and you're ready to code. Next, let's write your first real Python program and learn the basics of Python programming.",{"type":993,"tag":1002,"props":2798,"children":2799},{},[2800,2805,2806],{"type":993,"tag":1039,"props":2801,"children":2802},{},[2803],{"type":999,"value":2804},"Continue to",{"type":999,"value":1045},{"type":993,"tag":1131,"props":2807,"children":2808},{"href":41},[2809],{"type":999,"value":42},{"type":993,"tag":1002,"props":2811,"children":2812},{},[2813],{"type":999,"value":2814},"Ready to start coding? Let's go! 🚀",{"type":993,"tag":2816,"props":2817,"children":2818},"style",{},[2819],{"type":999,"value":2820},"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":2822},[2823,2824,2829,2835,2841,2844,2848,2852,2858,2864,2865,2866],{"id":1015,"depth":27,"text":1018},{"id":1110,"depth":27,"text":1113,"children":2825},[2826,2827,2828],{"id":1117,"depth":36,"text":1120},{"id":1151,"depth":36,"text":1154},{"id":1210,"depth":36,"text":1213},{"id":1269,"depth":27,"text":1272,"children":2830},[2831,2832,2833,2834],{"id":1275,"depth":36,"text":1278},{"id":1303,"depth":36,"text":1306},{"id":1343,"depth":36,"text":1346},{"id":1440,"depth":36,"text":1443},{"id":1483,"depth":27,"text":1486,"children":2836},[2837,2838,2839,2840],{"id":1494,"depth":36,"text":1497},{"id":1553,"depth":36,"text":1556},{"id":1593,"depth":36,"text":1596},{"id":1633,"depth":36,"text":1443},{"id":1669,"depth":27,"text":1672,"children":2842},[2843],{"id":1691,"depth":36,"text":1694},{"id":1810,"depth":27,"text":1813,"children":2845},[2846,2847],{"id":1821,"depth":36,"text":1824},{"id":1874,"depth":36,"text":1877},{"id":1930,"depth":27,"text":1933,"children":2849},[2850,2851],{"id":1941,"depth":36,"text":1944},{"id":1996,"depth":36,"text":1999},{"id":2360,"depth":27,"text":2363,"children":2853},[2854,2855,2856,2857],{"id":2371,"depth":36,"text":2374},{"id":2438,"depth":36,"text":2441},{"id":2469,"depth":36,"text":2472},{"id":2500,"depth":36,"text":2503},{"id":2614,"depth":27,"text":2617,"children":2859},[2860,2861,2862,2863],{"id":2621,"depth":45,"text":2624},{"id":2642,"depth":45,"text":2645},{"id":2664,"depth":45,"text":2667},{"id":2693,"depth":45,"text":2696},{"id":2721,"depth":27,"text":2724},{"id":2770,"depth":27,"text":2773},{"id":2788,"depth":27,"text":2791},1782373736235]