10-13-2012, 07:17 PM
What is Skype4Py
Skype4Py is a Python wrapper for the Skype API. It is platform independent, written completely in Python and reimplements the Skype4COM's API in a pythonic way.
This specific tutorial is written for Python 2, however it can easily be translated for Python 3. Even though this does have a lot of stuff, I will be going over what I personally use.
By the way, it says PHP code. That's because I want syntax highlighting. All this is in python. Not php.
Also, This will be a shitty bot. I feel the need to say this, because I'm covering the VERY BASICS. Learning python will help you a lot more.
Download Links
I assume you already have python when reading this, if not,
Get the bot attached to skype
First you will want your bot to attach to skype. This can be easily done with the code below.
After that, you should get something like this
Starting with the bot
Here's a few things you should know. These are the main things I use in my bot.
I still recommend you learn the other stuff too.
[/hide]
[/hide]
[/hide]
[/hide]
[/hide]
Skype4Py is a Python wrapper for the Skype API. It is platform independent, written completely in Python and reimplements the Skype4COM's API in a pythonic way.
This specific tutorial is written for Python 2, however it can easily be translated for Python 3. Even though this does have a lot of stuff, I will be going over what I personally use.
By the way, it says PHP code. That's because I want syntax highlighting. All this is in python. Not php.
Also, This will be a shitty bot. I feel the need to say this, because I'm covering the VERY BASICS. Learning python will help you a lot more.
Download Links
I assume you already have python when reading this, if not,
[To see links please register here]
. Also, you will need to download[To see links please register here]
. Anyways, that should be everything you need.Get the bot attached to skype
First you will want your bot to attach to skype. This can be easily done with the code below.
PHP Code:
import Skype4Py
# Create an instance of the Skype class.
skype = Skype4Py.Skype()
# Connect the Skype object to the Skype client.
skype.Attach()
After that, you should get something like this
Starting with the bot
Here's a few things you should know. These are the main things I use in my bot.
I still recommend you learn the other stuff too.
Hidden Content
[/hide]
[/hide]
[/hide]
[/hide]
[/hide]