On 16 Feb 2025, at 23:06, Thomas Passin via Python-list wrote:
> I don't have a book for them but I think you should look into the (relatively
> new) type annotation system, as well as asynchronized programming. The latter
> is especially of interest because the older techniques have been remove
On 16 Feb 2025, at 20:59, dn via Python-list wrote:
> When stop to think about it, this is quite a request:
> don't give me what I do know,
> do give me what I don't know!
😜
> That said, you are correct: the bulk of new publications seem to (still) aim
> at the Beginner end of the continuum (se
On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
> David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
> features specifically but as the title suggests hits the important
> concepts.
Thanks, I'll take a look
= jem
--
https://mail.python.org/mailman/listinfo/python
I'm looking for a book that would teach me the lastest and greatest parts of
Python, does anyone have any recommendations?
I've looked at python.org and pythonbooks.org but I couldn't decide which one
to get.
I used to be fairly good at Python, but I haven't done any serious programming
in the
On 3 Sep 2023, at 18:10, Jan Erik Moström via Python-list wrote:
> I'm looking for some advice for how to write this in a clean way
Thanks for all the suggestion, I realize that I haven't written Python code in
a while. I should have remembered this myself !!! Thanks for remindi
On 3 Sep 2023, at 19:13, MRAB via Python-list wrote:
> You could use pass an anonymous function (a lambda) to re.sub:
Of course !! Thanks.
= jem
--
https://mail.python.org/mailman/listinfo/python-list
I'm looking for some advice for how to write this in a clean way
I want to replace some text using a regex-pattern, but before creating
replacement text I need to some file checking/copying etc. My code right now
look something like this:
def fix_stuff(m):
# Do various things that invol
I'm doing something that I've never done before and need some advise for
suitable libraries.
I want to
a) create diagrams similar to this one
https://www.dropbox.com/s/kyh7rxbcogvecs1/graph.png?dl=0 (but with more
nodes) and save them as PDFs or some format that can easily be converted
to PD
I want to do some text substitutions but a bit more advanced than what
string.Template class can do. I addition to plain text substitution I
would like to be able to do some calculations:
$value+1 - If value is 16 this would insert 17 in the text. I would also
like to subtract.
$value+1w - I
On 14 Nov 2019, at 15:15, R.Wieser wrote:
Too bad though, it means that procedures that want to share/use its
callers
variables using nonlocal can never be called from main. And that a
caller
of a procedure using nonlocal cannot have the variable declared as
global
(just tested it).
So wha
On 14 Nov 2019, at 14:06, R.Wieser wrote:
I've also tried moving "MyVar = 7" to the first line, but that doesn't
change anything. Using "global MyVar" works..
Try
def outer():
MyVar = 10
def Proc1():
nonlocal MyVar
MyVar = 5
Proc1()
On 4 Apr 2018, at 9:27, Steven D'Aprano wrote:
Its as hard to wrap your brain around as parallel processing in
general,
but with even worse performance than sequential processing.
Am I totally wrong?
I would say that it all depends on what kind of stuff you're doing. I'm
no scheduling exper
On 14 Mar 2018, at 21:40, Larry Martell wrote:
I've been trying to find some example of how to read calendar info on
macOS
but I haven't found anything ... I'm probably just bad at searching
!!
What I want to do is to read calendar info for a date range. Does
anyone
know of an example of ho
I've been trying to find some example of how to read calendar info on
macOS but I haven't found anything ... I'm probably just bad at
searching !!
What I want to do is to read calendar info for a date range. Does anyone
know of an example of how to do this?
= jem
--
https://mail.python.org/m
On 10 Jan 2018, at 13:40, Jan Erik Moström wrote:
I'm looking for a really easy to use graphic library. The target users
are teachers who have never programmed before and is taking a first
(and possible last) programming course.
Thanks for all the suggestions, I'm going to take
I'm looking for a really easy to use graphic library. The target users
are teachers who have never programmed before and is taking a first (and
possible last) programming course.
I would like to have the ability to draw lines, circles, etc. Nothing
fancy, as little window management as possibl
On 19 Sep 2017, at 13:01, bartc wrote:
My bill in a store came to £3.20 (GBP3.20), so I handed over £10.20.
I was given back £16.90 in change!
It turned out the cashier had entered £20.10 as the amount tendered.
It was sorted out in the end.
Sometimes its easier not to be bother making the
On 7 Sep 2017, at 8:14, Andrej Viktorovich wrote:
If I use command print "aaa" in console I get error. So, why this is
allowed in sample?
You're probably using Python 2 for the listed script and Python 3 when
you try in the console.
= jem
--
https://mail.python.org/mailman/listinfo/python-l
On 17 Aug 2017, at 0:48, Sayth Renshaw wrote:
> what exactly am I doing wrong?
Outdent the if-statement
= jem
--
https://mail.python.org/mailman/listinfo/python-list
On 6 Apr 2017, at 14:43, [email protected] wrote:
> Hello, how can I start programming?
Let me google that for you => http://www.learnpython.org
--
https://mail.python.org/mailman/listinfo/python-list
On 17 Oct 2016, at 21:51, Bill Cunningham wrote:
I just installed python I might start with 3. But there is version
2 out
too. So far I can '3+4' and get the answer. Nice. I typed the linux
man page
and got a little info. So to learn this language is there an online
tutorial? I am interest
On 15 Aug 2016, at 16:00, Sickfit92 wrote:
1. How long did it take you guys to master the language or, let me put
it this way to completely get the hang and start writing code?
I'm probably not representative since I had used about 10-15 different
language before looking at Python. To learn t
On 31 Jul 2016, at 19:22, Steven D'Aprano wrote:
On Mon, 1 Aug 2016 12:25 am, Gordon Levi wrote:
I admire those who use a valid email address on Usenet but it is an
open invitation for spammers. I doubt if there is anybody who uses
their primary email address.
Spammers have moved on from U
Thanks everybody for your answers. I really appreciate your answers and
I do have a few things to investigate later this summer (after finishing
my current "excursion" into Java, and trying to learn KDB/Q).
= jem
--
https://mail.python.org/mailman/listinfo/python-list
I want to write a few programs with a GUI but I don't want to use Tk.
Instead I'm looking for some other library, I've tried to look around
and also asked a few but I don't really know what to use.
Do you have any recommendations? Primary platforms are OS X and Linux.
I, of course, want to hav
25 matches
Mail list logo