If you need to create a file path in Python, you can use the `os` or the `pathlib` module to join the various pieces in a cross-platform-friendly way. Here is an example
![Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux | by Adam Geitgey | Medium Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux | by Adam Geitgey | Medium](https://miro.medium.com/v2/resize:fit:798/1*T2o_EXaDbMEj0C2djNXEFw.png)
Python 3 Quick Tip: The easy way to deal with file paths on Windows, Mac and Linux | by Adam Geitgey | Medium
![pywinauto - Python: enter file path in open file dialog window opened by another software - Stack Overflow pywinauto - Python: enter file path in open file dialog window opened by another software - Stack Overflow](https://i.stack.imgur.com/Hv8Xc.png)