Avatar ·

Send message to Skype chat using Python

📁 Advanced Python Topics, bots

Need to write a Python program for sending messages to Skype chat. Skype4Py is not suitable because 64-bit Python is installed.

Are there any alternatives for working with Skype besides Skype4Py, and is there a Skype API for sending messages?

Avatar ·

Try thinking in this direction

S = sum(a[i]*i*i); where i=1..sqrt(10 000 000), a[i] are multipliers. Objective function min(sum(a[i]))

It's clear that the longest variant is the sum of ones. Taking ones as a base, you can reduce the objective function by adding squares of larger numbers. And when iterating, don't consider variants where the objective function takes a larger value than the current one.

The idea is that you need to collapse ones to minimize the objective function. This is one possible direction to move in. If anyone has something better, write to me, I'm also interested.

Here is [something] that proves the following fact.

If x^2 + y^2 = n, then

(x+y)^2 + (x-y)^
                            
                                Log in                            
                             to leave an answer                        

Blogs