Automate your job with Python

  Рет қаралды 442,830

John Watson Rooney

John Watson Rooney

Күн бұрын

Пікірлер: 286
@JosejuanBlanco10
@JosejuanBlanco10 11 ай бұрын
This is exactly, and i mean EXACTLY what i’ve been looking for!!! I can’t thank you enough.
@bmccollum
@bmccollum Жыл бұрын
Can't tell you how very much I enjoy your Python-related videos. I always watch them and walk away having learned something new or at least having learned how to do something I already know in a better way. 🙂
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
thanks great! thank you you are very kind
@54tomcat
@54tomcat 11 ай бұрын
That was cool! In my first weeks right now studying and learning Python. Wanted to see some live coding, and that was so interesting 🤩. Thanks for sharing!!!
@vrk4y
@vrk4y Жыл бұрын
Thanks for such useful content, John. I used the library a few times before, but I hadn't known about the codegen. It'll definitely make my new project development easier
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Glad it was helpful!
@waellerbe
@waellerbe Жыл бұрын
Today you have a **new** Subscriber to your channel. I am totally impressed with the value of Playwright powered by Python. Thank you for sharing this tutorial with us. Automating our jobs will boost our efficiency to a high degree. Ready to keep on learning along the way.
@theshubhagrwl
@theshubhagrwl 7 ай бұрын
I clicked on this video thinking this to be a yet another python video where we automate excel or pdf something but NO, this was a whole different thing and super helpful 🙌
@yagizjackson9500
@yagizjackson9500 7 ай бұрын
excel has it is own automation system "Macro" also , you can use python which is "pyautogui"
@jordiwang
@jordiwang Жыл бұрын
my man, thanks a lot. This is actually what I was looking for and I am sure this is a MUST skill that everyone should have. So good. Love you
@dundy96
@dundy96 Жыл бұрын
This is going to make inputing student grades SO much easier.
@vincent_hall
@vincent_hall 14 күн бұрын
Hmm, I need that.
@nuall4165
@nuall4165 4 ай бұрын
I needed this 2 years ago lol Thanks for the video!
@davidl3383
@davidl3383 Жыл бұрын
This record fonction is incredible ! thank you John !
@irfanshaikh262
@irfanshaikh262 Жыл бұрын
See. When i sit dow to count my blessings, i count "finding this channel and John" in particular probably a million times. Thanks john for being there for me.
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
that is very kind, thank you for watching
@rumble1925
@rumble1925 11 ай бұрын
I'm a programmer but I run my own business. I can't believe I never thought of automating admin tasks. I hate doing admin and I put it off to the last possible moment.
@johndavidwoodcock4528
@johndavidwoodcock4528 10 ай бұрын
I also run a business, just to help we with some ideas what kind of admin work do you have in mind?
@3g0e
@3g0e 8 ай бұрын
What tasks are you referencing?
@HaggisMuncher-69-420
@HaggisMuncher-69-420 8 ай бұрын
@@johndavidwoodcock4528 The guy isn't a programmer, if he was, he'd know to automate tasks.
@nico2006t
@nico2006t 7 ай бұрын
Me too i am not a programer but i understand how it should work, so spend 2 days talking with chat gpt to automate my admin ( statement client, invoice, save invoice as pdf send in the appropriate folder, send e mail with invoice and statement) took me so much time before. Now i also made a VbA just to click a button and it is done. I actually feel bored now lol.
@rumble1925
@rumble1925 7 ай бұрын
@@nico2006t nice work!
@training7574
@training7574 9 ай бұрын
Very inspiring, thanks! Amazing that it should be so simple.
@graczew
@graczew Жыл бұрын
Good stuff as always. Thanx for sharing your knowledge and time.
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
thanks mate hope all is good with you!
@swhitt4367
@swhitt4367 9 ай бұрын
Subscribed, if this was a series of examples and queries and question answering I would say you would have a keen audience! Subscribed
@PeterThornton
@PeterThornton 11 ай бұрын
This is fantastic, i need to do repeated tests on a newly developed webpage, this is perfect. I have subscribed and check out your other videos. Thank you
@Metalmatt900
@Metalmatt900 11 ай бұрын
This is what I’ve been looking for. Thank you so much.
@sepehrsarjami
@sepehrsarjami 9 ай бұрын
Absolutely enjoyed it. Nicely done.
@mkledits3679
@mkledits3679 5 ай бұрын
Super super super helpful!!! Thank you so much for sharing this!!!
@aetheon9906
@aetheon9906 11 ай бұрын
Class. Explained well, concise, with example. Love it!
@quintonrichards4805
@quintonrichards4805 5 ай бұрын
Earned my sub 🏅 Thanks for the video!
@jw200
@jw200 Жыл бұрын
Thanks so much for showing Playwright. Its excellent. Makes stuff so much easier.
@LucasMartins-op7oq
@LucasMartins-op7oq 11 ай бұрын
Wow, this is awesome! Thanks for sharing.
@danlee1027
@danlee1027 Жыл бұрын
Very helpful. I didnt know about code gen recording.
@techkunbyamogh
@techkunbyamogh Жыл бұрын
this is one of the coolest thing ive watched tnkuu
@TurokAgi
@TurokAgi Жыл бұрын
I accidentally entered the smart side of KZbin. My brain hurts 😖
@isekaijoucho4812
@isekaijoucho4812 9 ай бұрын
a casual dig into learning python led me here? to this crazy advanced automation? should've done python long ago
@bierkaa0007
@bierkaa0007 2 ай бұрын
You deserve me a subscriber on your channel ❤ thanks man
@JohnWatsonRooney
@JohnWatsonRooney 2 ай бұрын
Thanks
@michalb5380
@michalb5380 2 ай бұрын
Playwright codegen. I love you man.
@sagedoescode
@sagedoescode Жыл бұрын
simple and straighforward, good stuff mate
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
thanks
@prajwalaughade1210
@prajwalaughade1210 29 күн бұрын
bro thank you so much for this and i can't hank you more im sure this is the best thing i have ever learned while learning python😇❤
@pkavenger9990
@pkavenger9990 Жыл бұрын
wow this is so much better than selinium, I mean you don't even have to code just perform things on browser and it will convert it into code and you can then use it to automate stuff. Amazing
@dominusdone5023
@dominusdone5023 5 ай бұрын
It’s better but Id just stuff such as selenium and pyautogui just because you control more
@bcavalcante
@bcavalcante 9 ай бұрын
Tragam um Oscar para esse cara!
@tlrehmke
@tlrehmke 7 ай бұрын
You just made me another 50k over the next year. Thank you for the solution I've been agonizing over for the last 4 weeks!😊
@tamiresronchini3355
@tamiresronchini3355 5 ай бұрын
this looks a lot like vba macros which is exactly what I was looking for. I love your videos btw :)
@spookimiiki5891
@spookimiiki5891 8 ай бұрын
simple yet effective, the python way! nice video!
@carlos-ferreira
@carlos-ferreira Жыл бұрын
Thank you for tutorials like this. I recently used another one of your videos to fix the code a previous employee had created.
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Great to hear!
@oussaber
@oussaber Жыл бұрын
Thanks man. Never knew playwright had a codegen until now.
@duygusalsacmaliklar
@duygusalsacmaliklar Жыл бұрын
I couldn't stop laughing from happiness. Thank you man, thank you!
@badrakhariunchimeg1031
@badrakhariunchimeg1031 6 ай бұрын
Those data base have info of product if so can camera search on data and give relavant result
@vincent_hall
@vincent_hall 14 күн бұрын
Very interesting. I didn't know stuff like this existed. Will try learn how I can use it to automate lecturer tasks.
@re1n751
@re1n751 6 ай бұрын
Dude thankyou so much❤
@JohnWatsonRooney
@JohnWatsonRooney 6 ай бұрын
No problem 👍
@quangminhnguyen5681
@quangminhnguyen5681 Жыл бұрын
very cool very useful. thanks man
@AMindInOverdrive
@AMindInOverdrive Жыл бұрын
This is great! Thanks
@DeadlyDwarf
@DeadlyDwarf 2 ай бұрын
What is the python programm you use?
@devkhare5691
@devkhare5691 11 ай бұрын
That recording part looks like the universal recorder from Automation Anywhere 360.
@victoraguirre7486
@victoraguirre7486 10 ай бұрын
I liked the video, unliked it and re-liked it again so I could like it more. Thanks man!!
@michaelmuolokwu5039
@michaelmuolokwu5039 Жыл бұрын
Thank you for this!
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
thanks for watching!
@Millennial_Stacker
@Millennial_Stacker Жыл бұрын
I'm going to try using this method to clock in and out of work each day!
@nssdesigns
@nssdesigns 10 ай бұрын
Great stuff... is there a way to read .xlms or csv data and loop through each row to automate web form entry data?
@luffytaro689
@luffytaro689 8 ай бұрын
Holy shit new programmers have it so fucking easy. I remember when we had to use selenium and find each and every HTML path for each click.
@andrewlimmmmm
@andrewlimmmmm 7 ай бұрын
thank you bro you are the best
@Cu-da
@Cu-da Жыл бұрын
First of all thanks for the useful video. I've already learned python basics and now trying to get into automation and web scraping world and while i'm searching on youtube i found your useful channel but i found many playlists and i hope if you can tell me which playlist i should start with as a begginer in this world.
@arofhoof
@arofhoof 7 ай бұрын
This is wild that would have save me hours of mindless admin in my previous job!
@RoyZennet
@RoyZennet 5 ай бұрын
as VERY VERY NEW AND INNOCENT to programming
@valuetraveler2026
@valuetraveler2026 Жыл бұрын
next level scraping here- will check it out
@Eamo-21
@Eamo-21 Жыл бұрын
Very cool John
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Thanks I appreciate it
@rico5424
@rico5424 8 ай бұрын
That’s awesome! So you would just have to change the numbers and run the script and let it do it for you. That’s cool
@kerbalette156
@kerbalette156 11 ай бұрын
What’s your preference for this kind of work? Still Playwright or something like Selenium?
@JohnWatsonRooney
@JohnWatsonRooney 11 ай бұрын
I lean towards playwright still for this sort but selenium works just as well and since v4 is just as user friendly
@kerbalette156
@kerbalette156 11 ай бұрын
@@JohnWatsonRooney does Selenium have a codegen like this?
@isagive
@isagive Жыл бұрын
Its awesome! lets conenct this to a database and create some schemas... +10 for making such a tutorial.
@ouassildahimene4635
@ouassildahimene4635 Жыл бұрын
Thanks a lot john, can you make a video about scraping linkedin jobs with playwright ?
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Thanks for watching - you can apply the same principles here but linked in has more bot protection to get around. I’m moving away from specific site scraping videos but the methods will be adaptable to the sites you want to scrape
@Alex-uo5xp
@Alex-uo5xp 3 ай бұрын
Is there something like this for inside software? For example so it knows where to click in Excel or other software I use for work?
@robertwallace5498
@robertwallace5498 11 ай бұрын
I wish my job had more of these tasks so I could automate them
@EnzoAuditore
@EnzoAuditore Жыл бұрын
Thanks mate
@arleendo
@arleendo 7 ай бұрын
My company doesn't allow access to PATH editing, so the command playwright install does not work. How do I initialize playwright from the command line manually? Thanks!
@jeS77791
@jeS77791 Жыл бұрын
Thank you, as always John!
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
thanks for watching!
@Septumsempra8818
@Septumsempra8818 Жыл бұрын
Playwright never ceases to surprise
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Yeah you can do a lot just by controlling a browser
@Chip_Unlimited
@Chip_Unlimited 7 ай бұрын
I am getting the error 'command 'python.execSelectionInTerminal' not found' when trying to run my code; any ideas?
@johnlenoob6951
@johnlenoob6951 Жыл бұрын
Hi SIr, what is your coding environment ? YOu recommend use of conda or miniconda ? Working on windaube and don t want to destroy my poor system ;) Thanks for your work and knowkledge wharing
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
I just use Python and venv - no need for anaconda unless you are a data scientist in my opinion
@johnlenoob6951
@johnlenoob6951 11 ай бұрын
Thanks sir @@JohnWatsonRooney
@aminehadjmeliani72
@aminehadjmeliani72 Жыл бұрын
Thanks John for the great content, my I suggest you to make video about scraping thousands of websites asynchronously using scrapy
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
good idea, big task - i can certainly look at something that would help
@jasperbaumgarten3612
@jasperbaumgarten3612 Жыл бұрын
Are you able to make it change the date to one day later every time you run it? Also are you able to make it repeat so it completes this entire task say 5 times?
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Yes both of those are possible and relatively simple to implement
@justsh0t
@justsh0t Жыл бұрын
lol this codegen looks amazing :O
@walterclements7968
@walterclements7968 11 ай бұрын
wow. crazy how easy it is
@Nostrada-mus
@Nostrada-mus 9 ай бұрын
Playwright runs on private nav. Managed to make it work on guest but can't get it to run on any of my chrome's profile. Any idea how to fix this?
@josephreagan9545
@josephreagan9545 11 ай бұрын
You should use playwright to automate clicking the "I am a human" button!
@HopeUnveiled
@HopeUnveiled 11 ай бұрын
playwright install never works. it didn't detect the installation of playwright i think. But i just installed python, so maybe after i restart. Im on a linux machine.
@oregonfelder1
@oregonfelder1 Жыл бұрын
How can you build in random pauses intervals or “mouse movements” to avoid triggering scrape detection? This is definitely a tool I would like to incorporate because I cannot get an API to some sites, but pull 18 reports in a month basis that I would love to just automate. I just don’t want to trigger anything by “navigating” the site quicker than a fast human.
@willrefling6395
@willrefling6395 10 ай бұрын
time. sleep()`
@arsalan0561
@arsalan0561 Жыл бұрын
is this possible with selenium ? as i use scrapy-playwright which doesn't work on windows..
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Yes very possible with selenium, I started with selenium but moved on to Playwright as i preferred the API
@mehuljy
@mehuljy Жыл бұрын
Hi John, is it possible to add time stamps for each step that is being captured
@inputname000
@inputname000 2 ай бұрын
Does this work with interactions outside of the website (like when prompted where to save files, or copy and paste to another website tab or apps). If not, please make another tutorials too. Sorry I am watching this on my bed so I cannot test for myself. Thanks a lot!
@zenayush1
@zenayush1 Жыл бұрын
how your terminal looking like this? it is amazing and easy to understand Pls tell how you did it?
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
hey the code editor is vs code but my terminal is the standard ubuntu terminal with zsh on top, then one of the default zsh themes
@zenayush1
@zenayush1 Жыл бұрын
@@JohnWatsonRooney i also got it now with the help of oh my posh.
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
@@zenayush1 cool, i've not tried that one but i have heard of it
@N1246-c2f
@N1246-c2f Жыл бұрын
is there code that can automate an excel sheet that needs checking and updating based off latest available data from a number of other spreadsheets? e.g. there is an item code which can be used to lookup different types of information from other sheets, the item code will be present in each other sheet so all that it needs to do is lookup that item code and then input the latest data for that code into my desired spreadsheet. There is also a cell that needs to return a list of "countries" that item code is available in, im unsure where to start or how to go about this
@tsay214
@tsay214 Жыл бұрын
You'll want to look into Excel macros. Otherwise if you're on Windows, Microsoft Power Automate is a low-code option.
@ouchvinny4520
@ouchvinny4520 11 ай бұрын
Question, how does your terminal look so clean?
@ahmed007Jaber
@ahmed007Jaber 11 ай бұрын
hi John, this sounds intersting. Do you code in R? found helpful resources for R? I have been coding in R for couple of years and planning to stick with it unless I have to change
@alexdin1565
@alexdin1565 Жыл бұрын
Thanks Jhon please can you make a video on how we can use selenium or playwright on cpanel to make it run 24/24?
@williammendes7664
@williammendes7664 Жыл бұрын
John, what's the name of program on the left side?
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
its part of playwright - when you run codegen it loads up both
@bakasenpaidesu
@bakasenpaidesu Жыл бұрын
Hmmm .... Did you watched the video?
@wombleinc8482
@wombleinc8482 17 күн бұрын
How secure is this process with customer data though?
@Kazui-gs
@Kazui-gs 7 ай бұрын
neat, thanks man!
@harrazmasri2805
@harrazmasri2805 Жыл бұрын
kudos to you sir
@daesagelmar
@daesagelmar Жыл бұрын
Hello, I think playwright has some pre-installation dependecies. I could not execute codegen generated code in VSCode due to library dependency problems. When i dig into stackover flow lot of questions raised to handle this library properly. Could you tell us how do you handle this issues? i mean "playwright.sync_api" could not resolved.
@0596sami
@0596sami Жыл бұрын
What if my job description is literally about automating stuff, how would I then automate the automation job?
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Write scripts to run your automation scripts, then scripts to run those…
@dimitrisfloroskoufis_9866
@dimitrisfloroskoufis_9866 5 ай бұрын
to run similar code will I need flask?
@RaihanRisad
@RaihanRisad 7 ай бұрын
I dont know if you can help me with something here but when you were at the step of putting login id and pass, how did you got the value? I thought for auto-fill you need to signed in, but codegen took me to a chromium page where i could not access the sign in or this kind of functionalities. so how did you get the login and pass, and if i want to put it by code, can you to tell me what that would be? I mean how to put key and pass here on code. Thanks for the video. It really got me up from the phone to do this
@sweetlulu4306
@sweetlulu4306 Жыл бұрын
Thank you, I really enjoy how you explain and walk through the steps. I am curious about the password part tho. Is there a better security method for the username password part? I would hate to have this script to be sitting there on my desktop at work. Just wondering what’s the best security practice for that 😊
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Hey thanks- you could add user input at the start of the script, asking for the user to input the password required then stopping you having it saved
@jed2606
@jed2606 6 ай бұрын
if things change it will fail, does that mean you cant add conditional for loops and stuff with this library?
@zachhalliwell553
@zachhalliwell553 8 ай бұрын
Do you have to run it from the script window? Or could I save the script and run it while I'm in a browser at the page I want to run the script on?
@JohnWatsonRooney
@JohnWatsonRooney 8 ай бұрын
You can do it that way - you can connect to an open chrome browser using the CDP protocol. It’s relatively straight forward to figure out
@5gef
@5gef 7 ай бұрын
This is a superb tutorial. Thanks for that! However is it possible for the script to refer the data from an excel table? From your example I have to change the data manually in the script, but what if I'm working with hundreds of data?
@yuanyowwu
@yuanyowwu 6 ай бұрын
You’ll prob need to load the data and then (for example) loop through each row of data into some piece of playwright code. But very likely possible (at least that what it seems)
@monicadesai7928
@monicadesai7928 9 ай бұрын
Can you please make video for scraping job roles from individual company career web pages, so we only have to once add those web pages url, rest will be done by script and then automate the modification of job description into resume by removing some words. Please make videos on it.
@yagizjackson9500
@yagizjackson9500 7 ай бұрын
I am having a tiny issue. everything is working well, but when i download excel file, 1 )i can not see as excel, 2) it can not be opened or shown in the file. Anyone experience that?
@haneen8979
@haneen8979 5 ай бұрын
Thankkss a lot!!!
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 213 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 244 М.
How programmers flex on each other
6:20
Fireship
Рет қаралды 2,5 МЛН
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Stop Wasting Time on Simple Excel Tasks, Use Python
17:56
John Watson Rooney
Рет қаралды 11 М.
Introducing Python in Excel
19:01
Leila Gharani
Рет қаралды 1,7 МЛН
5 Amazing Ways to Automate Your Life using Python
18:40
Internet Made Coder
Рет қаралды 274 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 86 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 341 М.
Create A Python API in 12 Minutes
12:05
Tech With Tim
Рет қаралды 732 М.