I am using Pydev 2.1 with eclipse and I'm using the Python console. I notice that when i issue print commands in a method, that the output doesn't show up until the method ends. For example, if i have a loop in a method that prints messages, i don't see any of the messages until the method exits.
Is this expected behavior? Is there a way to make it work like the Python console in Windows or Linux where outputs are displayed as soon as they are issued?
Thanks,
brian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, yes, that's expected… (the output is not asynchronous). There's currently no workaround for that (except maybe writing to a file and reading that file, but not really within the console).
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am using Pydev 2.1 with eclipse and I'm using the Python console. I notice that when i issue print commands in a method, that the output doesn't show up until the method ends. For example, if i have a loop in a method that prints messages, i don't see any of the messages until the method exits.
Is this expected behavior? Is there a way to make it work like the Python console in Windows or Linux where outputs are displayed as soon as they are issued?
Thanks,
brian
Actually, yes, that's expected… (the output is not asynchronous). There's currently no workaround for that (except maybe writing to a file and reading that file, but not really within the console).
Cheers,
Fabio