On Fri, Apr 15, 2022 at 11:43 AM Alan Gauld wrote:
> I've just migrated from a Linux PC to a Mac mini running Monterey.
>
I'm using a Mac for work lately. I miss Linux. I feel like MacOS isn't
nearly as good at multimonitor setups as Cinnamon.
Does anyone know how to launch a Python program fr
On 15/04/22 10:51 pm, Alan Gauld wrote:
Does anyone know how to launch a Python program from the
desktop without a Terminal window (or at least with an
iconified one!) Does it require Applescript or somesuch?
The easiest and most reliable way is probably to use Automator
with a Run Shell Script
On 15/04/2022 19:53, MRAB wrote:
>> When I start the program I get a Terminal window as well
>> as the GUI. On Windows I'd run it with pythonw and in Linux
>> ...
>> Does anyone know how to launch a Python program from the
>> desktop without a Terminal window (or at least with an
>> iconified on
Am 15.04.2022 um 18:53 schrieb Mats Wichmann:
> On 4/15/22 08:59, Grant Edwards wrote:
>
>> Of course it's easy to add. But, we're talking about people who have
>> no idea how to do that. They have no clue how to "navigate to the
>> install directory". They don't even realize anything _was_ instal
On 2022-04-15, Mats Wichmann wrote:
> I'd add - not naming the installer something Windows' memory of recent
> files retains as being Python itself - could be as simple as including
> the word "setup" in the name.
Oh yes, that's been suggested many, many times also. :)
I always name all my inst
On 4/15/22 04:19, Sam Ezeh wrote:
Elsewhere, the idea of supporting new syntax to automatically initialise
attributes provided as arguments to __init__ methods was raised.
[...]
Good post! You'll want to send this to python-ideas at some point (that's where most new python features are
discu
On 15/04/2022 23.19, Sam Ezeh wrote:
...
Kudos for doing the research!
> Some related implementations are attrs, dataclasses and the use of a
> decorator. And there's potentially a point to be raised that the results
> from the first query indicate that the @dataclasse decorator is not being
> u
As usual, without very clear and precise instructions and parameters, the
answers may not quite fit.
It looks like you are asked two and only two questions.
The first is asking how many numbers you want.
Before continuing, you need to make sure that is a valid number as many answer
will throw a
On Fri, 15 Apr 2022 10:18:33 -0700 (PDT), luca72.b...@gmail.com wrote:
> We are searching for someone that can develop a python program for use
> servomotor for automotive.
What location & what is the salary?
(although based on the method of recruitment I doubt that you will get
many takers)
On Sat, 16 Apr 2022 at 04:51, Python wrote:
>
> Cecil Westerhof wrote:
> > In C when you declare a variable static in a function, the variable
> > retains its value between function calls.
> > The first time the function is called it has the default value (0 for
> > an int).
> > But when the funct
On 2022-04-15 11:51, Alan Gauld wrote:
I've just migrated from a Linux PC to a Mac mini running Monterey.
I have a Python GUI(Tkinter) app that I wrote on Linux
and have managed to get working on MacOS except
When I start the program I get a Terminal window as well
as the GUI. On Windows I'
We are searching for someone that can develop a python program for use
servomotor for automotive.
--
https://mail.python.org/mailman/listinfo/python-list
Cecil Westerhof wrote:
In C when you declare a variable static in a function, the variable
retains its value between function calls.
The first time the function is called it has the default value (0 for
an int).
But when the function changes the value in a call (for example to 43),
the next time
On Fri, 15 Apr 2022 08:41:20 +0100, Tola Oj
declaimed the following:
>i = int(input())
Obtain a single /integer/ from stdin -- note: any extraneous characters
on the input line will result in a failure to convert from textual
representation to internal/binary integer
>lis = list(map(int
Thanks for the multiple answers. I was pleasantly surprised.
I have something to think about. :-D
In principle I selected a solution for the problem for which I asked
it, but I first have to finish some other stuff. I hope to find time
to implement it next week.
Everyone a good weekend and Easter
Am 15.04.22 um 02:49 schrieb Mats Wichmann:
On 4/14/22 18:06, Grant Edwards wrote:
On 2022-04-14, Richard Damon wrote:
I think the issue is that the 'python' interpreter/compiler isn't the
sort of program that makes sense to make a desktop icon for, as it is a
command line utility.
Yes, it
I've just migrated from a Linux PC to a Mac mini running Monterey.
I have a Python GUI(Tkinter) app that I wrote on Linux
and have managed to get working on MacOS except
When I start the program I get a Terminal window as well
as the GUI. On Windows I'd run it with pythonw and in Linux
I jus
On 4/15/22 08:59, Grant Edwards wrote:
> Of course it's easy to add. But, we're talking about people who have
> no idea how to do that. They have no clue how to "navigate to the
> install directory". They don't even realize anything _was_ installed.
I dunno, it's a pretty WIndows-y thing, right-
On 2022-04-15, Mats Wichmann wrote:
> On 4/14/22 18:06, Grant Edwards wrote:
>> On 2022-04-14, Richard Damon wrote:
>>
>>> I think the issue is that the 'python' interpreter/compiler isn't the
>>> sort of program that makes sense to make a desktop icon for, as it is a
>>> command line utility.
Elsewhere, the idea of supporting new syntax to automatically initialise
attributes provided as arguments to __init__ methods was raised.
Very often, __init__ functions will take arguments only to assign them as
attributes of self. This proposal would remove the need to additionally
write `self.ar
On 15/04/2022 19.41, Tola Oj wrote:
> i = int(input())
> lis = list(map(int,input().strip().split()))[:i]
> z = max(lis)
> while max(lis) == z:
> lis.remove(max(lis))
>
> print (max(lis))
>
> this is an answer to a question from the discussion chat in hackerrank. i
> didn't know the answer so i f
On Fri, 15 Apr 2022 at 17:42, Tola Oj wrote:
>
> i = int(input())
> lis = list(map(int,input().strip().split()))[:i]
> z = max(lis)
> while max(lis) == z:
> lis.remove(max(lis))
>
> print (max(lis))
>
> this is an answer to a question from the discussion chat in hackerrank. i
> didn't know the ans
i = int(input())
lis = list(map(int,input().strip().split()))[:i]
z = max(lis)
while max(lis) == z:
lis.remove(max(lis))
print (max(lis))
this is an answer to a question from the discussion chat in hackerrank. i
didn't know the answer so i found an answer that fitted well to the
question, however
23 matches
Mail list logo