Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to use multiprocessing with an array that is continually being appended
Post: RE: How to use multiprocessing with an array that ...

Excellent, thank you for your help.
Apretext General Coding Help 7 5,143 Jun-27-2019, 09:02 PM
    Thread: How to use multiprocessing with an array that is continually being appended
Post: RE: How to use multiprocessing with an array that ...

So is put essentially the same as appending? (ish)
Apretext General Coding Help 7 5,143 Jun-27-2019, 01:52 PM
    Thread: How to use multiprocessing with an array that is continually being appended
Post: RE: How to use multiprocessing with an array that ...

Perfect, thank you. Do you know if you can have more than one queue per process? (Ie in my case, rgb values, plus x, y coordinates) Edit: Or, alternatively, can I use a queue to send a numpy array?
Apretext General Coding Help 7 5,143 Jun-26-2019, 12:03 PM
    Thread: How to use multiprocessing with an array that is continually being appended
Post: How to use multiprocessing with an array that is c...

I have a (long!) script that I wish to speed up considerably by splitting it into 3 modules, and running them in parallel, rather than sequentially, which they currently do. Each script will need to r...
Apretext General Coding Help 7 5,143 Jun-25-2019, 08:53 PM
    Thread: Nanpy import error
Post: RE: Nanpy import error

Ok, so from a python session: Executable: /usr/bin/python3 Module paths: /home/pi /usr/lib/python35.zip /usr/lib/python3.5 /usr/lib/python3.5/plat-arm-linux-gnueabihf /usr/lib/python3.5/lib-dynload /...
Apretext General Coding Help 2 2,771 Apr-29-2019, 04:00 PM
    Thread: Nanpy import error
Post: Nanpy import error

I've got an odd error when using nanpy. If I open a session of Python, and then load my module and run it, it works fine. If I try and load my module via the terminal (or SSH), I get an import error. ...
Apretext General Coding Help 2 2,771 Apr-29-2019, 02:09 PM
    Thread: IndexError: list assignment index out of range
Post: RE: IndexError: list assignment index out of range

Brilliant thank you. Apologies, there was a long code beforehand which gives the angle value, which I knew to be working, so didn't include. So, if I am to understand correctly, the append function ...
Apretext General Coding Help 3 3,593 Apr-25-2019, 09:17 PM
    Thread: IndexError: list assignment index out of range
Post: IndexError: list assignment index out of range

This seems to be something that a lot of new people to python seem to struggle with, and I'm no exception.... I understand that appending the values is something I need to do, but.. I'm obviously not...
Apretext General Coding Help 3 3,593 Apr-25-2019, 06:59 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020