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
| from rembg import remove | |
| from PIL import Image | |
| input_path = 'cl.jpg' | |
| output_path = 'output.png' | |
| input = Image.open(input_path) | |
| output = remove(input) | |
| output.save (output_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
| import os | |
| from apikey import apikey | |
| os.environ['OPEN_API_KEY'] = apikey |
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
| https://saleshub.app.bigtincan.com/story/1234158433 | |
| Click this activation link: https://lnkd.in/gMaQSM2K | |
| https://www.linkedin.com/learning/machine-learning-with-python-foundations/using-the-exercise-files?autoSkip=true&autoplay=true&resume=false&u=111978458 | |
| msoft | |
| https://www.linkedin.com/learning/paths/become-a-data-analyst?u=111978458 | |
| https://www.linkedin.com/learning/learning-python-14393370/learning-python?autoplay=true&contextUrn=urn%3Ali%3AlyndaLearningPath%3A5ebaefdc498e440b07b53ea1&u=111978458 | |
| aws |
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
| conda activate py3.9 | |
| if it doesn't start | |
| conda init bash' | |
| cloes and repopen the terminal | |
| try activate again |
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
| https://medium.com/analytics-vidhya/how-to-create-a-python-library-7d5aea80cc3f | |
| https://towardsdatascience.com/deep-dive-create-and-publish-your-first-python-library-f7f618719e14 | |
| https://packaging.python.org/en/latest/tutorials/packaging-projects/ | |
| https://code.tutsplus.com/tutorials/how-to-write-package-and-distribute-a-library-in-python--cms-28693 |
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
| https://vercel.com/ |
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 matplotlib.pyplot as plt | |
| # Define the color scheme based on the values | |
| colors = ['red' if x < 15 else 'Yellow' if x >= 15 and x < 25 else 'green' for x in df1['TrustScore']] | |
| # Create the bar chart with the defined colors | |
| plt.bar(range(len(df1)), df1['TrustScore'], color=colors) | |
| # Add labels and titles to the chart | |
| plt.xticks(range(len(df1)), df1.index) | |
| plt.xlabel('Index') |
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
| vite | |
| https://www.youtube.com/watch?v=89NJdbYTgJ8 |
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
| https://www.youtube.com/watch?v=ss5_6e9emZY |
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
| -- first get all rows with multiple recipients and convert them to one per line: | |
| ---------------------------------------------- | |
| [email protected] [email protected],[email protected],[email protected],[email protected],[email protected],[email protected] inbound 1670537679 | |
| create a python script to replace that line with | |
| [email protected] [email protected] inbound 1670537679 | |
| [email protected] [email protected] inbound 1670537679 | |
| [email protected] [email protected] inbound 1670537679 | |
| [email protected] [email protected] inbound 1670537679 | |
| [email protected] [email protected] inbound 1670537679 |