Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
8 views71 pages

Proj

The document discusses the basics of the OS module in Python, emphasizing the importance of understanding fundamental concepts such as file descriptors, modes, and parameters. It aims to provide a comprehensive and simplified explanation for beginners, making it easier to grasp the functionality of the OS module. Additionally, it highlights the significance of familiarizing oneself with the terminology used in Python documentation to avoid confusion.

Uploaded by

duncanotundo349
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views71 pages

Proj

The document discusses the basics of the OS module in Python, emphasizing the importance of understanding fundamental concepts such as file descriptors, modes, and parameters. It aims to provide a comprehensive and simplified explanation for beginners, making it easier to grasp the functionality of the OS module. Additionally, it highlights the significance of familiarizing oneself with the terminology used in Python documentation to avoid confusion.

Uploaded by

duncanotundo349
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 71

["", "Skip", "to"]

["Skip", "to", "content"]


["to", "content", "You"]
["content", "You", "said:"]
["You", "said:", "There"]
["said:", "There", "are"]
["There", "are", "some"]
["are", "some", "basics"]
["some", "basics", "u"]
["basics", "u", "need"]
["u", "need", "to"]
["need", "to", "know"]
["to", "know", "when"]
["know", "when", "learn"]
["when", "learn", "os"]
["learn", "os", "module"]
["os", "module", "in"]
["module", "in", "python,not"]
["in", "python,not", "necessarily"]
["python,not", "necessarily", "that"]
["necessarily", "that", "functions"]
["that", "functions", "bt"]
["functions", "bt", "the"]
["bt", "the", "basics"]
["the", "basics", "like"]
["basics", "like", "file"]
["like", "file", "descriptors,"]
["file", "descriptors,", "modes,some"]
["descriptors,", "modes,some", "parameters,unix,..i"]
["modes,some", "parameters,unix,..i", "want"]
["parameters,unix,..i", "want", "u"]
["want", "u", "to"]
["u", "to", "break"]
["to", "break", "down"]
["break", "down", "to"]
["down", "to", "baby"]
["to", "baby", "explanation"]
["baby", "explanation", "comprehensively,because"]
["explanation", "comprehensively,because", "when"]
["comprehensively,because", "when", "i"]
["when", "i", "use"]
["i", "use", "the"]
["use", "the", "original"]
["the", "original", "python"]
["original", "python", "documentation"]
["python", "documentation", "i"]
["documentation", "i", "dony"]
["i", "dony", "easily"]
["dony", "easily", "understand"]
["easily", "understand", "because"]
["understand", "because", "of"]
["because", "of", "those"]
["of", "those", "words..such"]
["those", "words..such", "as"]
["words..such", "as", "bytearrets..i"]
["as", "bytearrets..i", "dont"]
["bytearrets..i", "dont", "know"]
["dont", "know", "ChatGPT"]
["know", "ChatGPT", "said:"]
["ChatGPT", "said:", "You're"]
["said:", "You're", "100%"]
["You're", "100%", "right"]
["100%", "right", "\u2014"]
["right", "\u2014", "before"]
["\u2014", "before", "diving"]
["before", "diving", "into"]
["diving", "into", "the"]
["into", "the", "os"]
["the", "os", "module,"]
["os", "module,", "it's"]
["module,", "it's", "super"]
["it's", "super", "important"]
["super", "important", "to"]
["important", "to", "understand"]
["to", "understand", "the"]
["understand", "the", "basic"]
["the", "basic", "concepts"]
["basic", "concepts", "it"]
["concepts", "it", "depends"]
["it", "depends", "on."]
["depends", "on.", "Many"]
["on.", "Many", "words"]
["Many", "words", "in"]
["words", "in", "the"]
["in", "the", "Python"]
["the", "Python", "documentation"]
["Python", "documentation", "can"]
["documentation", "can", "be"]
["can", "be", "confusing"]
["be", "confusing", "if"]
["confusing", "if", "you're"]
["if", "you're", "not"]
["you're", "not", "already"]
["not", "already", "familiar"]
["already", "familiar", "with"]
["familiar", "with", "them,"]
["with", "them,", "like:"]
["them,", "like:", "file"]
["like:", "file", "descriptors"]
["file", "descriptors", "modes"]
["descriptors", "modes", "bytes"]
["modes", "bytes", "or"]
["bytes", "or", "bytearrays"]
["or", "bytearrays", "Unix"]
["bytearrays", "Unix", "vs"]
["Unix", "vs", "Windows"]
["vs", "Windows", "paths"]
["Windows", "paths", "permissions"]
["paths", "permissions", "buffering"]
["permissions", "buffering", "Let\u2019s"]
["buffering", "Let\u2019s", "break"]
["Let\u2019s", "break", "all"]
["break", "all", "of"]
["all", "of", "these"]
["of", "these", "down"]
["these", "down", "one"]
["down", "one", "by"]
["one", "by", "one,"]
["by", "one,", "like"]
["one,", "like", "teaching"]
["like", "teaching", "someone"]
["teaching", "someone", "who"]
["someone", "who", "is"]
["who", "is", "new"]
["is", "new", "to"]
["new", "to", "programming."]
["to", "programming.", "I\u2019ll"]
["programming.", "I\u2019ll", "make"]
["I\u2019ll", "make", "sure"]
["make", "sure", "it\u2019s"]
["sure", "it\u2019s", "super"]
["it\u2019s", "super", "simple"]
["super", "simple", "with"]
["simple", "with", "examples."]
["with", "examples.", "\ud83c\udf1f"]
["examples.", "\ud83c\udf1f", "OS"]
["\ud83c\udf1f", "OS", "Module"]
["OS", "Module", "Prerequisites"]
["Module", "Prerequisites", "\u2013"]
["Prerequisites", "\u2013", "Baby-Level"]
["\u2013", "Baby-Level", "Explanations"]
["Baby-Level", "Explanations", "\u2713"]
["Explanations", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "the"]
["Is", "the", "os"]
["the", "os", "Module?"]
["os", "Module?", "\u2022"]
["Module?", "\u2022", "The"]
["\u2022", "The", "os"]
["The", "os", "module"]
["os", "module", "gives"]
["module", "gives", "Python"]
["gives", "Python", "the"]
["Python", "the", "power"]
["the", "power", "to"]
["power", "to", "interact"]
["to", "interact", "with"]
["interact", "with", "your"]
["with", "your", "computer's"]
["your", "computer's", "operating"]
["computer's", "operating", "system"]
["operating", "system", "This"]
["system", "This", "means"]
["This", "means", "Python"]
["means", "Python", "can"]
["Python", "can", "create"]
["can", "create", "files,"]
["create", "files,", "delete"]
["files,", "delete", "files,"]
["delete", "files,", "rename"]
["files,", "rename", "folders,"]
["rename", "folders,", "read"]
["folders,", "read", "environment"]
["read", "environment", "variables,"]
["environment", "variables,", "and"]
["variables,", "and", "even"]
["and", "even", "run"]
["even", "run", "other"]
["run", "other", "programs"]
["other", "programs", "\u2014"]
["programs", "\u2014", "just"]
["\u2014", "just", "like"]
["just", "like", "a"]
["like", "a", "human"]
["a", "human", "using"]
["human", "using", "the"]
["using", "the", "computer"]
["the", "computer", "manually."]
["computer", "manually.", "\u2713"]
["manually.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "an"]
["Is", "an", "Operating"]
["an", "Operating", "System?"]
["Operating", "System?", "\u2022"]
["System?", "\u2022", "An"]
["\u2022", "An", "operating"]
["An", "operating", "system"]
["operating", "system", "(OS)"]
["system", "(OS)", "is"]
["(OS)", "is", "the"]
["is", "the", "software"]
["the", "software", "that"]
["software", "that", "controls"]
["that", "controls", "your"]
["controls", "your", "whole"]
["your", "whole", "computer"]
["whole", "computer", "Examples"]
["computer", "Examples", "are:"]
["Examples", "are:", "Windows,"]
["are:", "Windows,", "Linux,"]
["Windows,", "Linux,", "macOS,"]
["Linux,", "macOS,", "Android."]
["macOS,", "Android.", "The"]
["Android.", "The", "os"]
["The", "os", "module"]
["os", "module", "lets"]
["module", "lets", "Python"]
["lets", "Python", "communicate"]
["Python", "communicate", "with"]
["communicate", "with", "these"]
["with", "these", "systems."]
["these", "systems.", "\u2713"]
["systems.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "File"]
["a", "File", "Descriptor?"]
["File", "Descriptor?", "\u2022"]
["Descriptor?", "\u2022", "A"]
["\u2022", "A", "file"]
["A", "file", "descriptor"]
["file", "descriptor", "is"]
["descriptor", "is", "just"]
["is", "just", "a"]
["just", "a", "number"]
["a", "number", "that"]
["number", "that", "the"]
["that", "the", "operating"]
["the", "operating", "system"]
["operating", "system", "uses"]
["system", "uses", "to"]
["uses", "to", "represent"]
["to", "represent", "an"]
["represent", "an", "open"]
["an", "open", "file"]
["open", "file", "Think"]
["file", "Think", "of"]
["Think", "of", "it"]
["of", "it", "like"]
["it", "like", "this:"]
["like", "this:", "If"]
["this:", "If", "you"]
["If", "you", "open"]
["you", "open", "a"]
["open", "a", "file,"]
["a", "file,", "the"]
["file,", "the", "OS"]
["the", "OS", "gives"]
["OS", "gives", "it"]
["gives", "it", "a"]
["it", "a", "number"]
["a", "number", "(like"]
["number", "(like", "3)"]
["(like", "3)", "That"]
["3)", "That", "number"]
["That", "number", "is"]
["number", "is", "used"]
["is", "used", "behind"]
["used", "behind", "the"]
["behind", "the", "scenes"]
["the", "scenes", "to"]
["scenes", "to", "read,"]
["to", "read,", "write,"]
["read,", "write,", "or"]
["write,", "or", "close"]
["or", "close", "the"]
["close", "the", "file"]
["the", "file", "Code"]
["file", "Code", "import"]
["Code", "import", "os"]
["import", "os", "fd"]
["os", "fd", "="]
["fd", "=", "os.open(\"example.txt\","]
["=", "os.open(\"example.txt\",", "os.O_CREAT"]
["os.open(\"example.txt\",", "os.O_CREAT", "|"]
["os.O_CREAT", "|", "os.O_WRONLY)"]
["|", "os.O_WRONLY)", "print(fd)"]
["os.O_WRONLY)", "print(fd)", "#"]
["print(fd)", "#", "Might"]
["#", "Might", "print"]
["Might", "print", "3"]
["print", "3", "or"]
["3", "or", "4"]
["or", "4", "\u2013"]
["4", "\u2013", "this"]
["\u2013", "this", "is"]
["this", "is", "the"]
["is", "the", "file"]
["the", "file", "descriptor"]
["file", "descriptor", "number"]
["descriptor", "number", "os.close(fd)"]
["number", "os.close(fd)", "\u2022"]
["os.close(fd)", "\u2022", "os.O_CREAT:"]
["\u2022", "os.O_CREAT:", "Create"]
["os.O_CREAT:", "Create", "the"]
["Create", "the", "file"]
["the", "file", "if"]
["file", "if", "it"]
["if", "it", "doesn\u2019t"]
["it", "doesn\u2019t", "exist"]
["doesn\u2019t", "exist", "\u2022"]
["exist", "\u2022", "os.O_WRONLY:"]
["\u2022", "os.O_WRONLY:", "Open"]
["os.O_WRONLY:", "Open", "the"]
["Open", "the", "file"]
["the", "file", "only"]
["file", "only", "for"]
["only", "for", "writing"]
["for", "writing", "\u2022"]
["writing", "\u2022", "os.close(fd):"]
["\u2022", "os.close(fd):", "Closes"]
["os.close(fd):", "Closes", "the"]
["Closes", "the", "file"]
["the", "file", "using"]
["file", "using", "the"]
["using", "the", "file"]
["the", "file", "descriptor"]
["file", "descriptor", "\u2713"]
["descriptor", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "File"]
["Are", "File", "Modes?"]
["File", "Modes?", "\u2022"]
["Modes?", "\u2022", "File"]
["\u2022", "File", "modes"]
["File", "modes", "tell"]
["modes", "tell", "the"]
["tell", "the", "OS"]
["the", "OS", "how"]
["OS", "how", "you"]
["how", "you", "want"]
["you", "want", "to"]
["want", "to", "use"]
["to", "use", "a"]
["use", "a", "file:"]
["a", "file:", "to"]
["file:", "to", "read"]
["to", "read", "it,"]
["read", "it,", "write"]
["it,", "write", "it,"]
["write", "it,", "or"]
["it,", "or", "both"]
["or", "both", "Here"]
["both", "Here", "are"]
["Here", "are", "the"]
["are", "the", "most"]
["the", "most", "common"]
["most", "common", "modes:"]
["common", "modes:", "Mode"]
["modes:", "Mode", "Meaning"]
["Mode", "Meaning", "'r'"]
["Meaning", "'r'", "Read-only"]
["'r'", "Read-only", "(file"]
["Read-only", "(file", "must"]
["(file", "must", "exist)"]
["must", "exist)", "'w'"]
["exist)", "'w'", "Write"]
["'w'", "Write", "(creates"]
["Write", "(creates", "a"]
["(creates", "a", "new"]
["a", "new", "file"]
["new", "file", "or"]
["file", "or", "empties"]
["or", "empties", "existing"]
["empties", "existing", "file)"]
["existing", "file)", "'a'"]
["file)", "'a'", "Append"]
["'a'", "Append", "(adds"]
["Append", "(adds", "to"]
["(adds", "to", "end"]
["to", "end", "of"]
["end", "of", "file)"]
["of", "file)", "'rb'"]
["file)", "'rb'", "Read"]
["'rb'", "Read", "bytes"]
["Read", "bytes", "(used"]
["bytes", "(used", "for"]
["(used", "for", "images/videos)"]
["for", "images/videos)", "'wb'"]
["images/videos)", "'wb'", "Write"]
["'wb'", "Write", "bytes"]
["Write", "bytes", "Example:"]
["bytes", "Example:", "file"]
["Example:", "file", "="]
["file", "=", "open(\"example.txt\","]
["=", "open(\"example.txt\",", "\"w\")"]
["open(\"example.txt\",", "\"w\")", "#"]
["\"w\")", "#", "'w'"]
["#", "'w'", "="]
["'w'", "=", "write"]
["=", "write", "mode"]
["write", "mode", "file.write(\"Hello!\")"]
["mode", "file.write(\"Hello!\")", "file.close()"]
["file.write(\"Hello!\")", "file.close()", "\u2713"]
["file.close()", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Bytes"]
["Are", "Bytes", "and"]
["Bytes", "and", "Bytearrays?"]
["and", "Bytearrays?", "\u2022"]
["Bytearrays?", "\u2022", "A"]
["\u2022", "A", "byte"]
["A", "byte", "is"]
["byte", "is", "a"]
["is", "a", "very"]
["a", "very", "small"]
["very", "small", "piece"]
["small", "piece", "of"]
["piece", "of", "data"]
["of", "data", "\u2014"]
["data", "\u2014", "it's"]
["\u2014", "it's", "like"]
["it's", "like", "a"]
["like", "a", "number"]
["a", "number", "between"]
["number", "between", "0"]
["between", "0", "and"]
["0", "and", "255"]
["and", "255", "Files"]
["255", "Files", "(like"]
["Files", "(like", "images,"]
["(like", "images,", "music,"]
["images,", "music,", "PDFs)"]
["music,", "PDFs)", "are"]
["PDFs)", "are", "stored"]
["are", "stored", "in"]
["stored", "in", "bytes"]
["in", "bytes", "Python"]
["bytes", "Python", "strings"]
["Python", "strings", "(text)"]
["strings", "(text)", "can"]
["(text)", "can", "be"]
["can", "be", "turned"]
["be", "turned", "into"]
["turned", "into", "bytes"]
["into", "bytes", "for"]
["bytes", "for", "saving"]
["for", "saving", "into"]
["saving", "into", "files"]
["into", "files", "#"]
["files", "#", "Convert"]
["#", "Convert", "a"]
["Convert", "a", "string"]
["a", "string", "to"]
["string", "to", "bytes"]
["to", "bytes", "text"]
["bytes", "text", "="]
["text", "=", "\"Hello\""]
["=", "\"Hello\"", "bytes_version"]
["\"Hello\"", "bytes_version", "="]
["bytes_version", "=", "text.encode()"]
["=", "text.encode()", "#"]
["text.encode()", "#", "turns"]
["#", "turns", "it"]
["turns", "it", "into"]
["it", "into", "b'Hello'"]
["into", "b'Hello'", "print(bytes_version)"]
["b'Hello'", "print(bytes_version)", "\u2022"]
["print(bytes_version)", "\u2022", "b'Hello'"]
["\u2022", "b'Hello'", "means"]
["b'Hello'", "means", "it's"]
["means", "it's", "in"]
["it's", "in", "bytes"]
["in", "bytes", "format,"]
["bytes", "format,", "not"]
["format,", "not", "regular"]
["not", "regular", "text"]
["regular", "text", "\u2022"]
["text", "\u2022", "bytearray"]
["\u2022", "bytearray", "is"]
["bytearray", "is", "a"]
["is", "a", "special"]
["a", "special", "type"]
["special", "type", "of"]
["type", "of", "variable"]
["of", "variable", "that"]
["variable", "that", "holds"]
["that", "holds", "many"]
["holds", "many", "bytes"]
["many", "bytes", "and"]
["bytes", "and", "can"]
["and", "can", "be"]
["can", "be", "changed"]
["be", "changed", "ba"]
["changed", "ba", "="]
["ba", "=", "bytearray(b\"Hi\")"]
["=", "bytearray(b\"Hi\")", "ba[0]"]
["bytearray(b\"Hi\")", "ba[0]", "="]
["ba[0]", "=", "72"]
["=", "72", "#"]
["72", "#", "Change"]
["#", "Change", "first"]
["Change", "first", "letter"]
["first", "letter", "to"]
["letter", "to", "'H'"]
["to", "'H'", "print(ba)"]
["'H'", "print(ba)", "#"]
["print(ba)", "#", "bytearray(b'Hi')"]
["#", "bytearray(b'Hi')", "\u2713"]
["bytearray(b'Hi')", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "Unix?"]
["Is", "Unix?", "Why"]
["Unix?", "Why", "Does"]
["Why", "Does", "It"]
["Does", "It", "Matter?"]
["It", "Matter?", "\u2022"]
["Matter?", "\u2022", "Unix"]
["\u2022", "Unix", "is"]
["Unix", "is", "an"]
["is", "an", "older"]
["an", "older", "operating"]
["older", "operating", "system."]
["operating", "system.", "Modern"]
["system.", "Modern", "systems"]
["Modern", "systems", "like"]
["systems", "like", "Linux"]
["like", "Linux", "and"]
["Linux", "and", "macOS"]
["and", "macOS", "are"]
["macOS", "are", "based"]
["are", "based", "on"]
["based", "on", "it"]
["on", "it", "Python"]
["it", "Python", "was"]
["Python", "was", "first"]
["was", "first", "made"]
["first", "made", "for"]
["made", "for", "Unix-style"]
["for", "Unix-style", "systems"]
["Unix-style", "systems", "So"]
["systems", "So", "some"]
["So", "some", "os"]
["some", "os", "functions"]
["os", "functions", "work"]
["functions", "work", "slightly"]
["work", "slightly", "differently"]
["slightly", "differently", "on"]
["differently", "on", "Windows"]
["on", "Windows", "vs"]
["Windows", "vs", "Linux/macOS"]
["vs", "Linux/macOS", "For"]
["Linux/macOS", "For", "example:"]
["For", "example:", "import"]
["example:", "import", "os"]
["import", "os", "if"]
["os", "if", "os.name"]
["if", "os.name", "=="]
["os.name", "==", "\"posix\":"]
["==", "\"posix\":", "print(\"Unix/Linux/macOS"]
["\"posix\":", "print(\"Unix/Linux/macOS", "system\")"]
["print(\"Unix/Linux/macOS", "system\")", "elif"]
["system\")", "elif", "os.name"]
["elif", "os.name", "=="]
["os.name", "==", "\"nt\":"]
["==", "\"nt\":", "print(\"Windows"]
["\"nt\":", "print(\"Windows", "system\")"]
["print(\"Windows", "system\")", "\u2713"]
["system\")", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Paths?"]
["Are", "Paths?", "\u2022"]
["Paths?", "\u2022", "A"]
["\u2022", "A", "path"]
["A", "path", "is"]
["path", "is", "just"]
["is", "just", "the"]
["just", "the", "location"]
["the", "location", "of"]
["location", "of", "a"]
["of", "a", "file"]
["a", "file", "or"]
["file", "or", "folder"]
["or", "folder", "in"]
["folder", "in", "your"]
["in", "your", "computer"]
["your", "computer", "There"]
["computer", "There", "are"]
["There", "are", "2"]
["are", "2", "main"]
["2", "main", "types:"]
["main", "types:", "Absolute"]
["types:", "Absolute", "path"]
["Absolute", "path", "="]
["path", "=", "full"]
["=", "full", "address"]
["full", "address", "from"]
["address", "from", "the"]
["from", "the", "root"]
["the", "root", "Example:"]
["root", "Example:", "/home/user/file.txt"]
["Example:", "/home/user/file.txt", "(Linux/mac)"]
["/home/user/file.txt", "(Linux/mac)", "or"]
["(Linux/mac)", "or", "C:\\Users\\Me\\file.txt"]
["or", "C:\\Users\\Me\\file.txt", "(Windows)"]
["C:\\Users\\Me\\file.txt", "(Windows)", "Relative"]
["(Windows)", "Relative", "path"]
["Relative", "path", "="]
["path", "=", "from"]
["=", "from", "where"]
["from", "where", "your"]
["where", "your", "Python"]
["your", "Python", "file"]
["Python", "file", "is"]
["file", "is", "running"]
["is", "running", "Example:"]
["running", "Example:", "../file.txt"]
["Example:", "../file.txt", "means"]
["../file.txt", "means", "go"]
["means", "go", "one"]
["go", "one", "folder"]
["one", "folder", "up"]
["folder", "up", "\u2713"]
["up", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Permissions?"]
["Are", "Permissions?", "\u2022"]
["Permissions?", "\u2022", "Permissions"]
["\u2022", "Permissions", "control"]
["Permissions", "control", "who"]
["control", "who", "can"]
["who", "can", "read,"]
["can", "read,", "write,"]
["read,", "write,", "or"]
["write,", "or", "run"]
["or", "run", "a"]
["run", "a", "file"]
["a", "file", "In"]
["file", "In", "Unix/Linux:"]
["In", "Unix/Linux:", "Permission"]
["Unix/Linux:", "Permission", "Symbol"]
["Permission", "Symbol", "Meaning"]
["Symbol", "Meaning", "Read"]
["Meaning", "Read", "r"]
["Read", "r", "Can"]
["r", "Can", "view"]
["Can", "view", "the"]
["view", "the", "file"]
["the", "file", "Write"]
["file", "Write", "w"]
["Write", "w", "Can"]
["w", "Can", "change"]
["Can", "change", "it"]
["change", "it", "Execute"]
["it", "Execute", "x"]
["Execute", "x", "Can"]
["x", "Can", "run"]
["Can", "run", "it"]
["run", "it", "For"]
["it", "For", "example:"]
["For", "example:", "-rw-r--r--"]
["example:", "-rw-r--r--", "means:"]
["-rw-r--r--", "means:", "Owner"]
["means:", "Owner", "can"]
["Owner", "can", "read/write"]
["can", "read/write", "Group"]
["read/write", "Group", "can"]
["Group", "can", "read"]
["can", "read", "Others"]
["read", "Others", "can"]
["Others", "can", "read"]
["can", "read", "Python"]
["read", "Python", "can"]
["Python", "can", "change"]
["can", "change", "file"]
["change", "file", "permissions"]
["file", "permissions", "with"]
["permissions", "with", "os.chmod()."]
["with", "os.chmod().", "\u2713"]
["os.chmod().", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "Buffering?"]
["Is", "Buffering?", "\u2022"]
["Buffering?", "\u2022", "Buffering"]
["\u2022", "Buffering", "is"]
["Buffering", "is", "how"]
["is", "how", "Python"]
["how", "Python", "stores"]
["Python", "stores", "some"]
["stores", "some", "data"]
["some", "data", "temporarily"]
["data", "temporarily", "before"]
["temporarily", "before", "saving"]
["before", "saving", "it"]
["saving", "it", "to"]
["it", "to", "a"]
["to", "a", "file"]
["a", "file", "Helps"]
["file", "Helps", "speed"]
["Helps", "speed", "things"]
["speed", "things", "up"]
["things", "up", "But"]
["up", "But", "if"]
["But", "if", "the"]
["if", "the", "computer"]
["the", "computer", "crashes"]
["computer", "crashes", "before"]
["crashes", "before", "it's"]
["before", "it's", "saved,"]
["it's", "saved,", "the"]
["saved,", "the", "data"]
["the", "data", "could"]
["data", "could", "be"]
["could", "be", "lost"]
["be", "lost", "That\u2019s"]
["lost", "That\u2019s", "why"]
["That\u2019s", "why", "we"]
["why", "we", "use"]
["we", "use", ".flush()"]
["use", ".flush()", "or"]
[".flush()", "or", ".close()"]
["or", ".close()", "to"]
[".close()", "to", "force"]
["to", "force", "saving"]
["force", "saving", "the"]
["saving", "the", "data"]
["the", "data", "file"]
["data", "file", "="]
["file", "=", "open(\"data.txt\","]
["=", "open(\"data.txt\",", "\"w\","]
["open(\"data.txt\",", "\"w\",", "buffering=1)"]
["\"w\",", "buffering=1)", "#"]
["buffering=1)", "#", "line"]
["#", "line", "buffering"]
["line", "buffering", "file.write(\"Saved\\n\")"]
["buffering", "file.write(\"Saved\\n\")", "file.flush()"]
["file.write(\"Saved\\n\")", "file.flush()", "#"]
["file.flush()", "#", "forces"]
["#", "forces", "write"]
["forces", "write", "to"]
["write", "to", "disk"]
["to", "disk", "file.close()"]
["disk", "file.close()", "\u2713"]
["file.close()", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "an"]
["Is", "an", "Environment"]
["an", "Environment", "Variable?"]
["Environment", "Variable?", "\u2022"]
["Variable?", "\u2022", "A"]
["\u2022", "A", "small"]
["A", "small", "piece"]
["small", "piece", "of"]
["piece", "of", "information"]
["of", "information", "the"]
["information", "the", "OS"]
["the", "OS", "uses"]
["OS", "uses", "\u2014"]
["uses", "\u2014", "like"]
["\u2014", "like", "your"]
["like", "your", "username,"]
["your", "username,", "language,"]
["username,", "language,", "or"]
["language,", "or", "system"]
["or", "system", "path"]
["system", "path", "You"]
["path", "You", "can"]
["You", "can", "read"]
["can", "read", "it"]
["read", "it", "like"]
["it", "like", "this:"]
["like", "this:", "import"]
["this:", "import", "os"]
["import", "os", "print(os.environ[\"HOME\"])"]
["os", "print(os.environ[\"HOME\"])", "#"]
["print(os.environ[\"HOME\"])", "#", "Shows"]
["#", "Shows", "your"]
["Shows", "your", "home"]
["your", "home", "directory"]
["home", "directory", "On"]
["directory", "On", "Windows,"]
["On", "Windows,", "use"]
["Windows,", "use", "\"USERPROFILE\""]
["use", "\"USERPROFILE\"", "instead"]
["\"USERPROFILE\"", "instead", "of"]
["instead", "of", "\"HOME\"."]
["of", "\"HOME\".", "Let"]
["\"HOME\".", "Let", "me"]
["Let", "me", "know"]
["me", "know", "when"]
["know", "when", "you're"]
["when", "you're", "ready"]
["you're", "ready", "and"]
["ready", "and", "I\u2019ll"]
["and", "I\u2019ll", "move"]
["I\u2019ll", "move", "on"]
["move", "on", "to"]
["on", "to", "start"]
["to", "start", "the"]
["start", "the", "first"]
["the", "first", "real"]
["first", "real", "topic"]
["real", "topic", "of"]
["topic", "of", "the"]
["of", "the", "os"]
["the", "os", "module"]
["os", "module", "(like"]
["module", "(like", "working"]
["(like", "working", "with"]
["working", "with", "files"]
["with", "files", "and"]
["files", "and", "directories)."]
["and", "directories).", "If"]
["directories).", "If", "you"]
["If", "you", "want"]
["you", "want", "me"]
["want", "me", "to"]
["me", "to", "break"]
["to", "break", "down"]
["break", "down", "any"]
["down", "any", "of"]
["any", "of", "these"]
["of", "these", "again"]
["these", "again", "even"]
["again", "even", "more"]
["even", "more", "simply"]
["more", "simply", "\u2014"]
["simply", "\u2014", "just"]
["\u2014", "just", "say"]
["just", "say", "the"]
["say", "the", "word!"]
["the", "word!", "\u2705"]
["word!", "\u2705", "Remaining"]
["\u2705", "Remaining", "Core"]
["Remaining", "Core", "Topics"]
["Core", "Topics", "of"]
["Topics", "of", "the"]
["of", "the", "os"]
["the", "os", "Module:"]
["os", "Module:", "getting"]
["Module:", "getting", "current"]
["getting", "current", "directory,"]
["current", "directory,", "changing"]
["directory,", "changing", "directories,"]
["changing", "directories,", "creating"]
["directories,", "creating", "folders,"]
["creating", "folders,", "removing"]
["folders,", "removing", "files/folders,"]
["removing", "files/folders,", "listing"]
["files/folders,", "listing", "directory"]
["listing", "directory", "contents,"]
["directory", "contents,", "checking"]
["contents,", "checking", "path"]
["checking", "path", "types,"]
["path", "types,", "working"]
["types,", "working", "with"]
["working", "with", "environment"]
["with", "environment", "variables,"]
["environment", "variables,", "file"]
["variables,", "file", "descriptor"]
["file", "descriptor", "operations,"]
["descriptor", "operations,", "working"]
["operations,", "working", "with"]
["working", "with", "process"]
["with", "process", "IDs,"]
["process", "IDs,", "using"]
["IDs,", "using", "os.path"]
["using", "os.path", "methods,"]
["os.path", "methods,", "permission"]
["methods,", "permission", "handling,"]
["permission", "handling,", "error"]
["handling,", "error", "handling,"]
["error", "handling,", "running"]
["handling,", "running", "system"]
["running", "system", "commands,"]
["system", "commands,", "platform"]
["commands,", "platform", "checks,"]
["platform", "checks,", "working"]
["checks,", "working", "with"]
["working", "with", "timestamps."]
["with", "timestamps.", "You"]
["timestamps.", "You", "said:"]
["You", "said:", "Nezt"]
["said:", "Nezt", "ChatGPT"]
["Nezt", "ChatGPT", "said:"]
["ChatGPT", "said:", "You"]
["said:", "You", "said:"]
["You", "said:", "Next"]
["said:", "Next", "ChatGPT"]
["Next", "ChatGPT", "said:"]
["ChatGPT", "said:", "Great!"]
["said:", "Great!", "Let's"]
["Great!", "Let's", "now"]
["Let's", "now", "begin"]
["now", "begin", "the"]
["begin", "the", "first"]
["the", "first", "real"]
["first", "real", "area"]
["real", "area", "of"]
["area", "of", "the"]
["of", "the", "os"]
["the", "os", "module:"]
["os", "module:", "\u2713"]
["module:", "\u2713", "Getting"]
["\u2713", "Getting", "the"]
["Getting", "the", "Current"]
["the", "Current", "Working"]
["Current", "Working", "Directory"]
["Working", "Directory", "\u2022"]
["Directory", "\u2022", "What"]
["\u2022", "What", "is"]
["What", "is", "the"]
["is", "the", "current"]
["the", "current", "working"]
["current", "working", "directory?"]
["working", "directory?", "It's"]
["directory?", "It's", "the"]
["It's", "the", "folder"]
["the", "folder", "where"]
["folder", "where", "your"]
["where", "your", "Python"]
["your", "Python", "program"]
["Python", "program", "is"]
["program", "is", "running"]
["is", "running", "from."]
["running", "from.", "Think"]
["from.", "Think", "of"]
["Think", "of", "it"]
["of", "it", "as"]
["it", "as", "your"]
["as", "your", "\"home"]
["your", "\"home", "base\""]
["\"home", "base\"", "\u2014"]
["base\"", "\u2014", "every"]
["\u2014", "every", "time"]
["every", "time", "you"]
["time", "you", "open"]
["you", "open", "or"]
["open", "or", "save"]
["or", "save", "a"]
["save", "a", "file"]
["a", "file", "without"]
["file", "without", "typing"]
["without", "typing", "the"]
["typing", "the", "full"]
["the", "full", "path,"]
["full", "path,", "Python"]
["path,", "Python", "uses"]
["Python", "uses", "this"]
["uses", "this", "folder."]
["this", "folder.", "\u2713"]
["folder.", "\u2713", "Function:"]
["\u2713", "Function:", "os.getcwd()"]
["Function:", "os.getcwd()", "\u2022"]
["os.getcwd()", "\u2022", "os.getcwd()"]
["\u2022", "os.getcwd()", "means"]
["os.getcwd()", "means", "\"get"]
["means", "\"get", "current"]
["\"get", "current", "working"]
["current", "working", "directory\""]
["working", "directory\"", "It"]
["directory\"", "It", "returns"]
["It", "returns", "the"]
["returns", "the", "full"]
["the", "full", "path"]
["full", "path", "of"]
["path", "of", "the"]
["of", "the", "current"]
["the", "current", "working"]
["current", "working", "folder."]
["working", "folder.", "\u2713"]
["folder.", "\u2713", "Example"]
["\u2713", "Example", "and"]
["Example", "and", "Explanation"]
["and", "Explanation", "Code"]
["Explanation", "Code", "import"]
["Code", "import", "os"]
["import", "os", "#"]
["os", "#", "Import"]
["#", "Import", "the"]
["Import", "the", "os"]
["the", "os", "module"]
["os", "module", "#"]
["module", "#", "Get"]
["#", "Get", "and"]
["Get", "and", "print"]
["and", "print", "the"]
["print", "the", "current"]
["the", "current", "working"]
["current", "working", "directory"]
["working", "directory", "current_folder"]
["directory", "current_folder", "="]
["current_folder", "=", "os.getcwd()"]
["=", "os.getcwd()", "print(\"I"]
["os.getcwd()", "print(\"I", "am"]
["print(\"I", "am", "working"]
["am", "working", "in:\","]
["working", "in:\",", "current_folder)"]
["in:\",", "current_folder)", "Code"]
["current_folder)", "Code", "\u2022"]
["Code", "\u2022", "This"]
["\u2022", "This", "code"]
["This", "code", "shows"]
["code", "shows", "you"]
["shows", "you", "where"]
["you", "where", "Python"]
["where", "Python", "is"]
["Python", "is", "currently"]
["is", "currently", "operating."]
["currently", "operating.", "\u2022"]
["operating.", "\u2022", "If"]
["\u2022", "If", "you"]
["If", "you", "run"]
["you", "run", "this"]
["run", "this", "in"]
["this", "in", "Termux"]
["in", "Termux", "or"]
["Termux", "or", "VSCode,"]
["or", "VSCode,", "it"]
["VSCode,", "it", "might"]
["it", "might", "show"]
["might", "show", "something"]
["show", "something", "like:"]
["something", "like:", "/data/data/com.termux/files/home"]
["like:", "/data/data/com.termux/files/home", "or"]
["/data/data/com.termux/files/home", "or", "C:\\Users\\YourName\\Documents"]
["or", "C:\\Users\\YourName\\Documents", "\u2713"]
["C:\\Users\\YourName\\Documents", "\u2713", "Why"]
["\u2713", "Why", "Is"]
["Why", "Is", "os.getcwd()"]
["Is", "os.getcwd()", "Important?"]
["os.getcwd()", "Important?", "\u2022"]
["Important?", "\u2022", "Let's"]
["\u2022", "Let's", "say"]
["Let's", "say", "you"]
["say", "you", "want"]
["you", "want", "to"]
["want", "to", "open"]
["to", "open", "a"]
["open", "a", "file:"]
["a", "file:", "file"]
["file:", "file", "="]
["file", "=", "open(\"mydata.txt\","]
["=", "open(\"mydata.txt\",", "\"r\")"]
["open(\"mydata.txt\",", "\"r\")", "Python"]
["\"r\")", "Python", "will"]
["Python", "will", "look"]
["will", "look", "for"]
["look", "for", "mydata.txt"]
["for", "mydata.txt", "in"]
["mydata.txt", "in", "the"]
["in", "the", "current"]
["the", "current", "working"]
["current", "working", "directory."]
["working", "directory.", "So"]
["directory.", "So", "if"]
["So", "if", "your"]
["if", "your", "file"]
["your", "file", "is"]
["file", "is", "in"]
["is", "in", "a"]
["in", "a", "different"]
["a", "different", "folder,"]
["different", "folder,", "you'll"]
["folder,", "you'll", "get"]
["you'll", "get", "an"]
["get", "an", "error"]
["an", "error", "unless"]
["error", "unless", "you:"]
["unless", "you:", "Move"]
["you:", "Move", "the"]
["Move", "the", "file"]
["the", "file", "to"]
["file", "to", "the"]
["to", "the", "working"]
["the", "working", "folder,"]
["working", "folder,", "or"]
["folder,", "or", "Change"]
["or", "Change", "the"]
["Change", "the", "working"]
["the", "working", "folder"]
["working", "folder", "using"]
["folder", "using", "os.chdir()"]
["using", "os.chdir()", "(we\u2019ll"]
["os.chdir()", "(we\u2019ll", "learn"]
["(we\u2019ll", "learn", "this"]
["learn", "this", "next)"]
["this", "next)", "Let"]
["next)", "Let", "me"]
["Let", "me", "know"]
["me", "know", "if"]
["know", "if", "you're"]
["if", "you're", "ready"]
["you're", "ready", "for"]
["ready", "for", "the"]
["for", "the", "next"]
["the", "next", "function:"]
["next", "function:", "\u2713"]
["function:", "\u2713", "Changing"]
["\u2713", "Changing", "Directories"]
["Changing", "Directories", "with"]
["Directories", "with", "os.chdir()"]
["with", "os.chdir()", "Or"]
["os.chdir()", "Or", "if"]
["Or", "if", "you"]
["if", "you", "want"]
["you", "want", "to"]
["want", "to", "ask"]
["to", "ask", "anything"]
["ask", "anything", "about"]
["anything", "about", "os.getcwd()!"]
["about", "os.getcwd()!", "You"]
["os.getcwd()!", "You", "said:"]
["You", "said:", "Next"]
["said:", "Next", "ChatGPT"]
["Next", "ChatGPT", "said:"]
["ChatGPT", "said:", "Perfect!"]
["said:", "Perfect!", "Let's"]
["Perfect!", "Let's", "now"]
["Let's", "now", "learn"]
["now", "learn", "the"]
["learn", "the", "second"]
["the", "second", "function:"]
["second", "function:", "\u2713"]
["function:", "\u2713", "Changing"]
["\u2713", "Changing", "Directories"]
["Changing", "Directories", "with"]
["Directories", "with", "os.chdir()"]
["with", "os.chdir()", "\u2022"]
["os.chdir()", "\u2022", "What"]
["\u2022", "What", "does"]
["What", "does", "os.chdir()"]
["does", "os.chdir()", "do?"]
["os.chdir()", "do?", "It"]
["do?", "It", "changes"]
["It", "changes", "the"]
["changes", "the", "current"]
["the", "current", "working"]
["current", "working", "directory"]
["working", "directory", "\u2014"]
["directory", "\u2014", "like"]
["\u2014", "like", "telling"]
["like", "telling", "Python:"]
["telling", "Python:", "\u201cHey,"]
["Python:", "\u201cHey,", "from"]
["\u201cHey,", "from", "now"]
["from", "now", "on,"]
["now", "on,", "work"]
["on,", "work", "inside"]
["work", "inside", "this"]
["inside", "this", "other"]
["this", "other", "folder.\u201d"]
["other", "folder.\u201d", "\u2713"]
["folder.\u201d", "\u2713", "Function:"]
["\u2713", "Function:", "os.chdir(path)"]
["Function:", "os.chdir(path)", "\u2022"]
["os.chdir(path)", "\u2022", "path"]
["\u2022", "path", "is"]
["path", "is", "the"]
["is", "the", "location"]
["the", "location", "of"]
["location", "of", "the"]
["of", "the", "new"]
["the", "new", "folder"]
["new", "folder", "you"]
["folder", "you", "want"]
["you", "want", "to"]
["want", "to", "switch"]
["to", "switch", "to"]
["switch", "to", "\u2022"]
["to", "\u2022", "This"]
["\u2022", "This", "can"]
["This", "can", "be:"]
["can", "be:", "A"]
["be:", "A", "full"]
["A", "full", "path"]
["full", "path", "(absolute"]
["path", "(absolute", "path):"]
["(absolute", "path):", "/home/user/Desktop"]
["path):", "/home/user/Desktop", "A"]
["/home/user/Desktop", "A", "short"]
["A", "short", "path"]
["short", "path", "(relative"]
["path", "(relative", "path):"]
["(relative", "path):", "../Documents"]
["path):", "../Documents", "\u2713"]
["../Documents", "\u2713", "Simple"]
["\u2713", "Simple", "Example"]
["Simple", "Example", "Code"]
["Example", "Code", "import"]
["Code", "import", "os"]
["import", "os", "print(\"Before"]
["os", "print(\"Before", "changing:\","]
["print(\"Before", "changing:\",", "os.getcwd())"]
["changing:\",", "os.getcwd())", "#"]
["os.getcwd())", "#", "Show"]
["#", "Show", "current"]
["Show", "current", "folder"]
["current", "folder", "#"]
["folder", "#", "Change"]
["#", "Change", "to"]
["Change", "to", "another"]
["to", "another", "folder"]
["another", "folder", "(make"]
["folder", "(make", "sure"]
["(make", "sure", "it"]
["sure", "it", "exists)"]
["it", "exists)", "os.chdir(\"/tmp\")"]
["exists)", "os.chdir(\"/tmp\")", "#"]
["os.chdir(\"/tmp\")", "#", "On"]
["#", "On", "Linux/Termux/macOS"]
["On", "Linux/Termux/macOS", "#"]
["Linux/Termux/macOS", "#", "os.chdir(\"C:\\\\Users\\\\YourName\\\\Desktop\")"]
["#", "os.chdir(\"C:\\\\Users\\\\YourName\\\\Desktop\")", "#"]
["os.chdir(\"C:\\\\Users\\\\YourName\\\\Desktop\")", "#", "On"]
["#", "On", "Windows"]
["On", "Windows", "print(\"After"]
["Windows", "print(\"After", "changing:\","]
["print(\"After", "changing:\",", "os.getcwd())"]
["changing:\",", "os.getcwd())", "#"]
["os.getcwd())", "#", "Show"]
["#", "Show", "new"]
["Show", "new", "folder"]
["new", "folder", "Code"]
["folder", "Code", "\u26a0\ufe0f"]
["Code", "\u26a0\ufe0f", "If"]
["\u26a0\ufe0f", "If", "the"]
["If", "the", "folder"]
["the", "folder", "doesn't"]
["folder", "doesn't", "exist,"]
["doesn't", "exist,", "you\u2019ll"]
["exist,", "you\u2019ll", "get"]
["you\u2019ll", "get", "an"]
["get", "an", "error."]
["an", "error.", "\u2713"]
["error.", "\u2713", "Use"]
["\u2713", "Use", "Case:"]
["Use", "Case:", "Why"]
["Case:", "Why", "Do"]
["Why", "Do", "We"]
["Do", "We", "Change"]
["We", "Change", "Directory?"]
["Change", "Directory?", "Let\u2019s"]
["Directory?", "Let\u2019s", "say"]
["Let\u2019s", "say", "you"]
["say", "you", "want"]
["you", "want", "to"]
["want", "to", "open"]
["to", "open", "a"]
["open", "a", "file,"]
["a", "file,", "but"]
["file,", "but", "it\u2019s"]
["but", "it\u2019s", "not"]
["it\u2019s", "not", "in"]
["not", "in", "your"]
["in", "your", "current"]
["your", "current", "folder."]
["current", "folder.", "os.chdir(\"/sdcard\")"]
["folder.", "os.chdir(\"/sdcard\")", "#"]
["os.chdir(\"/sdcard\")", "#", "Go"]
["#", "Go", "to"]
["Go", "to", "SD"]
["to", "SD", "card"]
["SD", "card", "folder"]
["card", "folder", "in"]
["folder", "in", "Termux"]
["in", "Termux", "file"]
["Termux", "file", "="]
["file", "=", "open(\"notes.txt\","]
["=", "open(\"notes.txt\",", "\"r\")"]
["open(\"notes.txt\",", "\"r\")", "#"]
["\"r\")", "#", "Now"]
["#", "Now", "Python"]
["Now", "Python", "can"]
["Python", "can", "find"]
["can", "find", "the"]
["find", "the", "file"]
["the", "file", "here"]
["file", "here", "\u2713"]
["here", "\u2713", "Tips"]
["\u2713", "Tips", "\u2022"]
["Tips", "\u2022", "Use"]
["\u2022", "Use", "os.getcwd()"]
["Use", "os.getcwd()", "to"]
["os.getcwd()", "to", "check"]
["to", "check", "where"]
["check", "where", "you"]
["where", "you", "are"]
["you", "are", "\u2022"]
["are", "\u2022", "Use"]
["\u2022", "Use", "os.chdir()"]
["Use", "os.chdir()", "to"]
["os.chdir()", "to", "move"]
["to", "move", "to"]
["move", "to", "the"]
["to", "the", "correct"]
["the", "correct", "place"]
["correct", "place", "\u2022"]
["place", "\u2022", "Paths"]
["\u2022", "Paths", "must"]
["Paths", "must", "exist,"]
["must", "exist,", "or"]
["exist,", "or", "Python"]
["or", "Python", "will"]
["Python", "will", "raise"]
["will", "raise", "a"]
["raise", "a", "FileNotFoundError"]
["a", "FileNotFoundError", "Let"]
["FileNotFoundError", "Let", "me"]
["Let", "me", "know"]
["me", "know", "if"]
["know", "if", "you're"]
["if", "you're", "ready"]
["you're", "ready", "for"]
["ready", "for", "the"]
["for", "the", "next"]
["the", "next", "part:"]
["next", "part:", "\u2713"]
["part:", "\u2713", "Creating"]
["\u2713", "Creating", "Folders"]
["Creating", "Folders", "with"]
["Folders", "with", "os.mkdir()"]
["with", "os.mkdir()", "and"]
["os.mkdir()", "and", "os.makedirs(),"]
["and", "os.makedirs(),", "or"]
["os.makedirs(),", "or", "if"]
["or", "if", "you"]
["if", "you", "want"]
["you", "want", "to"]
["want", "to", "pause"]
["to", "pause", "or"]
["pause", "or", "ask"]
["or", "ask", "anything!"]
["ask", "anything!", "You"]
["anything!", "You", "said:"]
["You", "said:", "No,just"]
["said:", "No,just", "the"]
["No,just", "the", "basics"]
["the", "basics", "ChatGPT"]
["basics", "ChatGPT", "said:"]
["ChatGPT", "said:", "Got"]
["said:", "Got", "it!"]
["Got", "it!", "You"]
["it!", "You", "want"]
["You", "want", "to"]
["want", "to", "stick"]
["to", "stick", "to"]
["stick", "to", "the"]
["to", "the", "basic"]
["the", "basic", "concepts"]
["basic", "concepts", "you"]
["concepts", "you", "need"]
["you", "need", "to"]
["need", "to", "understand"]
["to", "understand", "the"]
["understand", "the", "os"]
["the", "os", "module"]
["os", "module", "\u2014"]
["module", "\u2014", "not"]
["\u2014", "not", "the"]
["not", "the", "functions"]
["the", "functions", "yet."]
["functions", "yet.", "Let's"]
["yet.", "Let's", "continue"]
["Let's", "continue", "building"]
["continue", "building", "your"]
["building", "your", "foundation"]
["your", "foundation", "with"]
["foundation", "with", "more"]
["with", "more", "key"]
["more", "key", "concepts"]
["key", "concepts", "that"]
["concepts", "that", "often"]
["that", "often", "confuse"]
["often", "confuse", "people."]
["confuse", "people.", "These"]
["people.", "These", "are"]
["These", "are", "words"]
["are", "words", "that"]
["words", "that", "pop"]
["that", "pop", "up"]
["pop", "up", "in"]
["up", "in", "the"]
["in", "the", "Python"]
["the", "Python", "docs"]
["Python", "docs", "but"]
["docs", "but", "aren't"]
["but", "aren't", "explained"]
["aren't", "explained", "clearly."]
["explained", "clearly.", "\ud83c\udf31"]
["clearly.", "\ud83c\udf31", "More"]
["\ud83c\udf31", "More", "OS"]
["More", "OS", "Module"]
["OS", "Module", "Basics"]
["Module", "Basics", "\u2014"]
["Basics", "\u2014", "Baby-Level"]
["\u2014", "Baby-Level", "Explanations"]
["Baby-Level", "Explanations", "\u2713"]
["Explanations", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Process?"]
["a", "Process?", "\u2022"]
["Process?", "\u2022", "A"]
["\u2022", "A", "process"]
["A", "process", "is"]
["process", "is", "just"]
["is", "just", "a"]
["just", "a", "program"]
["a", "program", "that\u2019s"]
["program", "that\u2019s", "currently"]
["that\u2019s", "currently", "running"]
["currently", "running", "When"]
["running", "When", "you"]
["When", "you", "open"]
["you", "open", "Chrome,"]
["open", "Chrome,", "that\u2019s"]
["Chrome,", "that\u2019s", "one"]
["that\u2019s", "one", "process"]
["one", "process", "When"]
["process", "When", "you"]
["When", "you", "run"]
["you", "run", "a"]
["run", "a", "Python"]
["a", "Python", "script,"]
["Python", "script,", "that\u2019s"]
["script,", "that\u2019s", "another"]
["that\u2019s", "another", "process"]
["another", "process", "Your"]
["process", "Your", "OS"]
["Your", "OS", "keeps"]
["OS", "keeps", "track"]
["keeps", "track", "of"]
["track", "of", "them"]
["of", "them", "using"]
["them", "using", "a"]
["using", "a", "number"]
["a", "number", "called"]
["number", "called", "PID"]
["called", "PID", "(Process"]
["PID", "(Process", "ID)"]
["(Process", "ID)", "In"]
["ID)", "In", "the"]
["In", "the", "os"]
["the", "os", "module,"]
["os", "module,", "you"]
["module,", "you", "can"]
["you", "can", "get"]
["can", "get", "the"]
["get", "the", "current"]
["the", "current", "Python"]
["current", "Python", "process"]
["Python", "process", "ID"]
["process", "ID", "using:"]
["ID", "using:", "import"]
["using:", "import", "os"]
["import", "os", "print(os.getpid())"]
["os", "print(os.getpid())", "#"]
["print(os.getpid())", "#", "This"]
["#", "This", "is"]
["This", "is", "your"]
["is", "your", "Python"]
["your", "Python", "program's"]
["Python", "program's", "ID"]
["program's", "ID", "number"]
["ID", "number", "\u2713"]
["number", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Thread?"]
["a", "Thread?", "(Just"]
["Thread?", "(Just", "for"]
["(Just", "for", "Awareness)"]
["for", "Awareness)", "\u2022"]
["Awareness)", "\u2022", "A"]
["\u2022", "A", "thread"]
["A", "thread", "is"]
["thread", "is", "a"]
["is", "a", "tiny"]
["a", "tiny", "task"]
["tiny", "task", "inside"]
["task", "inside", "a"]
["inside", "a", "process"]
["a", "process", "Example:"]
["process", "Example:", "If"]
["Example:", "If", "Chrome"]
["If", "Chrome", "is"]
["Chrome", "is", "one"]
["is", "one", "process,"]
["one", "process,", "then:"]
["process,", "then:", "Loading"]
["then:", "Loading", "tabs"]
["Loading", "tabs", "="]
["tabs", "=", "one"]
["=", "one", "thread"]
["one", "thread", "Playing"]
["thread", "Playing", "a"]
["Playing", "a", "YouTube"]
["a", "YouTube", "video"]
["YouTube", "video", "="]
["video", "=", "another"]
["=", "another", "thread"]
["another", "thread", "\ud83d\udca1"]
["thread", "\ud83d\udca1", "In"]
["\ud83d\udca1", "In", "basic"]
["In", "basic", "os"]
["basic", "os", "usage,"]
["os", "usage,", "we"]
["usage,", "we", "usually"]
["we", "usually", "care"]
["usually", "care", "about"]
["care", "about", "processes,"]
["about", "processes,", "not"]
["processes,", "not", "threads."]
["not", "threads.", "\u2713"]
["threads.", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Environment"]
["Are", "Environment", "Variables?"]
["Environment", "Variables?", "\u2022"]
["Variables?", "\u2022", "They"]
["\u2022", "They", "are"]
["They", "are", "secret"]
["are", "secret", "values"]
["secret", "values", "or"]
["values", "or", "settings"]
["or", "settings", "saved"]
["settings", "saved", "by"]
["saved", "by", "your"]
["by", "your", "computer"]
["your", "computer", "Examples:"]
["computer", "Examples:", "Your"]
["Examples:", "Your", "username"]
["Your", "username", "Your"]
["username", "Your", "system\u2019s"]
["Your", "system\u2019s", "language"]
["system\u2019s", "language", "Paths"]
["language", "Paths", "to"]
["Paths", "to", "important"]
["to", "important", "folders"]
["important", "folders", "Python"]
["folders", "Python", "can"]
["Python", "can", "access"]
["can", "access", "them"]
["access", "them", "using"]
["them", "using", "os.environ"]
["using", "os.environ", "import"]
["os.environ", "import", "os"]
["import", "os", "print(os.environ[\"HOME\"])"]
["os", "print(os.environ[\"HOME\"])", "#"]
["print(os.environ[\"HOME\"])", "#", "On"]
["#", "On", "Linux/macOS"]
["On", "Linux/macOS", "#"]
["Linux/macOS", "#", "print(os.environ[\"USERPROFILE\"])"]
["#", "print(os.environ[\"USERPROFILE\"])", "#"]
["print(os.environ[\"USERPROFILE\"])", "#", "On"]
["#", "On", "Windows"]
["On", "Windows", "\u2713"]
["Windows", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Shell?"]
["a", "Shell?", "\u2022"]
["Shell?", "\u2022", "A"]
["\u2022", "A", "shell"]
["A", "shell", "is"]
["shell", "is", "the"]
["is", "the", "tool"]
["the", "tool", "you"]
["tool", "you", "use"]
["you", "use", "to"]
["use", "to", "type"]
["to", "type", "commands"]
["type", "commands", "(like"]
["commands", "(like", "Termux,"]
["(like", "Termux,", "Command"]
["Termux,", "Command", "Prompt,"]
["Command", "Prompt,", "or"]
["Prompt,", "or", "Terminal)"]
["or", "Terminal)", "When"]
["Terminal)", "When", "you"]
["When", "you", "use"]
["you", "use", "os.system()"]
["use", "os.system()", "or"]
["os.system()", "or", "os.popen(),"]
["or", "os.popen(),", "you\u2019re"]
["os.popen(),", "you\u2019re", "asking"]
["you\u2019re", "asking", "Python"]
["asking", "Python", "to"]
["Python", "to", "run"]
["to", "run", "a"]
["run", "a", "command"]
["a", "command", "in"]
["command", "in", "the"]
["in", "the", "shell"]
["the", "shell", "\u2014"]
["shell", "\u2014", "like"]
["\u2014", "like", "ls,"]
["like", "ls,", "mkdir,"]
["ls,", "mkdir,", "or"]
["mkdir,", "or", "ping."]
["or", "ping.", "\u2713"]
["ping.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "the"]
["Is", "the", "Difference"]
["the", "Difference", "Between"]
["Difference", "Between", "os.path"]
["Between", "os.path", "and"]
["os.path", "and", "os?"]
["and", "os?", "\u2022"]
["os?", "\u2022", "os.path"]
["\u2022", "os.path", "is"]
["os.path", "is", "a"]
["is", "a", "mini"]
["a", "mini", "module"]
["mini", "module", "inside"]
["module", "inside", "os"]
["inside", "os", "It"]
["os", "It", "focuses"]
["It", "focuses", "only"]
["focuses", "only", "on"]
["only", "on", "working"]
["on", "working", "with"]
["working", "with", "file"]
["with", "file", "paths"]
["file", "paths", "(like"]
["paths", "(like", "checking"]
["(like", "checking", "if"]
["checking", "if", "a"]
["if", "a", "file"]
["a", "file", "exists,"]
["file", "exists,", "joining"]
["exists,", "joining", "folders,"]
["joining", "folders,", "etc.)"]
["folders,", "etc.)", "Example:"]
["etc.)", "Example:", "import"]
["Example:", "import", "os"]
["import", "os", "print(os.path.exists(\"myfile.txt\"))"]
["os", "print(os.path.exists(\"myfile.txt\"))", "#"]
["print(os.path.exists(\"myfile.txt\"))", "#", "Checks"]
["#", "Checks", "if"]
["Checks", "if", "the"]
["if", "the", "file"]
["the", "file", "exists"]
["file", "exists", "We'll"]
["exists", "We'll", "learn"]
["We'll", "learn", "this"]
["learn", "this", "in"]
["this", "in", "detail"]
["in", "detail", "later"]
["detail", "later", "\u2014"]
["later", "\u2014", "but"]
["\u2014", "but", "just"]
["but", "just", "remember:"]
["just", "remember:", "\ud83d\udfe2"]
["remember:", "\ud83d\udfe2", "os"]
["\ud83d\udfe2", "os", "="]
["os", "=", "talks"]
["=", "talks", "to"]
["talks", "to", "the"]
["to", "the", "system"]
["the", "system", "\ud83d\udfe2"]
["system", "\ud83d\udfe2", "os.path"]
["\ud83d\udfe2", "os.path", "="]
["os.path", "=", "helps"]
["=", "helps", "with"]
["helps", "with", "file"]
["with", "file", "and"]
["file", "and", "folder"]
["and", "folder", "paths"]
["folder", "paths", "\u2713"]
["paths", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Permissions"]
["Are", "Permissions", "(Again,"]
["Permissions", "(Again,", "But"]
["(Again,", "But", "Simpler)?"]
["But", "Simpler)?", "Let\u2019s"]
["Simpler)?", "Let\u2019s", "say"]
["Let\u2019s", "say", "you"]
["say", "you", "have"]
["you", "have", "a"]
["have", "a", "file."]
["a", "file.", "There"]
["file.", "There", "are"]
["There", "are", "3"]
["are", "3", "things"]
["3", "things", "you"]
["things", "you", "can"]
["you", "can", "do:"]
["can", "do:", "Read"]
["do:", "Read", "it"]
["Read", "it", "(look"]
["it", "(look", "at"]
["(look", "at", "it)"]
["at", "it)", "Write"]
["it)", "Write", "it"]
["Write", "it", "(change"]
["it", "(change", "it)"]
["(change", "it)", "Execute"]
["it)", "Execute", "it"]
["Execute", "it", "(run"]
["it", "(run", "it"]
["(run", "it", "like"]
["it", "like", "a"]
["like", "a", "program)"]
["a", "program)", "On"]
["program)", "On", "Unix/Linux,"]
["On", "Unix/Linux,", "these"]
["Unix/Linux,", "these", "are"]
["these", "are", "controlled"]
["are", "controlled", "with"]
["controlled", "with", "codes"]
["with", "codes", "like"]
["codes", "like", "rwxr--r--."]
["like", "rwxr--r--.", "On"]
["rwxr--r--.", "On", "Windows,"]
["On", "Windows,", "it"]
["Windows,", "it", "works"]
["it", "works", "differently,"]
["works", "differently,", "but"]
["differently,", "but", "the"]
["but", "the", "idea"]
["the", "idea", "is"]
["idea", "is", "the"]
["is", "the", "same."]
["the", "same.", "Python"]
["same.", "Python", "can"]
["Python", "can", "change"]
["can", "change", "file"]
["change", "file", "permissions"]
["file", "permissions", "using:"]
["permissions", "using:", "os.chmod(\"myfile.txt\","]
["using:", "os.chmod(\"myfile.txt\",", "0o777)"]
["os.chmod(\"myfile.txt\",", "0o777)", "#"]
["0o777)", "#", "Full"]
["#", "Full", "read/write/execute"]
["Full", "read/write/execute", "permission"]
["read/write/execute", "permission", "Don\u2019t"]
["permission", "Don\u2019t", "worry"]
["Don\u2019t", "worry", "\u2014"]
["worry", "\u2014", "we\u2019ll"]
["\u2014", "we\u2019ll", "explain"]
["we\u2019ll", "explain", "this"]
["explain", "this", "deeply"]
["this", "deeply", "later."]
["deeply", "later.", "\u2713"]
["later.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Buffer?"]
["a", "Buffer?", "\u2022"]
["Buffer?", "\u2022", "Buffering"]
["\u2022", "Buffering", "is"]
["Buffering", "is", "like"]
["is", "like", "a"]
["like", "a", "temporary"]
["a", "temporary", "storage"]
["temporary", "storage", "space"]
["storage", "space", "in"]
["space", "in", "memory"]
["in", "memory", "Imagine"]
["memory", "Imagine", "you're"]
["Imagine", "you're", "writing"]
["you're", "writing", "a"]
["writing", "a", "letter"]
["a", "letter", "and"]
["letter", "and", "you"]
["and", "you", "store"]
["you", "store", "it"]
["store", "it", "in"]
["it", "in", "a"]
["in", "a", "drawer"]
["a", "drawer", "before"]
["drawer", "before", "mailing"]
["before", "mailing", "it."]
["mailing", "it.", "That"]
["it.", "That", "drawer"]
["That", "drawer", "is"]
["drawer", "is", "your"]
["is", "your", "buffer."]
["your", "buffer.", "Python"]
["buffer.", "Python", "sometimes"]
["Python", "sometimes", "waits"]
["sometimes", "waits", "to"]
["waits", "to", "write"]
["to", "write", "things"]
["write", "things", "to"]
["things", "to", "disk"]
["to", "disk", "to"]
["disk", "to", "make"]
["to", "make", "it"]
["make", "it", "faster"]
["it", "faster", "You"]
["faster", "You", "can"]
["You", "can", "force"]
["can", "force", "it"]
["force", "it", "to"]
["it", "to", "save"]
["to", "save", "immediately"]
["save", "immediately", "using"]
["immediately", "using", ".flush()"]
["using", ".flush()", "or"]
[".flush()", "or", ".close()"]
["or", ".close()", "f"]
[".close()", "f", "="]
["f", "=", "open(\"data.txt\","]
["=", "open(\"data.txt\",", "\"w\","]
["open(\"data.txt\",", "\"w\",", "buffering=1)"]
["\"w\",", "buffering=1)", "#"]
["buffering=1)", "#", "Buffered"]
["#", "Buffered", "f.write(\"Hello\\n\")"]
["Buffered", "f.write(\"Hello\\n\")", "f.flush()"]
["f.write(\"Hello\\n\")", "f.flush()", "#"]
["f.flush()", "#", "Force"]
["#", "Force", "write"]
["Force", "write", "to"]
["write", "to", "file"]
["to", "file", "now"]
["file", "now", "f.close()"]
["now", "f.close()", "\u2713"]
["f.close()", "\u2713", "Summary"]
["\u2713", "Summary", "of"]
["Summary", "of", "Basics"]
["of", "Basics", "So"]
["Basics", "So", "Far"]
["So", "Far", "Term"]
["Far", "Term", "Baby"]
["Term", "Baby", "Explanation"]
["Baby", "Explanation", "File"]
["Explanation", "File", "descriptor"]
["File", "descriptor", "A"]
["descriptor", "A", "number"]
["A", "number", "that"]
["number", "that", "represents"]
["that", "represents", "an"]
["represents", "an", "open"]
["an", "open", "file"]
["open", "file", "File"]
["file", "File", "modes"]
["File", "modes", "Tell"]
["modes", "Tell", "Python"]
["Tell", "Python", "how"]
["Python", "how", "to"]
["how", "to", "use"]
["to", "use", "the"]
["use", "the", "file"]
["the", "file", "(read/write)"]
["file", "(read/write)", "Bytes/Bytearrays"]
["(read/write)", "Bytes/Bytearrays", "Raw"]
["Bytes/Bytearrays", "Raw", "data"]
["Raw", "data", "like"]
["data", "like", "images"]
["like", "images", "or"]
["images", "or", "music"]
["or", "music", "Unix"]
["music", "Unix", "vs"]
["Unix", "vs", "Windows"]
["vs", "Windows", "Different"]
["Windows", "Different", "OSes;"]
["Different", "OSes;", "some"]
["OSes;", "some", "behavior"]
["some", "behavior", "differs"]
["behavior", "differs", "Paths"]
["differs", "Paths", "Folder"]
["Paths", "Folder", "or"]
["Folder", "or", "file"]
["or", "file", "locations"]
["file", "locations", "Permissions"]
["locations", "Permissions", "Who"]
["Permissions", "Who", "can"]
["Who", "can", "read/write/run"]
["can", "read/write/run", "a"]
["read/write/run", "a", "file"]
["a", "file", "Buffering"]
["file", "Buffering", "Temporary"]
["Buffering", "Temporary", "storage"]
["Temporary", "storage", "before"]
["storage", "before", "writing"]
["before", "writing", "to"]
["writing", "to", "disk"]
["to", "disk", "Environment"]
["disk", "Environment", "vars"]
["Environment", "vars", "Settings"]
["vars", "Settings", "like"]
["Settings", "like", "HOME,"]
["like", "HOME,", "USER,"]
["HOME,", "USER,", "PATH"]
["USER,", "PATH", "Process"]
["PATH", "Process", "A"]
["Process", "A", "program"]
["A", "program", "that"]
["program", "that", "is"]
["that", "is", "running"]
["is", "running", "PID"]
["running", "PID", "ID"]
["PID", "ID", "number"]
["ID", "number", "of"]
["number", "of", "a"]
["of", "a", "process"]
["a", "process", "Shell"]
["process", "Shell", "Where"]
["Shell", "Where", "we"]
["Where", "we", "type"]
["we", "type", "commands"]
["type", "commands", "os.path"]
["commands", "os.path", "Mini"]
["os.path", "Mini", "tool"]
["Mini", "tool", "for"]
["tool", "for", "working"]
["for", "working", "with"]
["working", "with", "file"]
["with", "file", "paths"]
["file", "paths", "Let"]
["paths", "Let", "me"]
["Let", "me", "know"]
["me", "know", "if"]
["know", "if", "you'd"]
["if", "you'd", "like"]
["you'd", "like", "to"]
["like", "to", "continue"]
["to", "continue", "with"]
["continue", "with", "more"]
["with", "more", "basics"]
["more", "basics", "(like"]
["basics", "(like", "symbolic"]
["(like", "symbolic", "links,"]
["symbolic", "links,", "mounting,"]
["links,", "mounting,", "encoding)"]
["mounting,", "encoding)", "or"]
["encoding)", "or", "if"]
["or", "if", "you're"]
["if", "you're", "now"]
["you're", "now", "ready"]
["now", "ready", "to"]
["ready", "to", "dive"]
["to", "dive", "into"]
["dive", "into", "the"]
["into", "the", "first"]
["the", "first", "real"]
["first", "real", "topic"]
["real", "topic", "(os.getcwd(),"]
["topic", "(os.getcwd(),", "os.chdir(),"]
["(os.getcwd(),", "os.chdir(),", "etc.)"]
["os.chdir(),", "etc.)", "You"]
["etc.)", "You", "said:"]
["You", "said:", "Nrxt"]
["said:", "Nrxt", "ChatGPT"]
["Nrxt", "ChatGPT", "said:"]
["ChatGPT", "said:", "You"]
["said:", "You", "said:"]
["You", "said:", "Next"]
["said:", "Next", "ChatGPT"]
["Next", "ChatGPT", "said:"]
["ChatGPT", "said:", "Awesome!"]
["said:", "Awesome!", "Let's"]
["Awesome!", "Let's", "continue"]
["Let's", "continue", "with"]
["continue", "with", "more"]
["with", "more", "basic"]
["more", "basic", "concepts"]
["basic", "concepts", "that"]
["concepts", "that", "are"]
["that", "are", "often"]
["are", "often", "used"]
["often", "used", "in"]
["used", "in", "the"]
["in", "the", "os"]
["the", "os", "module"]
["os", "module", "and"]
["module", "and", "Python"]
["and", "Python", "documentation"]
["Python", "documentation", "\u2014"]
["documentation", "\u2014", "but"]
["\u2014", "but", "usually"]
["but", "usually", "not"]
["usually", "not", "explained"]
["not", "explained", "simply."]
["explained", "simply.", "These"]
["simply.", "These", "will"]
["These", "will", "help"]
["will", "help", "you"]
["help", "you", "understand"]
["you", "understand", "the"]
["understand", "the", "functions"]
["the", "functions", "better"]
["functions", "better", "later."]
["better", "later.", "\ud83c\udf31"]
["later.", "\ud83c\udf31", "More"]
["\ud83c\udf31", "More", "OS"]
["More", "OS", "Module"]
["OS", "Module", "Basics"]
["Module", "Basics", "\u2014"]
["Basics", "\u2014", "Part"]
["\u2014", "Part", "3"]
["Part", "3", "(Super"]
["3", "(Super", "Simple)"]
["(Super", "Simple)", "\u2713"]
["Simple)", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Symbolic"]
["a", "Symbolic", "Link?"]
["Symbolic", "Link?", "\u2022"]
["Link?", "\u2022", "A"]
["\u2022", "A", "symbolic"]
["A", "symbolic", "link"]
["symbolic", "link", "(also"]
["link", "(also", "called"]
["(also", "called", "a"]
["called", "a", "\u201csymlink\u201d"]
["a", "\u201csymlink\u201d", "or"]
["\u201csymlink\u201d", "or", "\u201cshortcut\u201d)"]
["or", "\u201cshortcut\u201d)", "is"]
["\u201cshortcut\u201d)", "is", "like"]
["is", "like", "a"]
["like", "a", "fake"]
["a", "fake", "file"]
["fake", "file", "that"]
["file", "that", "points"]
["that", "points", "to"]
["points", "to", "another"]
["to", "another", "file"]
["another", "file", "or"]
["file", "or", "folder."]
["or", "folder.", "Think"]
["folder.", "Think", "of"]
["Think", "of", "it"]
["of", "it", "like"]
["it", "like", "this:"]
["like", "this:", "You"]
["this:", "You", "create"]
["You", "create", "a"]
["create", "a", "\"fake\""]
["a", "\"fake\"", "copy"]
["\"fake\"", "copy", "of"]
["copy", "of", "a"]
["of", "a", "folder,"]
["a", "folder,", "but"]
["folder,", "but", "when"]
["but", "when", "you"]
["when", "you", "open"]
["you", "open", "it,"]
["open", "it,", "it"]
["it,", "it", "takes"]
["it", "takes", "you"]
["takes", "you", "to"]
["you", "to", "the"]
["to", "the", "real"]
["the", "real", "one."]
["real", "one.", "\ud83e\udde0"]
["one.", "\ud83e\udde0", "In"]
["\ud83e\udde0", "In", "Python"]
["In", "Python", "and"]
["Python", "and", "Linux:"]
["and", "Linux:", "os.symlink(\"real_file.txt\","]
["Linux:", "os.symlink(\"real_file.txt\",", "\"shortcut.txt\")"]
["os.symlink(\"real_file.txt\",", "\"shortcut.txt\")", "Now"]
["\"shortcut.txt\")", "Now", "if"]
["Now", "if", "you"]
["if", "you", "open"]
["you", "open", "shortcut.txt,"]
["open", "shortcut.txt,", "it"]
["shortcut.txt,", "it", "behaves"]
["it", "behaves", "like"]
["behaves", "like", "real_file.txt."]
["like", "real_file.txt.", "\u2713"]
["real_file.txt.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "Mounting?"]
["Is", "Mounting?", "\u2022"]
["Mounting?", "\u2022", "Mounting"]
["\u2022", "Mounting", "means"]
["Mounting", "means", "connecting"]
["means", "connecting", "an"]
["connecting", "an", "external"]
["an", "external", "drive/folder"]
["external", "drive/folder", "into"]
["drive/folder", "into", "your"]
["into", "your", "system"]
["your", "system", "Like"]
["system", "Like", "when"]
["Like", "when", "you"]
["when", "you", "plug"]
["you", "plug", "in"]
["plug", "in", "a"]
["in", "a", "USB"]
["a", "USB", "and"]
["USB", "and", "your"]
["and", "your", "OS"]
["your", "OS", "gives"]
["OS", "gives", "it"]
["gives", "it", "a"]
["it", "a", "name"]
["a", "name", "like"]
["name", "like", "E:"]
["like", "E:", "or"]
["E:", "or", "/mnt/usb."]
["or", "/mnt/usb.", "Mount"]
["/mnt/usb.", "Mount", "points"]
["Mount", "points", "are"]
["points", "are", "folder"]
["are", "folder", "paths"]
["folder", "paths", "where"]
["paths", "where", "other"]
["where", "other", "storage"]
["other", "storage", "is"]
["storage", "is", "made"]
["is", "made", "available."]
["made", "available.", "In"]
["available.", "In", "Termux"]
["In", "Termux", "or"]
["Termux", "or", "Linux:"]
["or", "Linux:", "Your"]
["Linux:", "Your", "internal"]
["Your", "internal", "storage"]
["internal", "storage", "may"]
["storage", "may", "be"]
["may", "be", "mounted"]
["be", "mounted", "at"]
["mounted", "at", "/sdcard"]
["at", "/sdcard", "Temporary"]
["/sdcard", "Temporary", "files"]
["Temporary", "files", "may"]
["files", "may", "be"]
["may", "be", "mounted"]
["be", "mounted", "at"]
["mounted", "at", "/tmp"]
["at", "/tmp", "Python"]
["/tmp", "Python", "doesn\u2019t"]
["Python", "doesn\u2019t", "directly"]
["doesn\u2019t", "directly", "\"mount\""]
["directly", "\"mount\"", "stuff,"]
["\"mount\"", "stuff,", "but"]
["stuff,", "but", "you'll"]
["but", "you'll", "often"]
["you'll", "often", "deal"]
["often", "deal", "with"]
["deal", "with", "mounted"]
["with", "mounted", "paths."]
["mounted", "paths.", "\u2713"]
["paths.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "Encoding?"]
["Is", "Encoding?", "\u2022"]
["Encoding?", "\u2022", "Encoding"]
["\u2022", "Encoding", "means"]
["Encoding", "means", "converting"]
["means", "converting", "text"]
["converting", "text", "into"]
["text", "into", "bytes"]
["into", "bytes", "Computers"]
["bytes", "Computers", "don\u2019t"]
["Computers", "don\u2019t", "store"]
["don\u2019t", "store", "letters"]
["store", "letters", "like"]
["letters", "like", "\u201cA\u201d"]
["like", "\u201cA\u201d", "or"]
["\u201cA\u201d", "or", "\u201c\ud83d\ude0a\u201d"]
["or", "\u201c\ud83d\ude0a\u201d", "directly"]
["\u201c\ud83d\ude0a\u201d", "directly", "\u2014"]
["directly", "\u2014", "they"]
["\u2014", "they", "convert"]
["they", "convert", "them"]
["convert", "them", "to"]
["them", "to", "numbers"]
["to", "numbers", "using"]
["numbers", "using", "a"]
["using", "a", "system"]
["a", "system", "like"]
["system", "like", "UTF-8"]
["like", "UTF-8", "or"]
["UTF-8", "or", "ASCII."]
["or", "ASCII.", "\"hello\""]
["ASCII.", "\"hello\"", "\u2192"]
["\"hello\"", "\u2192", "becomes"]
["\u2192", "becomes", "\u2192"]
["becomes", "\u2192", "b'hello'"]
["\u2192", "b'hello'", "(a"]
["b'hello'", "(a", "byte"]
["(a", "byte", "version"]
["byte", "version", "of"]
["version", "of", "the"]
["of", "the", "string)"]
["the", "string)", "You"]
["string)", "You", "often"]
["You", "often", "see"]
["often", "see", "encoding"]
["see", "encoding", "in"]
["encoding", "in", "Python"]
["in", "Python", "when"]
["Python", "when", "opening"]
["when", "opening", "files:"]
["opening", "files:", "f"]
["files:", "f", "="]
["f", "=", "open(\"data.txt\","]
["=", "open(\"data.txt\",", "\"r\","]
["open(\"data.txt\",", "\"r\",", "encoding=\"utf-8\")"]
["\"r\",", "encoding=\"utf-8\")", "\ud83d\udccc"]
["encoding=\"utf-8\")", "\ud83d\udccc", "If"]
["\ud83d\udccc", "If", "the"]
["If", "the", "encoding"]
["the", "encoding", "is"]
["encoding", "is", "wrong,"]
["is", "wrong,", "the"]
["wrong,", "the", "file"]
["the", "file", "may"]
["file", "may", "look"]
["may", "look", "broken"]
["look", "broken", "or"]
["broken", "or", "unreadable."]
["or", "unreadable.", "\u2713"]
["unreadable.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Path"]
["a", "Path", "Separator?"]
["Path", "Separator?", "\u2022"]
["Separator?", "\u2022", "Different"]
["\u2022", "Different", "operating"]
["Different", "operating", "systems"]
["operating", "systems", "use"]
["systems", "use", "different"]
["use", "different", "symbols"]
["different", "symbols", "to"]
["symbols", "to", "separate"]
["to", "separate", "folders."]
["separate", "folders.", "OS"]
["folders.", "OS", "Path"]
["OS", "Path", "Separator"]
["Path", "Separator", "Example"]
["Separator", "Example", "Path"]
["Example", "Path", "Windows"]
["Path", "Windows", "\\"]
["Windows", "\\", "C:\\Users\\Name\\Documents"]
["\\", "C:\\Users\\Name\\Documents", "Linux/mac"]
["C:\\Users\\Name\\Documents", "Linux/mac", "/"]
["Linux/mac", "/", "/home/name/Documents"]
["/", "/home/name/Documents", "That\u2019s"]
["/home/name/Documents", "That\u2019s", "why"]
["That\u2019s", "why", "Python"]
["why", "Python", "gives"]
["Python", "gives", "us"]
["gives", "us", "a"]
["us", "a", "tool"]
["a", "tool", "to"]
["tool", "to", "join"]
["to", "join", "paths"]
["join", "paths", "automatically:"]
["paths", "automatically:", "os.path.join(\"folder\","]
["automatically:", "os.path.join(\"folder\",", "\"file.txt\")"]
["os.path.join(\"folder\",", "\"file.txt\")", "#"]
["\"file.txt\")", "#", "Works"]
["#", "Works", "on"]
["Works", "on", "all"]
["on", "all", "OSes!"]
["all", "OSes!", "\u2713"]
["OSes!", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "File"]
["Are", "File", "Stats?"]
["File", "Stats?", "\u2022"]
["Stats?", "\u2022", "File"]
["\u2022", "File", "\"stats\""]
["File", "\"stats\"", "mean"]
["\"stats\"", "mean", "information"]
["mean", "information", "about"]
["information", "about", "a"]
["about", "a", "file"]
["a", "file", "\u2014"]
["file", "\u2014", "like:"]
["\u2014", "like:", "Size"]
["like:", "Size", "Creation"]
["Size", "Creation", "time"]
["Creation", "time", "Last"]
["time", "Last", "modified"]
["Last", "modified", "time"]
["modified", "time", "Permissions"]
["time", "Permissions", "Type"]
["Permissions", "Type", "(file,"]
["Type", "(file,", "folder,"]
["(file,", "folder,", "link,"]
["folder,", "link,", "etc.)"]
["link,", "etc.)", "Python"]
["etc.)", "Python", "gives"]
["Python", "gives", "you"]
["gives", "you", "these"]
["you", "these", "using"]
["these", "using", "os.stat(),"]
["using", "os.stat(),", "which"]
["os.stat(),", "which", "returns"]
["which", "returns", "all"]
["returns", "all", "of"]
["all", "of", "that"]
["of", "that", "info"]
["that", "info", "at"]
["info", "at", "once."]
["at", "once.", "Example:"]
["once.", "Example:", "info"]
["Example:", "info", "="]
["info", "=", "os.stat(\"data.txt\")"]
["=", "os.stat(\"data.txt\")", "print(\"Size"]
["os.stat(\"data.txt\")", "print(\"Size", "is:\","]
["print(\"Size", "is:\",", "info.st_size)"]
["is:\",", "info.st_size)", "print(\"Last"]
["info.st_size)", "print(\"Last", "modified:\","]
["print(\"Last", "modified:\",", "info.st_mtime)"]
["modified:\",", "info.st_mtime)", "\u2713"]
["info.st_mtime)", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Exit"]
["Are", "Exit", "Codes?"]
["Exit", "Codes?", "\u2022"]
["Codes?", "\u2022", "When"]
["\u2022", "When", "a"]
["When", "a", "process"]
["a", "process", "finishes"]
["process", "finishes", "running,"]
["finishes", "running,", "it"]
["running,", "it", "gives"]
["it", "gives", "back"]
["gives", "back", "a"]
["back", "a", "number"]
["a", "number", "called"]
["number", "called", "an"]
["called", "an", "exit"]
["an", "exit", "code."]
["exit", "code.", "0"]
["code.", "0", "usually"]
["0", "usually", "means"]
["usually", "means", "\u201cEverything"]
["means", "\u201cEverything", "went"]
["\u201cEverything", "went", "OK\u201d"]
["went", "OK\u201d", "Any"]
["OK\u201d", "Any", "other"]
["Any", "other", "number"]
["other", "number", "means"]
["number", "means", "\u201cSomething"]
["means", "\u201cSomething", "went"]
["\u201cSomething", "went", "wrong\u201d"]
["went", "wrong\u201d", "You\u2019ll"]
["wrong\u201d", "You\u2019ll", "see"]
["You\u2019ll", "see", "this"]
["see", "this", "in"]
["this", "in", "shell"]
["in", "shell", "commands"]
["shell", "commands", "and"]
["commands", "and", "sometimes"]
["and", "sometimes", "when"]
["sometimes", "when", "using"]
["when", "using", "os.system()."]
["using", "os.system().", "\u2713"]
["os.system().", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "an"]
["Is", "an", "Absolute"]
["an", "Absolute", "vs"]
["Absolute", "vs", "Relative"]
["vs", "Relative", "Path?"]
["Relative", "Path?", "\u2022"]
["Path?", "\u2022", "Absolute"]
["\u2022", "Absolute", "path"]
["Absolute", "path", "="]
["path", "=", "full"]
["=", "full", "location"]
["full", "location", "from"]
["location", "from", "the"]
["from", "the", "root"]
["the", "root", "of"]
["root", "of", "the"]
["of", "the", "system"]
["the", "system", "Like:"]
["system", "Like:", "/home/user/docs/file.txt"]
["Like:", "/home/user/docs/file.txt", "\u2022"]
["/home/user/docs/file.txt", "\u2022", "Relative"]
["\u2022", "Relative", "path"]
["Relative", "path", "="]
["path", "=", "shortcut"]
["=", "shortcut", "based"]
["shortcut", "based", "on"]
["based", "on", "where"]
["on", "where", "you"]
["where", "you", "are"]
["you", "are", "right"]
["are", "right", "now"]
["right", "now", "Like:"]
["now", "Like:", "../file.txt"]
["Like:", "../file.txt", "(go"]
["../file.txt", "(go", "one"]
["(go", "one", "folder"]
["one", "folder", "up)"]
["folder", "up)", "Knowing"]
["up)", "Knowing", "this"]
["Knowing", "this", "helps"]
["this", "helps", "when"]
["helps", "when", "using"]
["when", "using", "os.chdir()"]
["using", "os.chdir()", "or"]
["os.chdir()", "or", "opening"]
["or", "opening", "files."]
["opening", "files.", "\u2713"]
["files.", "\u2713", "What"]
["\u2713", "What", "Does"]
["What", "Does", "\"Blocking\""]
["Does", "\"Blocking\"", "Mean?"]
["\"Blocking\"", "Mean?", "\u2022"]
["Mean?", "\u2022", "If"]
["\u2022", "If", "something"]
["If", "something", "is"]
["something", "is", "blocking,"]
["is", "blocking,", "it"]
["blocking,", "it", "makes"]
["it", "makes", "Python"]
["makes", "Python", "wait"]
["Python", "wait", "until"]
["wait", "until", "it\u2019s"]
["until", "it\u2019s", "done."]
["it\u2019s", "done.", "Example:"]
["done.", "Example:", "os.system(\"sleep"]
["Example:", "os.system(\"sleep", "5\")"]
["os.system(\"sleep", "5\")", "This"]
["5\")", "This", "tells"]
["This", "tells", "Python:"]
["tells", "Python:", "\u201cPause"]
["Python:", "\u201cPause", "for"]
["\u201cPause", "for", "5"]
["for", "5", "seconds"]
["5", "seconds", "\u2014"]
["seconds", "\u2014", "do"]
["\u2014", "do", "nothing"]
["do", "nothing", "else.\u201d"]
["nothing", "else.\u201d", "Sometimes"]
["else.\u201d", "Sometimes", "we"]
["Sometimes", "we", "want"]
["we", "want", "non-blocking"]
["want", "non-blocking", "code"]
["non-blocking", "code", "that"]
["code", "that", "works"]
["that", "works", "in"]
["works", "in", "the"]
["in", "the", "background,"]
["the", "background,", "but"]
["background,", "but", "that\u2019s"]
["but", "that\u2019s", "an"]
["that\u2019s", "an", "advanced"]
["an", "advanced", "topic."]
["advanced", "topic.", "\u2713"]
["topic.", "\u2713", "Summary"]
["\u2713", "Summary", "of"]
["Summary", "of", "New"]
["of", "New", "Terms"]
["New", "Terms", "Concept"]
["Terms", "Concept", "Super"]
["Concept", "Super", "Simple"]
["Super", "Simple", "Meaning"]
["Simple", "Meaning", "Symbolic"]
["Meaning", "Symbolic", "link"]
["Symbolic", "link", "Fake"]
["link", "Fake", "file/folder"]
["Fake", "file/folder", "that"]
["file/folder", "that", "points"]
["that", "points", "to"]
["points", "to", "another"]
["to", "another", "one"]
["another", "one", "Mount"]
["one", "Mount", "point"]
["Mount", "point", "A"]
["point", "A", "folder"]
["A", "folder", "that"]
["folder", "that", "connects"]
["that", "connects", "to"]
["connects", "to", "external"]
["to", "external", "storage"]
["external", "storage", "Encoding"]
["storage", "Encoding", "How"]
["Encoding", "How", "text"]
["How", "text", "is"]
["text", "is", "stored"]
["is", "stored", "as"]
["stored", "as", "bytes"]
["as", "bytes", "Path"]
["bytes", "Path", "separator"]
["Path", "separator", "Symbol"]
["separator", "Symbol", "used"]
["Symbol", "used", "to"]
["used", "to", "separate"]
["to", "separate", "folders"]
["separate", "folders", "in"]
["folders", "in", "a"]
["in", "a", "path"]
["a", "path", "File"]
["path", "File", "stats"]
["File", "stats", "Info"]
["stats", "Info", "like"]
["Info", "like", "size,"]
["like", "size,", "type,"]
["size,", "type,", "time,"]
["type,", "time,", "permissions"]
["time,", "permissions", "Exit"]
["permissions", "Exit", "code"]
["Exit", "code", "Number"]
["code", "Number", "that"]
["Number", "that", "shows"]
["that", "shows", "if"]
["shows", "if", "a"]
["if", "a", "command"]
["a", "command", "failed"]
["command", "failed", "or"]
["failed", "or", "succeeded"]
["or", "succeeded", "Absolute"]
["succeeded", "Absolute", "path"]
["Absolute", "path", "Full"]
["path", "Full", "location"]
["Full", "location", "of"]
["location", "of", "a"]
["of", "a", "file/folder"]
["a", "file/folder", "Relative"]
["file/folder", "Relative", "path"]
["Relative", "path", "Shorter"]
["path", "Shorter", "location"]
["Shorter", "location", "based"]
["location", "based", "on"]
["based", "on", "where"]
["on", "where", "you"]
["where", "you", "are"]
["you", "are", "Blocking"]
["are", "Blocking", "Code"]
["Blocking", "Code", "that"]
["Code", "that", "makes"]
["that", "makes", "Python"]
["makes", "Python", "stop"]
["Python", "stop", "and"]
["stop", "and", "wait"]
["and", "wait", "Would"]
["wait", "Would", "you"]
["Would", "you", "like"]
["you", "like", "one"]
["like", "one", "more"]
["one", "more", "final"]
["more", "final", "set"]
["final", "set", "of"]
["set", "of", "core"]
["of", "core", "basics,"]
["core", "basics,", "or"]
["basics,", "or", "are"]
["or", "are", "you"]
["are", "you", "now"]
["you", "now", "ready"]
["now", "ready", "to"]
["ready", "to", "begin"]
["to", "begin", "the"]
["begin", "the", "real"]
["the", "real", "os"]
["real", "os", "module"]
["os", "module", "functions"]
["module", "functions", "one"]
["functions", "one", "by"]
["one", "by", "one"]
["by", "one", "(starting"]
["one", "(starting", "with"]
["(starting", "with", "os.getcwd())?"]
["with", "os.getcwd())?", "You"]
["os.getcwd())?", "You", "said:"]
["You", "said:", "Corr"]
["said:", "Corr", "basics"]
["Corr", "basics", "ChatGPT"]
["basics", "ChatGPT", "said:"]
["ChatGPT", "said:", "Great!"]
["said:", "Great!", "Let\u2019s"]
["Great!", "Let\u2019s", "now"]
["Let\u2019s", "now", "go"]
["now", "go", "over"]
["go", "over", "core"]
["over", "core", "basics"]
["core", "basics", "\u2014"]
["basics", "\u2014", "the"]
["\u2014", "the", "final"]
["the", "final", "important"]
["final", "important", "building"]
["important", "building", "blocks"]
["building", "blocks", "that"]
["blocks", "that", "will"]
["that", "will", "complete"]
["will", "complete", "your"]
["complete", "your", "foundation"]
["your", "foundation", "before"]
["foundation", "before", "learning"]
["before", "learning", "any"]
["learning", "any", "real"]
["any", "real", "os"]
["real", "os", "functions."]
["os", "functions.", "These"]
["functions.", "These", "are"]
["These", "are", "the"]
["are", "the", "last"]
["the", "last", "group"]
["last", "group", "of"]
["group", "of", "terms"]
["of", "terms", "that"]
["terms", "that", "are"]
["that", "are", "often"]
["are", "often", "confusing"]
["often", "confusing", "in"]
["confusing", "in", "the"]
["in", "the", "Python"]
["the", "Python", "docs"]
["Python", "docs", "but"]
["docs", "but", "are"]
["but", "are", "super"]
["are", "super", "important"]
["super", "important", "to"]
["important", "to", "understand"]
["to", "understand", "first."]
["understand", "first.", "\ud83c\udf31"]
["first.", "\ud83c\udf31", "Final"]
["\ud83c\udf31", "Final", "OS"]
["Final", "OS", "Module"]
["OS", "Module", "Core"]
["Module", "Core", "Basics"]
["Core", "Basics", "\u2014"]
["Basics", "\u2014", "Super"]
["\u2014", "Super", "Simple"]
["Super", "Simple", "Explanations"]
["Simple", "Explanations", "\u2713"]
["Explanations", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Directory?"]
["a", "Directory?", "\u2022"]
["Directory?", "\u2022", "A"]
["\u2022", "A", "directory"]
["A", "directory", "is"]
["directory", "is", "just"]
["is", "just", "another"]
["just", "another", "name"]
["another", "name", "for"]
["name", "for", "a"]
["for", "a", "folder."]
["a", "folder.", "Your"]
["folder.", "Your", "desktop,"]
["Your", "desktop,", "downloads,"]
["desktop,", "downloads,", "and"]
["downloads,", "and", "documents"]
["and", "documents", "\u2014"]
["documents", "\u2014", "they\u2019re"]
["\u2014", "they\u2019re", "all"]
["they\u2019re", "all", "directories."]
["all", "directories.", "\ud83e\udde0"]
["directories.", "\ud83e\udde0", "In"]
["\ud83e\udde0", "In", "the"]
["In", "the", "os"]
["the", "os", "module:"]
["os", "module:", "\u201cDirectory\u201d"]
["module:", "\u201cDirectory\u201d", "="]
["\u201cDirectory\u201d", "=", "folder"]
["=", "folder", "\u201cFile\u201d"]
["folder", "\u201cFile\u201d", "="]
["\u201cFile\u201d", "=", "single"]
["=", "single", "item"]
["single", "item", "inside"]
["item", "inside", "a"]
["inside", "a", "folder"]
["a", "folder", "\u2713"]
["folder", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Path?"]
["a", "Path?", "\u2022"]
["Path?", "\u2022", "A"]
["\u2022", "A", "path"]
["A", "path", "is"]
["path", "is", "a"]
["is", "a", "string"]
["a", "string", "that"]
["string", "that", "tells"]
["that", "tells", "Python"]
["tells", "Python", "where"]
["Python", "where", "a"]
["where", "a", "file"]
["a", "file", "or"]
["file", "or", "folder"]
["or", "folder", "is"]
["folder", "is", "located"]
["is", "located", "Example"]
["located", "Example", "paths:"]
["Example", "paths:", "\"/home/user/Desktop/file.txt\""]
["paths:", "\"/home/user/Desktop/file.txt\"", "#"]
["\"/home/user/Desktop/file.txt\"", "#", "Linux/macOS/Termux"]
["#", "Linux/macOS/Termux", "\"C:\\\\Users\\\\John\\\\file.txt\""]
["Linux/macOS/Termux", "\"C:\\\\Users\\\\John\\\\file.txt\"", "#"]
["\"C:\\\\Users\\\\John\\\\file.txt\"", "#", "Windows"]
["#", "Windows", "Paths"]
["Windows", "Paths", "can"]
["Paths", "can", "point"]
["can", "point", "to:"]
["point", "to:", "Files"]
["to:", "Files", "Folders"]
["Files", "Folders", "(directories)"]
["Folders", "(directories)", "\u2713"]
["(directories)", "\u2713", "What"]
["\u2713", "What", "Does"]
["What", "Does", "\"Traverse\""]
["Does", "\"Traverse\"", "Mean?"]
["\"Traverse\"", "Mean?", "\u2022"]
["Mean?", "\u2022", "To"]
["\u2022", "To", "traverse"]
["To", "traverse", "a"]
["traverse", "a", "folder"]
["a", "folder", "means"]
["folder", "means", "to"]
["means", "to", "look"]
["to", "look", "inside"]
["look", "inside", "it"]
["inside", "it", "\u2014"]
["it", "\u2014", "possibly"]
["\u2014", "possibly", "loop"]
["possibly", "loop", "through"]
["loop", "through", "all"]
["through", "all", "files"]
["all", "files", "and"]
["files", "and", "folders."]
["and", "folders.", "Python"]
["folders.", "Python", "lets"]
["Python", "lets", "you"]
["lets", "you", "walk"]
["you", "walk", "through"]
["walk", "through", "a"]
["through", "a", "directory"]
["a", "directory", "structure"]
["directory", "structure", "using"]
["structure", "using", "tools"]
["using", "tools", "like"]
["tools", "like", "os.walk()."]
["like", "os.walk().", "We\u2019ll"]
["os.walk().", "We\u2019ll", "cover"]
["We\u2019ll", "cover", "that"]
["cover", "that", "later,"]
["that", "later,", "but"]
["later,", "but", "now"]
["but", "now", "just"]
["now", "just", "remember:"]
["just", "remember:", "Traverse"]
["remember:", "Traverse", "="]
["Traverse", "=", "look"]
["=", "look", "through"]
["look", "through", "everything"]
["through", "everything", "inside"]
["everything", "inside", "a"]
["inside", "a", "folder"]
["a", "folder", "\u2713"]
["folder", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "File"]
["a", "File", "Handle?"]
["File", "Handle?", "\u2022"]
["Handle?", "\u2022", "A"]
["\u2022", "A", "file"]
["A", "file", "handle"]
["file", "handle", "is"]
["handle", "is", "a"]
["is", "a", "small"]
["a", "small", "object"]
["small", "object", "Python"]
["object", "Python", "gives"]
["Python", "gives", "you"]
["gives", "you", "when"]
["you", "when", "you"]
["when", "you", "open"]
["you", "open", "a"]
["open", "a", "file."]
["a", "file.", "Example:"]
["file.", "Example:", "f"]
["Example:", "f", "="]
["f", "=", "open(\"data.txt\","]
["=", "open(\"data.txt\",", "\"r\")"]
["open(\"data.txt\",", "\"r\")", "Here,"]
["\"r\")", "Here,", "f"]
["Here,", "f", "is"]
["f", "is", "the"]
["is", "the", "file"]
["the", "file", "handle."]
["file", "handle.", "It"]
["handle.", "It", "controls"]
["It", "controls", "reading"]
["controls", "reading", "or"]
["reading", "or", "writing."]
["or", "writing.", "When"]
["writing.", "When", "you're"]
["When", "you're", "done"]
["you're", "done", "with"]
["done", "with", "it,"]
["with", "it,", "always"]
["it,", "always", "close"]
["always", "close", "it:"]
["close", "it:", "f.close()"]
["it:", "f.close()", "\u2713"]
["f.close()", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Permissions"]
["Are", "Permissions", "in"]
["Permissions", "in", "Simple"]
["in", "Simple", "Numbers?"]
["Simple", "Numbers?", "In"]
["Numbers?", "In", "Linux"]
["In", "Linux", "and"]
["Linux", "and", "Termux,"]
["and", "Termux,", "permission"]
["Termux,", "permission", "numbers"]
["permission", "numbers", "look"]
["numbers", "look", "like:"]
["look", "like:", "0o777"]
["like:", "0o777", "\u2014"]
["0o777", "\u2014", "full"]
["\u2014", "full", "access"]
["full", "access", "0o644"]
["access", "0o644", "\u2014"]
["0o644", "\u2014", "owner"]
["\u2014", "owner", "can"]
["owner", "can", "read/write,"]
["can", "read/write,", "others"]
["read/write,", "others", "can"]
["others", "can", "only"]
["can", "only", "read"]
["only", "read", "0o400"]
["read", "0o400", "\u2014"]
["0o400", "\u2014", "read-only"]
["\u2014", "read-only", "Python"]
["read-only", "Python", "uses"]
["Python", "uses", "these"]
["uses", "these", "when"]
["these", "when", "setting"]
["when", "setting", "file"]
["setting", "file", "access:"]
["file", "access:", "os.chmod(\"file.txt\","]
["access:", "os.chmod(\"file.txt\",", "0o644)"]
["os.chmod(\"file.txt\",", "0o644)", "\u2713"]
["0o644)", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "File"]
["a", "File", "System?"]
["File", "System?", "\u2022"]
["System?", "\u2022", "A"]
["\u2022", "A", "file"]
["A", "file", "system"]
["file", "system", "is"]
["system", "is", "how"]
["is", "how", "the"]
["how", "the", "OS"]
["the", "OS", "organizes"]
["OS", "organizes", "and"]
["organizes", "and", "stores"]
["and", "stores", "files."]
["stores", "files.", "Different"]
["files.", "Different", "file"]
["Different", "file", "systems"]
["file", "systems", "="]
["systems", "=", "different"]
["=", "different", "rules."]
["different", "rules.", "Examples:"]
["rules.", "Examples:", "File"]
["Examples:", "File", "System"]
["File", "System", "Used"]
["System", "Used", "By"]
["Used", "By", "NTFS"]
["By", "NTFS", "Windows"]
["NTFS", "Windows", "ext4"]
["Windows", "ext4", "Linux"]
["ext4", "Linux", "/"]
["Linux", "/", "Android"]
["/", "Android", "FAT32"]
["Android", "FAT32", "USB"]
["FAT32", "USB", "drives"]
["USB", "drives", "/"]
["drives", "/", "SD"]
["/", "SD", "This"]
["SD", "This", "explains"]
["This", "explains", "why"]
["explains", "why", "file"]
["why", "file", "limits"]
["file", "limits", "or"]
["limits", "or", "errors"]
["or", "errors", "can"]
["errors", "can", "happen"]
["can", "happen", "on"]
["happen", "on", "certain"]
["on", "certain", "drives."]
["certain", "drives.", "\u2713"]
["drives.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Temporary"]
["a", "Temporary", "File?"]
["Temporary", "File?", "\u2022"]
["File?", "\u2022", "A"]
["\u2022", "A", "temporary"]
["A", "temporary", "file"]
["temporary", "file", "is"]
["file", "is", "a"]
["is", "a", "file"]
["a", "file", "made"]
["file", "made", "just"]
["made", "just", "for"]
["just", "for", "short-term"]
["for", "short-term", "use,"]
["short-term", "use,", "then"]
["use,", "then", "deleted."]
["then", "deleted.", "Python"]
["deleted.", "Python", "can"]
["Python", "can", "work"]
["can", "work", "with"]
["work", "with", "these"]
["with", "these", "using"]
["these", "using", "/tmp"]
["using", "/tmp", "or"]
["/tmp", "or", "libraries"]
["or", "libraries", "like"]
["libraries", "like", "tempfile."]
["like", "tempfile.", "Useful"]
["tempfile.", "Useful", "for:"]
["Useful", "for:", "Saving"]
["for:", "Saving", "short-term"]
["Saving", "short-term", "logs"]
["short-term", "logs", "Caching"]
["logs", "Caching", "data"]
["Caching", "data", "Scratch"]
["data", "Scratch", "space"]
["Scratch", "space", "\u2713"]
["space", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Parent"]
["a", "Parent", "/"]
["Parent", "/", "Child"]
["/", "Child", "Directory?"]
["Child", "Directory?", "\u2022"]
["Directory?", "\u2022", "Parent"]
["\u2022", "Parent", "="]
["Parent", "=", "folder"]
["=", "folder", "that"]
["folder", "that", "contains"]
["that", "contains", "other"]
["contains", "other", "folders"]
["other", "folders", "\u2022"]
["folders", "\u2022", "Child"]
["\u2022", "Child", "="]
["Child", "=", "folder"]
["=", "folder", "or"]
["folder", "or", "file"]
["or", "file", "inside"]
["file", "inside", "the"]
["inside", "the", "parent"]
["the", "parent", "Example:"]
["parent", "Example:", "/home/user/Desktop/file.txt"]
["Example:", "/home/user/Desktop/file.txt", "Parent"]
["/home/user/Desktop/file.txt", "Parent", "folder:"]
["Parent", "folder:", "/home/user/Desktop"]
["folder:", "/home/user/Desktop", "Child"]
["/home/user/Desktop", "Child", "file:"]
["Child", "file:", "file.txt"]
["file:", "file.txt", "You\u2019ll"]
["file.txt", "You\u2019ll", "see"]
["You\u2019ll", "see", "terms"]
["see", "terms", "like"]
["terms", "like", ".."]
["like", "..", "(go"]
["..", "(go", "up"]
["(go", "up", "to"]
["up", "to", "parent)"]
["to", "parent)", "or"]
["parent)", "or", "."]
["or", ".", "(current"]
[".", "(current", "directory)."]
["(current", "directory).", "\u2713"]
["directory).", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "File"]
["a", "File", "Extension?"]
["File", "Extension?", "\u2022"]
["Extension?", "\u2022", "A"]
["\u2022", "A", "file"]
["A", "file", "extension"]
["file", "extension", "is"]
["extension", "is", "the"]
["is", "the", "part"]
["the", "part", "at"]
["part", "at", "the"]
["at", "the", "end"]
["the", "end", "of"]
["end", "of", "a"]
["of", "a", "filename"]
["a", "filename", "that"]
["filename", "that", "tells"]
["that", "tells", "what"]
["tells", "what", "type"]
["what", "type", "of"]
["type", "of", "file"]
["of", "file", "it"]
["file", "it", "is:"]
["it", "is:", "Examples:"]
["is:", "Examples:", "File"]
["Examples:", "File", "Type"]
["File", "Type", "hello.txt"]
["Type", "hello.txt", "Text"]
["hello.txt", "Text", "file"]
["Text", "file", "image.png"]
["file", "image.png", "Image"]
["image.png", "Image", "script.py"]
["Image", "script.py", "Python"]
["script.py", "Python", "file"]
["Python", "file", "Python"]
["file", "Python", "can"]
["Python", "can", "use"]
["can", "use", "os.path.splitext()"]
["use", "os.path.splitext()", "to"]
["os.path.splitext()", "to", "split"]
["to", "split", "a"]
["split", "a", "file"]
["a", "file", "and"]
["file", "and", "get"]
["and", "get", "its"]
["get", "its", "extension."]
["its", "extension.", "\u2713"]
["extension.", "\u2713", "Final"]
["\u2713", "Final", "Basics"]
["Final", "Basics", "Summary"]
["Basics", "Summary", "Table"]
["Summary", "Table", "Concept"]
["Table", "Concept", "Super"]
["Concept", "Super", "Simple"]
["Super", "Simple", "Meaning"]
["Simple", "Meaning", "Directory"]
["Meaning", "Directory", "Just"]
["Directory", "Just", "a"]
["Just", "a", "folder"]
["a", "folder", "Path"]
["folder", "Path", "File"]
["Path", "File", "or"]
["File", "or", "folder"]
["or", "folder", "location"]
["folder", "location", "Traverse"]
["location", "Traverse", "Look"]
["Traverse", "Look", "inside"]
["Look", "inside", "a"]
["inside", "a", "folder"]
["a", "folder", "and"]
["folder", "and", "list"]
["and", "list", "what\u2019s"]
["list", "what\u2019s", "inside"]
["what\u2019s", "inside", "File"]
["inside", "File", "handle"]
["File", "handle", "A"]
["handle", "A", "tool"]
["A", "tool", "Python"]
["tool", "Python", "gives"]
["Python", "gives", "you"]
["gives", "you", "when"]
["you", "when", "opening"]
["when", "opening", "a"]
["opening", "a", "file"]
["a", "file", "Permissions"]
["file", "Permissions", "(numbers)"]
["Permissions", "(numbers)", "Control"]
["(numbers)", "Control", "access"]
["Control", "access", "to"]
["access", "to", "read/write/execute"]
["to", "read/write/execute", "File"]
["read/write/execute", "File", "system"]
["File", "system", "Rules"]
["system", "Rules", "used"]
["Rules", "used", "to"]
["used", "to", "store"]
["to", "store", "files"]
["store", "files", "on"]
["files", "on", "a"]
["on", "a", "drive"]
["a", "drive", "Temporary"]
["drive", "Temporary", "file"]
["Temporary", "file", "A"]
["file", "A", "short-lived"]
["A", "short-lived", "file"]
["short-lived", "file", "Parent/Child"]
["file", "Parent/Child", "directory"]
["Parent/Child", "directory", "Folder"]
["directory", "Folder", "relationship"]
["Folder", "relationship", "\u2014"]
["relationship", "\u2014", "parent"]
["\u2014", "parent", "holds"]
["parent", "holds", "the"]
["holds", "the", "child"]
["the", "child", "File"]
["child", "File", "extension"]
["File", "extension", "Tells"]
["extension", "Tells", "the"]
["Tells", "the", "file"]
["the", "file", "type"]
["file", "type", "(like"]
["type", "(like", ".txt,"]
["(like", ".txt,", ".py)"]
[".txt,", ".py)", "\u2705"]
[".py)", "\u2705", "Now"]
["\u2705", "Now", "you're"]
["Now", "you're", "ready!"]
["you're", "ready!", "You\u2019ve"]
["ready!", "You\u2019ve", "learned:"]
["You\u2019ve", "learned:", "File"]
["learned:", "File", "descriptors,"]
["File", "descriptors,", "bytearrays,"]
["descriptors,", "bytearrays,", "paths"]
["bytearrays,", "paths", "Environment,"]
["paths", "Environment,", "processes,"]
["Environment,", "processes,", "shell,"]
["processes,", "shell,", "encoding"]
["shell,", "encoding", "Permissions,"]
["encoding", "Permissions,", "mounting,"]
["Permissions,", "mounting,", "file"]
["mounting,", "file", "stats,"]
["file", "stats,", "and"]
["stats,", "and", "more"]
["and", "more", "Would"]
["more", "Would", "you"]
["Would", "you", "like"]
["you", "like", "to"]
["like", "to", "start"]
["to", "start", "with"]
["start", "with", "the"]
["with", "the", "first"]
["the", "first", "real"]
["first", "real", "function"]
["real", "function", "now?"]
["function", "now?", "(Like"]
["now?", "(Like", "os.getcwd()"]
["(Like", "os.getcwd()", "\u2014"]
["os.getcwd()", "\u2014", "Get"]
["\u2014", "Get", "Current"]
["Get", "Current", "Working"]
["Current", "Working", "Directory),"]
["Working", "Directory),", "or"]
["Directory),", "or", "do"]
["or", "do", "you"]
["do", "you", "want"]
["you", "want", "a"]
["want", "a", "short"]
["a", "short", "revision/quiz"]
["short", "revision/quiz", "to"]
["revision/quiz", "to", "test"]
["to", "test", "your"]
["test", "your", "basics?"]
["your", "basics?", "You"]
["basics?", "You", "said:"]
["You", "said:", "Add"]
["said:", "Add", "more"]
["Add", "more", "basics"]
["more", "basics", "ChatGPT"]
["basics", "ChatGPT", "said:"]
["ChatGPT", "said:", "Absolutely!"]
["said:", "Absolutely!", "Let\u2019s"]
["Absolutely!", "Let\u2019s", "now"]
["Let\u2019s", "now", "cover"]
["now", "cover", "even"]
["cover", "even", "more"]
["even", "more", "basic"]
["more", "basic", "terms"]
["basic", "terms", "and"]
["terms", "and", "background"]
["and", "background", "concepts"]
["background", "concepts", "that"]
["concepts", "that", "will"]
["that", "will", "help"]
["will", "help", "you"]
["help", "you", "understand"]
["you", "understand", "everything"]
["understand", "everything", "the"]
["everything", "the", "os"]
["the", "os", "module"]
["os", "module", "does"]
["module", "does", "\u2014"]
["does", "\u2014", "especially"]
["\u2014", "especially", "the"]
["especially", "the", "things"]
["the", "things", "that"]
["things", "that", "are"]
["that", "are", "often"]
["are", "often", "skipped"]
["often", "skipped", "or"]
["skipped", "or", "assumed"]
["or", "assumed", "in"]
["assumed", "in", "the"]
["in", "the", "Python"]
["the", "Python", "docs."]
["Python", "docs.", "\ud83c\udf31"]
["docs.", "\ud83c\udf31", "Deep"]
["\ud83c\udf31", "Deep", "Core"]
["Deep", "Core", "OS"]
["Core", "OS", "Module"]
["OS", "Module", "Basics"]
["Module", "Basics", "\u2014"]
["Basics", "\u2014", "Extra"]
["\u2014", "Extra", "Simple"]
["Extra", "Simple", "(Part"]
["Simple", "(Part", "4)"]
["(Part", "4)", "\u2713"]
["4)", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Process?"]
["a", "Process?", "\u2022"]
["Process?", "\u2022", "A"]
["\u2022", "A", "process"]
["A", "process", "is"]
["process", "is", "a"]
["is", "a", "running"]
["a", "running", "program."]
["running", "program.", "When"]
["program.", "When", "you"]
["When", "you", "open"]
["you", "open", "Chrome,"]
["open", "Chrome,", "it"]
["Chrome,", "it", "becomes"]
["it", "becomes", "a"]
["becomes", "a", "process."]
["a", "process.", "When"]
["process.", "When", "you"]
["When", "you", "run"]
["you", "run", "a"]
["run", "a", "Python"]
["a", "Python", "script,"]
["Python", "script,", "it\u2019s"]
["script,", "it\u2019s", "also"]
["it\u2019s", "also", "a"]
["also", "a", "process."]
["a", "process.", "In"]
["process.", "In", "Python,"]
["In", "Python,", "the"]
["Python,", "the", "os"]
["the", "os", "module"]
["os", "module", "can:"]
["module", "can:", "Start"]
["can:", "Start", "a"]
["Start", "a", "new"]
["a", "new", "process"]
["new", "process", "Kill"]
["process", "Kill", "(stop)"]
["Kill", "(stop)", "a"]
["(stop)", "a", "process"]
["a", "process", "Get"]
["process", "Get", "the"]
["Get", "the", "ID"]
["the", "ID", "of"]
["ID", "of", "the"]
["of", "the", "process"]
["the", "process", "\ud83e\udde0"]
["process", "\ud83e\udde0", "Each"]
["\ud83e\udde0", "Each", "process"]
["Each", "process", "has"]
["process", "has", "a"]
["has", "a", "PID"]
["a", "PID", "(Process"]
["PID", "(Process", "ID)."]
["(Process", "ID).", "\u2713"]
["ID).", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "PID?"]
["a", "PID?", "\u2022"]
["PID?", "\u2022", "PID"]
["\u2022", "PID", "="]
["PID", "=", "Process"]
["=", "Process", "ID"]
["Process", "ID", "It\u2019s"]
["ID", "It\u2019s", "just"]
["It\u2019s", "just", "a"]
["just", "a", "unique"]
["a", "unique", "number"]
["unique", "number", "the"]
["number", "the", "system"]
["the", "system", "gives"]
["system", "gives", "to"]
["gives", "to", "each"]
["to", "each", "running"]
["each", "running", "program."]
["running", "program.", "Example:"]
["program.", "Example:", "os.getpid()"]
["Example:", "os.getpid()", "#"]
["os.getpid()", "#", "Returns"]
["#", "Returns", "the"]
["Returns", "the", "PID"]
["the", "PID", "of"]
["PID", "of", "your"]
["of", "your", "Python"]
["your", "Python", "script"]
["Python", "script", "You"]
["script", "You", "can"]
["You", "can", "use"]
["can", "use", "this"]
["use", "this", "ID"]
["this", "ID", "to"]
["ID", "to", "monitor"]
["to", "monitor", "or"]
["monitor", "or", "stop"]
["or", "stop", "a"]
["stop", "a", "process."]
["a", "process.", "\u2713"]
["process.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "Shell?"]
["a", "Shell?", "\u2022"]
["Shell?", "\u2022", "A"]
["\u2022", "A", "shell"]
["A", "shell", "is"]
["shell", "is", "a"]
["is", "a", "program"]
["a", "program", "that"]
["program", "that", "lets"]
["that", "lets", "you"]
["lets", "you", "type"]
["you", "type", "commands"]
["type", "commands", "to"]
["commands", "to", "control"]
["to", "control", "your"]
["control", "your", "computer."]
["your", "computer.", "Examples"]
["computer.", "Examples", "of"]
["Examples", "of", "shells:"]
["of", "shells:", "Bash"]
["shells:", "Bash", "(used"]
["Bash", "(used", "in"]
["(used", "in", "Linux"]
["in", "Linux", "and"]
["Linux", "and", "Termux)"]
["and", "Termux)", "CMD"]
["Termux)", "CMD", "(used"]
["CMD", "(used", "in"]
["(used", "in", "Windows)"]
["in", "Windows)", "Py"]
["Windows)", "Py", ""]
["", "Skip", "to"]
["Skip", "to", "content"]
["to", "content", "You"]
["content", "You", "said:"]
["You", "said:", "There"]
["said:", "There", "are"]
["There", "are", "some"]
["are", "some", "basics"]
["some", "basics", "u"]
["basics", "u", "need"]
["u", "need", "to"]
["need", "to", "know"]
["to", "know", "when"]
["know", "when", "learn"]
["when", "learn", "os"]
["learn", "os", "module"]
["os", "module", "in"]
["module", "in", "python,not"]
["in", "python,not", "necessarily"]
["python,not", "necessarily", "that"]
["necessarily", "that", "functions"]
["that", "functions", "bt"]
["functions", "bt", "the"]
["bt", "the", "basics"]
["the", "basics", "like"]
["basics", "like", "file"]
["like", "file", "descriptors,"]
["file", "descriptors,", "modes,some"]
["descriptors,", "modes,some", "parameters,unix,..i"]
["modes,some", "parameters,unix,..i", "want"]
["parameters,unix,..i", "want", "u"]
["want", "u", "to"]
["u", "to", "break"]
["to", "break", "down"]
["break", "down", "to"]
["down", "to", "baby"]
["to", "baby", "explanation"]
["baby", "explanation", "comprehensively,because"]
["explanation", "comprehensively,because", "when"]
["comprehensively,because", "when", "i"]
["when", "i", "use"]
["i", "use", "the"]
["use", "the", "original"]
["the", "original", "python"]
["original", "python", "documentation"]
["python", "documentation", "i"]
["documentation", "i", "dony"]
["i", "dony", "easily"]
["dony", "easily", "understand"]
["easily", "understand", "because"]
["understand", "because", "of"]
["because", "of", "those"]
["of", "those", "words..such"]
["those", "words..such", "as"]
["words..such", "as", "bytearrets..i"]
["as", "bytearrets..i", "dont"]
["bytearrets..i", "dont", "know"]
["dont", "know", "ChatGPT"]
["know", "ChatGPT", "said:"]
["ChatGPT", "said:", "You're"]
["said:", "You're", "100%"]
["You're", "100%", "right"]
["100%", "right", "\u2014"]
["right", "\u2014", "before"]
["\u2014", "before", "diving"]
["before", "diving", "into"]
["diving", "into", "the"]
["into", "the", "os"]
["the", "os", "module,"]
["os", "module,", "it's"]
["module,", "it's", "super"]
["it's", "super", "important"]
["super", "important", "to"]
["important", "to", "understand"]
["to", "understand", "the"]
["understand", "the", "basic"]
["the", "basic", "concepts"]
["basic", "concepts", "it"]
["concepts", "it", "depends"]
["it", "depends", "on."]
["depends", "on.", "Many"]
["on.", "Many", "words"]
["Many", "words", "in"]
["words", "in", "the"]
["in", "the", "Python"]
["the", "Python", "documentation"]
["Python", "documentation", "can"]
["documentation", "can", "be"]
["can", "be", "confusing"]
["be", "confusing", "if"]
["confusing", "if", "you're"]
["if", "you're", "not"]
["you're", "not", "already"]
["not", "already", "familiar"]
["already", "familiar", "with"]
["familiar", "with", "them,"]
["with", "them,", "like:"]
["them,", "like:", "file"]
["like:", "file", "descriptors"]
["file", "descriptors", "modes"]
["descriptors", "modes", "bytes"]
["modes", "bytes", "or"]
["bytes", "or", "bytearrays"]
["or", "bytearrays", "Unix"]
["bytearrays", "Unix", "vs"]
["Unix", "vs", "Windows"]
["vs", "Windows", "paths"]
["Windows", "paths", "permissions"]
["paths", "permissions", "buffering"]
["permissions", "buffering", "Let\u2019s"]
["buffering", "Let\u2019s", "break"]
["Let\u2019s", "break", "all"]
["break", "all", "of"]
["all", "of", "these"]
["of", "these", "down"]
["these", "down", "one"]
["down", "one", "by"]
["one", "by", "one,"]
["by", "one,", "like"]
["one,", "like", "teaching"]
["like", "teaching", "someone"]
["teaching", "someone", "who"]
["someone", "who", "is"]
["who", "is", "new"]
["is", "new", "to"]
["new", "to", "programming."]
["to", "programming.", "I\u2019ll"]
["programming.", "I\u2019ll", "make"]
["I\u2019ll", "make", "sure"]
["make", "sure", "it\u2019s"]
["sure", "it\u2019s", "super"]
["it\u2019s", "super", "simple"]
["super", "simple", "with"]
["simple", "with", "examples."]
["with", "examples.", "\ud83c\udf1f"]
["examples.", "\ud83c\udf1f", "OS"]
["\ud83c\udf1f", "OS", "Module"]
["OS", "Module", "Prerequisites"]
["Module", "Prerequisites", "\u2013"]
["Prerequisites", "\u2013", "Baby-Level"]
["\u2013", "Baby-Level", "Explanations"]
["Baby-Level", "Explanations", "\u2713"]
["Explanations", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "the"]
["Is", "the", "os"]
["the", "os", "Module?"]
["os", "Module?", "\u2022"]
["Module?", "\u2022", "The"]
["\u2022", "The", "os"]
["The", "os", "module"]
["os", "module", "gives"]
["module", "gives", "Python"]
["gives", "Python", "the"]
["Python", "the", "power"]
["the", "power", "to"]
["power", "to", "interact"]
["to", "interact", "with"]
["interact", "with", "your"]
["with", "your", "computer's"]
["your", "computer's", "operating"]
["computer's", "operating", "system"]
["operating", "system", "This"]
["system", "This", "means"]
["This", "means", "Python"]
["means", "Python", "can"]
["Python", "can", "create"]
["can", "create", "files,"]
["create", "files,", "delete"]
["files,", "delete", "files,"]
["delete", "files,", "rename"]
["files,", "rename", "folders,"]
["rename", "folders,", "read"]
["folders,", "read", "environment"]
["read", "environment", "variables,"]
["environment", "variables,", "and"]
["variables,", "and", "even"]
["and", "even", "run"]
["even", "run", "other"]
["run", "other", "programs"]
["other", "programs", "\u2014"]
["programs", "\u2014", "just"]
["\u2014", "just", "like"]
["just", "like", "a"]
["like", "a", "human"]
["a", "human", "using"]
["human", "using", "the"]
["using", "the", "computer"]
["the", "computer", "manually."]
["computer", "manually.", "\u2713"]
["manually.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "an"]
["Is", "an", "Operating"]
["an", "Operating", "System?"]
["Operating", "System?", "\u2022"]
["System?", "\u2022", "An"]
["\u2022", "An", "operating"]
["An", "operating", "system"]
["operating", "system", "(OS)"]
["system", "(OS)", "is"]
["(OS)", "is", "the"]
["is", "the", "software"]
["the", "software", "that"]
["software", "that", "controls"]
["that", "controls", "your"]
["controls", "your", "whole"]
["your", "whole", "computer"]
["whole", "computer", "Examples"]
["computer", "Examples", "are:"]
["Examples", "are:", "Windows,"]
["are:", "Windows,", "Linux,"]
["Windows,", "Linux,", "macOS,"]
["Linux,", "macOS,", "Android."]
["macOS,", "Android.", "The"]
["Android.", "The", "os"]
["The", "os", "module"]
["os", "module", "lets"]
["module", "lets", "Python"]
["lets", "Python", "communicate"]
["Python", "communicate", "with"]
["communicate", "with", "these"]
["with", "these", "systems."]
["these", "systems.", "\u2713"]
["systems.", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "a"]
["Is", "a", "File"]
["a", "File", "Descriptor?"]
["File", "Descriptor?", "\u2022"]
["Descriptor?", "\u2022", "A"]
["\u2022", "A", "file"]
["A", "file", "descriptor"]
["file", "descriptor", "is"]
["descriptor", "is", "just"]
["is", "just", "a"]
["just", "a", "number"]
["a", "number", "that"]
["number", "that", "the"]
["that", "the", "operating"]
["the", "operating", "system"]
["operating", "system", "uses"]
["system", "uses", "to"]
["uses", "to", "represent"]
["to", "represent", "an"]
["represent", "an", "open"]
["an", "open", "file"]
["open", "file", "Think"]
["file", "Think", "of"]
["Think", "of", "it"]
["of", "it", "like"]
["it", "like", "this:"]
["like", "this:", "If"]
["this:", "If", "you"]
["If", "you", "open"]
["you", "open", "a"]
["open", "a", "file,"]
["a", "file,", "the"]
["file,", "the", "OS"]
["the", "OS", "gives"]
["OS", "gives", "it"]
["gives", "it", "a"]
["it", "a", "number"]
["a", "number", "(like"]
["number", "(like", "3)"]
["(like", "3)", "That"]
["3)", "That", "number"]
["That", "number", "is"]
["number", "is", "used"]
["is", "used", "behind"]
["used", "behind", "the"]
["behind", "the", "scenes"]
["the", "scenes", "to"]
["scenes", "to", "read,"]
["to", "read,", "write,"]
["read,", "write,", "or"]
["write,", "or", "close"]
["or", "close", "the"]
["close", "the", "file"]
["the", "file", "Code"]
["file", "Code", "import"]
["Code", "import", "os"]
["import", "os", "fd"]
["os", "fd", "="]
["fd", "=", "os.open(\"example.txt\","]
["=", "os.open(\"example.txt\",", "os.O_CREAT"]
["os.open(\"example.txt\",", "os.O_CREAT", "|"]
["os.O_CREAT", "|", "os.O_WRONLY)"]
["|", "os.O_WRONLY)", "print(fd)"]
["os.O_WRONLY)", "print(fd)", "#"]
["print(fd)", "#", "Might"]
["#", "Might", "print"]
["Might", "print", "3"]
["print", "3", "or"]
["3", "or", "4"]
["or", "4", "\u2013"]
["4", "\u2013", "this"]
["\u2013", "this", "is"]
["this", "is", "the"]
["is", "the", "file"]
["the", "file", "descriptor"]
["file", "descriptor", "number"]
["descriptor", "number", "os.close(fd)"]
["number", "os.close(fd)", "\u2022"]
["os.close(fd)", "\u2022", "os.O_CREAT:"]
["\u2022", "os.O_CREAT:", "Create"]
["os.O_CREAT:", "Create", "the"]
["Create", "the", "file"]
["the", "file", "if"]
["file", "if", "it"]
["if", "it", "doesn\u2019t"]
["it", "doesn\u2019t", "exist"]
["doesn\u2019t", "exist", "\u2022"]
["exist", "\u2022", "os.O_WRONLY:"]
["\u2022", "os.O_WRONLY:", "Open"]
["os.O_WRONLY:", "Open", "the"]
["Open", "the", "file"]
["the", "file", "only"]
["file", "only", "for"]
["only", "for", "writing"]
["for", "writing", "\u2022"]
["writing", "\u2022", "os.close(fd):"]
["\u2022", "os.close(fd):", "Closes"]
["os.close(fd):", "Closes", "the"]
["Closes", "the", "file"]
["the", "file", "using"]
["file", "using", "the"]
["using", "the", "file"]
["the", "file", "descriptor"]
["file", "descriptor", "\u2713"]
["descriptor", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "File"]
["Are", "File", "Modes?"]
["File", "Modes?", "\u2022"]
["Modes?", "\u2022", "File"]
["\u2022", "File", "modes"]
["File", "modes", "tell"]
["modes", "tell", "the"]
["tell", "the", "OS"]
["the", "OS", "how"]
["OS", "how", "you"]
["how", "you", "want"]
["you", "want", "to"]
["want", "to", "use"]
["to", "use", "a"]
["use", "a", "file:"]
["a", "file:", "to"]
["file:", "to", "read"]
["to", "read", "it,"]
["read", "it,", "write"]
["it,", "write", "it,"]
["write", "it,", "or"]
["it,", "or", "both"]
["or", "both", "Here"]
["both", "Here", "are"]
["Here", "are", "the"]
["are", "the", "most"]
["the", "most", "common"]
["most", "common", "modes:"]
["common", "modes:", "Mode"]
["modes:", "Mode", "Meaning"]
["Mode", "Meaning", "'r'"]
["Meaning", "'r'", "Read-only"]
["'r'", "Read-only", "(file"]
["Read-only", "(file", "must"]
["(file", "must", "exist)"]
["must", "exist)", "'w'"]
["exist)", "'w'", "Write"]
["'w'", "Write", "(creates"]
["Write", "(creates", "a"]
["(creates", "a", "new"]
["a", "new", "file"]
["new", "file", "or"]
["file", "or", "empties"]
["or", "empties", "existing"]
["empties", "existing", "file)"]
["existing", "file)", "'a'"]
["file)", "'a'", "Append"]
["'a'", "Append", "(adds"]
["Append", "(adds", "to"]
["(adds", "to", "end"]
["to", "end", "of"]
["end", "of", "file)"]
["of", "file)", "'rb'"]
["file)", "'rb'", "Read"]
["'rb'", "Read", "bytes"]
["Read", "bytes", "(used"]
["bytes", "(used", "for"]
["(used", "for", "images/videos)"]
["for", "images/videos)", "'wb'"]
["images/videos)", "'wb'", "Write"]
["'wb'", "Write", "bytes"]
["Write", "bytes", "Example:"]
["bytes", "Example:", "file"]
["Example:", "file", "="]
["file", "=", "open(\"example.txt\","]
["=", "open(\"example.txt\",", "\"w\")"]
["open(\"example.txt\",", "\"w\")", "#"]
["\"w\")", "#", "'w'"]
["#", "'w'", "="]
["'w'", "=", "write"]
["=", "write", "mode"]
["write", "mode", "file.write(\"Hello!\")"]
["mode", "file.write(\"Hello!\")", "file.close()"]
["file.write(\"Hello!\")", "file.close()", "\u2713"]
["file.close()", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Bytes"]
["Are", "Bytes", "and"]
["Bytes", "and", "Bytearrays?"]
["and", "Bytearrays?", "\u2022"]
["Bytearrays?", "\u2022", "A"]
["\u2022", "A", "byte"]
["A", "byte", "is"]
["byte", "is", "a"]
["is", "a", "very"]
["a", "very", "small"]
["very", "small", "piece"]
["small", "piece", "of"]
["piece", "of", "data"]
["of", "data", "\u2014"]
["data", "\u2014", "it's"]
["\u2014", "it's", "like"]
["it's", "like", "a"]
["like", "a", "number"]
["a", "number", "between"]
["number", "between", "0"]
["between", "0", "and"]
["0", "and", "255"]
["and", "255", "Files"]
["255", "Files", "(like"]
["Files", "(like", "images,"]
["(like", "images,", "music,"]
["images,", "music,", "PDFs)"]
["music,", "PDFs)", "are"]
["PDFs)", "are", "stored"]
["are", "stored", "in"]
["stored", "in", "bytes"]
["in", "bytes", "Python"]
["bytes", "Python", "strings"]
["Python", "strings", "(text)"]
["strings", "(text)", "can"]
["(text)", "can", "be"]
["can", "be", "turned"]
["be", "turned", "into"]
["turned", "into", "bytes"]
["into", "bytes", "for"]
["bytes", "for", "saving"]
["for", "saving", "into"]
["saving", "into", "files"]
["into", "files", "#"]
["files", "#", "Convert"]
["#", "Convert", "a"]
["Convert", "a", "string"]
["a", "string", "to"]
["string", "to", "bytes"]
["to", "bytes", "text"]
["bytes", "text", "="]
["text", "=", "\"Hello\""]
["=", "\"Hello\"", "bytes_version"]
["\"Hello\"", "bytes_version", "="]
["bytes_version", "=", "text.encode()"]
["=", "text.encode()", "#"]
["text.encode()", "#", "turns"]
["#", "turns", "it"]
["turns", "it", "into"]
["it", "into", "b'Hello'"]
["into", "b'Hello'", "print(bytes_version)"]
["b'Hello'", "print(bytes_version)", "\u2022"]
["print(bytes_version)", "\u2022", "b'Hello'"]
["\u2022", "b'Hello'", "means"]
["b'Hello'", "means", "it's"]
["means", "it's", "in"]
["it's", "in", "bytes"]
["in", "bytes", "format,"]
["bytes", "format,", "not"]
["format,", "not", "regular"]
["not", "regular", "text"]
["regular", "text", "\u2022"]
["text", "\u2022", "bytearray"]
["\u2022", "bytearray", "is"]
["bytearray", "is", "a"]
["is", "a", "special"]
["a", "special", "type"]
["special", "type", "of"]
["type", "of", "variable"]
["of", "variable", "that"]
["variable", "that", "holds"]
["that", "holds", "many"]
["holds", "many", "bytes"]
["many", "bytes", "and"]
["bytes", "and", "can"]
["and", "can", "be"]
["can", "be", "changed"]
["be", "changed", "ba"]
["changed", "ba", "="]
["ba", "=", "bytearray(b\"Hi\")"]
["=", "bytearray(b\"Hi\")", "ba[0]"]
["bytearray(b\"Hi\")", "ba[0]", "="]
["ba[0]", "=", "72"]
["=", "72", "#"]
["72", "#", "Change"]
["#", "Change", "first"]
["Change", "first", "letter"]
["first", "letter", "to"]
["letter", "to", "'H'"]
["to", "'H'", "print(ba)"]
["'H'", "print(ba)", "#"]
["print(ba)", "#", "bytearray(b'Hi')"]
["#", "bytearray(b'Hi')", "\u2713"]
["bytearray(b'Hi')", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "Unix?"]
["Is", "Unix?", "Why"]
["Unix?", "Why", "Does"]
["Why", "Does", "It"]
["Does", "It", "Matter?"]
["It", "Matter?", "\u2022"]
["Matter?", "\u2022", "Unix"]
["\u2022", "Unix", "is"]
["Unix", "is", "an"]
["is", "an", "older"]
["an", "older", "operating"]
["older", "operating", "system."]
["operating", "system.", "Modern"]
["system.", "Modern", "systems"]
["Modern", "systems", "like"]
["systems", "like", "Linux"]
["like", "Linux", "and"]
["Linux", "and", "macOS"]
["and", "macOS", "are"]
["macOS", "are", "based"]
["are", "based", "on"]
["based", "on", "it"]
["on", "it", "Python"]
["it", "Python", "was"]
["Python", "was", "first"]
["was", "first", "made"]
["first", "made", "for"]
["made", "for", "Unix-style"]
["for", "Unix-style", "systems"]
["Unix-style", "systems", "So"]
["systems", "So", "some"]
["So", "some", "os"]
["some", "os", "functions"]
["os", "functions", "work"]
["functions", "work", "slightly"]
["work", "slightly", "differently"]
["slightly", "differently", "on"]
["differently", "on", "Windows"]
["on", "Windows", "vs"]
["Windows", "vs", "Linux/macOS"]
["vs", "Linux/macOS", "For"]
["Linux/macOS", "For", "example:"]
["For", "example:", "import"]
["example:", "import", "os"]
["import", "os", "if"]
["os", "if", "os.name"]
["if", "os.name", "=="]
["os.name", "==", "\"posix\":"]
["==", "\"posix\":", "print(\"Unix/Linux/macOS"]
["\"posix\":", "print(\"Unix/Linux/macOS", "system\")"]
["print(\"Unix/Linux/macOS", "system\")", "elif"]
["system\")", "elif", "os.name"]
["elif", "os.name", "=="]
["os.name", "==", "\"nt\":"]
["==", "\"nt\":", "print(\"Windows"]
["\"nt\":", "print(\"Windows", "system\")"]
["print(\"Windows", "system\")", "\u2713"]
["system\")", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Paths?"]
["Are", "Paths?", "\u2022"]
["Paths?", "\u2022", "A"]
["\u2022", "A", "path"]
["A", "path", "is"]
["path", "is", "just"]
["is", "just", "the"]
["just", "the", "location"]
["the", "location", "of"]
["location", "of", "a"]
["of", "a", "file"]
["a", "file", "or"]
["file", "or", "folder"]
["or", "folder", "in"]
["folder", "in", "your"]
["in", "your", "computer"]
["your", "computer", "There"]
["computer", "There", "are"]
["There", "are", "2"]
["are", "2", "main"]
["2", "main", "types:"]
["main", "types:", "Absolute"]
["types:", "Absolute", "path"]
["Absolute", "path", "="]
["path", "=", "full"]
["=", "full", "address"]
["full", "address", "from"]
["address", "from", "the"]
["from", "the", "root"]
["the", "root", "Example:"]
["root", "Example:", "/home/user/file.txt"]
["Example:", "/home/user/file.txt", "(Linux/mac)"]
["/home/user/file.txt", "(Linux/mac)", "or"]
["(Linux/mac)", "or", "C:\\Users\\Me\\file.txt"]
["or", "C:\\Users\\Me\\file.txt", "(Windows)"]
["C:\\Users\\Me\\file.txt", "(Windows)", "Relative"]
["(Windows)", "Relative", "path"]
["Relative", "path", "="]
["path", "=", "from"]
["=", "from", "where"]
["from", "where", "your"]
["where", "your", "Python"]
["your", "Python", "file"]
["Python", "file", "is"]
["file", "is", "running"]
["is", "running", "Example:"]
["running", "Example:", "../file.txt"]
["Example:", "../file.txt", "means"]
["../file.txt", "means", "go"]
["means", "go", "one"]
["go", "one", "folder"]
["one", "folder", "up"]
["folder", "up", "\u2713"]
["up", "\u2713", "What"]
["\u2713", "What", "Are"]
["What", "Are", "Permissions?"]
["Are", "Permissions?", "\u2022"]
["Permissions?", "\u2022", "Permissions"]
["\u2022", "Permissions", "control"]
["Permissions", "control", "who"]
["control", "who", "can"]
["who", "can", "read,"]
["can", "read,", "write,"]
["read,", "write,", "or"]
["write,", "or", "run"]
["or", "run", "a"]
["run", "a", "file"]
["a", "file", "In"]
["file", "In", "Unix/Linux:"]
["In", "Unix/Linux:", "Permission"]
["Unix/Linux:", "Permission", "Symbol"]
["Permission", "Symbol", "Meaning"]
["Symbol", "Meaning", "Read"]
["Meaning", "Read", "r"]
["Read", "r", "Can"]
["r", "Can", "view"]
["Can", "view", "the"]
["view", "the", "file"]
["the", "file", "Write"]
["file", "Write", "w"]
["Write", "w", "Can"]
["w", "Can", "change"]
["Can", "change", "it"]
["change", "it", "Execute"]
["it", "Execute", "x"]
["Execute", "x", "Can"]
["x", "Can", "run"]
["Can", "run", "it"]
["run", "it", "For"]
["it", "For", "example:"]
["For", "example:", "-rw-r--r--"]
["example:", "-rw-r--r--", "means:"]
["-rw-r--r--", "means:", "Owner"]
["means:", "Owner", "can"]
["Owner", "can", "read/write"]
["can", "read/write", "Group"]
["read/write", "Group", "can"]
["Group", "can", "read"]
["can", "read", "Others"]
["read", "Others", "can"]
["Others", "can", "read"]
["can", "read", "Python"]
["read", "Python", "can"]
["Python", "can", "change"]
["can", "change", "file"]
["change", "file", "permissions"]
["file", "permissions", "with"]
["permissions", "with", "os.chmod()."]
["with", "os.chmod().", "\u2713"]
["os.chmod().", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "Buffering?"]
["Is", "Buffering?", "\u2022"]
["Buffering?", "\u2022", "Buffering"]
["\u2022", "Buffering", "is"]
["Buffering", "is", "how"]
["is", "how", "Python"]
["how", "Python", "stores"]
["Python", "stores", "some"]
["stores", "some", "data"]
["some", "data", "temporarily"]
["data", "temporarily", "before"]
["temporarily", "before", "saving"]
["before", "saving", "it"]
["saving", "it", "to"]
["it", "to", "a"]
["to", "a", "file"]
["a", "file", "Helps"]
["file", "Helps", "speed"]
["Helps", "speed", "things"]
["speed", "things", "up"]
["things", "up", "But"]
["up", "But", "if"]
["But", "if", "the"]
["if", "the", "computer"]
["the", "computer", "crashes"]
["computer", "crashes", "before"]
["crashes", "before", "it's"]
["before", "it's", "saved,"]
["it's", "saved,", "the"]
["saved,", "the", "data"]
["the", "data", "could"]
["data", "could", "be"]
["could", "be", "lost"]
["be", "lost", "That\u2019s"]
["lost", "That\u2019s", "why"]
["That\u2019s", "why", "we"]
["why", "we", "use"]
["we", "use", ".flush()"]
["use", ".flush()", "or"]
[".flush()", "or", ".close()"]
["or", ".close()", "to"]
[".close()", "to", "force"]
["to", "force", "saving"]
["force", "saving", "the"]
["saving", "the", "data"]
["the", "data", "file"]
["data", "file", "="]
["file", "=", "open(\"data.txt\","]
["=", "open(\"data.txt\",", "\"w\","]
["open(\"data.txt\",", "\"w\",", "buffering=1)"]
["\"w\",", "buffering=1)", "#"]
["buffering=1)", "#", "line"]
["#", "line", "buffering"]
["line", "buffering", "file.write(\"Saved\\n\")"]
["buffering", "file.write(\"Saved\\n\")", "file.flush()"]
["file.write(\"Saved\\n\")", "file.flush()", "#"]
["file.flush()", "#", "forces"]
["#", "forces", "write"]
["forces", "write", "to"]
["write", "to", "disk"]
["to", "disk", "file.close()"]
["disk", "file.close()", "\u2713"]
["file.close()", "\u2713", "What"]
["\u2713", "What", "Is"]
["What", "Is", "an"]
["Is", "an", "Environment"]
["an", "Environment", "Variable?"]
["Environment", "Variable?", "\u2022"]
["Variable?", "\u2022", "A"]
["\u2022", "A", "small"]
["A", "small", "piece"]
["small", "piece", "of"]
["piece", "of", "information"]
["of", "information", "the"]
["information", "the", "OS"]
["the", "OS", "uses"]
["OS", "uses", "\u2014"]
["uses", "\u2014", "like"]
["\u2014", "like", "your"]
["like", "your", "username,"]
["your", "username,", "language,"]
["username,", "language,", "or"]
["language,", "or", "system"]
["or", "system", "path"]
["system", "path", "You"]
["path", "You", "can"]
["You", "can", "read"]
["can", "read", "it"]
["read", "it", "like"]
["it", "like", "this:"]
["like", "this:", "import"]
["this:", "import", "os"]
["import", "os", "print(os.environ[\"HOME\"])"]
["os", "print(os.environ[\"HOME\"])", "#"]
["print(os.environ[\"HOME\"])", "#", "Shows"]
["#", "Shows", "your"]
["Shows", "your", "home"]
["your", "home", "directory"]
["home", "directory", "On"]
["directory", "On", "Windows,"]
["On", "Windows,", "use"]
["Windows,", "use", "\"USERPROFILE\""]
["use", "\"USERPROFILE\"", "instead"]
["\"USERPROFILE\"", "instead", "of"]
["instead", "of", "\"HOME\"."]
["of", "\"HOME\".", "Let"]
["\"HOME\".", "Let", "me"]
["Let", "me", "know"]
["me", "know", "when"]
["know", "when", "you're"]
["when", "you're", "ready"]
["you're", "ready", "and"]
["ready", "and", "I\u2019ll"]
["and", "I\u2019ll", "move"]
["I\u2019ll", "move", "on"]
["move", "on", "to"]
["on", "to", "start"]
["to", "start", "the"]
["start", "the", "first"]
["the", "first", "real"]
["first", "real", "topic"]
["real", "topic", "of"]
["topic", "of", "the"]
["of", "the", "os"]
["the", "os", "module"]
["os", "module", "(like"]
["module", "(like", "working"]
["(like", "working", "with"]
["working", "with", "files"]

You might also like