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

Cancelling Skype4Py file transfer

I would like to cancel file transfer in python but I couldn't find any solution. I use OnFileTransferStatusChanged function for it but I don't know how to actually cancel the file transfer. import Skype4Py import sys import time import os from…
1
vote
2 answers

Programmatically control Skype or Google+ client to initiate a video call

Is there a way to write a program in Python, C/C++, or Java, or even web programming to initiate a Skype/Google+ Hangout Video Call to someone in your contacts list? (i.e. I want to programatically launch a Skype video call) Has anyone done this…
d.mc2
  • 1,129
  • 3
  • 16
  • 31
1
vote
1 answer

Skype4Py cannot determine window state

I am on Mac OSX (10.8.2) and am trying to use Skype4py to send messages in response to incoming messages only if the Skype window is Minimized. The code that I have set up is basically as follows: s = Skype4Py.Skype() c = s.Client if not…
1
vote
2 answers

Cannot attach Skype4Py to Skype via Python in Mac OSX

I am on Mac OSX (10.8.2) and am trying to use Skype4py to connect to my currently running Skype instance via Python. My difficulty here is that I have followed the instructions on the website (http://pypi.python.org/pypi/Skype4Py/1.0.34#segfaults),…
1
vote
1 answer

Send file with skype4py?

How would I go about sending a file over Skype with Skype4Py? I looked through the docs but couldn't find out how to do it.
Kaonashi
  • 99
  • 1
  • 6
1
vote
1 answer

Segmentation fault in skype.Attach() in Python and Skype4Py

I tried to run a simple python code for Skype4Py here's my code import Skype4Py import logging logging.basicConfig(level=logging.DEBUG) print 'OK' # Create Skype instance print 'CREATE' skype = Skype4Py.Skype() print 'CREATED' # Connect Skype…
joi
  • 307
  • 1
  • 2
  • 11
0
votes
0 answers

How can I use SkPy to send a specific message when receving a specific message

Essentially I'm trying to create a very simple script that will send predesignated messages when a defined message is received. I'm new to Python. What I have is basically this: from skpy import Skype sk = Skype("myskypeID", "pwd") # connect to…
0
votes
2 answers

Install Skype4Py module on windows

When i try to install the Skype4Py and run setup.py in my cmd this message comes up: I have python 2.x. Any ideas where I am making a mistake. Thanks in advance!
worer
  • 103
  • 2
  • 11
0
votes
0 answers

How can you reply to sender if you receive a message? (in an if statement)

I'm fairly new to Python and I'm writing a script that sends a Skype message when someone sends you a message (And it changes the message dependent on whether a process exists or not.) and I'm struggling to get python to recognize a received…
0
votes
1 answer

Skype4Py Sending & Receiving In Group Chats

Basically, I'm trying to create a skype bot with Skype4Py. My current code work fine in legacy (p2p) group chats and in normal message, but not in the new group chats. Here's my code: import Skype4Py prefix = "My Bot: " def command(Message,…
RWWW
  • 1
  • 2
0
votes
1 answer

Skype4Py replying

I am using skype4py now and I am looking how to send a message if someone sends me a message. The website of of Skype4Py is not very helpfull on this subject I can already send a message but only when I call a script and not if a message comes in.
Joris Janssen
  • 64
  • 1
  • 10
0
votes
1 answer

Skype4py doesn't respond to group chats

I tried running a script to respond to individual and group chats, but it only responds to individual chats import Skype4Py def commands(Message, Status): if Status == 'SENT' or Status == 'RECEIVED': if Message.Body == "ping": …
Simon381
  • 1
  • 1
0
votes
1 answer

Skype4Py will not attach to Skype on windows

i am using a 32 bit python to run it on my win 8 machine, when i run the program skype is responding with a message (seen in the top bar) : "Another application (python.exe) is attempting to access Skype , but we are unable to respond. Please try to…
Dave
  • 1
  • 2
0
votes
1 answer

Reply to Message Skype4Py

I just don't find any tutorial or easy-to-understand snippet to do that simple task. I have a method OnMessageStatus which is called everytime I get an incoming Message. The signature is OnMessageStatus(Message, Status): Where Message is an object…
Nocta
  • 199
  • 2
  • 9
0
votes
1 answer

Trying to make a basic skype bot using skype4py - How to make it check when a MSG is sent into the chat?

I'm trying to make a simple skype bot that I can run and if a message is sent in a specific chat, that it sends one of three messages which rotate. However I'm trying to figure out how to make it check when a message is sent into the chat. Have so…