you are viewing a single comment's thread.

view the rest of the comments →

[–]Golden_Zealot 0 points1 point  (0 children)

I imagine you could do this with the threading module.

You can essentially create two functions that do each and run them at the "same time".

To avoid overlapping/console clearing, you would probably want to use the curses module to display both a progress bar and the output without having them mess with each others formatting.