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
| ## Overview | |
| β Analyzed Image β Comparison Image | |
| βββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββ | |
| Target β python:3.12 β python:3.12-alpine | |
| digest β 5a2936b50ea6 β dc2e8896e2bc | |
| platform β linux/amd64 β linux/amd64 | |
| vulnerabilities β 1C 1H 8M 93L 5? β 0C 2H 1M 0L |
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
| """Make a copy of all of my .env files in all of my projects""" | |
| import os | |
| import glob | |
| import shutil | |
| PROJECTS_DIR=os.path.expanduser("~/Projects/") | |
| DEST_DIR = "dot_files" | |
| try: |
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
| """ | |
| Demonstrate how Python modifies values by reference, so if you pass an objec to | |
| a function and modify it, it's modified even outside of the scope of that function, | |
| so there is no need to return the modified object. | |
| When you run this you should see something like: | |
| 139706416086160 Default description | |
| 139706416086160 Nothing very interesting. Le sigh. | |
| """ |
OlderNewer