List files in directory using Python

First import os
Then call listdir() method as follows

In terminal, first we have listed the directories. Later, we have used python to list them

This is another example using Jupyter

Comments

Popular posts from this blog

Pentaho ETL

Copy files from one computer to other using ‘scp’ command