Questions tagged [console-output]

103 questions
222
votes
2 answers

Output window of IntelliJ IDEA cuts output

Looks like there is a limit on the number of lines it shows. I couldn't find it in the settings. Is there a way to make IDEA keep everything in the Output window?
expert
  • 29,290
  • 30
  • 110
  • 214
200
votes
9 answers

How do I write output in same place on the console?

I am new to python and am writing some scripts to automate downloading files from FTP servers, etc. I want to show the progress of the download, but I want it to stay in the same position, such as: output: Downloading File FooFile.txt [47%] I'm…
scottm
  • 27,829
  • 22
  • 107
  • 159
26
votes
3 answers

MATLAB console output

Say I had a variable called "x" and x=5. I would like to do: disp('x is equal to ' + x +'.'); and have that code print: x is equal to 5. This is how I am used to doing things in Java, so their must be a similar way to do this in MATLAB. Thanks
JJJ
  • 597
  • 2
  • 7
  • 14
24
votes
1 answer

what is the printf in C#

I want to know what to use in C# to format my output in my console window I tried to use \t but it did not work I know there is printf in C to format my output check this image https://s15.postimg.cc/94fstpi2z/Console.png
user2387220
  • 355
  • 2
  • 3
  • 7
22
votes
8 answers

Search through console output of a Jenkins job

I have a Jenkins job with 100+ builds. I need to search through all the builds of that job to find builds that have a certain string in the console output. Is there any plugin for that? How do I do that?
user1550159
  • 1,197
  • 3
  • 19
  • 36
22
votes
8 answers

Oracle PL/SQL - tips for immediate output / console printing

I have a number of pl/sql procedures that can take several minutes to run. While developing them, I've added a few print statements to help debug and also provide some feedback and progress indicators. Initially, I ran these on small test sets and…
19
votes
4 answers

Get terminal output after a command swift

I run some commands in terminal with this code: system("the command here") And after I want to know what is the result of running this command, e.g. if I run system("git status") I want to read the actual information about changes in my repo. Is…
pomo_mondreganto
  • 2,028
  • 2
  • 28
  • 56
17
votes
4 answers

How to output Integers using the Put_Line method?

I can't get this program to compile because it doesn't seem to print integer variables along with strings in the Put_Line method. I've looked at source code online and it works when they do it so where am I going wrong. Thanks for your help. with…
W.K.S
  • 9,787
  • 15
  • 75
  • 122
13
votes
6 answers

Formatting console Output

I'm having trouble making python print out texts properly aligned. I have tried everything I knew, but still the same result and it's very annoying!. Here is what I'm getting in the console Here is the Code I have. print "…
cyberbemon
  • 3,000
  • 11
  • 37
  • 62
11
votes
2 answers

Metal Shading Language - (Console) Output?

Can I debug my metal-shading-language code using console output (like print in Swift)? If yes, how? If no, are there any other ways to output variables from my .metal file? (Maybe by passing data from the .metal file to my .swift file using the…
ediheld
  • 233
  • 3
  • 13
10
votes
2 answers

Is it possible to align a print statement to the center in Python?

I was wondering if it was possible to align a print statement in Python (newest version). For example: print ("hello world") would appear on the user's screen on the left side, so can i make it centre-aligned instead? Thank you so much for your…
Kt Ewing
  • 103
  • 1
  • 1
  • 6
9
votes
2 answers

reticulate doesn't print to console in real time

Using Python's print() (or to the best of my knowledge, any other console output generating) function in loop structures and running the code via reticulate in R, the output is only printed after the execution finished. For example, take the…
fdetsch
  • 5,239
  • 3
  • 30
  • 58
8
votes
3 answers

Simple C# output

So I have been playing around with C# lately and I don't understand output formatting. using System; namespace Arrays { class Program { static void Main() { Random r = new Random(); int[] Numbers =…
dev-cyprium
  • 758
  • 2
  • 8
  • 25
7
votes
1 answer

How to read console output of a process without redirecting standard output?

I'm writing a GUI for a third-party console application and I want it to capture the output of a console window and add it to a text box in the GUI. Problem is, when I try to redirect the output stream of the target process, the target process…
xela
  • 73
  • 1
  • 7
7
votes
2 answers

High Order and Low-order byte

The prototypes for getchar() and putchar() are: int getchar(void); int putchar(int c); As ,its prototype shows, the getchar() function is declared as returning an integer.However, you can assign this value to a char variable, as is usually…
rooni
  • 1,036
  • 3
  • 17
  • 33
1
2 3 4 5 6 7