python menghasilkan folder jika tidak ada

import os
if not os.path.exists('my_folder'):
    os.makedirs('my_folder')
Nice Newt