Re:Brython – A Python 3 implementation for client-side web p...
by zaro on Tuesday July 07, 2020 @02:32AM
(#23756333)
> bigger number, but that's because there is no (useful) standard library in JS.
I was thinking more about higher level libraries like frameworks.
> Datetime for example, there are loads of libs for that in JS, some of which are complete. Ahm, and if you need to work with Timezones(not much fancy IMO) you still need an external library.
Re:Brython – A Python 3 implementation for client-side web p...
by speedgoose on Monday July 06, 2020 @07:36AM
(#23746798)
Like doing a http request asynchronously?
Re:Brython – A Python 3 implementation for client-side web p...
by JonAtkinson on Monday July 06, 2020 @07:51AM
(#23746907)
`import asyncio` is a standard part of Python.
`aiohttp` is a a 3rd party package if you want a more succinct expression of the same functionality.
bigger number, but that's because there is no (useful) standard library in JS. Datetime for example, there are loads of libs for that in JS, some of which are complete.
In python you just use the built in one. You bust out to a non standard lib when you want something fancy.