AuckPUG's last (virtual) Coding Evening for 2022

2022-11-30 Thread dn
Wednesday 7 December, 1800 for 1830 NZDT/0530 UTC We will continue the "Crafting Software" series, gradually developing Monty's Python Supermarket. The evening's aim is to move the product-prices from their hard-coded dict[ionary] into a flat-file (introducing Python I/O), and then to do same

Re: Vb6 type to python

2022-11-30 Thread Weatherby,Gerard
Look at struct package: https://docs.python.org/3/library/struct.html From: Python-list on behalf of luca72.b...@gmail.com Date: Wednesday, November 30, 2022 at 11:48 AM To: python-list@python.org Subject: Vb6 type to python *** Attention: This is an external email. Use caution responding,

python: setup.py: how NOT to install C extensions used only by tests

2022-11-30 Thread Bartosz Golaszewski
I have a module that has a tests/ directory which contains a C extension that's only used by test cases. I don't want to install it. I'm building it as a setuptools.Extension() added to setup() using the ext_modules argument. The test directory is not added to setup's packages argument. Even

Re: Vb6 type to python

2022-11-30 Thread DFS
On 11/30/2022 1:07 PM, DFS wrote: On 11/30/2022 6:56 AM, luca72.b...@gmail.com wrote: I don't do Python OO so someone else can answer better, but a simple port of your VB type would be a python class definition: class prog_real:     codice, denom, codprof, note, programmer     AxDin,

Re: Vb6 type to python

2022-11-30 Thread DFS
On 11/30/2022 6:56 AM, luca72.b...@gmail.com wrote: Hello i have a byte file, that fill a vb6 type like: Type prog_real codice As String * 12'hsg denom As String * 24'oo codprof As String * 12 'ljio note As String * 100 programmer As String * 11

Re: pip issue

2022-11-30 Thread Thomas Passin
On 11/30/2022 1:49 PM, Gisle Vanem via Python-list wrote: Dieter Maurer wrote: Otherwise no issues. But where is this text "-arkupsafe" stored and how to get rid it it? I've searched through all of my .pth files and found no such string. Have you looked at the content of the folder mentioned

Re: pip issue

2022-11-30 Thread Gisle Vanem via Python-list
Dieter Maurer wrote: Otherwise no issues. But where is this text "-arkupsafe" stored and how to get rid it it? I've searched through all of my .pth files and found no such string. Have you looked at the content of the folder mentioned in the warnings (e.g. `...\site-packages`). I had 2

Re: pip issue

2022-11-30 Thread Dieter Maurer
Gisle Vanem wrote at 2022-11-30 10:51 +0100: >I have an issue with 'pip v. 22.3.1'. On any >'pip install' command I get warning like this: > c:\> pip3 install asciinema > WARNING: Ignoring invalid distribution -arkupsafe > (f:\gv\python310\lib\site-packages) > WARNING: Ignoring invalid

Vb6 type to python

2022-11-30 Thread luca72.b...@gmail.com
Hello i have a byte file, that fill a vb6 type like: Type prog_real codice As String * 12'hsg denom As String * 24'oo codprof As String * 12 'ljio note As String * 100 programmer As String * 11 Out As Integer b_out As Byte'TRUE =

Re: NEO6 GPS with Py PICO with micropython

2022-11-30 Thread Barry Scott
> On 30 Nov 2022, at 10:58, KK CHN wrote: > > List, > > Just commented the // gpsModule.readline() in the while loop, ( > refer the link > https://microcontrollerslab.com/neo-6m-gps-module-raspberry-pi-pico-micropython/ > ) > > > while True: # gpsModule.readline() // This line

Re: NEO6 GPS with Py PICO with micropython

2022-11-30 Thread KK CHN
List, Just commented the // gpsModule.readline() in the while loop, ( refer the link https://microcontrollerslab.com/neo-6m-gps-module-raspberry-pi-pico-micropython/ ) while True: # gpsModule.readline() // This line commented out and the "GPS not found message disappeared". buff =

pip issue

2022-11-30 Thread Gisle Vanem via Python-list
Hello list. I have an issue with 'pip v. 22.3.1'. On any 'pip install' command I get warning like this: c:\> pip3 install asciinema WARNING: Ignoring invalid distribution -arkupsafe (f:\gv\python310\lib\site-packages) WARNING: Ignoring invalid distribution -arkupsafe