# Changing python to "python -u" to "python3" in VS Code on Mac

**URL:** <https://forum.codewithmosh.com/t/changing-python-to-python-u-to-python3-in-vs-code-on-mac/13832>\
**Category:** Python\
**Created:** [July 20, 2022, 2:05pm UTC](https://forum.codewithmosh.com/t/changing-python-to-python-u-to-python3-in-vs-code-on-mac/13832 "2022-07-20T14:05:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![steve2734](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@steve2734](https://forum.codewithmosh.com/u/steve2734)\
**Post date:** [July 20, 2022, 3:21pm UTC](https://forum.codewithmosh.com/t/changing-python-to-python-u-to-python3-in-vs-code-on-mac/13832/2 "2022-07-20T15:21:55Z")

</div>

I have the exact same issue. I’m searching previous posts here and came across yours. The videos seem to be out of date for the new version of VS Code.

Found out how to do it. Check the answer here:

> [@Changing python -u to python3 in VSCode](https://forum.codewithmosh.com/t/changing-python-u-to-python3-in-vscode/1003):
>
> Hello guys, In the Getting Started section, lecture 9: Running Python Code, Mosh shows how to open and change the json settings. My problem is that the three dots at the right corner do not show up in my VSCode and so I do not know how to access the json file and edit the code-runner to change the python -u to python3. I am asking this because when I tried to use the format string f-method it did not work and gives me a syntax error, it only works when I use .format(x, y). Thank you

---

_[View the full topic](https://forum.codewithmosh.com/t/changing-python-to-python-u-to-python3-in-vs-code-on-mac/13832)._
