Title: How to Specify Python 3.6 Version for Script Execution on Linux - AskPython
Open Graph Title: How to Specify Python 3.6 Version for Script Execution on Linux - AskPython
X Title: How to Specify Python 3.6 Version for Script Execution on Linux - AskPython
Description: The 'python3' command executes a Python script with python3.x versions. If you have Python with multiple versions, specifying a version while executing a
Open Graph Description: The 'python3' command executes a Python script with python3.x versions. If you have Python with multiple versions, specifying a version while executing a
X Description: The 'python3' command executes a Python script with python3.x versions. If you have Python with multiple versions, specifying a version while executing a
Opengraph URL: https://www.askpython.com/python/examples/specify-python-version-for-script-execution
X: @AskPython
Generator: WordPress 7.0.1
Domain: www.askpython.com
{"@context":"https://schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https://www.askpython.com/#person","name":"Rnzo1zWtYm","sameAs":["https://twitter.com/AskPython"],"logo":{"@type":"ImageObject","@id":"https://www.askpython.com/#logo","url":"https://www.askpython.com/wp-content/uploads/2019/12/logo.svg","contentUrl":"https://www.askpython.com/wp-content/uploads/2019/12/logo.svg","caption":"Rnzo1zWtYm","inLanguage":"en-US"},"image":{"@type":"ImageObject","@id":"https://www.askpython.com/#logo","url":"https://www.askpython.com/wp-content/uploads/2019/12/logo.svg","contentUrl":"https://www.askpython.com/wp-content/uploads/2019/12/logo.svg","caption":"Rnzo1zWtYm","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.askpython.com/#website","url":"https://www.askpython.com","name":"Rnzo1zWtYm","publisher":{"@id":"https://www.askpython.com/#person"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.askpython.com/wp-content/uploads/2025/04/How_to_Specify_Python_3_6_Version_for_Sc_1744317666.png","url":"https://www.askpython.com/wp-content/uploads/2025/04/How_to_Specify_Python_3_6_Version_for_Sc_1744317666.png","width":"1200","height":"630","caption":"Featured Image For: How To Specify Python 3 6 Version For Script Execution On Linux","inLanguage":"en-US"},{"@type":"WebPage","@id":"https://www.askpython.com/python/examples/specify-python-version-for-script-execution#webpage","url":"https://www.askpython.com/python/examples/specify-python-version-for-script-execution","name":"How to Specify Python 3.6 Version for Script Execution on Linux - AskPython","datePublished":"2024-02-27T17:09:51+00:00","dateModified":"2025-04-10T20:39:30+00:00","isPartOf":{"@id":"https://www.askpython.com/#website"},"primaryImageOfPage":{"@id":"https://www.askpython.com/wp-content/uploads/2025/04/How_to_Specify_Python_3_6_Version_for_Sc_1744317666.png"},"inLanguage":"en-US"},{"@type":"Person","@id":"https://www.askpython.com/author/vanashree","name":"Vanashree Pinjari","url":"https://www.askpython.com/author/vanashree","image":{"@type":"ImageObject","@id":"https://secure.gravatar.com/avatar/ac2b8f2480968be65c52938b2e2f35a8b7b805e4aecd7e8599efbb0183c623b4?s=96&d=mm&r=g","url":"https://secure.gravatar.com/avatar/ac2b8f2480968be65c52938b2e2f35a8b7b805e4aecd7e8599efbb0183c623b4?s=96&d=mm&r=g","caption":"Vanashree Pinjari","inLanguage":"en-US"}},{"@type":"BlogPosting","headline":"How to Specify Python 3.6 Version for Script Execution on Linux - AskPython","keywords":"python3","datePublished":"2024-02-27T17:09:51+00:00","dateModified":"2025-04-10T20:39:30+00:00","author":{"@id":"https://www.askpython.com/author/vanashree","name":"Vanashree Pinjari"},"publisher":{"@id":"https://www.askpython.com/#person"},"description":"The 'python3' command executes a Python script with python3.x versions. If you have Python with multiple versions, specifying a version while executing a","name":"How to Specify Python 3.6 Version for Script Execution on Linux - AskPython","@id":"https://www.askpython.com/python/examples/specify-python-version-for-script-execution#richSnippet","isPartOf":{"@id":"https://www.askpython.com/python/examples/specify-python-version-for-script-execution#webpage"},"image":{"@id":"https://www.askpython.com/wp-content/uploads/2025/04/How_to_Specify_Python_3_6_Version_for_Sc_1744317666.png"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.askpython.com/python/examples/specify-python-version-for-script-execution#webpage"}}]}
| og:locale | en_US |
| og:type | article |
| og:site_name | AskPython |
| article:section | Python Programming Examples |
| og:updated_time | 2025-04-10T20:39:30+00:00 |
| og:image | https://www.askpython.com/wp-content/uploads/2025/04/How_to_Specify_Python_3_6_Version_for_Sc_1744317666.png |
| og:image:secure_url | https://www.askpython.com/wp-content/uploads/2025/04/How_to_Specify_Python_3_6_Version_for_Sc_1744317666.png |
| og:image:width | 1200 |
| og:image:height | 630 |
| og:image:alt | Featured Image For: How To Specify Python 3 6 Version For Script Execution On Linux |
| og:image:type | image/png |
| article:published_time | 2024-02-27T17:09:51+00:00 |
| article:modified_time | 2025-04-10T20:39:30+00:00 |
| twitter:card | summary_large_image |
| twitter:creator | @AskPython |
| twitter:image | https://www.askpython.com/wp-content/uploads/2025/04/How_to_Specify_Python_3_6_Version_for_Sc_1744317666.png |
| twitter:label1 | Written by |
| twitter:data1 | Vanashree Pinjari |
| twitter:label2 | Time to read |
| twitter:data2 | 3 minutes |
| msapplication-TileImage | https://www.askpython.com/wp-content/uploads/2019/12/cropped-favicon-1-270x270.png |
Links:
Viewport: width=device-width, initial-scale=1, maximum-scale=5, viewport-fit=cover
Robots: index, follow, max-snippet:-1, max-video-preview:-1, max-image-preview:large