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 6 years ago.
Improve this question
How to debug python in c level?
in PyCharm,i cannot step into the c level code.
could it?
or which tool can do it?
Use GDB, there's a ton of information on it here.
https://wiki.python.org/moin/DebuggingWithGdb
You need to install the python version with debugging symbols and then step through it with GDB the same way you would a C program.
I highly recommend Visual Studio with PTVS. It provides mixed-mode debugging. link to PTVS project onGithub. Also, you can download a community version of VS2015 for free.
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 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
Before you get confused, I am going to compile it with the auto-py-to-exe module after, its just the source code is in python. How do I do this?
If Python is not installed you wouldn't even be able to run a script to check if it's installed.
I'm pretty sure there isn't from inside the Python script. Because the interpreter isn't installed, so it'll never be able to understand HOW to execute the script at all.
You'll have to check outside in whatever is initiating the Python script and the compilation (bash script?) and do it there.
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 8 years ago.
Improve this question
I am starting off with Lettuce to test a web application. The problem is I am unaware of how to configure Eclipse so that it runs my steps file. The web also seems pretty unaware of this and this is hence my last resort.
For an automated solution you can look at the Eclipse External Tools capability. This is documented in the Eclipse help for the workbench. Follow the links Workbench User Guide ==> Concepts ==> Ant & External Tools ==> External Tools .
for interactive use, you can run lettuce from the Python console within Eclipse if you have Pydev installed, and you should if you use Eclipse for Python development.