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
  Is Vector3d.shop a legitimate pinecil reseller? jamespo 0 60 12-03-2025, 07:40 AM
Last Post: jamespo
  Minimum temperature Pinecil pschalkwijk 1 625 10-16-2025, 10:40 PM
Last Post: tllim
  Pinecil v2 not reaching 20v … Escape75 0 3,971 09-23-2025, 09:25 PM
Last Post: Escape75
  Pinecil v2 tip screw temperature Minuen 0 8,570 06-23-2025, 06:38 AM
Last Post: Minuen
  Crippling noise from inside pinecil during a few minutes high power soldering. dreieck 3 4,182 05-15-2025, 10:41 AM
Last Post: dreieck
  Pinecil v2 issue autumnharris 0 1,034 05-15-2025, 01:35 AM
Last Post: autumnharris
  Pinecil V2 doesn’t power on under any circumstances BigCarrotLeaf 0 1,544 03-22-2025, 07:29 AM
Last Post: BigCarrotLeaf
  Pinecil constantly cutting out WroughtIron 1 2,329 01-16-2025, 02:20 AM
Last Post: D4veC4rter
Exclamation Pinecil is working with 5v but nothing else!! MizterPink 1 1,632 01-07-2025, 03:59 PM
Last Post: MizterPink
  Pinepower suitable for an s23 (and a pinecil) its_lieseeeee 0 1,263 12-09-2024, 01:41 PM
Last Post: its_lieseeeee

Forum Jump:


Users browsing this thread: 1 Guest(s)