Create folders from '01' to '12' with python

When you want to create a monthly folder.

import os

# '01'From'12'Create folders up to
for i in range(1, 13):
    print(f'{i:02}')
    os.mkdir(f'{i:02}')

Recommended Posts

Create folders from '01' to '12' with python
Create wordcloud from your tweet with python3
Changes from Python 3.0 to Python 3.5
Changes from Python 2 to Python 3.0
Edit Excel from Python to create a PivotTable
[python] Create table from pandas DataFrame to postgres
Steps to create a Twitter bot with python
Create a decision tree from 0 with Python (1. Overview)
From Python environment construction to virtual environment construction with anaconda
Create a tool to automatically furigana with html using Mecab from Python3
Connect to BigQuery with Python
Post from Python to Slack
Cheating from PHP to Python
Create 3d gif with python3
Connect to Wikipedia with Python
Post to slack with Python 3
Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
Switch from python2.7 to python3.6 (centos7)
Connect to sqlite from python
Switch python to 2.7 with alternatives
Write to csv with Python
Create a directory with python
With skype, notify with skype from python!
Memo to create your own Box with Pepper's Python
How to scrape image data from flickr with python
From buying a computer to running a program with python
Python script to create a JSON file from a CSV file
[Python] How to create a 2D histogram with Matplotlib
How to create a kubernetes pod from python code
ODBC access to SQL Server from Linux with Python
Call Matlab from Python to optimize
Create plot animation with Python + Matplotlib
Call C from Python with DragonFFI
I tried to create API list.csv in Python from swagger.yaml
Create Awaitable with Python / C API
Link to get started with python
Install Python from source with Ansible
Nice to meet you with python
Create a Mastodon bot with a function to automatically reply with Python
Try to operate Facebook with Python
Post from python to facebook timeline
Output to csv file with Python
[Lambda] [Python] Post to Twitter from Lambda!
Probably the easiest way to create a pdf with Python3
Create a virtual environment with Python!
Create an Excel file with Python3
Convert list to DataFrame with python
MP3 to WAV conversion with Python
To do tail recursion with Python2
How to get started with Python
Connect to utf8mb4 database from python
Run Aprili from Python with Orange
Python (from first time to execution)
What to do with PYTHON release?
Post images from Python to Tumblr
Unable to install Python with pyenv
Introduction to Python for VBA users-Calling Python from Excel with xlwings-
Allow Python to select strings in input files from folders
How to use FTP with Python
Call python from nim with Nimpy
How to calculate date with python