<｜begin▁of▁sentence｜>### Instruction:
As a proofreader, I can help rephrase your question into a practical scenario:

Imagine you're working on a research project involving a social network analysis using Python's networkx library. You've created an Erdos-Renyi graph with 100 vertices and a connection probability of 0.1. While implementing the network analysis in ClassicPythonShell, you're curious whether it supports progress bars and need to retrieve its progress handler. Can you ask about the progress bar functionality and progress handler in the ClassicPythonShell API?
### Response:
from igraph import Graph
from igraph.app.shell import ClassicPythonShell

# Create an igraph graph
g = Graph.Erdos_Renyi(n=100, p=0.1)

# Initialize a Classic Python Shell instance
shell = ClassicPythonShell()

# Check if the shell supports progress bars
supports_progress = shell.supports_progress_bar()

# Get progress handler if available
progress_handler = shell.get_progress_handler()

# Print results for demonstration
print(f'Supports progress bar: {supports_progress}')
print(f'Progress handler: {progress_handler}')

# Execute a long-running task and display progress if possible
if supports_progress:
    for i in progress_handler(0, 100):
        # Your long-running task code here
        pass
<|EOT|>
