Questions tagged [skype4py]

Skype4Py is a BSD-licensed open source Python wrapper for the Skype API. It works on Windows, Linux and MacOS X so your scripts will work on all these platforms without any change. Its API is very similar to Skype4COM making it also suitable for rapid prototyping. Skype4Py has been tested with py2exe so it is possible to build native Windows executables using it.

Skype4Py is a BSD-licensed open source Python wrapper for the Skype API. It works on Windows, Linux and MacOS X so your scripts will work on all these platforms without any change. Its API is very similar to Skype4COM making it also suitable for rapid prototyping.

Skype4Py has been tested with py2exe so it is possible to build native Windows executables using it.

The Skype4Py project is hosted on GitHub at https://github.com/Skype4Py/Skype4Py. Its old home page at http://skype4py.sourceforge.net/ redirects to the (now moved) location https://developer.skype.com/wiki/Skype4Py which shows the "page not found" page at Skype Developer site.

Skype4Py used to be officially supported by Skype, but it no longer seems to be the case as is evident by the removal of the project home from Skype Developer site.

Even the project's mention on the original developer's home page at http://arkadiusz.wahlig.eu/Skype4Py.html is very sparse with just the few details as given above.

A fork of the Skype4Py project is available on GitHub at https://github.com/stigkj/Skype4Py called "Fork of the Skype4Py v1.0.32.0 Python library with a simple patch for doing thread handling correctly on Python v2.6 and up on OS X"

The last released version of the original project at SourceForge is 1.0.32 (last updated: 2009-12-10). The fork at GitHub was made on 2011-05-13 and last updated on 2012-07-25 (see: commit history)

77 questions
1
vote
0 answers

Script with Skype4py is failing on python2.7

I am running my script on python2.7 and receivng this kind of issue: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x300000f Serial number of failed…
Roman Alekseiev
  • 1,854
  • 16
  • 24
1
vote
0 answers

use skype4py to selectively mute/volume control group chat

I recently came across skype4py - couldn't find very extensive documentation/other questions, so asking here: is there a way to selectively mute/control volume of certain users in a group chat? The closest thing I've found is this but it's not what…
1
vote
1 answer

Skype4Py - insert line break

I try to use Skype4Py for Nagios notifications. I already can send messages from command-line. Now I try to insert line-break character (carriage return) into body of message. I use the following scripts to send notifications: …
whi1test
  • 29
  • 8
1
vote
1 answer

Using threads in PyGObject with GTK3 in python3

So I am trying to use threads to implement a blocking operation in a Python3 based application. #!/usr/bin/env python3 import gi, os, threading, Skype4Py gi.require_version('Gtk', '3.0') from gi.repository import Gtk, GLib, GObject skype =…
Raven King
  • 155
  • 1
  • 12
1
vote
0 answers

Skype4Py - Skype Bot - Greet New Joiners

How do I make a function for Skype in my python script ( In use for Skype4py ) That greets new comers, and says good bye to those that leave, or get kicked? Example, I know I need to have Event Handlers; OnChatMembersChanged(Chat, Members) - Catches…
Comradeo
  • 85
  • 11
1
vote
3 answers

Bad CPU type in executable when doing arch -i386 pip2 install skype4py

I have a problem with Skype4Py lib in Mac OS. As I know from documentation in github, in macos skype4py must install with specific arch. But when I try to use arch -i386 pip2 install skype4py I get error message Bad CPU type in executable. I am not…
drjackild
  • 473
  • 4
  • 17
1
vote
1 answer

Skype4Py Getting a message

So, I'm working on making my own skype bot for my group, but I can not figure out how to retrieve the latest message for my life. I quickly consulted the internet and stackoverflow as I am oft to do with little issues, but there is almost…
1
vote
0 answers

Ubuntu, Skype and Python

I am using Skype4Py and create a skype bot. I wanted to install the bot on a linux enviroment (Ubuntu 12.04 as I recall right) And I installed skype and the bot + dependicies. Now whenever I ask for message.Chat.Type, it gives me a command…
Jurien
  • 82
  • 7
1
vote
2 answers

0xFFFFFFFFFFFFFFFF Traceback with Skype4Py

When using Skype4Py and running my code, I come across this traceback: Exception in thread Skype4Py API thread: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 530, in __bootstrap_inner self.run() File…
Connor Simpson
  • 487
  • 1
  • 7
  • 27
1
vote
1 answer

Easiest way to sort XML in Python? [Skype Bot]

I'm making a Skype bot and one of my commands is !trace ip_or_website_here However, I see to be having an issue sorting out my XML Responses. Commands.py: elif msg.startswith('!trace '): debug.action('!trace command executed.') …
Axiom
  • 902
  • 1
  • 10
  • 23
1
vote
1 answer

Initiating Skype call from HTML and recording the call duration

I am trying to integrate the possibility to initiate skype calls chats from my django app all i've found on the official developer.skype is how to add the skypeBoutton that enables me to call other skype user without being able to get informations…
Hadj Ali Oussama
  • 784
  • 2
  • 8
  • 29
1
vote
2 answers

Skype4py !command with arguments

I currently have a skypebot which replies to commands and pings websites when I use the following code: if Status == 'SENT' or (Status == 'RECEIVED'): if Message.Body.lower() == '!ping google': ping = os.system("ping google.com") …
user2466908
1
vote
2 answers

Skype4Py - How to successfully add a contact?

I'm working to implement a few fun features with a SkypeBot, and one of the features I'd like to implement is the ability to add a new contact. While reviewing the Skype4Py docs, I note this…
ljlozano
  • 181
  • 10
1
vote
0 answers

Unexpected reply from Skype

skype4py raises an exception running the following code: def createChat(): chat = skype.CreateChatWith('another.user') chat.SendMessage('Gonna add new.user.') chat.AddMembers(skype.User('new.user')) the error is: SkypeError: [Errno 0]…
Prajna
  • 11
  • 1
1
vote
0 answers

Skype4Py WAV input

Thanks so much for taking your time to help me with this problem. There seems to be an error in the Skype4py module InputDevice. It doesn't allow you to input any WAV files. Could one of you more advanced programmers take a look at it. I will be…
Justin Gardner
  • 605
  • 2
  • 9
  • 17