Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
のようなパスを作成したいC:\sample\sample1\hello.py。sampleからまでの完全なパスhello.pyと、その間のすべてのディレクトリが自動的に作成されます。これはPythonで可能ですか?
C:\sample\sample1\hello.py
sample
hello.py
次の機能が役立つ場合があります。