Skip to content

Run python file with relative path #17208

Closed

Description

Discussed in #16527

Originally posted by molly-w June 21, 2021

Discussed in https://github.com/microsoft/vscode-python/discussions/16522

Originally posted by molly-w June 21, 2021
Recently I have noticed when I run my python files in integrated terminal I get:

➜ Developer /usr/sbin/python /home/headlineineed/Developer/file.py
This is the file that is running....

In the past I would just see:
python file.py

I know with the extension Code Runner installed and set

    "code-runner.executorMap": {
        "python": "python $fileName",
    },
    "code-runner.runInTerminal": true,

image

How do I get it without installing Code Runner but only Python extension?

Original Post: full python path and .py path when running inside terminal, how do I change it?

Activity

  1. brettcannon commented on Sep 1, 2021

    @brettcannon
    MemberAuthor

    Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  2. brettcannon commented on Nov 1, 2021

    @brettcannon
    MemberAuthor

    Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.

  3. locked as resolved and limited conversation to collaborators on Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions