> On 22 Mar 2022, at 18:00, Avi Gross via Python-list
> wrote:
>
> An earlier post talked about a method they used for "convenience" in a way
> they apparently did not understand and many of us educated them, hopefully.
>
> That made me wonder of teh impact on our code when we use various f
hi,
difficult start with asyncio async/await...
I'm trying to make a mockup that queries a few sites and posts the results to a
server, but the result is not what I expected.
I was expecting to get the 4 "get" one after the other, followed by the "post"
(eventually mixed) but I get something t
Add "trun()" function to Python to truncate decimal part.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 22 Mar 2022 19:20:55 +0530, Reuel Lewis
declaimed the following:
>I'm trying to install Python as I'd like to learn it. I'm a newbie in all
>things related to software programming.
Nothing programming related with your problem...
>I have Windows 10 installed on my HP laptop. I t
On 23/03/2022 03.55, Kazuya Ito wrote:
Add "trun()" function to Python to truncate decimal part.
Which of these should its behavior copy?
from math import pi
int(pi)
3
pi-int(pi)
0.14159265358979312
--
Michael F. Stemper
This post contains greater than 95% post-consumer bytes by weight
some redesigns around asyncio.gather gave me what I wanted.
here is the code used :
```python
import asyncio
from random import randint
from termcolor import colored
from datetime import datetime
urls = ('yellow', 'cyan', 'green', 'magenta')
async def getItems(url):
print(colored(f'get n
On Wed, 23 Mar 2022 01:55:37 -0700 (PDT), Kazuya Ito
declaimed the following:
>Add "trun()" function to Python to truncate decimal part.
You'll have to define what specific behavior you think is missing from
the currently available functions?
>>> plusover = 2.78
>>> plusunder = 3.14
>>>