Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64933 > unrolled thread

Eclipse IDE printing values automatically

Started bymick verdu <mickverdu@gmail.com>
First post2014-01-28 22:26 -0800
Last post2014-01-30 05:39 +0000
Articles 6 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  Eclipse IDE printing values automatically mick verdu <mickverdu@gmail.com> - 2014-01-28 22:26 -0800
    Re: Eclipse IDE printing values automatically Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-29 09:21 +0000
    Re: Eclipse IDE printing values automatically Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-29 16:34 +0000
    Re: Eclipse IDE printing values automatically mick verdu <mickverdu@gmail.com> - 2014-01-29 12:23 -0800
      Re: Eclipse IDE printing values automatically Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-29 20:44 +0000
      Re: Eclipse IDE printing values automatically John Gordon <gordon@panix.com> - 2014-01-30 05:39 +0000

#64933 — Eclipse IDE printing values automatically

Frommick verdu <mickverdu@gmail.com>
Date2014-01-28 22:26 -0800
SubjectEclipse IDE printing values automatically
Message-ID<9da6b40b-bf80-4886-b958-c7b90a08e4d4@googlegroups.com>
I am using Pydev 2.8 on Eclipse IDE. It is printing some values that haven't been printed with print command. How to deal with this problem?

[toc] | [next] | [standalone]


#64937

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-01-29 09:21 +0000
Message-ID<mailman.6089.1390987277.18130.python-list@python.org>
In reply to#64933
On 29/01/2014 06:26, mick verdu wrote:
> I am using Pydev 2.8 on Eclipse IDE. It is printing some values that haven't been printed with print command. How to deal with this problem?
>

There are some very smart people on this list, but unless you give them 
details of what you've tried and precisely what went wrong how can we 
help?  What does your code look like?  Are you debugging, running a file 
via CTRL+F11 and seeing the output on the Pydev console, what?

Slight aside, why 2.8, 3.3.3 has just been released?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#64942

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2014-01-29 16:34 +0000
Message-ID<lcbaik$a4h$2@dont-email.me>
In reply to#64933
On Tue, 28 Jan 2014 22:26:56 -0800, mick verdu wrote:

> I am using Pydev 2.8 on Eclipse IDE. It is printing some values that
> haven't been printed with print command. How to deal with this problem?

There's no print statement in the code you included to demonstrate the 
problem, which is probably why the data you expect to be printed isn't 
being printed.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#64950

Frommick verdu <mickverdu@gmail.com>
Date2014-01-29 12:23 -0800
Message-ID<583ab407-7831-45d7-b15d-46b30a6cccf1@googlegroups.com>
In reply to#64933
Thanks for reply.
I am running file via ctrl+F11 and seeing output on pyDev Console. My code has got nested dictionaries, lists and tuples. What you want to see?

[toc] | [prev] | [next] | [standalone]


#64951

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-01-29 20:44 +0000
Message-ID<mailman.6097.1391028300.18130.python-list@python.org>
In reply to#64950
On 29/01/2014 20:23, mick verdu wrote:
>
> Thanks for reply.
> I am running file via ctrl+F11 and seeing output on pyDev Console. My code has got nested dictionaries, lists and tuples. What you want to see?
>

Two things, code and context.  See here for how to go about this 
http://sscce.org/

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#64966

FromJohn Gordon <gordon@panix.com>
Date2014-01-30 05:39 +0000
Message-ID<lccoiu$d0d$1@reader1.panix.com>
In reply to#64950
In <583ab407-7831-45d7-b15d-46b30a6cccf1@googlegroups.com> mick verdu <mickverdu@gmail.com> writes:


> Thanks for reply.
> I am running file via ctrl+F11 and seeing output on pyDev Console.
> My code has got nested dictionaries, lists and tuples. What you want to see?

One thing you could try is to track down exactly which line(s) are causing
the unwanted output.

Add some print statements to your code, say one print every fifty lines
or so.  Or perhaps just one print statement at the top of each function.
Make each message different so you can tell them apart in the output.
When the unwanted output appears, take note of which of your print
statements appears above and below it.  Then you can add more print
statements in between those two, until you have narrowed down exactly what
line of code is causing the output.  Then, if you still can't tell why it
is happening, post that line of code here and maybe we can help.

Or, if your program is short enough, you can just post the whole thing
here.  Be sure to give an example of the unwanted output, and tell us
exactly how the program is being executed.  If the program uses input
files, be sure to give us those too.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web