@bazbt3 yep pasting certainly works. For code that I share I typically store it in a config file and read it in on startup but if your code is secret you can hard code it. And yeah I can see the app name. :-)
@bazbt3 Feel free to crib from any of my code on https://code.monkeystew.net/thrrgilag. pnut-matrix and partybot are a couple of projects I write in python. hopefully soon I'll get PNUTpy based example code up along with other bits. //@unixb0y@33MHz
@33MHz@unixb0y My intention is to switch my python projects like pnutbot and pnut-matrix over to using PNUTpy so that I can start filling in the gaps and make it solid.
@unixb0y Choosing the app name took longer than coding and breaking and debugging *and* asking for help and receiving then implementing it. It really did. :} // @thrrgilag@33MHz
@jws I should have been more explicit. Uncommenting the print line prints the whole of the token text to the screen. Is the variable rather than text used by PNUTpy that's stumped me. :/
I've a use for the code you posted, so thankyou!!!