Corey Schafer
Corey Schafer
  • Видео 236
  • Просмотров 95 977 136
Automating My Bill Payments with Python and Selenium
In this Python Programming video, we will be learning how to automate bill payments using Selenium. We'll cover how to set up Selenium, fill out forms, interact with page elements, and send notifications to ourselves via email or text. This tutorial is based on a real-world example that I use myself, which many of you will be able to apply to similar problems in your daily workflow. By the end of this tutorial, we'll have a robust script that can handle bill payments efficiently and securely. Let's get started...
The code from this video can be found at:
gist.github.com/38f71858dad289f0ab95c67d15244892
DotEnv Tutorial - ruclips.net/video/PYuTzLswn_Y/видео.html
Name == Main Tutorial - ruclips....
Просмотров: 33 779

Видео

Python Tutorial: Securely Manage Passwords and API Keys with DotEnv
Просмотров 29 тыс.2 месяца назад
In this Python Programming video, we will be learning how to properly manage sensitive information within our scripts. We never want to add passwords, API Keys, Database information, or any other sensitive information directly to our code that others will be able to see. Instead, we want to store these away in Environment Variables. Python-DotEnv simplifies this process and makes it simple to d...
Automate Your Development Environment Setup with Scripts and Dotfiles
Просмотров 54 тыс.3 месяца назад
In this video, we'll be learning how I set up my development environments from scratch. I use scripts and dotfiles that I have saved on my Github page to make this process quick and easy. These scripts setup my terminal, VS Code, Sublime Text, and more. If you've ever wanted to know how I have my development environment set up or how I configure my settings, this video is for you. Let's get sta...
How to Use ChatGPT as a Powerful Tool for Programming
Просмотров 299 тыс.Год назад
In this Programming Tutorial video, we will be learning how developers can harness ChatGPT as a tool to help us in our daily workflow. We will be learning how ChatGPT can: write code from scratch, optimize existing code, explain code we don't understand, convert code between different languages, write unit tests, write comments, help us with starting a new project, and more. Let's get started.....
Python Tutorial: Simulate the Powerball Lottery Using Python
Просмотров 145 тыс.Год назад
In this Python Programming video, we will be learning how to simulate the Powerball lottery using Python. I have seen several lottery simulations online, but not many of them go in-depth to calculate all of the possible combinations. Here, we will create a simulation that goes through every win condition and simulates the lottery in the way it is played in a real-life situation. Let's get start...
Python YouTube API Tutorial: Using OAuth to Access User Accounts
Просмотров 143 тыс.3 года назад
In this Python Programming Tutorial, we'll be learning how to learning how to use OAuth2 for the RUclips API. This will allow us to access a user's RUclips account for specific reasons. In this video, I'll show how I use this to access my private and unlisted videos from within a Python script. Let's get started... The snippets for this video can be found at: gist.github.com/CoreyMSchafer/ea5e3...
Python YouTube API Tutorial: Sort a Playlist by Most Popular Videos
Просмотров 47 тыс.3 года назад
In this Python Programming Tutorial, we'll be learning how to get the most popular videos in a RUclips playlist. I use scripts like this a lot personally when I don't have time to watch an entire playlist and want to only see the most-watched videos. Surprisingly RUclips doesn't have this ability on their site, but Python allows us to do this programmatically. Let's get started... The code for ...
Python YouTube API Tutorial: Calculating the Duration of a Playlist
Просмотров 58 тыс.4 года назад
In this Python Programming Tutorial, we'll be learning how to calculate the duration of a RUclips playlist. The duration of a playlist is likely one of the first things people will look for before watching, but RUclips doesn't currently have this information available on their site. So we will use the API to calculate this for us. Let's get started... The code for this video can be found at: bi...
Python YouTube API Tutorial: Getting Started - Creating an API Key and Querying the API
Просмотров 211 тыс.4 года назад
In this Python Programming Tutorial, we'll be learning how to use the RUclips API. We will learn how to create an API Key and connect to the RUclips API using Python. This will allow us to get public information from RUclips and do some analysis. In later videos, I will show how I use this API to grab useful information that might not be easily found on RUclips's site directly. Let's get starte...
Python Tutorial: Real World Example - Using Patreon API and Pillow to Automate Image Creation
Просмотров 41 тыс.4 года назад
In this Python Programming Tutorial, we'll be learning how to use the Patreon API and the Pillow library to automate the creation of images. I'm specifically using this to add credits to the end of my videos to thank my supporters. This video will focus on Patreon supporters specifically, but in the next video, we will see how to use the RUclips API to do the same thing with RUclips Members. Le...
Python Pandas Tutorial (Part 11): Reading/Writing Data to Different Sources - Excel, JSON, SQL, Etc
Просмотров 176 тыс.4 года назад
In this video, we will be learning how to import and export data from multiple different sources. We will cover CSV, JSON, Excel, SQL, and more. This video is sponsored by Brilliant. Go to brilliant.org/cms to sign up for free. Be one of the first 200 people to sign up with this link and get 20% off your premium subscription. In this Python Programming video, we will be learning how to load and...
Python Pandas Tutorial (Part 10): Working with Dates and Time Series Data
Просмотров 313 тыс.4 года назад
In this video, we will be learning how to work with DateTime and Time Series data in Pandas. This video is sponsored by Brilliant. Go to brilliant.org/cms to sign up for free. Be one of the first 200 people to sign up with this link and get 20% off your premium subscription. In this Python Programming video, we will be learning several different concepts about working with DateTimes and Time Se...
Python Pandas Tutorial (Part 9): Cleaning Data - Casting Datatypes and Handling Missing Values
Просмотров 227 тыс.4 года назад
In this video, we will be learning how to clean our data and cast datatypes. This video is sponsored by Brilliant. Go to brilliant.org/cms to sign up for free. Be one of the first 200 people to sign up with this link and get 20% off your premium subscription. In this Python Programming video, we will be learning how to clean our data. We will be learning how to handle remove missing values, fil...
Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
Просмотров 417 тыс.4 года назад
Python Pandas Tutorial (Part 8): Grouping and Aggregating - Analyzing and Exploring Your Data
Python Pandas Tutorial (Part 7): Sorting Data
Просмотров 181 тыс.4 года назад
Python Pandas Tutorial (Part 7): Sorting Data
Python Pandas Tutorial (Part 6): Add/Remove Rows and Columns From DataFrames
Просмотров 275 тыс.4 года назад
Python Pandas Tutorial (Part 6): Add/Remove Rows and Columns From DataFrames
Python Pandas Tutorial (Part 5): Updating Rows and Columns - Modifying Data Within DataFrames
Просмотров 392 тыс.4 года назад
Python Pandas Tutorial (Part 5): Updating Rows and Columns - Modifying Data Within DataFrames
Python Pandas Tutorial (Part 4): Filtering - Using Conditionals to Filter Rows and Columns
Просмотров 440 тыс.4 года назад
Python Pandas Tutorial (Part 4): Filtering - Using Conditionals to Filter Rows and Columns
Python Pandas Tutorial (Part 3): Indexes - How to Set, Reset, and Use Indexes
Просмотров 392 тыс.4 года назад
Python Pandas Tutorial (Part 3): Indexes - How to Set, Reset, and Use Indexes
Python Pandas Tutorial (Part 2): DataFrame and Series Basics - Selecting Rows and Columns
Просмотров 630 тыс.4 года назад
Python Pandas Tutorial (Part 2): DataFrame and Series Basics - Selecting Rows and Columns
Python Pandas Tutorial (Part 1): Getting Started with Data Analysis - Installation and Loading Data
Просмотров 1,4 млн4 года назад
Python Pandas Tutorial (Part 1): Getting Started with Data Analysis - Installation and Loading Data
Python Tutorial: Zip Files - Creating and Extracting Zip Archives
Просмотров 120 тыс.4 года назад
Python Tutorial: Zip Files - Creating and Extracting Zip Archives
Python Data Science Tutorial: Analyzing the 2019 Stack Overflow Developer Survey
Просмотров 61 тыс.4 года назад
Python Data Science Tutorial: Analyzing the 2019 Stack Overflow Developer Survey
Python Multiprocessing Tutorial: Run Code in Parallel Using the Multiprocessing Module
Просмотров 775 тыс.4 года назад
Python Multiprocessing Tutorial: Run Code in Parallel Using the Multiprocessing Module
Python Threading Tutorial: Run Code Concurrently Using the Threading Module
Просмотров 821 тыс.4 года назад
Python Threading Tutorial: Run Code Concurrently Using the Threading Module
Python Quick Tip: The Difference Between "==" and "is" (Equality vs Identity)
Просмотров 118 тыс.4 года назад
Python Quick Tip: The Difference Between " " and "is" (Equality vs Identity)
Python Tutorial: Calling External Commands Using the Subprocess Module
Просмотров 363 тыс.4 года назад
Python Tutorial: Calling External Commands Using the Subprocess Module
Matplotlib Tutorial (Part 10): Subplots
Просмотров 238 тыс.5 лет назад
Matplotlib Tutorial (Part 10): Subplots
Matplotlib Tutorial (Part 9): Plotting Live Data in Real-Time
Просмотров 401 тыс.5 лет назад
Matplotlib Tutorial (Part 9): Plotting Live Data in Real-Time
Matplotlib Tutorial (Part 8): Plotting Time Series Data
Просмотров 181 тыс.5 лет назад
Matplotlib Tutorial (Part 8): Plotting Time Series Data

