RUVIDEO
Поделитесь видео 🙏

Python tutorial | Python tutorial for beginners | python | File and Directory IO | S06

Python is a great programming language and if you have decided that you will learn python in 2020, that's a great choice.
Python is great for web scrapping, analyzing logs, pentesting, web development, data science, Machine Learning etc.
Through python most of the industry using for data mining, AI, DP, ML etc.

In this video, I will talk about an action plan to learn python. How to get started and what libraries to learn to into various domains like pentesting, web, data science and Machine Learning.

File and Directory Access. Operating system interfaces, including functions to work with files at a lower level than Python file objects. Python's built-in I/O library, including both abstract classes and some concrete classes such as file I/O. The standard way to open files for reading and writing with Python.

Files are named locations on disk to store related information. They are used to permanently store data in a non-volatile memory (e.g. hard disk).

Since Random Access Memory (RAM) is volatile (which loses its data when the computer is turned off), we use files for future use of the data by permanently storing them.

When we want to read from or write to a file, we need to open it first. When we are done, it needs to be closed so that the resources that are tied with the file are freed.

Hence, in Python, a file operation takes place in the following order:

Open a file
Read or write (perform operation)
Close the file.

If there are a large number of files to handle in our Python program, we can arrange our code within different directories to make things more manageable.

A directory or folder is a collection of files and subdirectories. Python has the os module that provides us with many useful methods to work with directories (and files as well).

We can get the present working directory using the getcwd() method of the os module.

This method returns the current working directory in the form of a string. We can also use the getcwdb() method to get it as bytes object.

We can change the current working directory by using the chdir() method.

The new path that we want to change into must be supplied as a string to this method. We can use both the forward-slash / or the backward-slash \ to separate the path elements.

It is safer to use an escape sequence when using the backward slash.


Disclaimer:
It doesn't feel good to have a disclaimer in every video but this is how the world is right now.
All videos are for educational purpose and use them wisely. Any video may have a slight mistake, please take decisions based on your research.

Share, Support, Likes, Subscribe!!!

About : ITinfra Academi is a YouTube Channel, where you will find technological skill videos for Career growth/Career change. New Video is Posted Everyday/AlternateDay/EveryWeek/EveryMonth.

©COPYRIGHT. ALL RIGHTS RESERVED.


#pythontutorial #python #pythontutorialforbeginners #pythonprogramming #pythonforbeginners #learnpython #pythonbydurgasir #pythonprojects #numpypythontutorial #pandaspythontutorial #pythonfullcourse #machinelearningpython #pythontutorials #pythonfordatascience

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python tutorial | Python tutorial for beginners | python | File and Directory IO | S06», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.