Automate checking whether the Pinecil is still in stock
#3
Hi. I'm not a python programmer. But I made a couple of small changes for Linux.

up the top put the following for direct execution. Assuming that's where you can find your python
Code:
#!/usr/bin/python3

and this down the bottom. replacing firefox with xdg-open to be a little more generic:
Code:
os.system("xdg-open "+url)

In my case it opens a tab in chromium because it's my default browser.

don't forget to chmod +x checkPinecil.py if you want to run the file directly.

e: Thanks again for posting. I just got the basics of your program running in MicroPython on an eap32. So I now have the basis of a standalone in-stock alert.
  Reply


Messages In This Thread
RE: Automate checking whether the Pinecil is still in stock - by ImmortanJoe - 02-01-2021, 08:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinecil v2 tip screw temperature Minuen 0 329 06-23-2025, 06:38 AM
Last Post: Minuen
  Crippling noise from inside pinecil during a few minutes high power soldering. dreieck 3 2,834 05-15-2025, 10:41 AM
Last Post: dreieck
  Pinecil v2 issue autumnharris 0 300 05-15-2025, 01:35 AM
Last Post: autumnharris
  Pinecil V2 doesn’t power on under any circumstances BigCarrotLeaf 0 728 03-22-2025, 07:29 AM
Last Post: BigCarrotLeaf
  Pinecil constantly cutting out WroughtIron 1 1,264 01-16-2025, 02:20 AM
Last Post: D4veC4rter
Exclamation Pinecil is working with 5v but nothing else!! MizterPink 1 688 01-07-2025, 03:59 PM
Last Post: MizterPink
  Pinepower suitable for an s23 (and a pinecil) its_lieseeeee 0 572 12-09-2024, 01:41 PM
Last Post: its_lieseeeee
  Help with Pinecil saranelson 1 906 11-09-2024, 02:19 PM
Last Post: biketool
  pinecil v2 reverse polarity issue adamsk1952 0 913 09-12-2024, 07:54 AM
Last Post: adamsk1952
Sad Pinecil V2 screw broken! Carol8 1 923 09-09-2024, 08:44 AM
Last Post: Carol8

Forum Jump:


Users browsing this thread: 1 Guest(s)