default_opener#

default_opener(filename)[source]#

Opens filename using system’s default program.

Deprecated since version 2.6: default_opener is deprecated and will be removed in version 3.0. Consider an image processing library to open images, such as Pillow::

from PIL import Image Image.open(filename).show()

Parameters:
filenamestr

The path of the file to be opened.