I would like to add 178 character one-liner that broadcasts magic wakeonlan packet
User name: HermannStamm-Wilbrandt tweet: https://twitter.com/HermannSW/status/1679997896328990721 Why? I would never have thought that a Python one-liner can do such low level network stuff (in a readable manner!). Based on wikipedia Python example, and then minimized to squeeze out as much as possible: https://en.wikipedia.org/wiki/Wake-on-LAN#Creating_and_sending_the_magic_pac... Regards, Hermann Stamm-Wilbrandt.
Where would you like to add this on the wiki ? On 15.07.2023 01:53, hermann@stamm-wilbrandt.de wrote:
User name: HermannStamm-Wilbrandt tweet: https://twitter.com/HermannSW/status/1679997896328990721
Why? I would never have thought that a Python one-liner can do such low level network stuff (in a readable manner!).
Based on wikipedia Python example, and then minimized to squeeze out as much as possible: https://en.wikipedia.org/wiki/Wake-on-LAN#Creating_and_sending_the_magic_pac...
Regards,
Hermann Stamm-Wilbrandt. _______________________________________________ pydotorg-www mailing list pydotorg-www@python.org https://mail.python.org/mailman/listinfo/pydotorg-www
-- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, Jul 15 2023)
Python Projects, Coaching and Support ... https://www.egenix.com/ Python Product Development ... https://consulting.egenix.com/
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 https://www.egenix.com/company/contact/ https://www.malemburg.com/
On 2023-07-15 22:34, Marc-Andre Lemburg wrote:
Where would you like to add this on the wiki ?
Below "Retrieve content text from HTTP data": https://wiki.python.org/moin/Powerful%20Python%20One-Liners Or somewhere else on that page, where you would prefer it. Regards, Hermann Stamm-Wilbrandt.
On 16.07.2023 01:59, hermann@stamm-wilbrandt.de wrote:
On 2023-07-15 22:34, Marc-Andre Lemburg wrote:
Where would you like to add this on the wiki ?
Below "Retrieve content text from HTTP data": https://wiki.python.org/moin/Powerful%20Python%20One-Liners
Or somewhere else on that page, where you would prefer it.
Ok, I've made you an editor. Happy editing! -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts
Python Projects, Coaching and Consulting ... http://www.egenix.com/ Python Database Interfaces ... http://products.egenix.com/
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/
On 2023-07-16 13:06, Marc-Andre Lemburg wrote:
Ok, I've made you an editor.
Happy editing!
Thank you. I waited some hours, but I see no edit button or other means to edit the Wiki page. How long do I have to wait? How exactly can I "edit a Wiki page"? Regards, Hermann Stamm-Wilbrandt.
On 16.07.2023 21:53, hermann@stamm-wilbrandt.de wrote:
On 2023-07-16 13:06, Marc-Andre Lemburg wrote:
Ok, I've made you an editor.
Happy editing!
Thank you. I waited some hours, but I see no edit button or other means to edit the Wiki page. How long do I have to wait? How exactly can I "edit a Wiki page"?
It should work already. I put you into the editor group: https://wiki.python.org/moin/EditorsGroup Could you perhaps double-check the user ID ? Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts
Python Projects, Coaching and Consulting ... http://www.egenix.com/ Python Database Interfaces ... http://products.egenix.com/
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/
On 2023-07-19 17:38, Marc-Andre Lemburg wrote:
It should work already. I put you into the editor group:
https://wiki.python.org/moin/EditorsGroup
Could you perhaps double-check the user ID ?
Hi Marc, I just checked again, and no Edit button under Page. I asked a friend who is editor for years, and he said I should look under Page. What I realized is, that there are only 5 people in Editorsgroup with a hyphen in username like I — can that be the problem? If so, should I register again, this time as HermannStammWilbrandt without hyphen? Regards, Hermann Stamm-Wilbrandt.
On 19.07.2023 17:47, hermann@stamm-wilbrandt.de wrote:
On 2023-07-19 17:38, Marc-Andre Lemburg wrote:
It should work already. I put you into the editor group:
https://wiki.python.org/moin/EditorsGroup
Could you perhaps double-check the user ID ?
Hi Marc,
I just checked again, and no Edit button under Page. I asked a friend who is editor for years, and he said I should look under Page.
What I realized is, that there are only 5 people in Editorsgroup with a hyphen in username like I — can that be the problem?
If so, should I register again, this time as HermannStammWilbrandt without hyphen?
It is possible that the hyphen causes problems. However, for some few pages, it's also possible that the page is locked down. Now, the page you mentioned does not have a such a lock down, so please try with the new username. I've changed the editors group accordingly.
Regards,
Hermann Stamm-Wilbrandt.
-- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts
Python Projects, Coaching and Consulting ... http://www.egenix.com/ Python Database Interfaces ... http://products.egenix.com/
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/
On 2023-07-19 17:51, Marc-Andre Lemburg wrote:
It is possible that the hyphen causes problems. However, for some few pages, it's also possible that the page is locked down. Now, the page you mentioned does not have a such a lock down, so please try with the new username.
I've changed the editors group accordingly.
Hi, thanks, I created new account HermannStammWilbrandt. But pydotorg has problems with both accounts having same email address. Can you please delete the account HermannStamm-Wilbrandt? (I found no option deleting that account myself when I wwas logged in) Thanks for your help, Hermann Stamm-Wilbrandt.
On 19.07.2023 18:13, hermann@stamm-wilbrandt.de wrote:
On 2023-07-19 17:51, Marc-Andre Lemburg wrote:
It is possible that the hyphen causes problems. However, for some few pages, it's also possible that the page is locked down. Now, the page you mentioned does not have a such a lock down, so please try with the new username.
I've changed the editors group accordingly.
Hi,
thanks, I created new account HermannStammWilbrandt. But pydotorg has problems with both accounts having same email address. Can you please delete the account HermannStamm-Wilbrandt? (I found no option deleting that account myself when I wwas logged in)
I can do this, but it'll take time. An easy work-around: add modifier to your email address, e.g. hermann+pywiki@stamm-wilbrandt.de
Thanks for your help,
Hermann Stamm-Wilbrandt.
-- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts
Python Projects, Coaching and Consulting ... http://www.egenix.com/ Python Database Interfaces ... http://products.egenix.com/
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/
On 2023-07-19 18:23, Marc-Andre Lemburg wrote:
I can do this, but it'll take time.
An easy work-around: add modifier to your email address, e.g. hermann+pywiki@stamm-wilbrandt.de
That did work. I just added "Broadcast magic packet to power on wakeonlan enabled computer" section to one-liner Wiki page: https://wiki.python.org/moin/Powerful%20Python%20One-Liners Thanks for all your help, Hermann Stamm-Wilbrandt.
participants (2)
-
hermann@stamm-wilbrandt.de -
Marc-Andre Lemburg