How to list file names and file folder path | Python Tutorial

preview_player
Показать описание
In Python, it is pretty easy to list all the files and folder names giving a directory path. In this video I will show you how to list file names and folder paths giving the directory name.

► Buy Me a Coffee? Your support is much appreciated!
-------------------------------------------------------------------------------------
☕ Venmo: @Jie-Jenn

► Support my channel so I can continue making free contents
---------------------------------------------------------------------------------------------------------------

#PythonTutorial LearnPythonProgramming #PythonProgramming
Рекомендации по теме
Комментарии
Автор

Thank you very much Brother, Your Video answered my Question. Last time i cannot read content of all files in Path, because need some extra variable. And this video helped me. Thank you Very much

erikandribudiman
Автор

Thank you!, this helped solve a big problem I had on one of my projects.

ryanfernando
Автор

This video really helped me. Thumb's up!

amechinwose
Автор

Thank you very much for you video! I am new in python and your video helps me very much.

loredanpustianu
Автор

How to save a file name in a column in python? I have multiple file to import each file name to be added as column in that file

ravinderreddi
Автор

My input files are list, i want to find the folder include a spesific name called "EDDS". how will i search?

asmr_galaxyy
Автор

Thanks for the awesome video. I had a short question, how to display these file names and folder paths in a list view widget?

vikasangwani
Автор

thanks bro your video helps me a lot....keep posting dude:)

arvindsinghkandasi
Автор

Thank you for helping me
my brother is a nerd

akshataggarwal
Автор

it'd be great if you explained what each thing was doing

zeen
Автор

i have a code and i have json file, xml and csv can i give a single file path for all of them
?

SanjeevKumar-ddsd
Автор

what line did he use to specify that he only wanted xlsx files instead of other file types?

louievasquez
Автор

i have a doubgt! if i want to search for particular file with half of its name and if that file is a audio and i want to play it. how can i do that?

SadBoy-izjg
Автор

hi this is list of the files in one directory and sub directories but how to list the files from 2 directories

sirig
Автор

Hello, Is there any way to do the same, without import or using any module?

Actually I want to achieve same result in groovy script and don't know if there is any package available to do so.

arorayash
Автор

Hi. Could you explain the procdure when there are sub floders in the path specified and we need to extract them also

balashyamala
Автор

Hey Jie, thanks for the video. I want to ask you, how can you save the output in a text file? I am new to python and I'm struggling with that.

lizsalas
Автор

Hi. Is there any way to send the file path and name as POST parameter?

ches_ter
Автор

How to extract text data from web page a d store with different filename in notepad

sangitamodi
Автор

Can anyone please tell me about how to write a bash or shell script to install simulation tool Netlogo on centos7?

princykaushik