Roel Schroeven wrote:
> Chris Green schreef op 4/02/2023 om 16:17:
> > I am using Image from PIL and I'm getting a deprecation warning as
> > follows:-
> >
> > /home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is
> > deprecated
> and will be removed in Pillow 10 (2023-07-01). Use Re
On 2023-02-04 17:59:11 -0500, Thomas Passin wrote:
> On 2/4/2023 10:05 AM, ^Bart wrote:
> > On a Debian Bullseye server I have a lftp upload and after it I should
> > send an email.
> >
> > I thought to read the lftp log file where I have these lines:
[...]
> > I'd like to use Python to check, fro
dn,
I’m missing something here. Method 5 seems to work fine in PyCharm. I’m
interpreting your statement as:
from fractions import Fraction
from numbers import Number
def double(value: Number):
if isinstance(value, Number):
# noinspection PyTypeChecker
return 2 * value
r
Well, first of all, while there is no doubt as to Dijkstra’s contribution to
computer science, I don’t think his description of scientific thought is
correct. The acceptance of Einstein’s theory of relativity has nothing to do
with internal consistency or how easy or difficult to explain but rat
xdg-email appears to be for interactive use (it opens the user's
"preferred email composer"); I think sendmail would work much better
from a script.
Like what I said in another post I think I could use ssmtp than
xdg-email or sendmail...
Otherwise, I had the same initial thought, to add to a
Not Python, but you could run a shell script that sends the file with
lftp, and depending on the return code uses xdg-email to send one of the
two messages. This would probably be simpler than using Python.
This machine is a server without DE, just command line and I didn't
configure mail clie
I have never used it, and I did see that wording in the man page, but it
also showed putting all the info on the command line - from, to,
subject, etc - so I thought it might be able to use a command line
client without needed any GUI interaction. But I don't know for sure.
This machine is a
For example, try to do whatever parts you know how to do and when some part
fails or is missing, ask.
You're right but first of all I wrote what I'd like to do and if Python
could be the best choice about it! :)
I might have replied to you directly if your email email address did not
look li
On 2023-02-05, ^Bart wrote:
>> For example, try to do whatever parts you know how to do and when some part
>> fails or is missing, ask.
>
> You're right but first of all I wrote what I'd like to do and if Python
> could be the best choice about it! :)
I'd say you want a simple shell script wrapp
On 2023-02-05, ^Bart wrote:
>> xdg-email appears to be for interactive use (it opens the user's
>> "preferred email composer"); I think sendmail would work much better
>> from a script.
>
> Like what I said in another post I think I could use ssmtp than
> xdg-email or sendmail...
>
>> Otherwise,
No @Gerard, YOU weren't missing anything: since posting, have upgraded
PyCharm to 2022.3.2 and the complaints about 'Method 5' have
disappeared. Evidently a PyCharm issue!
Which alters the top-line question to: is numbers.Number the preferred
type-hint when multiple numeric types are to be acc
On 6/02/23 4:23 am, Weatherby,Gerard wrote:
Well, first of all, while there is no doubt as to Dijkstra’s contribution to
computer science, I don’t think his description of scientific thought is
correct. The acceptance of Einstein’s theory of relativity has nothing to do
with internal consisten
Bart,
Some really decent cron jobs can be written without using anything complex.
I get it now that perhaps your motivation is more about finding an excuse
to learn python better. The reality is there is not much that python cannot
do if other programming languages and environments can do them s
13 matches
Mail list logo