MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

rearrange-files/rearrange-files.py:10–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8
9class RearrangeFile(object):
10 def __init__(self):
11 self.folder_path = os.getcwd()
12 self.list_of_all_files = os.listdir(self.folder_path)
13
14 def make_folder_and_return_name(self, foldername):
15 if os.path.exists(foldername) is False:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected