Python Automation and Machine Learning for EM and ICs

An Online Book, Second Edition by Dr. Yougui Liao (2019)

Python Automation and Machine Learning for EM and ICs - An Online Book

Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

Select/Input a Folder/File for Later Use

Select a folder for later use, e.g. can be called by os.path.join(): code:          
          Select a folder for later use, e.g. can be called by os.path.join()
Output:         
          Select a folder for later use, e.g. can be called by os.path.join()
          Select a folder for later use, e.g. can be called by os.path.join()         
You can then select a folder. When the "Select Folder" button is clicked without further selection, then the default folder will be used and the output will be:         
          Select a folder for later use, e.g. can be called by os.path.join()

To open a file instead of a folder, this script (code) can be used.