Re: Checking network input processing by Python for a multi-threaded server

2019-05-03 Thread dieter
Markus Elfring writes: > ... > But I am more interested in the detail that a specific Python list variable > should reflect the received record sets from a single test command > in a consistent way. If you have a multi-threaded application and you want to be on the "safe side", you always use you

A nice collection of often useful awesome Python frameworks

2019-05-03 Thread heshanfu
A nice collection of often useful awesome Python frameworks, libraries and software. https://pythonawesome.com/ -- https://mail.python.org/mailman/listinfo/python-list

android development

2019-05-03 Thread togethercomltd
please i want some insight on how to build a file recovery application for android. how do i start aboutit? -- https://mail.python.org/mailman/listinfo/python-list

Re: Populating a timetable with subjects

2019-05-03 Thread DL Neil
On 4/05/19 11:51 AM, Cameron Simpson wrote: On 01May2019 19:22, britt...@gmail.com wrote: We have to populate a timetable with subjects. What would be the best approach? That's a pretty open ended question. Often a constraint on generating timetables involves ensuring that no 2 subjects use

Re: Errorcode when running scripts in PyCharm

2019-05-03 Thread Cameron Simpson
Two further things: 1: A keyboard macro of mine mangled my reply. Where I had: http://www.cskk.ezoshosting.com/cs/ you just want "\h", i.e. "C:\Users\hampu\..". Apologies. 2: If your command prompt is already in your "lab4" folder you don't need the full file path. You can just say "yo

Re: Errorcode when running scripts in PyCharm

2019-05-03 Thread Cameron Simpson
On 02May2019 04:35, Hampus Sjödin wrote: Den torsdag 2 maj 2019 kl. 13:31:29 UTC+2 skrev DL Neil: On 2/05/19 11:05 PM, Hampus Sjödin wrote: > Hey guys, so I've managed to ruin PyCharm for myself.. I just finished my first script in PyCharm and I tried renaming the file, so I closed PyCharm to

Re: Populating a timetable with subjects

2019-05-03 Thread Cameron Simpson
On 01May2019 19:22, britt...@gmail.com wrote: We have to populate a timetable with subjects. What would be the best approach? That's a pretty open ended question. Often a constraint on generating timetables involves ensuring that no 2 subjects use the same timeslot if a student might need to

Re: Configuration confusion = Friday Filosofical Finking

2019-05-03 Thread Cameron Simpson
On 04May2019 09:02, DL Neil wrote: When configuring an application, which mechanisms do you [not] use for setting particular operating-parameters, and/or do you *only* utilise a particular method to initialise certain categories of configuration-data? [...] I don't conventions with have comp

Configuration confusion = Friday Filosofical Finking

2019-05-03 Thread DL Neil
When configuring an application, which mechanisms do you [not] use for setting particular operating-parameters, and/or do you *only* utilise a particular method to initialise certain categories of configuration-data? Apologies: as they say in football, this is a game of two halves... 1 In th

Re: Where is getstatusoutput() in subprocess module?

2019-05-03 Thread MRAB
On 2019-05-03 20:41, Grant Edwards wrote: I'm trying to update a python2 app to make it python3 compatible. It uses commands.getstatusoutput(), which according to https://docs.python.org/2/library/commands.html#commands.getstatusoutput ... getstatusoutput() and getoutput() have been moved to th

Re: Where is getstatusoutput() in subprocess module?

2019-05-03 Thread Grant Edwards
On 2019-05-03, Grant Edwards wrote: > I'm trying to update a python2 app to make it python3 compatible. It > uses commands.getstatusoutput(), which according to > > https://docs.python.org/2/library/commands.html#commands.getstatusoutput > > ... getstatusoutput() and getoutput() have been moved to

Re: Checking network input processing by Python for a multi-threaded server

2019-05-03 Thread Markus Elfring
> I suggested UDP as a TEST, not for the end use... I can understand such a suggestion. Can it distract from other software surprises? > If UDP gives you the results you expect, it most likely means there is a > problem There is a questionable software behaviour still waiting for a prope

Where is getstatusoutput() in subprocess module?

2019-05-03 Thread Grant Edwards
I'm trying to update a python2 app to make it python3 compatible. It uses commands.getstatusoutput(), which according to https://docs.python.org/2/library/commands.html#commands.getstatusoutput ... getstatusoutput() and getoutput() have been moved to the subprocess module. Where are they? -- G

tix.FileSelectBox causes crash: was A newbie question about using tix

2019-05-03 Thread David Sumbler
On Wed, 2019-05-01 at 19:11 +0100, MRAB wrote: > On 2019-05-01 17:44, David Sumbler wrote: > > > > On Tue, 2019-04-30 at 20:46 +0100, MRAB wrote: ... > > > For some reason, tix widgets don't work with normal tkinter > widgets, > > > so > > > you can't put a tix FileSelectBox on a tkinter

Re: Checking network input processing by Python for a multi-threaded server

2019-05-03 Thread Markus Elfring
> In any multi-threaded application, you must be carefull when > accessing (and especially modifying) shared (e.g. "global") objects. > In general, you will need locks to synchronize the access. I agree to this general view. > Appending to a list (and some other elementary operations > on Python