Mô tả:
The first 1000 people to use the link will get a free trial of Skillshare Premium Membership: https://www.skillshare.com/membership/checkout?coupon=ytkeithgalli2WK&onboarding_tag=24%2C6%2C1816%2C35%2C1761&classes=1103032154%2C581900124%2C944357725 In this video we learn various methods for how we can schedule and automatically run python code. We'll start by looking at cronjobs & windows task scheduler and then we will walk through running tasks in the cloud using AWS Lambda & Cloudwatch. The ultimate goal of this video is to learn how we can automatically generate & send an email with an analytics report every day. There are methods highlighted in this video that will work on Mac, Linux, & Windows. ~ GitHub resources ~ Link to source code: https://github.com/KeithGalli/scheduling-code Link to analytics report code: https://github.com/KeithGalli/generate-analytics-report/tree/send_email ~ Relevant videos ~ How to generate an analytics report in python: https://www.youtube.com/watch?v=UmN2_R4KEg8 How to send an email with python (@coreyms ): https://www.youtube.com/watch?v=JRCJ6RtE3xU ~ Articles mentioned ~ AWS Lambda memory limits: https://hackernoon.com/exploring-the-aws-lambda-deployment-limits-9a8384b0bec3 Downloading python linux libraries on Windows: https://korniichuk.medium.com/lambda-with-pandas-fd81aa2ff25e ~ Other resources ~ Python email library docs: https://docs.python.org/3.8/library/email.examples.html AWS Cron info (scheduling): https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html Lambda package setup: https://docs.aws.amazon.com/lambda/latest/dg/python-package.html Thank you to Skillshare for sponsoring this video! ------------------------- Video timeline! 0:00 - What we’ll be doing in this video 0:56 - Check out Skillshare! (sponsored) 1:56 - How can we automate scripts? Overview of local, cloud, and serverless methods 5:18 - Simple example of local script automation w/ cronjobs & windows task scheduler 18:32 - How to schedule code on a cloud machine (use cronjobs) 18:51 - Simple example of cloud script automation w/ AWS Lambda & Cloudwatch 27:09 - Schedule & automate sending an email locally 45:12 - Schedule & automate sending an email on the cloud w/ Lambda & Cloudwatch 50:18 - Installing python packages in a serverless environment (zip uploads) 55:50 - Generate & schedule sending analytics reports (locally) 1:02:45 - Generate & schedule sending analytics reports in AWS Lambda 1:07:03 - Limitations of lambda (max file upload size) 1:09:00 - Generate & schedule sending analytics reports in AWS Lambda 1:18:32 - Final thoughts & video recap! ------------------------- Follow me on social media! Instagram | https://www.facebook.com/unsupportedbrowser Twitter | https://twitter.com/keithgalli ------------------------- If you are curious to learn how I make my tutorials, check out this video: https://www.youtube.com/watch?v=LEO4igyXbLs Practice your Python Pandas data science skills with problems on StrataScratch! https://www.stratascratch.com/?via=keith Join the Python Army to get access to perks! YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join Patreon - https://www.patreon.com/keithgalli *I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
Chuẩn bị tùy chọn tải xuống
Trang web http://unidownloader.com/ là cách tốt nhất để tải xuống một video hoặc một đoạn âm thanh riêng nếu bạn muốn tải xuống mà không cần cài đặt chương trình và tiện ích mở rộng.
Tiện ích mở rộng UDL Helper là một nút tiện lợi được tích hợp liền mạch vào các trang YouTube, Instagram và OK.ru để tải xuống nội dung nhanh chóng.
Chương trình UDL Client (dành cho Windows) là giải pháp mạnh mẽ nhất hỗ trợ hơn 900 trang web, mạng xã hội và trang lưu trữ video cũng như mọi chất lượng video có sẵn trong nguồn.
UDL Lite là một cách thực sự thuận tiện để truy cập trang web từ thiết bị di động của bạn. Với sự trợ giúp của nó, bạn có thể dễ dàng tải video trực tiếp xuống điện thoại thông minh của mình.
Các định dạng chất lượng tốt nhất là FullHD (1080p), 2K (1440p), 4K (2160p) và 8K (4320p). Độ phân giải màn hình của bạn càng cao thì chất lượng video càng cao. Tuy nhiên, có những yếu tố khác cần xem xét: tốc độ tải xuống, dung lượng trống và hiệu suất thiết bị trong quá trình phát lại.
Trình duyệt/máy tính không được đóng băng hoàn toàn! Nếu điều này xảy ra, vui lòng báo cáo nó kèm theo liên kết tới video. Đôi khi không thể tải xuống trực tiếp video ở định dạng phù hợp, vì vậy chúng tôi đã thêm khả năng chuyển đổi tệp sang định dạng mong muốn. Trong một số trường hợp, quá trình này có thể chủ động sử dụng tài nguyên máy tính.
Bạn có thể tải video xuống điện thoại thông minh của mình bằng trang web hoặc ứng dụng PWA UDL Lite. Cũng có thể gửi liên kết tải xuống qua mã QR bằng tiện ích mở rộng UDL Helper.
Cách thuận tiện nhất là sử dụng chương trình UDL Client, chương trình hỗ trợ chuyển đổi video sang định dạng MP3. Trong một số trường hợp, MP3 cũng có thể được tải xuống thông qua tiện ích mở rộng UDL Helper.
Tính năng này có sẵn trong tiện ích mở rộng UDL Helper. Đảm bảo rằng bạn đã chọn "Hiển thị nút quay video nhanh" trong cài đặt. Biểu tượng máy ảnh sẽ xuất hiện ở góc dưới bên phải của trình phát, bên trái biểu tượng "Cài đặt". Khi bạn nhấp vào nó, khung hình hiện tại của video sẽ được lưu vào máy tính của bạn ở định dạng JPEG.
Nó không tốn gì cả. Các dịch vụ của chúng tôi hoàn toàn miễn phí cho mọi người dùng. Không có đăng ký PRO, không có giới hạn về số lượng hoặc thời lượng tối đa của video được tải xuống.