[ANN] (preview) “pymsgque” is the connection between Tcl and the “Programming Language Micro-Kernel” (PLMK).

2024-11-03 Thread aotto1968 via Python-list
ANNOUNCEMENT "pymsgque" is the project to integrate the Programming-Language-Micro-Kernel (*PLMK*) into *Python*. Together with C, C++, Java, Ruby and Tcl, a growing language community is emerging that will combine *all* existing programming languages with *PLMK* technology in

Re: Any marginally usable programming language approaches an ill defined barely usable re-implementation of half of Common-Lisp

2024-05-29 Thread Dan Sommers via Python-list
On 2024-05-29 at 11:39:14 -0700, HenHanna via Python-list wrote: > On 5/27/2024 1:59 PM, 2qdxy4rzwzuui...@potatochowder.com wrote: > > https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule [...] > Are the Rules 1--9 by Greenspun good too? I don't know; let me look it up. Oh, there it i

Re: Any marginally usable programming language approaches an ill defined barely usable re-implementation of half of Common-Lisp

2024-05-29 Thread Kaz Kylheku via Python-list
and location systems * radio interface to Caterpillar vehicle, including CRCC error detection * automatically generated user interface" -- TXR Programming Language: http://nongnu.org/txr Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal Mastodon: @kazina...@mstdn.ca -- https://mail.python.org/mailman/listinfo/python-list

Re: Any marginally usable programming language approaches an ill defined barely usable re-implementation of half of Common-Lisp

2024-05-29 Thread HenHanna via Python-list
t.nl wrote: Any marginally usable programming language approaches an ill defined barely usable re-implementation of half of common-lisp The good news is, it's not Lisp that sucks, but Common Lisp. --- Paul Graham Just to set the record straight; This is not My line. I quot

Re: Any marginally usable programming language approaches an ill defined barely usable re-implementation of half of Common-Lisp

2024-05-27 Thread Dan Sommers via Python-list
et.nl wrote: > > > > > > > Any marginally usable programming language approaches an ill > > > > defined barely usable re-implementation of half of common-lisp > > > > > > The good news is, it's not Lisp that sucks, but Common Lisp. >

Any marginally usable programming language approaches an ill defined barely usable re-implementation of half of Common-Lisp

2024-05-27 Thread HenHanna via Python-list
On 5/27/2024 7:18 AM, Cor wrote: Some entity, AKA "B. Pym" , wrote this mindboggling stuff: (selectively-snipped-or-not-p) On 12/16/2023, c...@clsnet.nl wrote: Any marginally usable programming language approaches an ill defined barely usable re-implementation of half

RE: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread avi.e.gross
don't. -Original Message- From: Python-list On Behalf Of Greg Ewing via Python-list Sent: Monday, February 27, 2023 6:49 PM To: python-list@python.org Subject: Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and On 28/02/23

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread Greg Ewing via Python-list
On 28/02/23 7:40 am, avi.e.gr...@gmail.com wrote: inhahe made the point that this may not have been the original intent for python and may be a sort of bug that it is too late to fix. Guido has publically stated that it was a deliberate design choice. The merits of that design choice can be d

RE: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread avi.e.gross
hon.org Subject: Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and Op 26/02/2023 om 6:53 schreef Hen Hanna: > > There are some similarities between Python and Lisp-family > > languages, but really Python is its own thing.

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread Greg Ewing via Python-list
On 27/02/23 10:07 pm, Roel Schroeven wrote: I'm guessing you're thinking about variables leaking out of list comprehensions. I seem to remember (but I could be wrong) it was a design mistake rather than a bug in the code, but in any case it's been fixed now (in the 2 to 3 transition, I think).

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread Roel Schroeven
i should also > disappear. > > (this almost caused a bug for me) > I wouldn't say "i *should* also disappear". There is no big book of > programming language design with rules like that that all languages have > to follow. Different languages have different behavior.

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread inhahe
i ) >> > >> > ideally, after the FOR loop is done, the (local) var i should also >> disappear. >> > (this almost caused a bug for me) >> I wouldn't say "i *should* also disappear". There is no big book of >> programming language design w

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread inhahe
; (this almost caused a bug for me) > I wouldn't say "i *should* also disappear". There is no big book of > programming language design with rules like that that all languages have > to follow. Different languages have different behavior. In some > languages, for/if/while s

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-27 Thread Roel Schroeven
int( i ) .  print( i ) ideally, after the FOR loop is done, the (local) var i should also disappear. (this almost caused a bug for me) I wouldn't say "i *should* also disappear". There is no big book of programming language design with rules like that th

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-26 Thread Hen Hanna
On Wednesday, February 22, 2023 at 10:38:00 PM UTC-8, Greg Ewing wrote: > On 23/02/23 9:37 am, Hen Hanna wrote: > > for the first several weeks... whenever i used Python... all i could think > > ofwas this is really Lisp (inside) with a thin veil of > > Java/Pascal syntax..

