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

Beginners • Re: String handling in Python

$
0
0
or how to do it with newer 'f-strings'.
Thanks hippy:
seems more easy to read

Code:

url=f'http://192.168.2.{shellyoffset}/rpc/Cover.Open?id=0'

Statistics: Posted by dbrion1 — Sun Dec 17, 2023 9:29 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles