0

I need to create a python program which is saves as a shortcut ,which displays many options like camera , flash on and off and opening a folder button, ive did everything but opening a folder or a directory using python im unaware of it ,ive tried os.path but it didnt work , if anyone knows it please help , thanks

closed as off-topic by joan, Ghanima May 25 '17 at 11:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – joan, Ghanima
If this question can be reworded to fit the rules in the help center, please edit the question.

  • This is not a Pi specific question, it is a general Python question. – joan May 25 '17 at 9:17
  • @joan Yeah actually im doing it in rasberry pi. – Dinesh Thiyagarajan May 25 '17 at 9:19
  • That is irrelevant, you could be doing it on any Python platform, and the solution would be exactly the same. That is what is meant by not Pi specific. – joan May 25 '17 at 10:01
  • @joan Nope , for example there is an option for opening folder using file explorer in windows explorer(path) , im Asking the same for rasberry pi – Dinesh Thiyagarajan May 25 '17 at 10:03
0

Okay Solved it

webbrowser.open(path)

opens the folder using the file explorer .

Not the answer you're looking for? Browse other questions tagged or ask your own question.