Hi,
You can use the trace module for that:
https://docs.python.org/3.8/library/trace.html
Personally I tend to put print statement at strategic places instead, I
find that easier to analyse than a full trace but YMMV.
Maxime
Le dim. 25 oct. 2020 à 01:25, Steve a écrit :
> This wo
r me to
select from the down arrow menu ..!?!?
Any settings I need to do ??
Thanks,
Maxime
--
https://mail.python.org/mailman/listinfo/python-list
though because in
that version the pdf was buffered twice, once in BytesIO and once in the
writer, although you can fix that by using await writer.drain() after each
write and then the two versions are essentially equivalent.
Regards,
Maxime.
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
You may want to read PEP 418 which nicely summaries the different clock
available on each platform and their limitations.
It looks like CLOCK_BOOTTIME is what you want but it is only available on
Linux.
Regards,
Maxime.
Le mer. 6 nov. 2019 à 18:23, R.Wieser a écrit :
> Hello
2018-02-05 9:14 GMT+01:00 Ian Kelly :
> On Mon, Feb 5, 2018 at 12:35 AM, Frank Millman wrote:
>> 2. Is there a better way to do what I want?
>
> The dict.items() view is explicitly set-like and can be unioned, so
> you can do this:
>
> py> dict(d1.items() | d2.items())
>
> As to the question of wh
2016-10-29 21:38 GMT+02:00 :
>
> Code:
>
> [...]
>
> for i in range (len(protein) & len(seq1)) :
>
> if protein[i] != mutantPRO[i] :
>print (protein[i] + str(i) + mutantPRO[i])
>A+= 1
> else:
> if seq1[i:i+3] != mutant[i:i+3]:
>
2016-06-10 10:37 GMT+02:00 Peter Otten <__pete...@web.de>:
>
> Nagy László Zsolt wrote:
>
> > I'm not sure wich one is the best. Peter wrote that UserList was left in
> > collections only for backward compatiblity. This might be a point
>
> I'll take that back. I looked around and found no evidence
2016-01-30 11:51 GMT+01:00 Frank Millman :
> "Chris Angelico" wrote in message
> news:CAPTjJmoAmVNTCKq7QYaDRNQ67Gcg9TxSXYXCrY==s9djjna...@mail.gmail.com...
>
>
>> On Sat, Jan 30, 2016 at 7:22 PM, Frank Millman
>> wrote:
>> > We had a recent discussion about the best way to do this, and ChrisA
>>
Le 28 janv. 2016 22:52, "Ian Kelly" a écrit :
>
> On Thu, Jan 28, 2016 at 2:23 PM, Maxime S wrote:
> >
> > 2016-01-28 17:53 GMT+01:00 Ian Kelly :
> >>
> >> On Thu, Jan 28, 2016 at 9:40 AM, Frank Millman
wrote:
> >>
> >
2016-01-28 17:53 GMT+01:00 Ian Kelly :
> On Thu, Jan 28, 2016 at 9:40 AM, Frank Millman wrote:
>
> > The caller requests some data from the database like this.
> >
> >return_queue = asyncio.Queue()
> >sql = 'SELECT ...'
> >request_queue.put((return_queue, sql))
>
> Note that since thi
[1] Amongst a heap of other cool tricks, in his Python Cookbook
Regards,
Maxime
--
https://mail.python.org/mailman/listinfo/python-list
/listinfo/python-list
This line:
obj, created = SocialAccount.objects.get_or_create(...)
suggest you are using Django. If it is the case you have to add obj.save()
after changing the priority to send the new value to the DB.
Best,
Maxime
--
https://mail.python.org/mailman/listinfo/python-list
s.reduce(corofunc, [f.result() for f in
futures]) except that
corofunc must be a coroutine function and future results can be
evaluated out-of order.
This function is a coroutine.
"""
result = initial
for f in as_completed(futures, max_workers=50):
new_value
2014-07-15 14:20 GMT+02:00 Valery Khamenya :
> Hi,
>
> both asyncio.as_completed() and asyncio.wait() work with lists only. No
> generators are accepted. Are there anything similar to those functions that
> pulls Tasks/Futures/coroutines one-by-one and processes them in a limited
> task pool?
Som
ython2.6.so.1.0
#3 0x3b2bd518 in PyThreadState_DeleteCurrent ()
from /usr/lib/libpython2.6.so.1.0
#4 0x3f9bce50 in ?? () from /usr/lib/pyshared/python2.6/_dbus_bindings.so
Just so you know I use other function from that script that works well with
my C/C++ application. Do you have any idea of why t
On Aug 7, 7:00 pm, maxime <[EMAIL PROTECTED]> wrote:
> konstantin wrote:
> > Hi,
> Hi
> >...
> > - are there better ways to do this (or any ready recipes)
>
> Did you consider using the shed module (not threaded)?
>
> Cheers,
>
> Maxime
If you n
konstantin wrote:
> Hi,
Hi
>...
> - are there better ways to do this (or any ready recipes)
Did you consider using the shed module (not threaded)?
Cheers,
Maxime
--
http://mail.python.org/mailman/listinfo/python-list
Hi, I try to develop a game in python and pygame.
In my game I play a music (.mid with pygame.mixer.music) but sometime
I need to accelerate it but I don't see how to do that with pygame. Is
it possible? If not, do you know an other python music lib that do
that?
Thanks a lot
--
http://mail.python
18 matches
Mail list logo