Questions tagged [console-output]

86 questions
177
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
  • 26,897
  • 27
  • 105
  • 198
172
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
  • 26,493
  • 22
  • 102
  • 155
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
20
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
  • 989
  • 3
  • 16
  • 30
20
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…
16
votes
2 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
  • 1,772
  • 2
  • 23
  • 47
15
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
  • 8,845
  • 13
  • 67
  • 115
12
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
  • 213
  • 2
  • 12
12
votes
5 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
  • 2,561
  • 10
  • 33
  • 54
9
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
  • 93
  • 1
  • 1
  • 5
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
  • 526
  • 1
  • 6
  • 17
6
votes
8 answers

Different results in Java and C++ using += in recursion

The very simple Java code as follows has the weird output, but the same logic code in C and C++ has the right output. I try with the JDK 1.7 and JDK 1.3 (relative JRE), the weird output is always there. public class Test { public static int…
5
votes
2 answers

Show characters with accents in redirect file (>output.txt)

example mode con: cp>%tmp%\output.tmp notepad %tmp%\output.tmp show: Statut du p‚riph‚rique CON: --------------------------- Page de codesÿ: 850 instead of: Statut du périphérique CON: --------------------------- Page de codes : 850 I…
Paul
  • 2,379
  • 2
  • 12
  • 27
4
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
  • 4,484
  • 3
  • 26
  • 49
4
votes
0 answers

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 wanted it to capture the output of the console window and add it to a text box in the GUI. This seemed like it was simple, all I had to do was to redirect the output stream of the target…
alexkarlin
  • 41
  • 5
1
2 3 4 5 6