Page 1 of 1

Re: Python-pushsafer Client error during import

Posted: 19. Sep 2018, 22:13
by admin
works like charme, I just tested it!

You already installed the python-pushsafer package successfully.
Now create a file like pushsafer.py

Past the script:

Code: Select all

from pushsafer import init, Client

init("yourprivatekey")
Client("").send_message("Message", "Hello", "119", "1", "4", "2", "https://www.pushsafer.com", "Open Pushsafer", "0", "2", "60", "600", "1", "", "", "")
Replace your private key and the other parameter to your needs! Save the modification!

Now run the script
Zwischenablage01.png
Zwischenablage01.png (32.31 KiB) Viewed 6733 times

Re: Python-pushsafer Client error during import

Posted: 19. Sep 2018, 22:22
by admin
try to use absolute paths, like discribed here
https://www.pythoncentral.io/execute-py ... ile-shell/

Re: Python-pushsafer Client error during import

Posted: 20. Sep 2018, 18:43
by admin
yes, tested with version 3.6
Please try to get help in a pyton board, iam not a python developer!

Kevin