Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I would like to know from you guys how you have set up your Mac terminal for python programming. I havent done anything big so far (have used ide's until now) with python in terminal but I think that you can do all kinds of fancy things (automatic fill up functions, colors, ...). Any suggestions??
Thanks you guys!
Assuming that Python is already on your computer:
Go to /Applications folder
Then open Utilities
Double Click Terminal to open it and get a command line
type 'python' in the command prompt
Your all set!
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I recently deleted python 3.8.2 and installed python 3.9.
But when I use the python command on visual studio code, Microsoft shop opens and if I do something like python -v it prints Python.(It works well on console)
How can I fix this?
As per our discussion, the golden rule is always try to restart your computer first.
If that does not work, see how to fix this by setting alias.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I heard that it is not possible to give input to the python program In VS Code and for this issue We should open the python file on Command Prompt.
I wonder is it really true? Because Sometimes I write code on VS Code it asks for Input but sometimes It doesn't show anything. So what is going on?
The official python extension of VSCode provides Run and Debugging, almost like a IDE. It's impossible not to support input.
As for the source of your misunderstanding, it may be an extension like Code Runner, which does not support input, just quickly help you run the code and display the output.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I've been doing Python applications lately, but I've only tested it on Windows 10 (and sometimes on Windows 7).
Now, I need to create an app to be available on Windows XP and 98 also. From my research, I've seen Python drooped Win9x/NT support at version 2.5.4.
There are alternative builds: http://www.msfn.org/board/topic/162317-python-27-for-windows-95/ but, I want to know from your experience, what is the best practice to create this application and to make it as plug and play?
Everything under python 2.7 is just death, try to make it as cross-platform friendly so you can work it out.
One tip I know when working with that kind of stuff is not to use os.system() functions and such. It's better to find a library that interacts with it under the hood.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I want to convert a .py file into a multiplataform (Windows, Linux,..) onefile (without librarys or other folders) executable file for using it without a Python installation.
PyInstaller has the option to create a one-file application, just use the "-F" or "--onefile" argument when using it. I have never tried it on Linux though, on Windows I think it works.
PyInstaller Documentation at "What to generate"
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have tried using pythonw and this only works if I drop and drag the file onto it. I remember reading somewhere there is a way to keep this from happening in the code but I can't find it. Thanks in advance.
To run it with pythonw.exe just give your file a .pyw extension.