This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # No more "Untitled12-final-final.ipynb"! | |
| # A python script that ingests Jupyter Notebook cells and comes up with 10 relevant names to give it. | |
| import nbformat | |
| import openai | |
| import argparse | |
| def extract_cell_contents(notebook_path): | |
| with open(notebook_path, "r", encoding="utf-8") as f: | |
| notebook = nbformat.read(f, nbformat.NO_CONVERT) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Este é o código de como ler emails do gmail | |
| # discutido no calango, ele foi escrito para rodar em | |
| # python 3 | |
| import email | |
| import imaplib | |
| EMAIL = '[email protected]' | |
| PASSWORD = '@Calango123' | |
| SERVER = 'imap.gmail.com' |