On Monday, 21 June 2021 at 21:20:18 UTC+2, Dan Stromberg wrote:
> I don't know about OpenCV, but here's a way of creating a ppm image file of
> arbitrary size and arbitrary solid color:
> https://stromberg.dnsalias.org/svn/solid/trunk
>
> On Mon, Jun 21, 2021 at 4:01 AM Arak Rachael
> wrote:
Thanks for the help! I am new to Python, one company gave me a 2 month test
period to see if I can, but its really hard.
This is the assignment:
[code]
TopGIS Dataset Visualization
In this assignment, you will work with satellite images downloaded along a GPS
route from TopGIS service. You can
On 6/22/2021 1:14 AM, Ayaana Soni wrote:
I have installed python from your site.
For what OS.
After installation my IDLE doesn't work.
How did you try to start it? Did you read the Using Python doc on the
website? Can you start python?
IDLE is not in my search list.
On Windows and
On 6/21/21 11:14 PM, Ayaana Soni wrote:
I have installed python from your site. After installation my IDLE doesn't
work. IDLE is not in my search list. Plz help!!
Thank you!
you asked this before, and didn't answer the questions you got in reply.
What does "doesn't work" mean? How is
I put together a little python runtime comparison, with an embarallel,
cpu-heavy threading microbenchmark.
It turns out that the performance-oriented Python implementations, Pypy3
and Nuitka3, are both poor at threading, as is CPython of course.
On the plus side for CPython, adding cpu-heavy thre
On Wed, Jun 23, 2021 at 5:34 AM Dan Stromberg wrote:
>
> I put together a little python runtime comparison, with an embarallel,
> cpu-heavy threading microbenchmark.
>
> It turns out that the performance-oriented Python implementations, Pypy3
> and Nuitka3, are both poor at threading, as is CPytho
Hi There!
this is a small python code executed in 61 steps
for n in range(1, 7):
print (n)
for x in range(0, n):
print(" ", x)
can this code be more optimised?
--
https://mail.python.org/mailman/listinfo/python-list
On 23/06/21 3:03 am, Kais Ayadi wrote:
for n in range(1, 7):
print (n)
for x in range(0, n):
print(" ", x)
can this code be more optimised?
Optimised for what? Readability? Execution speed? Code size?
Memory usage?
--
Greg
--
https://mail.python.org/mailman/listinfo/pyt
How would you measure the steps that it takes?
- Benjamin
> On Jun 22, 2021, at 7:04 PM, Greg Ewing wrote:
>
> On 23/06/21 3:03 am, Kais Ayadi wrote:
>> for n in range(1, 7):
>> print (n)
>> for x in range(0, n):
>> print(" ", x)
>> can this code be more optimised?
I had a similar question, Greg. Optimized for what, indeed.
Some might suggest removing a VISIBLE loop is an optimization and some might
not.
First you need to look at what your code does. It is fairly primitive.
Here is a two-line version but is it simpler:
for n in range(1, 7):
print (n,
10 matches
Mail list logo