Sikuli Tutorial 1: Visually programming in python!
Key Takeaways
The video demonstrates the use of Sikuli, a tool for automating tasks on a computer, and provides a tutorial on how to download and install the Sikuli IDE. It also touches on the limitations of Sikuli and introduces Selenium as an alternative tool.
Full Transcript
Hello everybody and welcome to my introduction to suli. So what is suli and why do you care? Um I plan to do tutorials on both suli and selenium as they both provide a massive help in a very similar situation. So, uh, let's say you know exactly what you want to do within your, uh, Python program and you know how you'd like to structure the logic of that program, but there's some more in-depth things that you can't quite figure out. Like, let's say you don't know how to log into a website or type things onto a website, uh, interact with like maybe some sort of JavaScript plugin on a website. Um or possibly you want to interact with programs on your own computer that you're not quite sure how you can maybe hit file and do this or whatnot within that uh specific program. So normally within you know pure Python programming there's a lot of coding that you would have to do uh in order to do these things. And so what Suli and Selenium, which I'll be going into depth later on, can do for you is help you skip some of the harder stuff um and get straight to testing your logic for the program. So personally, I found that I just purely a lot of times want to see what the end result uh is going to look like. Like if I'm thinking about developing some sort of program, sometimes I don't want to spend literally like probably the hundreds of hours developing that really in-depth uh back-end code and I just want to test the logic um and see if it's worth putting in that time, right? And so like the beginning of like my website scentex um that was actually researched using both selenium and suli to decide if it was really worth me putting in the time and energy to code it purely within Python because you really don't selenium is a little better but suli the downside to suli is it's very hard to scale suli um because it's going to it's going to take control of your mouse basically so um you couldn't have it doing multi multiple tasks at the same time. I mean, you could, but it's still it's still going to be using your mouse and so the mouse can only be doing one thing. Um, Selenium's a little better and it's going to run within the browser and you won't be sacrificing your mouse. Um, but we'll get to Selenium later. So, let's go ahead and get started with Sulie. Um, the point of Sulie is basically, you know, you can read on their website. It is to automate anything you might see on your computer. And it's going to be there there's a specific IDE for it, but it's going to be using the same sort of logic that you would use within um, Python. So, that kind of same structure and syntax for a little bit. But you can see it's got like to click the mouse it's literally a click and to type it's type and there's various ways to do key presses like you can control ctrl +v that kind of stuff. So anyway we'll be getting into that with a few suli tutorials here but to start let's go ahead and download suli. It's been a while since I've um downloaded a new version of suli. So I might be a little unfamiliar with their newest but I think this is all we want here. Let's download this 1.0. See if we can find it. I have the Windows. Um, and I think what we want is right down here at the bottom, the Suli IDE. Let's open this up and see. I believe this is what we want. So, now what we want to do is download that. So, let's see. Says we should go here back to their download page. So, we'll pop over to their download page here. And I want I see there's an API and an IDE for everything. We want the IDE, I'm pretty sure. Uh the API I'm kind of interested in. I don't recall ever using an API. I'll have to look into that, but maybe we can find a way to not sacrifice our mouse um without it. So anyway, let's take the IDE. I'm got Windows 6 or yeah, Windows 64bit. So I'm going to download this, but they've got, you know, for all the versions that you might have, but I happen to be Windows 64-bit. Make sure you download the IDE, not the API. What we're looking for is this IDE. So, I'm going go ahead and click this and download it. I'm going to pause the download while we're waiting. All right. Now that it's done downloading, I'm just going to pull it over to my desktop so we can work with it. Put it down here so it's maybe a little easier to see. And we'll go ahead and extract all. And there we have it. Let me go close out of this. Let's drag it over here. Let's open up see what we're dealing with here. Looks like there we go. Okay. So, let's download or open up the IDE here. All right. This is definitely what we want. Looks very familiar. So, that's good. That's good. Let me make it into a window that everybody can see now. And this should be what you're looking at. If not, then something is wrong. Um, so up here is going to be where we're going to script. And then these are some quick um, you know, typically used buttons within Suli. And so this is where you're going to script out if you had anything printing out. This is like your typical print out. We're just going to pop this down a little bit. And now what we want to do, so what I think would be kind of cool is pretty much everybody wants to um or a lot of people want to use suli to do stuff that they just don't know how to do on their uh browser. So why not use suli to let's say we want to use suli to log in to a website for example. Um, so this is actually a pretty easy task for Suli.
Original Description
Cool Python Programs Playlist:
http://www.youtube.com/playlist?list=PLQVvvaa0QuDd2eLUw6i-Pbk3H_15Lfo3b
Sentdex.com
Facebook.com/sentdex
Twitter.com/sentdex
Playlist
Uploads from sentdex · sentdex · 49 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
▶
50
51
52
53
54
55
56
57
58
59
60
Matplotlib Python Tutorial Part 1: Basics and your first Graph!
sentdex
Python Encryption Tutorial with PyCrypto
sentdex
Python's Logging Function
sentdex
wxPython Tutorials 1: Making Windows GUIs with Python : Installing + 1st window!
sentdex
wxPython Tutorials 2: Making Windows GUIs with Python: Customizing Window Parameters
sentdex
wxPython Programming Tutorial 3: Menu Bar and Menu Button
sentdex
wxPython Programming Tutorial 4: Panels
sentdex
wxPython Programming Tutorial 5: User Input Saved To Variables
sentdex
wxPython Programming Tutorial 6: Multiple Choice Input
sentdex
wxPython Programming Tutorial 7: Adding Static Text and Colors
sentdex
wxPython Programming Tutorial 8: Custom Button Images
sentdex
wxPython Programming Tutorial 9: Tool Bar Items and Sub Menus!
sentdex
Basic PHP Tutorial 13: Multi-dimensional Array
sentdex
Basic PHP Tutorial 15: Functions and Global Variables
sentdex
Basic PHP Tutorial 12: Associative Array
sentdex
Basic PHP Tutorial 14: Foreach loop
sentdex
Basic PHP Tutorial 16: Include and Require
sentdex
Basic PHP Tutorial 7: Assignment, comparison and Logical operators
sentdex
Basic PHP Tutorial 4: Variables and Comments
sentdex
Basic PHP Tutorial 11: Arrays part 1, basic array
sentdex
Basic PHP Tutorial 6: If else and else if conditionals cont'd
sentdex
Basic PHP Tutorial 1: Intro to PHP
sentdex
Basic PHP Tutorial 3: HTML with PHP
sentdex
Basic PHP Tutorial 9: While Loop
sentdex
Basic PHP Tutorial 10: Switch Statement
sentdex
Basic PHP Tutorial 2: Print and Echo
sentdex
Basic PHP Tutorial 5: If else and else if conditional statements
sentdex
Basic PHP Tutorial 8: Arithmatic Operators: Doing math with php
sentdex
Basic PHP Tutorial 17: User Input Form Example / String Manipulation
sentdex
Basic PHP Tutorial 18: HTML Entities and forms cont'd
sentdex
Basic PHP Tutorial 19: Finding words in strings
sentdex
Basic PHP Programming Tutorial 20: Saving to a File / writing and appending
sentdex
Basic PHP Programming Tutorial 22: Hashing part 2: salting
sentdex
Basic PHP Programming Tutorial 23: Variables in Strings and tokenizing
sentdex
Basic PHP Programming Tutorial 21: MD5 Hashing For Security
sentdex
Basic PHP Programming Tutorial 24: String similarity
sentdex
Basic PHP Programming Tutorial 25: Time and Time stamps
sentdex
Basic PHP Programming Tutorial 26: Die and Exit
sentdex
Basic PHP Programming Tutorial 27: MySQL Databases Part 1
sentdex
Basic PHP Programming Tutorial 28: MySQL Database Part 2: Reading From Database
sentdex
Basic PHP Programming Tutorial 29: MySQL Database Part 3: Inputting Data
sentdex
Basic PHP Programming Tutorial 30: MySQL database in Use
sentdex
Django Tutorial Web Development with Python Part 1: Installing Django
sentdex
Python Tutorial: File Deletion and Folder Deletion / directory deletion
sentdex
Python Tutorial: How to Rename Files and Move Files with Python
sentdex
3D Graphs in Matplotlib for Python: Basic 3D Line
sentdex
3D Plotting in Matplotlib for Python: 3D Scatter Plot
sentdex
3D Charts in Matplotlib for Python: Multiple datasets scatter plot
sentdex
Sikuli Tutorial 1: Visually programming in python!
sentdex
Sikuli Tutorial 2: Program visually in python!
sentdex
Sikuli Tutorial 3: Program visually in python!
sentdex
3D Bar Charts in Python and Matplotlib
sentdex
3D Plane wire frame Graph Chart in Python
sentdex
Raspberry Pi Part 1 Introduction
sentdex
Raspberry Pi Part 8: First Download and Update! (Firmware)
sentdex
Raspberry Pi Part 10: How to set up a Linux Web Server on your Pi
sentdex
Raspberry Pi Part 11: Remote Desktop
sentdex
Twitter Analysis: How to rank a user's influence
sentdex
GPIO Tutorial for Pi Part 2 - Programming the GPIO
sentdex
GPIO Tutorial for Raspberry Pi Part 1 - Setting up
sentdex
More on: AI Productivity Tools
View skill →Related Reads
📰
📰
📰
📰
The AI Job Market Changed My Mind: Why I Started Learning Python After 12 Years of C#
Medium · Python
Deep Dive: Master Midjourney 8.2’s New Edit Mode for Elite Character Posing and Layout Precision
Medium · AI
Ten files is not a budget
Dev.to AI
Inteligencia artificial para empresas: cómo está cambiando la forma de trabajar
Medium · SEO
🎓
Tutor Explanation
DeepCamp AI