<｜begin▁of▁sentence｜>### Instruction:
Given the need to visualize progress in an interactive console when running long operations, how can you use the ConsoleProgressBarMixin to display a progress bar in igraph's ClassicPythonShell?
### Response:
from igraph.app.shell import ClassicPythonShell

# Assuming we are in an interactive session and ClassicPythonShell is instantiated
shell = ClassicPythonShell()

# Example method usage, usually internally by shell when running long operations
shell._write_console_progress_bar(0.5, 100, 'Progress ')
<|EOT|>
