<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extract_from_text(text):
 """ Extract ISBNs from a text. :param text: Some text. :returns: A list of canonical ISBNs found in the text. ['9783161484100', '9783161484100', '9783161484100', '0136091814', '123456789X'] """

    isbns = [isbnlib.get_canonical_isbn(isbn)
             for isbn in isbnlib.get_isbnlike(text)]
    return [i for i in isbns if i is not None]