Комментарии

  • @user-kt2bt1lq3v
    @user-kt2bt1lq3v 20 часов назад

    This course is 8 years old yet still the best.

  • @HuzaifaMuhammadSIddique
    @HuzaifaMuhammadSIddique 20 часов назад

    *Summary of the Video:* *file.open("path", "mode")* --> opens the file in respective mode. *Modes* *'r'* --> for read file contents. *'w'* --> for writing to file. *'a'* --> for eppending file contents. *'r+'* --> for reading and writing *'b'* --> to open file in binary mode (for reading images) *Note:* We can use different modes together like 'rb' can be used for reading a binary file. *file.close()* --> closes a file. *file.mode* --> returns the mode the file was opened in. *file.name* --> returns the name of the file as a string. For effiency we use context managers. The automatically close the file once we are out of the context manager the file was opened in. We can open a file using a context manager and assign the result to a variable. We can use this variable inside the context manager. *Reading from files* *file.read([size])* --> This method typically reads the entire content of the file. But if provided with a size (which is an optional argument), it can read 'size' number of characters. If used repeatedly, it always continues from the next character to the last character it read. *file.readlines()* --> returns a list of all of the lines of the file. (adds to represent start of next line) *file.readline()* --> Reads a single line from the file. If called repeatedly, it can read all of the lines one by one. *Note:* A file is treated as an iterable in python. This simply means that we can iterate over the lines of the file using a for loop (like we would loop over the elements of a list). We can also use a while loop to iterate over the contents of a file. We do this by specifing the number of characters we want to read at each iteration. Then we repeatedly used file.read() method to read the characters until there is nothing left to read. _size = 10_ _fileContents = file.read(size)_ _while len(fileContents) > 0:_ # while the length of what we have read is not 0, continue reading _print(fileContents, end=''')_ _fileContents = file.read(size)_ The *tell()* and *seek()* methods. Just like arrays, files are also zero-indexed. This means that the first element has a index of 0, second element has an index of 1 and so on. Python uses a pointer to keep track of where it should be reading from and writing to the files. In the start this point is at 0. As we read from the file, this pointer moves. For example, if we read 10 characters, this means that the pointer is not at index 10; it is going to read the 11th character next. It read from the 1st till the 10th characters (10th inclusive). Similiar mechanism is used for writing to files. *file.tell()* --> returns the position of where the pointer is. *file.seek(new_position)* --> sets the pointer to the specified position. *Writing to Files* The file should be opened in the 'write' mode. (mode = 'w'). *file.write(content)* --> writes the contents to the file. *Note:* trying to write to a file that does not exist will first create the file and then perform the writing operation. You can use nested (one in another) context managers to simultaneously read from a file and write to another file. Here is the code: _with open("readFilePath", 'r') as readFile:_ _with open("writeFilePath", 'w') as writeFile:_ _for line in readFile: _writeFile.write(line) You can also do: _with open("readFilePath", 'r') as readFile:_ _with open("writeFilePath", 'w') as writeFile:_ _writeFile.write(readFile.read())_ I hope this helps!

  • @HuzaifaMuhammadSIddique
    @HuzaifaMuhammadSIddique 21 час назад

    At 20:00, we can also copy the file contents by writing: wf.write(rf.read())

  • @bookman-o2i
    @bookman-o2i 22 часа назад

    Corey, loves your Django series, will you please also create php series?

  • @pandeyUkislay
    @pandeyUkislay День назад

    Hi @Corey - amazing work this and others! more power to you Quick question tho - were you able to get the answer to why some method do not have inplace argument

  • @user-td4pf6rr2t
    @user-td4pf6rr2t День назад

    So if this librarys is named __name__.py, __name__.count(__name__) == 1 but then I get __main__ if ran from shell like ` -c ''import __name__` \\\: ?

  • @angelhc4757
    @angelhc4757 День назад

    They should make an statue of you...

  • @angelhc4757
    @angelhc4757 День назад

    i love this library :)

  • @angelhc4757
    @angelhc4757 День назад

    Beautiful 🤩

  • @MegaKrishnat
    @MegaKrishnat День назад

    If anyone wondering how to do df2 with concat then this is how it goes df = pd.concat([df,pd.dataframe(df2)], ignore_index=True) 12:14

  • @yubianbedoya8
    @yubianbedoya8 День назад

    🎯 Key points for quick navigation: 00:00 *🏗️ Creación y uso de clases en Python* - Las clases en Python permiten agrupar lógicamente datos y funciones para facilitar su reutilización y ampliación. - Los atributos y métodos de una clase representan los datos y funciones asociados a la misma. - En este video, aprenderemos los conceptos básicos de creación e instanciación de clases. 01:20 *📋 Creación de una clase simple: `Employee`* - Ejemplo de una clase `Employee` que representa a los empleados de una empresa. - Cada instancia de la clase `Employee` representa a un empleado específico con atributos únicos. - Se puede utilizar una clase como plantilla para crear múltiples instancias con datos personalizados. 05:20 *🚀 Método especial `__init__` (constructor)* - El método `__init__` se utiliza para inicializar las instancias de una clase con valores específicos. - Permite definir cómo se deben configurar automáticamente los atributos de una instancia al ser creada. - Los argumentos del método `__init__` corresponden a los valores que se desean asignar a los atributos de la instancia. 09:09 *🔄 Creación de métodos en una clase* - Los métodos en una clase permiten definir acciones que pueden realizar las instancias de la clase. - Proporcionan una forma organizada de agrupar funcionalidades relacionadas con la clase. - Los métodos pueden acceder a los atributos de la instancia utilizando la referencia `self`. Made with HARPA AI

  • @shahenminasyan
    @shahenminasyan День назад

    Do you have any video for getters?

  • @Navarmn
    @Navarmn 2 дня назад

    Amazing video. Congrats. I have a few questions, if you could explain them to me would be amazing: 1) I don’t see you specifying a max number of processes to be spawned. So, will the Pol spawn N process, wherein N is the lenght of the list? If yes, how will it handle a list with 100k elements in a 10-core processor? 2) How can I prevent that two or more processes don’t process on the same image? Moreover, ideallly would be efficient if each process handle a chunk of the list.

  • @genesislujan8173
    @genesislujan8173 2 дня назад

    Where is test.txt ? T______T

  • @HumanInSun
    @HumanInSun 2 дня назад

    Hi how to do deployment for mysql or postgre.

  • @MrAlpha2013
    @MrAlpha2013 2 дня назад

    The long string before the $ is distracting.

  • @njsir3826
    @njsir3826 2 дня назад

    Corey please create a complete dedicated playlist for selenium just like your python playlist

  • @ScieLab
    @ScieLab 2 дня назад

    Corey, thanks for this interesting series. Would you please make a video for this part with a n updated version of flask_mail. I got an error at this stage.

    • @ScieLab
      @ScieLab 2 дня назад

      Here is the error: SMTPSenderRefused

  • @yaozuli546
    @yaozuli546 2 дня назад

    Quick question, how were you able to partially select your symbol names then replace them? Like the test_add, you were able to select only a few add then replace them with, for example, "subtraction"?

  • @JaiminGurjar
    @JaiminGurjar 2 дня назад

    I tried sending GET request in your website, but its not working showing Cancelled error

  • @tanuj05
    @tanuj05 2 дня назад

    Awesome video Corey , your videos are awesome !

  • @ganzaian430
    @ganzaian430 2 дня назад

    My login isn't working and I'm not getting logged in

  • @carolinemimeault3668
    @carolinemimeault3668 2 дня назад

    What a great tutorial! Thank you.

  • @khaled-dz8357
    @khaled-dz8357 3 дня назад

    Best python teach ever. Thank you corey

  • @kingsantuschukwuemeka439
    @kingsantuschukwuemeka439 3 дня назад

    Change ur success_Url = '/blog/ if you are just following everything, the link' /' will not be found

  • @yoyolubi
    @yoyolubi 3 дня назад

    Let me se if i got it right... so basicaly when you use l2 = l1 in Python is the same thing as you use int* l2 = l1 to point to the l1 array in C, both lists (or arrays) end up refering to the same memory address? But when i use l1, l2 = 100, 100 print(l1 is l2) It returns true, so why? I mean... i didnt use l1 = l2 although they have the same value... Is it because both are the same instance of the integer class in Python, and by that refers to the same object when l1 and l2 variables recives their values?

  • @Son96601
    @Son96601 3 дня назад

    People need to learn chaining

  • @paulgreen1416
    @paulgreen1416 4 дня назад

    @2:26 dang ole muscle memory got em hahahahaha

  • @piyankarajayadewa7157
    @piyankarajayadewa7157 4 дня назад

    Yeah! this is still the best for best regular expression!

  • @khaled-dz8357
    @khaled-dz8357 4 дня назад

    What a hell.is that rb wb. Its been long time watching python tutoriels and never see reading and writing in files with binary system. Corey you are God of python. Really you deserve Million thanks. Please keep going and uploading new videos.

  • @MohiniPatidar-gb1ur
    @MohiniPatidar-gb1ur 4 дня назад

    the video was very helpful. thank you

  • @rijuroy7415
    @rijuroy7415 4 дня назад

    After watching this, just went mad.

  • @khaled-dz8357
    @khaled-dz8357 5 дней назад

    I studies python basics with three courses but i found myself missed alot . You are the best python teacher on the planet

  • @adivishku
    @adivishku 5 дней назад

    love from India brother

  • @Manu-jq5uq
    @Manu-jq5uq 5 дней назад

    El mejor video de find command

  • @venk4123
    @venk4123 5 дней назад

    unable to import showing ModuleNotFoundError: No module named 'myeditor'

  • @dominusdone5023
    @dominusdone5023 5 дней назад

    just curious but did you know that you accidently posted an ip address in this video not sure if you planned for that

  • @liuqs1990
    @liuqs1990 5 дней назад

    #Arithmetic Operators: #Addition: 3+2 #Subtraction: 3-2 #Multiplication: 3*2 #Division: 3/2 #Floor Division: 3//2 #Exponent: 3**2 #Modulus: 3%2 #Comparisons: #Equal: 3 == 2 #Not Equal: 3 != 2 #Greater Than: 3 > 2 #Less Than: 3 < 2 #Greater or Equal 3 >= 2 #Less or Equal: 3 <= 2

  • @bartoszkowalik5538
    @bartoszkowalik5538 5 дней назад

    Another great video. Thank you God, for sending us Corey 🫡

  • @Son96601
    @Son96601 5 дней назад

    Does this still work with Pandas 2.0.2? I think it has a new interface so the traditional legacy call does not work with a regular expression anymore.

  • @khaled-dz8357
    @khaled-dz8357 5 дней назад

    The best one teaches you python

  • @HaoranZhang-jc8fq
    @HaoranZhang-jc8fq 5 дней назад

    thanks very much! finished all videos in this series! these videos cant be much helpful for they are being so systematic and easy to follow, even for a non native english speaker. Are there opportunities for us to watch lectures by you covering numpy?

  • @MonkeyD.3892
    @MonkeyD.3892 6 дней назад

    Thank You 🙏🙏

  • @Greenbay-bn3yk
    @Greenbay-bn3yk 6 дней назад

    Old but Gold. What an excellent explanation

  • @gizataibassov6738
    @gizataibassov6738 6 дней назад

    i finished it!!!

  • @subee128
    @subee128 6 дней назад

    Thanks

  • @MuhammedAzif.A
    @MuhammedAzif.A 6 дней назад

    Sir is it this playlist arranged in order

  • @MonkeyD.3892
    @MonkeyD.3892 6 дней назад

    Thank You 🙏🙏

  • @geetikakulshreshtha-bp7is
    @geetikakulshreshtha-bp7is 6 дней назад

    nice

  • @gannadheesh8043
    @gannadheesh8043 6 дней назад

    Since smtpd has been removed in Python 3.10 and later versions, you cannot use the smtpd module directly with Python 3.12. Instead, you should use the aiosmtpd package, which provides similar functionality and is compatible with modern Python versions.