Re: Programming by contract.

2023-02-25 Thread Cameron Simpson
On 26Feb2023 02:44, Weatherby,Gerard wrote: The discussion of asserts got me thinking about Programming by Contract. Back in the 90s, I had occasion to learn Eiffel programming language. ( https://en.wikipedia.org/wiki/Eiffel_(programming_language) The concepts are intriguing, although

Programming by contract.

2023-02-25 Thread Weatherby,Gerard
The discussion of asserts got me thinking about Programming by Contract. Back in the 90s, I had occasion to learn Eiffel programming language. ( https://en.wikipedia.org/wiki/Eiffel_(programming_language) The concepts are intriguing, although Eiffel itself had barriers to widespread adoption

Re: it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-22 Thread Greg Ewing via Python-list
On 23/02/23 9:37 am, Hen Hanna wrote: for the first several weeks... whenever i used Python... all i could think ofwas this is really Lisp (inside) with a thin veil of Java/Pascal syntax.. - that everything is first converted

it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and

2023-02-22 Thread Hen Hanna
it seems like a few weeks ago... but actually it was more like 30 years ago that i was programming in C, and i'd get [Segmentation Fault] (core dumped) [Bus Error] (core dumped) [access violation] (core d

Re: Recommendations in terms of threading, multi-threading and/or asynchronous processes/programming? - Sent Mail - Mozilla Thunderbird

2023-01-08 Thread Peter J. Holzer
On 2023-01-08 13:49:38 +0200, jacob kruger wrote: > Ok, the specific usage case right now is that I need to set up a process > pulling contents of e-mail messages from an IMAP protocol mail server, which > I then populate into a postgresql database, and, since this is the inbox of > a relatively la

Re: Recommendations in terms of threading, multi-threading and/or asynchronous processes/programming? - Sent Mail - Mozilla Thunderbird

2023-01-08 Thread jacob kruger
Ok, the specific usage case right now is that I need to set up a process pulling contents of e-mail messages from an IMAP protocol mail server, which I then populate into a postgresql database, and, since this is the inbox of a relatively large-scale CRM/support system, there are currently over

Re: Recommendations in terms of threading, multi-threading and/or asynchronous processes/programming? - Sent Mail - Mozilla Thunderbird

2023-01-06 Thread Chris Angelico
On Sat, 7 Jan 2023 at 04:54, jacob kruger wrote: > > I am just trying to make up my mind with regards to what I should look > into working with/making use of in terms of what have put in subject line? > > > As in, if want to be able to trigger multiple/various threads/processes > to run in the bac

Re: Recommendations in terms of threading, multi-threading and/or asynchronous processes/programming? - Sent Mail - Mozilla Thunderbird

2023-01-06 Thread Peter J. Holzer
On 2023-01-06 10:18:24 +0200, jacob kruger wrote: > I am just trying to make up my mind with regards to what I should look into > working with/making use of in terms of what have put in subject line? > > > As in, if want to be able to trigger multiple/various threads/processes to > run in the bac

Recommendations in terms of threading, multi-threading and/or asynchronous processes/programming? - Sent Mail - Mozilla Thunderbird

2023-01-06 Thread jacob kruger
I am just trying to make up my mind with regards to what I should look into working with/making use of in terms of what have put in subject line? As in, if want to be able to trigger multiple/various threads/processes to run in the background, possibly monitoring their states, either via inte

[Meeting] Problem-solving, perspectives, programming, and presentation, 19Oct

2022-10-11 Thread dn
uals in Python for games, innovative stats, simulations and generative art using a flavour of the processing library. This can be incredibly useful for teaching programming, visualising concepts and sharpening thinking skills. This list's own Abdur-Rahman Janhangeer organises the Python Mau

Re: Parallel(?) programming with python

2022-08-15 Thread Andreas Croci
I would like to thank everybody who answered my question. The insight was very informative. This seems to be one of the few newsgroups still alive and kicking, with a lot of knowledgeable people taking the time to help others. I like how quick and easy it is to post questions and receive answer

Re: Parallel(?) programming with python

2022-08-11 Thread Dieter Maurer
Dennis Lee Bieber wrote at 2022-8-10 14:19 -0400: >On Wed, 10 Aug 2022 19:33:04 +0200, "Dieter Maurer" > ... >>You could also use the `sched` module from Python's library. > >Time to really read the library reference manual again... > > Though if I read this correctly, a long running

Re: Parallel(?) programming with python

2022-08-11 Thread subin
Please let me know if that is okay. On Wed, Aug 10, 2022 at 7:46 PM <2qdxy4rzwzuui...@potatochowder.com> wrote: > On 2022-08-09 at 17:04:51 +, > "Schachner, Joseph (US)" wrote: > > > Why would this application *require* parallel programming? This could &g

Re: Parallel(?) programming with python

2022-08-11 Thread subin
te at 2022-8-9 17:04 +: > > >>Why would this application *require* parallel programming? This > > >>could be done in one, single thread program. Call time to get time > > >>and save it as start_time. Keep a count of the number of 6 hour > > >&g

Re: Parallel(?) programming with python

2022-08-10 Thread Peter J. Holzer
On 2022-08-10 14:19:37 -0400, Dennis Lee Bieber wrote: > On Wed, 10 Aug 2022 19:33:04 +0200, "Dieter Maurer" > declaimed the following: > >Schachner, Joseph (US) wrote at 2022-8-9 17:04 +: > >>Why would this application *require* parallel programming? This &

RE: Parallel(?) programming with python

2022-08-10 Thread avi.e.gross
Dieter Maurer Sent: Wednesday, August 10, 2022 1:33 PM To: Schachner, Joseph (US) Cc: Andreas Croci ; python-list@python.org Subject: RE: Parallel(?) programming with python Schachner, Joseph (US) wrote at 2022-8-9 17:04 +: >Why would this application *require* parallel programming? T

Re: Parallel(?) programming with python

2022-08-10 Thread 2QdxY4RzWzUUiLuE
On 2022-08-09 at 17:04:51 +, "Schachner, Joseph (US)" wrote: > Why would this application *require* parallel programming? This could > be done in one, single thread program. Call time to get time and save > it as start_time. Keep a count of the number of 6 hour interva

Re: Parallel(?) programming with python

2022-08-10 Thread Dennis Lee Bieber
On Wed, 10 Aug 2022 19:33:04 +0200, "Dieter Maurer" declaimed the following: >Schachner, Joseph (US) wrote at 2022-8-9 17:04 +: >>Why would this application *require* parallel programming? This could be >>done in one, single thread program. Call time t

RE: Parallel(?) programming with python

2022-08-10 Thread Dieter Maurer
Schachner, Joseph (US) wrote at 2022-8-9 17:04 +: >Why would this application *require* parallel programming? This could be >done in one, single thread program. Call time to get time and save it as >start_time. Keep a count of the number of 6 hour intervals, initialize it to

RE: Parallel(?) programming with python

2022-08-09 Thread Schachner, Joseph (US)
Why would this application *require* parallel programming? This could be done in one, single thread program. Call time to get time and save it as start_time. Keep a count of the number of 6 hour intervals, initialize it to 0. Once a second read data an append to list. At 6 hours after

Re: Parallel(?) programming with python

2022-08-09 Thread Dennis Lee Bieber
On Mon, 8 Aug 2022 19:39:27 +0200, Andreas Croci declaimed the following: > >Do you mean queues in the sense of deque (the data structure)? I ask >because I can see the advantage there when I try to pop data from the >front of it, but I don't see the sense of the following statement ("than

Re: Parallel(?) programming with python

2022-08-08 Thread Dan Stromberg
Queues are better than lists for concurrency. If you get the right kind, they have implicit locking, making your code simpler and more robust at the same time. CPython threading is mediocre for software systems that have one or more CPU-bound threads, and your FFT might be CPU-bound. Rather than

Re: Parallel(?) programming with python

2022-08-08 Thread Cameron Simpson
On 09Aug2022 00:22, Oscar Benjamin wrote: >On Mon, 8 Aug 2022 at 19:01, Andreas Croci wrote: >> Basically the question boils down to wether it is possible to have >> parts >> of a program (could be functions) that keep doing their job while other >> parts do something else on the same data, and

RE: Parallel(?) programming with python

2022-08-08 Thread avi.e.gross
: Parallel(?) programming with python Andreas Croci writes: >Basically the question boils down to wether it is possible to have >parts of a program (could be functions) that keep doing their job while >other parts do something else on the same data, and what is the best >way to do this.

Re: Parallel(?) programming with python

2022-08-08 Thread Oscar Benjamin
On Mon, 8 Aug 2022 at 19:01, Andreas Croci wrote: > > tI would like to write a program, that reads from the network a fixed > amount of bytes and appends them to a list. This should happen once a > second. > > Another part of the program should take the list, as it has been filled > so far, every

Re: Parallel(?) programming with python

2022-08-08 Thread Cameron Simpson
On 08Aug2022 11:20, Stefan Ram wrote: >Andreas Croci writes: >>Basically the question boils down to wether it is possible to have parts >>of a program (could be functions) that keep doing their job while other >>parts do something else on the same data, and what is the best way to do >>this. > >

Re: Parallel(?) programming with python

2022-08-08 Thread Peter J. Holzer
elease the lock while they are busy. hp PS: I also agree with what others have said about the perils of multi-threaded programming. -- _ | Peter J. Holzer| Story must make more sense than reality. |_|_) || | | | h...@hjp.at |-- Charles Stross, "Cr

Re: Parallel(?) programming with python

2022-08-08 Thread Barry
: >> lock.release() >> else: >> print( "List is empty." ) >> list = [] >> lock = threading.Lock() >> event = threading.Event() >> threading.Thread( target=write_to_list, args=[ list, lock, event ]).start() >>

Re: Parallel(?) programming with python

2022-08-08 Thread MRAB
n basketball, first you must learn to dribble and pass, before you can begin to shoot. With certain reservations, texts that can be considered to learn Python are: "Object-Oriented Programming in Python Documentation" - a PDF file, Introduction to Programming Using Python - Y Dani

Re: Parallel(?) programming with python

2022-08-08 Thread Louis Krupp
On 8/8/2022 4:47 AM, Andreas Croci wrote: tI would like to write a program, that reads from the network a fixed amount of bytes and appends them to a list. This should happen once a second. Another part of the program should take the list, as it has been filled so far, every 6 hours or so, an

Re: Parallel(?) programming with python

2022-08-08 Thread Dennis Lee Bieber
On Mon, 8 Aug 2022 12:47:26 +0200, Andreas Croci declaimed the following: >tI would like to write a program, that reads from the network a fixed >amount of bytes and appends them to a list. This should happen once a >second. > Ignoring leap seconds, there are 86400 seconds in a day --

RE: Parallel(?) programming with python

2022-08-08 Thread David Raymond
>> But, an easier and often >> better option for concurrent data access is use a (relational) >> database, then the appropriate transaction isolation levels >> when reading and/or writing. >> > > That would obviusly save some coding (but would introduce the need to > code the interaction with the d

Re: Parallel(?) programming with python

2022-08-08 Thread Andreas Croci
Thank you for your reply. On 08.08.22 14:55, Julio Di Egidio wrote: Concurrent programming is quite difficult, plus you better think in terms of queues than shared data... Do you mean queues in the sense of deque (the data structure)? I ask because I can see the advantage there when I try

Re: Parallel(?) programming with python

2022-08-08 Thread Andreas Croci
rtain reservations, texts that can be considered to learn Python are: "Object-Oriented Programming in Python Documentation" - a PDF file, Introduction to Programming Using Python - Y Daniel Liang (2013), How to Think Like a Computer Scientist - Peter Wentworth (2012-08-12), The Coder'

Parallel(?) programming with python

2022-08-08 Thread Andreas Croci
tI would like to write a program, that reads from the network a fixed amount of bytes and appends them to a list. This should happen once a second. Another part of the program should take the list, as it has been filled so far, every 6 hours or so, and do some computations on the data (a FFT).

RE: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread avi.e.gross
programming language? On 2022-08-04, Turritopsis Dohrnii Teo En Ming wrote: > Subject: Which linux distro is more conducive for learning the Python > programming language? You can learn Python on any Linux distribution. First answer this question: * Whom are you going to ask for help when y

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Grant Edwards
On 2022-08-04, Christian Heimes wrote: > Fedora is an excellent choice for Python users. Fedora 36 already comes > with Python 3.11.0b5 in its main repository. In fact you have Python > 2.7, 3.5-3.11, PyPy 2.7, PyPy 3.7-3.9, and MicroPython at your fingertips. Except that real programmers use

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Christian Heimes
On 04/08/2022 20.12, Barry wrote: Noted with thanks Kushal. Since I can download FREE copies of RHEL 9.0, I will use it then. I consider rhel 9 is an old os. I would suggest using fedora over rhel. Fedora 36 has python 3.10 and the when fedora 37 is released it will have python 3.11. And fedor

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Barry
tro is more conducive for learning the Python >>> programming language? >>> >>> Good day from Singapore, >>> >>> May I know which linux distro is more conducive for learning the >>> Python programming language? >>> >>> Since I have

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Tobiah
On 8/3/22 19:01, Turritopsis Dohrnii Teo En Ming wrote: Subject: Which linux distro is more conducive for learning the Python programming language? You might try Pythontu. Not really. Get the distro that looks appealing to you. One won't be better than the other with regard to lea

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Grant Edwards
On 2022-08-04, Turritopsis Dohrnii Teo En Ming wrote: > Subject: Which linux distro is more conducive for learning the Python > programming language? You can learn Python on any Linux distribution. First answer this question: * Whom are you going to ask for help when you run into

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Weatherby,Gerard
Just be aware https://docs.python.org/3/ defaults to the latest Python version (3.10). When looking up a module, it’s best to explicitly set the documentation to the version you are using. It won’t matter the vast majority of the time but I have been burned by trying to use a function or paramet

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Turritopsis Dohrnii Teo En Ming
On Thu, 4 Aug 2022 at 16:50, dn wrote: > > >> PS most of us will qualify for RedHat's Developer program[me] and free > >> copies of software. > > > > I can download free copies of RHEL 7.x, 8.x, and 9.x :) Just that I > > dunno which RHEL version is better. Is RHEL 9.0 the best out of 7.x, > > 8.x

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread dn
>> PS most of us will qualify for RedHat's Developer program[me] and free >> copies of software. > > I can download free copies of RHEL 7.x, 8.x, and 9.x :) Just that I > dunno which RHEL version is better. Is RHEL 9.0 the best out of 7.x, > 8.x and 9.x? RedHat is a stable OpSys. Accordingly, it

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Turritopsis Dohrnii Teo En Ming
On Thu, 4 Aug 2022 at 13:02, Kushal Kumaran wrote: > > On Thu, Aug 04 2022 at 10:22:41 AM, Turritopsis Dohrnii Teo En Ming > wrote: > > Subject: Which linux distro is more conducive for learning the Python > > programming language? > > > > Good day from Singapor

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Turritopsis Dohrnii Teo En Ming
ports a recent Python release (e.g. 3.9 or > > 3.10). > > +1 > > As a Python-learner (there's no comment about current programming > expertise), it is unlikely to make any difference which Linux distro is > used. > > Answers to such open-ended questions are usually

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Turritopsis Dohrnii Teo En Ming
On Thu, 4 Aug 2022 at 10:47, orzodk wrote: > > Turritopsis Dohrnii Teo En Ming writes: > > > noted with thanks. I have been using Linux for more than 10 years already > > Ah, if you're familiar with Redhat (RPM) based distributions, consider > Fedora as you will have access to newer versions soon

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Kushal Kumaran
On Thu, Aug 04 2022 at 10:22:41 AM, Turritopsis Dohrnii Teo En Ming wrote: > Subject: Which linux distro is more conducive for learning the Python > programming language? > > Good day from Singapore, > > May I know which linux distro is more conducive for learning the &g

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread dn
a Python-learner (there's no comment about current programming expertise), it is unlikely to make any difference which Linux distro is used. Answers to such open-ended questions are usually seated in bias - which in-turn is mostly likely to be the same answer as 'which is the Linux distro *

Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Turritopsis Dohrnii Teo En Ming
Subject: Which linux distro is more conducive for learning the Python programming language? Good day from Singapore, May I know which linux distro is more conducive for learning the Python programming language? Since I have absolutely and totally FREE RHEL developer subscription (I don&#

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Turritopsis Dohrnii Teo En Ming
Python development than another. I would suggest using a version of a Linux > distribution that supports a recent Python release (e.g. 3.9 or 3.10). > > On Thu, 2022-08-04 at 10:22 +0800, Turritopsis Dohrnii Teo En Ming wrote: > > Subject: Which linux distro is more conducive for

Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Paul Bryan
wrote: > Subject: Which linux distro is more conducive for learning the Python > programming language? > > Good day from Singapore, > > May I know which linux distro is more conducive for learning the > Python programming language? > > Since I have absolutely and totally

Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Turritopsis Dohrnii Teo En Ming
Subject: Which linux distro is more conducive for learning the Python programming language? Good day from Singapore, May I know which linux distro is more conducive for learning the Python programming language? Since I have absolutely and totally FREE RHEL developer subscription (I don't

Re: A decade or so of Python programming, and I've never thought to "for-elif"

2021-12-01 Thread Rob Cliffe via Python-list
print("Found!") break elif name.isupper(): print("All-caps name that wasn't found") This actually doesn't work. I have been programming in Python for well over a decade, and never before been in a situation where this would be useful. As YAGNIs go, this is right u

A decade or so of Python programming, and I've never thought to "for-elif"

2021-11-29 Thread Chris Angelico
for ns in namespaces: if name in ns: print("Found!") break elif name.isupper(): print("All-caps name that wasn't found") This actually doesn't work. I have been programming in Python for well over a decade, and never before been in a situat

Re: Start Python programming

2021-04-30 Thread Russell via Python-list
Gazoo wrote: > > > I'd like to start learning Python programming. What sites/tutorials > could you recommend for beginner, please. > I liked the book found at https://automatetheboringstuff.com/ You can read the whole book online. I think you used to be able to downloa

Re: Start Python programming

2021-04-28 Thread Alan Gauld via Python-list
On 27/04/2021 18:32, Gazoo wrote: > I'd like to start learning Python programming. What sites/tutorials > could you recommend for beginner, please. There is a getting started page on the python web site with links to guide you to many listed suggestions - books, web tutorials, video

Re: Start Python programming

2021-04-27 Thread Abrantes Araujo Silva Filho
On Tue, 27 Apr 2021 17:32:22 +, Gazoo wrote: > I'd like to start learning Python programming. What sites/tutorials > could you recommend for beginner, please. Have you tried this book? https://greenteapress.com/wp/think-python-2e/ It is a good book, written by Allan B. Downe

Re: Start Python programming

2021-04-27 Thread dn via Python-list
On 28/04/2021 05.32, Gazoo wrote: > > > I'd like to start learning Python programming. What sites/tutorials > could you recommend for beginner, please. Start with the Python Tutorial (https://docs.python.org/3/tutorial/index.html), thereafter there are other 'docs' a

Start Python programming

2021-04-27 Thread Gazoo
I'd like to start learning Python programming. What sites/tutorials could you recommend for beginner, please. -- Gazoo -- https://mail.python.org/mailman/listinfo/python-list

Can I earn a lot of money by learning and mastering the Python programming language?

2021-01-21 Thread Turritopsis Dohrnii Teo En Ming
Subject: Can I earn a lot of money by learning and mastering the Python programming language? Good day from Singapore, I am an IT consultant with a System Integrator (SI)/computer firm in Singapore, specializing in Systems/Infrastructure and Computer Networking. I am thinking of creating an

Re: Seeking guidance to start a career in python programming

2020-11-05 Thread Cousin Stanley
; and Python ) but I did Mechanical Engineering instead in college. > > I wish to pursue a career in Python programming > and therefore undertook 2 online certification courses > in python but besides this, my progress is almost stalled. > > Request you all to please guide

Seeking guidance to start a career in python programming

2020-11-04 Thread ankur gupta
wish to pursue a career in Python programming and therefore undertook 2 online certification courses in python but besides this, my progress is almost stalled. Request you all to please guide how I can move forward with my current learning of the language and also steps that I can take to pursue a

Re: Issues Download the Latest Version of Python Programming Language

2020-07-23 Thread Mats Wichmann
On 7/24/20 12:05 AM, Ejiofor Chidinma Peace wrote: > Dear Sir/Madam, > I trust this email finds you well. > > I have been having issues downloading the latest version of Python > programming Language on my PC (windows 10 operating system). Kindly assist > in resolving this issu

Issues Download the Latest Version of Python Programming Language

2020-07-23 Thread Ejiofor Chidinma Peace
Dear Sir/Madam, I trust this email finds you well. I have been having issues downloading the latest version of Python programming Language on my PC (windows 10 operating system). Kindly assist in resolving this issue at your earliest convenience. Looking forward to hearing from you soon. Yours

Re: Aw: Python Curses Programming HowTo -reviewers?

2020-06-17 Thread Alan Gauld via Python-list
On 16/06/2020 19:34, Karsten Hilbert wrote: >> I therefore took it on myself to do a translation of the Linux >> Documentation Project's "Curses HowTo" by Pradeep Padala into Python. >> >> This is now available as a PDF and I'd be interested in review comments. > > I'd be interested in having a lo

Re: Python Curses Programming HowTo -reviewers?

2020-06-17 Thread Alan Gauld via Python-list
On 16/06/2020 16:38, Alan Gauld via Python-list wrote: > This is now available as a PDF and I'd be interested in review comments. Just to add that I can send a zip of the code files too. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_

Re: Python Curses Programming HowTo -reviewers?

2020-06-16 Thread Bev In TX
> On Jun 16, 2020, at 11:12 AM, Alan Gauld via Python-list > wrote: > > If anyone feels keen please reply and I'll forward a copy. > Eventually I'm aiming to put the finished document on my website. I am interested. Thanks, Bev in TX -- https://mail.python.org/mailman/listinfo/python-list

Aw: Python Curses Programming HowTo -reviewers?

2020-06-16 Thread Karsten Hilbert
> I therefore took it on myself to do a translation of the Linux > Documentation Project's "Curses HowTo" by Pradeep Padala into Python. > > This is now available as a PDF and I'd be interested in review comments. I'd be interested in having a look, generally. Will this be available somewhere ?

Re: Python Curses Programming HowTo -reviewers?

2020-06-16 Thread Bob Gailer
> If anyone feels keen please reply and I'll forward a copy. I'm interested please forward me a copy. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Python Curses Programming HowTo -reviewers?

2020-06-16 Thread Alan Gauld via Python-list
While studying the curses module I was struck by the paucity of tutorial documentation for the Python version. Fortunately I know C and used to write curses applications back in the 80s/90s so I turned to the C tutorials. However, there are quite a lot of differences between the Python wrapper imp

Re: I was really uncomfort with any programming...

2020-06-06 Thread Jason C. McDonald
> I was really uncomfort with any programming,but I need to become efficient in python coding please give any tips to make interest in programming.hope your words will helpful to me.thank you Often the best way to make programming interesting is to use it to build something you care ab

reactive programming use case

2020-03-11 Thread Raf B
through a set of calcs. which all add new columns to the frame, and in the end i use those columns to check my dataset for things such as minimum % of colA / ColX etc.. i was thinking about using reactive programming to: * decouple the dataset from running all the calculations * maybe help in

My Python programming book for kids is free for 48 hours

2020-02-02 Thread Kent Tong
Hi, If you're interested, please get it for free at: https://www.amazon.com/Yes-Kids-can-learn-Python-ebook/dp/B084CY2L43/ref=sr_1_3 This is a set of training materials I used to successfully teach Python to kids as little as 10 years old. The online learning environment are freely available at

[OT] A conversation with the creator of the world’s most popular programming language on removing brain friction for better work.

2019-11-26 Thread MRAB
Off-topic, but might be of interest: A conversation with the creator of the world’s most popular programming language on removing brain friction for better work. https://blog.dropbox.com/topics/work-culture/-the-mind-at-work--guido-van-rossum-on-how-python-makes-thinking -- https

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-21 Thread Gene Heskett
On Thursday 21 November 2019 11:27:11 Dennis Lee Bieber wrote: > The only time I had to do less than "automated" installs was my first > Python -- v1.4 (maybe 1.3) on a Commodore Amiga. > That takes us back up the log quite a ways, but it also puts early python up against Bill Hawes and his

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-21 Thread Göktuğ Kayaalp
On 2019-11-21 10:02 GMT, Nick Sarbicki wrote: >> The simplest thing is to use the 3.8.0 python.org installers. This use >> pip to add anything you consider essential. > > As mentioned previously, you do need to make sure that they tick the box to > add Python to the PATH on windows. It is almost

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-21 Thread Nick Sarbicki
> The simplest thing is to use the 3.8.0 python.org installers. This use > pip to add anything you consider essential. As mentioned previously, you do need to make sure that they tick the box to add Python to the PATH on windows. It is almost guaranteed someone will not do that and will then have

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-20 Thread MRAB
On 2019-11-20 21:58, Terry Reedy wrote: On 11/20/2019 11:09 AM, Göktuğ Kayaalp wrote: The first problem is installation: apart from me, a Debian user, everybody has Windows or Mac laptops, and IDK how you install Python on them. The simplest thing is to use the 3.8.0 python.org installers. T

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-20 Thread Abdur-Rahmaan Janhangeer
thonmembers.club | https://github.com/Abdur-rahmaanJ > Mauritius > > On Wed, 20 Nov 2019, 20:54 Göktuğ Kayaalp, wrote: > >> Hi all, >> >> I am responsible of giving my colleagues in from linguistics MA >> programme an intro to Python, and programming, with a focus on >&g

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-20 Thread Terry Reedy
On 11/20/2019 11:09 AM, Göktuğ Kayaalp wrote: The first problem is installation: apart from me, a Debian user, everybody has Windows or Mac laptops, and IDK how you install Python on them. The simplest thing is to use the 3.8.0 python.org installers. This use pip to add anything you consider

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-20 Thread Göktuğ Kayaalp
On 2019-11-20 16:03 -05, Andrew Z wrote: > Look into https://repl.it Sadly this apparaently can’t do plots. > On Wed, Nov 20, 2019, 15:43 Göktuğ Kayaalp wrote: > >> >> Andrew Z wrote: >> > Goktug, >> > Im not clear what is the objective of the lecture? I understand it is >> an >> > intro, b

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-20 Thread Göktuğ Kayaalp
On 2019-11-20 13:29 -07, Akkana Peck wrote: > Chris Angelico writes: >> On Thu, Nov 21, 2019 at 4:42 AM Nick Sarbicki >> wrote: >> > RE Conda and distros - I'd forget about them, in my experience you may as >> > well learn to use pip and install what you need that way, in the long term >> >> Ag

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-20 Thread Göktuğ Kayaalp
Chris Angelico wrote: >On Thu, Nov 21, 2019 at 4:42 AM Nick Sarbicki >wrote: >> RE Conda and distros - I'd forget about them, in my experience you may as >> well learn to use pip and install what you need that way, in the long term >> it is faster and more flexible. Python generally supplies a p

Re: Recommendations for intro to python+programming lecture to Humanities MA students

2019-11-20 Thread Andrew Z
Look into https://repl.it On Wed, Nov 20, 2019, 15:43 Göktuğ Kayaalp wrote: > > Andrew Z wrote: > > Goktug, > > Im not clear what is the objective of the lecture? I understand it is > an > > intro, but what are you trying to achieve? > > Basically I need to introduce my non-programmer frien

  1   2   3   4   5   6   7   8   9   10   >