OS Module Full Tutorial in Python | Python Sinhala Tutorial Episode 28 | SL Android
#python #os #libra #osmodule #pythonprogramming #kuppiya
OS Module Full Tutorial in Python | Python Sinhala Tutorial Episode 28 | SL Android
🔰 OS Module Full Tutorial In Python 🔰
හරි අද කතා කරන්නෙ python වලදී අපිට ගොඩක්ම වැදගත් Module එකක් ගැන..
Termux Tool වලදී bash command python වල execute කරන්න මේ os module එක අත්යාවශ්යයි..
ඉතින් පහල වීඩියෝ එක බලලා හරියට ඉගෙන ගන්න
🔥 Video link 👇
https://youtu.be/Usq-uXUsEqk
RazorKenway - SL Android 🇱🇰
The OS module in Python provides functions for interacting with the operating system. OS comes under Python’s standard utility modules. This module provides a portable way of using operating system-dependent functionality. The *os* and *os.path* modules include many functions to interact with the file system.
Handling the Current Working Directory
Consider Current Working Directory(CWD) as a folder, where the Python is operating. Whenever the files are called only by their name, Python assumes that it starts in the CWD which means that name-only reference will be successful only if the file is in the Python’s CWD.
Note: The folder where the Python script is running is known as the Current Directory. This is not the path where the Python script is located.
-~-~~-~~~-~~-~-
Please watch: "How to code a simple calculator ( Project 01) |C Programming සිංහල Tutorial Episode 25 |SL Android"
https://www.youtube.com/watch?v=A6nvSvDcsUA
-~-~~-~~~-~~-~-