Forum

Author Topic: Console Update  (Read 5762 times)

7eicher

  • Newbie
  • *
  • Posts: 42
    • View Profile
Console Update
« on: August 30, 2013, 02:07:09 AM »
Hi folks,

i run a script which loops over a bunch of files to organizing them through naming conventions. So it looks something like:

for file in files:
    print ("Moving", file, "to", there)
    shutils.move(here, there)

I wonder why the print statement isn't showing up anything in the PS console during the loop is working. When the loop is finished and all files has been moved, than all print message appear in the console.

Yes, i minor issue, but i would like to learn.

Agisoft, any ideas, do i need to update the console manually, flushing something?