Active4 months ago
Python for Windows by default comes with IDLE, which is the barest-bones IDE I've ever encountered. For editing files, I'll stick to emacs, thank you very much.
Debugging Tools for Windows (WinDbg, KD, CDB, NTSD); 3 minutes to read; In this article. Start here for an overview of Debugging Tools for Windows. This tool set includes WinDbg and other debuggers. Install Debugging Tools for Windows. You can get Debugging Tools for Windows as part of a development kit or as a standalone tool set.
However, I want to run programs in some other shell than the crappy windows command prompt, which can't be widened to more than 80 characters.
IDLE lets me run programs in it if I open the file, then hit F5 (to go Run-> Run Module). I would rather like to just 'run' the command, rather than going through the rigmarole of closing the emacs file, loading the IDLE file, etc. A scan of google and the IDLE docs doesn't seem to give much help about using IDLE's shell but not it's IDE.
Any advice from the stack overflow guys? Ideally I'd either like
Thanks,
/YGA
HostileFork
26.1k77 gold badges8181 silver badges138138 bronze badges
YGAYGA
3,8071212 gold badges3535 silver badges4444 bronze badges
9 Answers
For an interactive interpreter, nothing beats IPython. It's superb. It's also free and open source. On Windows, you'll want to install the readline library. Instructions for that are on the IPython installation documentation.
Winpdb is my Python debugger of choice. It's free, open source, and cross platform (using wxWidgets for the GUI). I wrote a tutorial on how to use Winpdb to help get people started on using graphical debuggers.
gotgenes
Microsoft Debugging Tool For Windows 10gotgenes
23.7k2323 gold badges8181 silver badges114114 bronze badges
You can easily widen the Windows console by doing the following:
This can also be saved universally by changing the Defaults on the menu.
SoviutSoviut
61.2k3737 gold badges150150 silver badges218218 bronze badges
Year 2017-2019 Answer:
Try Visual Studio Code, it has great support for Pythondebugging, auto completion and more!
These courses are filled with gravity wells that are made to pull the player down if he attempts to cross over them, wrecking balls, giant spiders and even landmines.In some levels, the player has pushed off a cliff and sent into a free fall. The goal in these levels is also to reach the finish while avoiding all the obstacles before the player dies. Happy wheels full game weebly. All around the player, there would be cocktail umbrellas and corpses.
See this link for details:https://code.visualstudio.com/docs/languages/python#_debugging
Ray HulhaRay Hulha
7,57544 gold badges3434 silver badges4040 bronze badges
However, I want to run programs in some other shell than the crappy windows command prompt, which can't be widened to more than 80 characters.
Click on the system box (top-left) in the command prompt and click properties. In the layout tab you can set the width and height of the window and the width and height of the screen buffer. I recommend setting the screen buffer height to 9999 so you can scroll back through a long output.
The DarkThe Dark
Debugging Windows 10
I use eclipse with pydev. Eclipse can be sluggish, but I've become attached to integrated svn/cvs, block indent/unindent and run as unittest features. (Also has F5 run)
If your comfortable in emacs though I don't see any reason to make such a major change.
Windows Debugging Symbols
I suggest instead that you replace your 'crappy command prompt' with powershell. It's not as crappy.
(As mentioned by Soviut and The Dark - you can increase the buffer width/window size to more than 80 by title-bar>right-click>Properties>Buffer Width/Window Size edit even in crappy cmd)
monkutmonkut
28.1k2020 gold badges9292 silver badges133133 bronze badges
Wing IDE is awesome. They also have a free version.
user44511user44511
2,61322 gold badges1414 silver badges1515 bronze badges
I edit my Python programs in EditPlus. I've configured a user tool that allows me to run my program and have its output appear in a frame below my editor window. My configuration will even let you double click on an exception lines in the output to jump directly to the file and line where the error occurred. You can grab the user tool configuration I use from here on the EditPlus wiki.
Perhaps there is similar functionality you can configure that allows you to run your program and display its output in your Emacs editor!?
Simon LieschkeSimon Lieschke
11.2k66 gold badges4242 silver badges5959 bronze badges
If you ever graduate to vim, you can just run the following command to start the program you're currently editing in an interactive shell:
TriptychTriptych
165k3030 gold badges138138 silver badges166166 bronze badges
![]()
I replaced cmd with Cygwin and Poderosa. May be a little overkill though, if the only problem you have with cmd is that it's a pain to resize.
Although you use Emacs instead of Vim, so I guess you're into overkill.. ;-)
ℳ .ℳ .
Not the answer you're looking for? Browse other questions tagged pythonwindowspython-idle or ask your own question.
4 Parts:
Windows Debugging Commands
Probably the biggest thing that sets Android-powered mobile devices apart from the competition is the level of customization they can undergo. With each Android version that releases, more options and tweaks can be done to help users maximize their device's performance and personalization. Although there is a great deal that can be edited using the settings app, it doesn't cover all bases. To really get in there and fine tune the device, users have to use what is known as Android Debug Bridge. ADB is a command line utility that allows developers and users to communicate with the device to perform various tasks such as debugging applications and making changes to numerous functions.
In this VisiHow tutorial, we'll walk through the steps of installing ADB on a PC running Windows 7, as well as enabling developer options and USB debugging on Android 7 (Nougat) and Android 8 (Oreo).
**Important**
Take extra precaution whenever making edits to your device via the command line tool. Only Enable USB debugging and developer options if you're comfortable with the command line prompt and more advanced settings.
Debugging Application Windows
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |