Just a sample of the Echomail archive
COMPOSL3:
[ << oldest | < older | list | newer > | newest >> ]
|  Message 133,426 of 135,166  |
|  The Natural Philosopher to All  |
|  Re: Python  |
|  15 Dec 25 18:55:00  |
 
XPost: alt.folklore.computers
From: tnp@invalid.invalid
On 14/12/2025 04:27, c186282 wrote:
> NOT sure why so many people want to trash Python.
The problem is, if Python doesn't have the library, you are fucked.
Example. I want my PICO W sensors to have names that show up on a DHCP
server as something sensible.
Using the C SDK this is easy.
static void set_hostname(char * hostname)
{
struct netif *n;
// set hostname
cyw43_arch_lwip_begin();
n = &cyw43_state.netif[CYW43_ITF_STA];
netif_set_hostname(n, hostname);
netif_set_up(n);
cyw43_arch_lwip_end();
// end set hostname
}
It's simply not possible in Python AFAIK
In other contexts, I can do everything I need without having to learn
Python which is fine by me, It's bad enough switching between C,
JavaScript and PHP...
--
Labour - a bunch of rich people convincing poor people to vote for rich
people by telling poor people that "other" rich people are the reason
they are poor.
Peter Thompson
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)
|
[ << oldest | < older | list | newer > | newest >> ]
(c) 1994, bbs@darkrealms.ca