Sample Code - list directories
list dir in python
import os
print("hello world")
os.system("ls")
# output: hello world
# output: sample_dir
list dir in the command prompt
ls
list dir in Windows CMD
@echo off
echo "hello world"
dir
list dir in bash
#! /bin/bash
echo "hello world"
ls