> I'm trying to make the following code work:
> ...

It seems fairly clear that you've posted code which couldn't possibly
run (missing a closing quote and right paren). Let me suggest:

1. You copy and paste directly from a Python (or IPython/Jupyter/IDLE)
session, including prompts and output.

2. You tell us what you expected to happen, and what actually happened.

Skip
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to