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
| # `import this` 🐍 | |
| `import this` is a Python Easter egg. | |
| When executed, it prints **The Zen of Python** by Tim Peters — a set of guiding principles for writing Python code. | |
| ```python | |
| import this |
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
| # Requires: python-docx | |
| # Install via: pip install python-docx | |
| from docx import Document | |
| file_path = "input.docx" | |
| output_path = "output_resized.docx" | |
| doc = Document(file_path) |
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
| using System; | |
| using System.Net.Http; | |
| using System.Net.Http.Headers; | |
| using System.Text; | |
| using System.Text.Json; | |
| using System.Threading.Tasks; | |
| using Microsoft.Extensions.DependencyInjection; | |
| namespace AIInCSharp | |
| { |