Article 5SWA5 change default application for a file in terminal

change default application for a file in terminal

by
CompleteNewbie2020
from LinuxQuestions.org on (#5SWA5)
Hello, i'm trying to open a .pyw file in ubuntu 20.04 but it won't open. Now it's just open with a standard text editior instead of running the code. So I went on the internet and i found that i need to change the "open with" option to python3 and not idle, but python3 is not available on the list of the gui so how can i go in the terminal and change the default app to open .pyw files with?latest?d=yIl2AUoC8zA latest?i=Qc1kDv8iWUg:c_lVdDkhRv4:F7zBnMy latest?i=Qc1kDv8iWUg:c_lVdDkhRv4:V_sGLiP latest?d=qj6IDK7rITs latest?i=Qc1kDv8iWUg:c_lVdDkhRv4:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments