<｜begin▁of▁sentence｜>### Instruction:
Given an adjacency matrix stored in a file named 'adjacency_matrix.txt' with comma-separated values, where lines starting with '#' are comments, and assuming that the matrix includes weights, can you create an igraph graph from the adjacency matrix and print a summary of the resulting graph?
### Response:
import igraph as ig

# Read graph from adjacency matrix in a file
graph = ig.Graph.Read_Adjacency('adjacency_matrix.txt', sep=',', comment_char='#', attribute='weight')

# Print the summary of the graph
print(graph.summary())
<|EOT|>
