<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi Rhys!<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Welcome back to SWLUG!<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I too have a few PIs (and hats and boards and LEDs and cables and stuff), and am insanely busy (job, kids, dog) with practically no time to “play.” I also volunteer as a Code Club leader in a local school. So I use that as an excuse to “research” now and again. One Pi is a VPN (<a href="http://www.pivpn.io">www.pivpn.io</a>), another runs <a href="http://OSMC.tv">http://OSMC.tv</a>, another has a Sense Hat that I use for demos (and tweeting the temperature/air pressure), I want to use one with an IR sensor and camera to tweet a picture of anyone who opens the biscuit tin.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Regarding C++ libraries, <a href="https://realpython.com/python-bindings-overview/">https://realpython.com/python-bindings-overview/</a> is helpful. (Though I haven’t tried it. It’s bad enough having to code C++ on an IBM Mainframe, let alone a Raspberry Pi.)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Keep in touch, and let us know your progress.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Marcus <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Swlug <swlug-bounces@mailman.lug.org.uk> <b>On Behalf Of </b>Rhys Sage via Swlug<br><b>Sent:</b> 18 January 2022 23:11<br><b>To:</b> swlug@mailman.lug.org.uk<br><b>Cc:</b> Rhys Sage <rhys_sage@yahoo.com><br><b>Subject:</b> [Swlug] Raspberry Pi and Python - just a hello.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'>I've been out of coding for a long time. Just got a Raspberry Pi and some gubbins with the aim of using Python and the gubbins to make the Pi physically do interesting stuff. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'>In detail - I walked away from coding in around 2008 (external pressures) and I've been playing around with Python when I get the time (busy and exhausting word schedule during term times (4:30am alarm, start work 6am. Finish work for the day 4:30pm) A couple of gaps in the middle that I generally have to allocate for napping and eating. I have the Pi and various hats and boards for the GPIO. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'>At the moment I have absolutely nobody around me that has any interest in coding etc to bounce ideas off. I might have some bloody stupid-sounding questions to ask and hope to find answers as I (glacially slowly) work toward my goals. The goals will change over time as the project progresses.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'>For my first inane question... Some of the boards I have have sample code solely in C++. As the vast majority of boards use Python it seems a better idea to use Python to do the coding. I do have background in C++/Delphi/Cobol/Basic. How do I use the C++ libraries from Python?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'>20 years ago I used to go to the SWLUG meetings in Wind St in Swansea but that's quite a commute for me right now as I'm located right now in South Carolina.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Helvetica",sans-serif'>Rhys Sage<o:p></o:p></span></p></div></div></div></body></html>