Tag: console
Posts of Tag: console
  1. How to Print Colored Text in Python

    How to Print Colored Text in Python Introduction It's typical for CLI apps to return text in the same color of the terminal. There are always cases when we want to highlight output to the user, for example, a w...Learn More
    Pythonconsole
  2. How to pass arguments when debugging a dot net application

    I have an command line that uses arguments, I have no problem with this, but each time I want to test the application, I need to compile it, run the CMD, call the application with the parameters from the CMD, b...Learn More
    .NETconsole
  3. Text Progress Bar in the Console

    Is there a good way to do the following? I wrote a simple console app to upload and download files from an FTP server using the ftplib. Each time some data chunks are downloaded, I want to update a text progr...Learn More
    PythonconsoleProgressupdating
  4. How can I convert the input of console as nothing like inputed a password

    I mean i want the input to be invisible like inputing password when i log in Linux. How can I implement it both in C under linux and windows. thanx ...Learn More
    LinuxWindowsconsole
  5. keep open windows console after a python syntax error

    File associations on my machine (winxp home) are such that a python script is directly opened with the python interpreter. If I double click on a python script a console window runs and every thing is fine - as...Learn More
    PythonWindowsconsole
  6. How to get console window width in python

    Is there a way in python to programmatically determine the width of the console? I mean the number of characters that fits in one line without wrapping, not the pixel width of the window. Edit Looking for a s...Learn More
    PythonLinuxconsoleTerminalwidth
  7. Having a console in a single-threaded Python script

    I would like to have an interactive console in a single-threaded script that has several TCP connections open. This means I can't just have a standard input blocking the thread. Is there an easy way to do this...Learn More
    PythonconsoleMultithreadingInteractive
  8. Polling the keyboard (detect a keypress) in python

    How can I poll the keyboard from a console python app? Specifically, I would like to do something akin to this in the midst of a lot of other I/O activities (socket selects, serial port access, etc.): while...Learn More
    PythonconsoleKeyboardBlockingnonblocking
  9. Prevent new line when outputting to console

    I've set the buffer size to the window size to get rid of the scroll bar. Now, I'm trying to fill the console with a value, but there is always a new blank line added to the end, which causes the first line to ...Learn More
    C#consolebuffernewline
  10. Why don't scripting languages output Unicode to the Windows console?

    The Windows console has been Unicode aware for at least a decade and perhaps as far back as Windows NT. However for some reason the major cross-platform scripting languages including Perl and Python only ever o...Learn More
    PythonWindowsconsolePerlUnicode
  11. How do I call controller/view methods from the console in Rails?

    When I load script/console, some times I want play with the output of a controller or a view helper method. Are there ways to: simulate a request? call methods from a controller instance on said request? tes...Learn More
    consoleruby-on-rails
  12. Executing a command programatically in Eclipse console

    From my Eclipse plugin, I want to execute a command and show the results in the Console view (and later do some formatting and hyperlinking and pattern matching, which is done via the org.eclipse.ui.console.con...Learn More
    consoleeclipse-plugin