Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5386

Python • Re: DS18B20 / w1thermsensor

$
0
0
Thanks for that info.

The entry point file is for w1thermsensor (cli version I assume) and is so named. I made a copy of it, renamed it to w1thermsensorVisible, edited in the print statements and then ran it in my project dir with:

Code:

python3 w1thermsensorVisible
Before gave:
[w1thermsensorVisible]

After gave:
[w1thermsensorVisible] followed by several lines of usage instructions for w1thermsensor.

It looks like the entry point script looks for either ‘-script.pyw’ or ‘.exe’ in the before args and removes it.

Siince my project doesn’t use the CLI version of w1thermsensor I don’t think this affects it at all.

Statistics: Posted by dlflannery — Sun Aug 04, 2024 9:21 pm



Viewing all articles
Browse latest Browse all 5386

Trending Articles