1# First arg is project name. It searches for best place for project
2# Result is current_dir \n project_name. So, best place is current_dir/project_name
3import os, sys
4
5project_name = sys.argv[1]
6current_folder = os.getcwd()
7print(current_folder)
8while True:
9    project_folder = os.path.join(current_folder, project_name)
10    if not os.path.exists(project_name):
11        print(project_name)
12        break
13    else:
14        project_name += "_"
15