About 15,500,000 results
Open links in new tab
  1. windows - Python - How do you run a .py file? - Stack Overflow

    Feb 29, 2012 · Since you seem to be on windows you can do this so python <filename.py>. Check that python's bin folder is in your PATH, or you can do c:\python23\bin\python …

  2. How Should I Set Default Python Version In Windows?

    Feb 23, 2011 · The latest version has a py -0 option to list the installed Pythons and indicate the current default. py -h lists complete Python Launcher options as well as Python options. Here's …

  3. python - What is the difference between "py[cod]" and "pyc" in ...

    Sep 11, 2013 · .pyd files are windows dlls and are not generated by .py files. They are typically compiled from C or C++ source and should be ignored by git much like generated .exe are …

  4. What is the difference between 'py' and 'python' in the Windows ...

    Jun 17, 2018 · Why is there a difference between 'py' and 'python', when I'm using to pip to install modules through the command: python -m pip install [Mod] or py -m pip install [Mod] The …

  5. 'py' works but not 'python' in command prompt for windows 10

    Sep 17, 2020 · In general, it's best to use the Windows Python Launcher, py.exe anyway, so this is no big deal. Just use py for launching consistently, and stuff will just work. Similarly, if …

  6. How can I convert a .py to .exe for Python? - Stack Overflow

    Write a .py program named myfirstprog.py. Create a new python file named setup.py on the current directory of your script. In the setup.py file, copy the code below and save it. With shift …

  7. python - What is setup.py? - Stack Overflow

    Sep 24, 2009 · python setup.py build python setup.py install python setup.py sdist <distname> upload [-r urltorepo] (to upload package to pypi or local repo) There are bunch of other …

  8. python - converting from .py to .ipynb - Stack Overflow

    Jun 22, 2020 · Eg:. ipynb-py-convert getting-started-with-kaggle-titanic-problem.py getting-started-with-kaggle-titanic-problem.ipynb Above command will create a python script with the name …

  9. how to access python from command line using py instead of …

    Sep 23, 2015 · py command comes with Python3.x and allows you to choose among multiple Python interpreters. For example, if you have both Python 3.4 and 2.7 installed, py -2 will start …

  10. What does colon equal (:=) in Python mean? - Stack Overflow

    Mar 21, 2023 · The code in the question is pseudo-code; there, := represents assignment. For future visitors, though, the following might be more relevant: the next version of Python (3.8) …

Refresh