RE: ctypes on Windows question: How to access an array of uint32_t exported from a DLL?

2021-06-07 Thread pjfarley3
> -Original Message- > From: Eryk Sun > Sent: Monday, June 7, 2021 12:34 PM > To: python-list@python.org > Cc: pjfarl...@earthlink.net > Subject: Re: ctypes on Windows question: How to access an array of uint32_t > exported from a DLL? > > On 6/6/21, pjfarl...@earthlink.net wrote: > > >

Re: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-07 Thread Mats Wichmann
On 6/2/21 7:24 PM, pjfarl...@earthlink.net wrote: -Original Message- From: Grant Edwards Sent: Monday, May 31, 2021 11:18 AM To: python-list@python.org Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] On 2021-05-31, Dennis Lee Bieber wrote: On Mon, 31 May

Re: ctypes on Windows question: How to access an array of uint32_t exported from a DLL?

2021-06-07 Thread Eryk Sun
On 6/6/21, pjfarl...@earthlink.net wrote: > > On a Windows 10 platform (python 3.8.9 and 3.9.5), how do I use ctypes to > access an array of uint32_t's exported from a DLL? > ... > __declspec(dllexport) extern uint32_t array_name[128]; A ctypes data type has an in_dll() method [1] that returns an

Help me in setting the path in python program.

2021-06-07 Thread Maheshwari Gorle
I am using Google co lab. Guide me how to set the path. # Error: SwissEph file 'se13681s.se1' not found in PATH '/usr/share/ephe/' is coming, how to overcome this problem. pip install pyswisseph import swisseph as swe swe.set_ephe_path ('/usr/share/ephe') # set path to ephemeris files jd = swe