Re: Start Python programming

2021-04-28 Thread Alan Gauld via Python-list
kr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

RE: Proposal: Disconnect comp.lang.python from python-list

2021-05-05 Thread Avi Gross via Python-list
if one wishes. The difference would include less spoofing but also the ability to remove and that are causing annoyance here. Avi -Original Message- From: Python-list On Behalf Of Chris Angelico Sent: Wednesday, May 5, 2021 8:37 PM To: Python Subject: Re: Proposal: Disconnect

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-05 Thread Jon Ribbens via Python-list
On 2021-05-06, Chris Angelico wrote: > On Thu, May 6, 2021 at 10:32 AM Paul Bryan wrote: >> >> Given the ease of spoofing sender addresses, and its propensity for use >> in anonymous spamming and trolling (thanks python-list-owner for >> staying on top of that

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-05 Thread Jon Ribbens via Python-list
ist is done now. They wouldn't need to do any work they don't already do. -- https://mail.python.org/mailman/listinfo/python-list

RE: neoPython : Fastest Python Implementation: Coming Soon

2021-05-05 Thread Avi Gross via Python-list
Chris, I got the fastest python yesterday as it was so fast that it beat the one coming tomorrow. The trick is adding back the legs that evolution allowed to lapse. Without bated breath, Regardless, Avi -Original Message- From: Python-list On Behalf Of Chris Angelico Sent: Wednesday

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-05 Thread Jon Ribbens via Python-list
On 2021-05-06, Richard Damon wrote: > On 5/5/21 9:40 PM, Jon Ribbens via Python-list wrote: >> On 2021-05-06, Paul Bryan wrote: >>> What's involved in moderating c.l.p? Would there be volunteers willing >>> to do so? >> Nothing at all is involved, apart

Programmed energy use

2021-05-05 Thread Avi Gross via Python-list
other languages spun off it or off C. My programmed energy use for today is just about exhausted. Luckily, my Day starts at midnight, in about half an hour 😉 Avi -Original Message- From: Python-list On Behalf Of Benjamin Schollnick Sent: Wednesday, May 5, 2021 2:17 PM To: Mr Flibble

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Jon Ribbens via Python-list
On 2021-05-06, Richard Damon wrote: > On 5/5/21 10:44 PM, Jon Ribbens via Python-list wrote: >> On 2021-05-06, Richard Damon wrote: >>> As someone with a long usenet background, converting the existing group >>> to moderated would be practically impossible. It just is

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Jon Ribbens via Python-list
; is that a human vets every post. That's not a definition that anyone else would use, I think, and I say that as a moderator of a Usenet group.. > That's certainly not the case for python-list@python.org. Posts gated > from comp.lang.python to the mailing list only get passed through

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Jon Ribbens via Python-list
On 2021-05-06, Richard Damon wrote: > On 5/6/21 6:12 AM, Jon Ribbens via Python-list wrote: >> I think you're fundamentally missing the point that the newsgroup is >> *already gatewayed to the mailing list*. Marking the group moderated >> will not result in any more w

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Jon Ribbens via Python-list
ret he presumably would not have made formal announcements describing himself as a moderator in public on the list. -- https://mail.python.org/mailman/listinfo/python-list

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Jon Ribbens via Python-list
On 2021-05-06, Richard Damon wrote: > On 5/6/21 9:12 AM, Jon Ribbens via Python-list wrote: >> Are you saying that the messages that appear occasionally from people >> such as Ethan Furman claiming to be moderators and alleging that >> particular people have been banned or su

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Jon Ribbens via Python-list
On 2021-05-06, Richard Damon wrote: > On 5/6/21 9:44 AM, Jon Ribbens via Python-list wrote: >> Sounds like nearly all moderated lists/forums then. > > Then perhaps you have never been on a real Moderated mailing list or > Forum. Ah, the "no true scotsforum" argum

Re: Proposal: Disconnect comp.lang.python from python-list

2021-05-06 Thread Jon Ribbens via Python-list
s raised so far have any basis whatsoever in reality. And it appears even the suggestion that Mailman 3 cannot be used while a gateway is involved is untrue: https://mailman.readthedocs.io/en/latest/src/mailman/handlers/docs/nntp.html -- https://mail.python.org/mailman/listinfo/python-list

RE: Bloody rubbish

2021-05-06 Thread Avi Gross via Python-list
Message- From: Python-list On Behalf Of Joe Pfeiffer Sent: Thursday, May 6, 2021 3:03 PM To: python-list@python.org Subject: Re: Bloody rubbish Skip Montanaro writes: >> >> Machine language is so much simpler, and you can code with just a hexpad. >> > > Pshaa... All

Re: STARTUP FAILURE

2021-05-13 Thread Alan Gauld via Python-list
r ways, such as from the command line? -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: Standarize TOML?

2021-05-16 Thread Jon Ribbens via Python-list
JSON and instead selects a file format that doesn't even have a built-in Python parser. -- https://mail.python.org/mailman/listinfo/python-list

Re: Writers [Was: Re: Standarize TOML?]

2021-05-18 Thread Jon Ribbens via Python-list
putting ("writing") TOML as well as reading it, and this makes choosing between those modules more controversial as there are more subjective opinions involved in the implementation of writing TOML as opposed to only reading it. -- https://mail.python.org/mailman/listinfo/python-list

Re: learning python ...

2021-05-24 Thread Rob Cliffe via Python-list
nd it doesn't try to stop you.  I am sure after a little more experience with Python you will remember the commonest built-in types (int, float, list, dict, str etc.). Regards Rob Cliffe -- https://mail.python.org/mailman/listinfo/python-list

Re: learning python ...

2021-05-24 Thread Rob Cliffe via Python-list
ade it so easy to throw ideas around! Regards Rob Cliffe -- https://mail.python.org/mailman/listinfo/python-list

Re: learning python ...

2021-05-24 Thread Alan Gauld via Python-list
my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: learning python ...

2021-05-24 Thread Alan Gauld via Python-list
of the purpose rather than the type. Its a lesson that I've never forgotten! -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: learning python ...

2021-05-24 Thread Alan Gauld via Python-list
.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: learning python ...

2021-05-24 Thread Jon Ribbens via Python-list
but if you're not then just "input" is overly opaque (not to mention shadowing a builtin). This is why it's good when languages have conventions like "types and classes start with an upper-case letter", so that you can do "string = String()" without problems... -- https://mail.python.org/mailman/listinfo/python-list

RE: learning python ...

2021-05-24 Thread Avi Gross via Python-list
sons and many LIKE IT the way it is, ... -Original Message- From: Python-list On Behalf Of Cameron Simpson Sent: Monday, May 24, 2021 5:34 AM To: python-list@python.org Subject: Re: learning python ... On 24May2021 08:21, hw wrote: >On 5/24/21 12:03 AM, Cameron Simpson wrote: &g

Re: learning python ...

2021-05-25 Thread Alan Gauld via Python-list
On 25/05/2021 00:41, Jon Ribbens via Python-list wrote: > What would you call the argument to a function that > returns, say, an upper-cased version of its input? Probably 'candidate' or 'original' or 'initial' or somesuch. Or even just 's'.

string storage [was: Re: imaplib: is this really so unwieldy?]

2021-05-26 Thread Alan Gauld via Python-list
e Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: string storage [was: Re: imaplib: is this really so unwieldy?]

2021-05-26 Thread Jon Ribbens via Python-list
rhead for > large strings? Memory is cheap ;-) > I confess I had just assumed the unicode strings were stored > in native unicode UTF8 format. If you do that then indexing and slicing strings becomes very slow. -- https://mail.python.org/mailman/listinfo/python-list

Re: string storage [was: Re: imaplib: is this really so unwieldy?]

2021-05-26 Thread Alan Gauld via Python-list
Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: string storage [was: Re: imaplib: is this really so unwieldy?]

2021-05-26 Thread Alan Gauld via Python-list
://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

RE: learning python ...

2021-05-27 Thread Avi Gross via Python-list
as not aware of. But generally, most languages have been fairly well thought-out with specific ideas in mind and are in many ways FINISHED albeit can often grow later. -Original Message----- From: Python-list On Behalf Of hw Sent: Thursday, May 27, 2021 2:30 PM To: python-list@python.org S

Re: Applying winpdb_reborn

2021-05-29 Thread Alan Gauld via Python-list
w.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: Applying winpdb_reborn

2021-05-30 Thread Alan Gauld via Python-list
://mail.python.org/mailman/listinfo/python-list

Re: Definition of "property"

2021-05-30 Thread Jon Ribbens via Python-list
y is an attribute of a class that pretends to be a data attribute but in fact causes methods to be called when it is accessed. -- https://mail.python.org/mailman/listinfo/python-list

Re: Definition of "property"

2021-05-30 Thread Alan Gauld via Python-list
program structures, which is the essence of OOP. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: Python doesn't work

2021-05-30 Thread Alan Gauld via Python-list
-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-05-30 Thread Alan Gauld via Python-list
de I'm also keen to hear! HTH -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

RE: Definition of "property"

2021-05-30 Thread Avi Gross via Python-list
-list On Behalf Of Alan Gauld via Python-list Sent: Sunday, May 30, 2021 4:20 PM To: python-list@python.org Subject: Re: Definition of "property" On 30/05/2021 17:57, Irv Kalb wrote: > I am doing some writing (for an upcoming book on OOP), and I'm a little stuck. Oh dear, tha

ANN: distlib 0.3.2 released on PyPI

2021-05-31 Thread Vinay Sajip via Python-list
s/new -- https://mail.python.org/mailman/listinfo/python-list

Re: Definition of "property"

2021-05-31 Thread Jon Ribbens via Python-list
On 2021-05-30, Terry Reedy wrote: > Note: at least one person says a property *pretends* to be an attribute. No, I said it pretends to be a *data* attribute. It is effectively several methods in a trenchcoat pretending to be a variable. -- https://mail.python.org/mailman/listinfo/python-list

Re: Definition of "property"

2021-05-31 Thread Alan Gauld via Python-list
log on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Functions as Enum member values

2021-05-31 Thread Colin McPhail via Python-list
dir(): ['CONNECT', 'HELP', '__class__', '__doc__', '__members__', '__module__'] Command2 type(): type of enum member: number of members: 0 enum members: dir(): ['__class__', '__doc__', '__members__', '__module__'] call Command2 member: message from help_impl() (qt6) % --- -- https://mail.python.org/mailman/listinfo/python-list

Re: Functions as Enum member values

2021-05-31 Thread Colin McPhail via Python-list
> On 31 May 2021, at 18:24, Peter Otten <__pete...@web.de> wrote: > > On 31/05/2021 17:57, Colin McPhail via Python-list wrote: >> Hi, >> According to the enum module's documentation an Enum-based enumeration's >> members can have values of any t

Re: Definition of "property"

2021-06-01 Thread Jon Ribbens via Python-list
method. It's just that in most cases the method is implemented > in C and it looks up a value in the object's dict. Sure, if we take the "lowest level" and pretend there are no higher-level structures it's all just electrons doing apparently random things and there's nothing more to be said about it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Definition of "property"

2021-06-01 Thread Alan Gauld via Python-list
ite different! Although properties can be used to create a form of immutablity. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: Definition of "property"

2021-06-01 Thread Jon Ribbens via Python-list
ke its function or retrieve the value it returns. > (I'm assuming that by "data attribute" you mean a piece of > data that's stored directly in the object. If you mean > something else, we might be talking at cross purposes.) I mean it in the sense it is used by the Python documentation. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-01 Thread Alan Gauld via Python-list
On 31/05/2021 16:16, Grant Edwards wrote: > On 2021-05-30, Alan Gauld via Python-list wrote: >> You are not alone. debugging curses is one of the biggest obstacles to >> its use. > > Can't you just run the debugger in a different window and attach to > the process

Re: Definition of "property"

2021-06-01 Thread Alan Gauld via Python-list
On 31/05/2021 15:59, Dennis Lee Bieber wrote: > On Sun, 30 May 2021 21:20:24 +0100, Alan Gauld via Python-list > declaimed the following: > >> On 30/05/2021 17:57, Irv Kalb wrote: >>> I am doing some writing (for an upcoming book on OOP), and I'm a little >>&

Pandsa to Excel conversion issue

2021-06-01 Thread EK Esawi via Python-list
ke '22.3' via astype or pd.to_numeric is below Unable to parse string "22." at position 0 Thanks in advance EK -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-01 Thread Alan Gauld via Python-list
lled a lot use conditional breakpoints so that you only stop when you want to. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

fabric: fab command

2021-06-02 Thread jayshankar nair via Python-list
/mailman/listinfo/python-list

Re: fabric: fab command

2021-06-02 Thread Alan Gauld via Python-list
On 02/06/2021 14:35, jayshankar nair via Python-list wrote: > import tools.fab.dev_utils as dev_utilsImportError: No module named > tools.fab.dev_utils > Please let me know which package i have to install. Work backwards. Can you import tools.fab? Can you import tools? Once you know

Re: Replacement for Mailman

2021-06-08 Thread Jon Ribbens via Python-list
On 2021-06-08, D'Arcy Cain wrote: > Given that mailman still runs under 2.7 and that's being deprecated, > does anyone have a suggestion for a replacement? There is always Mailman 3... -- https://mail.python.org/mailman/listinfo/python-list

Re: Replacement for Mailman

2021-06-08 Thread Jon Ribbens via Python-list
sure that's out of date. -- https://mail.python.org/mailman/listinfo/python-list

Re: Replacement for Mailman

2021-06-08 Thread Jon Ribbens via Python-list
On 2021-06-08, Terry Reedy wrote: > On 6/8/2021 4:36 PM, Jon Ribbens via Python-list wrote: >> On 2021-06-08, Grant Edwards wrote: >>> On 2021-06-08, Paul Bryan wrote: >>>> How about Mailman 3.x on Python 3.x? >>> >>> According to https:

jython getting started question

2021-06-11 Thread Steve Pruitt via Python-list
python.org/mailman/listinfo/python-list

Re: jython getting started question

2021-06-11 Thread Steve Pruitt via Python-list
Finally found the solution Options.importSite = false; which solved my issue. I can't set Bindings and pass args to script. The only example I found is for JavaScript. I think maybe it doesn't work for jython. Thanks ____ From: Python-list on behal

Re: Tkinter8.6: date picker

2021-06-14 Thread Alan Gauld via Python-list
org/mailman/listinfo/python-list

Re: Terminology: EU language skills, and Master to Main (or ...)

2021-06-14 Thread Alan Gauld via Python-list
On 13/06/2021 04:21, dn via Python-list wrote: > What do you think a professionally-recognisable series of skill-levels > for programmers? This has been done or attempted many times, with perhaps the most complete scheme being the British Computer Society's "Industry Standard Mod

Php vs Python gui (tkinter...) for small remote database app

2021-06-14 Thread Pascal B via Python-list
something in this assertion? -- https://mail.python.org/mailman/listinfo/python-list

Re: Why the list creates in two different ways? Does it cause by the mutability of its elements? Where the Python document explains it?

2021-06-14 Thread Rob Cliffe via Python-list
2]] id(m[0]) == id(m[1]) == id(m[2]) False These are lists. Each one is distinct. You could change one of them and the other two would remain as they are. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

RE: Why the list creates in two different ways? Does it cause by the mutability of its elements? Where the Python document explains it?

2021-06-15 Thread Avi Gross via Python-list
use less space when possible. Now if you really still want true copies, what ways might fool a compiler? NoDup = [(5, 2), (6-1, 6/3), (12%7, 1/1 + 1/1)] -Original Message- From: Python-list On Behalf Of Greg Ewing Sent: Tuesday, June 15, 2021 7:11 PM To: python-list@python.org Subject

RE: Why the list creates in two different ways? Does it cause by the mutability of its elements? Where the Python document explains it?

2021-06-15 Thread Avi Gross via Python-list
nd halts if the size reached a gigabyte or perhaps charges extra because you used more of a resource. The programmer choosing the list versus tuple alternative, would get different behavior in such a hypothetical scenario. -----Original Message- From: Python-list On Behalf Of Greg Ewing Sent: Tue

Re: tkinter: tksheet

2021-06-16 Thread Alan Gauld via Python-list
web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: tkinter: tksheet

2021-06-17 Thread Alan Gauld via Python-list
n_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: Strange disassembly

2021-06-18 Thread Rob Cliffe via Python-list
   22 POP_JUMP_IF_FALSE   21 (to 14) 24 LOAD_CONST   0 (None) 26 RETURN_VALUE >>> (there may be mistakes in this) but this is probably too much to expect of the compiler. Rob Cliffe -- https://mail.python.org/mailman/listinfo/python-list

Re: Strange disassembly

2021-06-19 Thread Rob Cliffe via Python-list
On 19/06/2021 07:50, Chris Angelico wrote: On Sat, Jun 19, 2021 at 4:16 PM Rob Cliffe via Python-list wrote: On 18/06/2021 11:04, Chris Angelico wrote: sys.version '3.10.0b2+ (heads/3.10:33a7a24288, Jun 9 2021, 20:47:39) [GCC 8.3.0]' def chk(x): ... if not(0 < x

Re: Anaconda navigator not working

2021-06-20 Thread Rob Cliffe via Python-list
l import shellcon, shell ImportError: DLL load failed while importing shell: %1 is not a valid Win32 application. what is its solution? -- https://mail.python.org/mailman/listinfo/python-list

RE: Optimizing Small Python Code

2021-06-22 Thread Avi Gross via Python-list
in range(1, last)])) Now why you want this is beyond me! -Original Message- From: Python-list On Behalf Of Greg Ewing Sent: Tuesday, June 22, 2021 7:05 PM To: python-list@python.org Subject: Re: Optimizing Small Python Code On 23/06/21 3:03 am, Kais Ayadi wrote: > for n in range(1, 7): >

RE: Optimizing Small Python Code

2021-06-23 Thread Avi Gross via Python-list
the string and uncompressed it, you might have code like: print(unzip("n*n&&S!~se")) -Original Message- From: Python-list On Behalf Of Michael F. Stemper Sent: Wednesday, June 23, 2021 10:23 AM To: python-list@python.org Subject: Re: Optimizing Small Python Code O

RE: Optimizing Small Python Code

2021-06-24 Thread Avi Gross via Python-list
pare the output will be fooled. -----Original Message- From: jan Sent: Thursday, June 24, 2021 3:01 AM To: Avi Gross Cc: python-list@python.org Subject: Re: Optimizing Small Python Code If I'm not mistaken, the original output is O(n^2) in quantity of chars, and as output time is propo

RE: Optimizing Small Python Code

2021-06-24 Thread Avi Gross via Python-list
primes that hard way. Final note is there is not much in the discussion that is really about Python as much of the argument remains similar in many programming languages. So, I am done and will ignore this thread. From: Barry Scott Sent: Thursday, June 24, 2021 3:12 PM To: Avi Gross Cc: py

Re: pyttsx3 installation error

2021-07-02 Thread Roland Mueller via Python-list
in > import pyttsx3 > ModuleNotFoundError: No module named 'pyttsx3' > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter widgets for desktop database application

2021-07-14 Thread Alan Gauld via Python-list
hotos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

RE: Searching pypi.org, is there an 'advanced search'?

2021-07-17 Thread Avi Gross via Python-list
2050 results! LOL! https://www.google.com/search?as_q=google+contacts&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=pypi.org&as_occt=any&safe=images&as_filetype=&tbs= -Original Message- From: Python-list On Beha

Re: Where to keep local Python modules?

2021-07-23 Thread Roland Mueller via Python-list
an be checked then in Python: python >>> import sys >>> sys.path ['', '/home/someuser/.local/lib/python', '/usr/lib64/python39.zip', '/usr/lib64/python3.9', '/usr/lib64/python3.9/lib-dynload', '/usr/local/lib/python3.9/

a simple question

2021-07-26 Thread Glenn Wilson via Python-list
.      thanks, glenn -- https://mail.python.org/mailman/listinfo/python-list

RE: a simple question

2021-07-26 Thread Avi Gross via Python-list
the way they probably did not write proper code in the first place that loads the module(s) they need? -Original Message- From: Python-list On Behalf Of Dennis Lee Bieber Sent: Monday, July 26, 2021 9:46 PM To: python-list@python.org Subject: Re: a simple question On Mon, 26 Jul 2021 22:19

Re: argparse: delimiter for argparse list arguments

2021-08-03 Thread Jon Ribbens via Python-list
it, diff, log, status, etc. It's not completely unlike what you're describing above, which is already supported automatically by argparse. -- https://mail.python.org/mailman/listinfo/python-list

Re: argparse: delimiter for argparse list arguments

2021-08-03 Thread Jon Ribbens via Python-list
On 2021-08-03, Roel Schroeven wrote: > Jon Ribbens via Python-list schreef op 3/08/2021 om 17:48: >> On 2021-08-03, Michael Torrie wrote: >> > On 8/2/21 1:43 PM, Sven R. Kunze wrote: >> >> maybe, I am missing something here but is it possible to specify a >>

Re: Ask for help on using re

2021-08-06 Thread Jon Ribbens via Python-list
supported by different regular expression systems and also Python extensions. '|' is documented here: https://docs.python.org/3/library/re.html#index-13 -- https://mail.python.org/mailman/listinfo/python-list

Re: Flask – how to write csv file & save using prefilled value of the filename (response.headers["Content-Disposition"]="attachment; filename=xxx")

2021-08-09 Thread Roland Mueller via Python-list
gt; > *mywriter = csv.DictWriter('results.csv', fieldnames=headers_new)* > [snip] > > The problem has nothing to do with Flask. > > 'csv.reader' and 'csv.DictWriter' expect a file object, but you're > passing them strings. > -- > htt

Re: some problems for an introductory python test

2021-08-11 Thread Wolfram Hinderer via Python-list
ider that surprising, but maybe I should? (Honest question, I really don't know.) -- Wolfram Hinderer -- https://mail.python.org/mailman/listinfo/python-list

Re: some problems for an introductory python test

2021-08-11 Thread Rob Cliffe via Python-list
On 11/08/2021 19:10, MRAB wrote: On 2021-08-11 18:10, Wolfram Hinderer via Python-list wrote: Am 11.08.2021 um 05:22 schrieb Terry Reedy: Python is a little looser about whitespace than one might expect from reading 'normal' code when the result is unambiguous in that it cannot r

RE: some problems for an introductory python test

2021-08-11 Thread Avi Gross via Python-list
for us philosophers but not really of much use for the question I thought was asked. -- https://mail.python.org/mailman/listinfo/python-list

Re: basic auth request

2021-08-17 Thread Jon Ribbens via Python-list
ords are being supplied. -- https://mail.python.org/mailman/listinfo/python-list

Re: basic auth request

2021-08-18 Thread Jon Ribbens via Python-list
On 2021-08-18, Robin Becker wrote: > On 17/08/2021 22:47, Jon Ribbens via Python-list wrote: > ... >> That's only true if you're not using HTTPS - and you should *never* >> not be using HTTPS, and that goes double if forms are being filled >> in and d

Re: tkinter

2021-08-21 Thread Alan Gauld via Python-list
ilman/listinfo/python-list

Re: Decoding of EmailMessage text

2021-08-23 Thread Jon Ribbens via Python-list
On 2021-08-23, Loris Bennett wrote: > If instead of > > mail.set_content(body) > > I do > > mail.set_content(body, cte="quoted-printable") Try print(mail.get_content()) rather than print(mail.as_string()) -- https://mail.python.org/mailman/listinfo/python-list

Why Pyto package not available yet ???

2021-08-23 Thread Steeve Kerou via Python-list
| Pytorial | | | Alan V. -- https://mail.python.org/mailman/listinfo/python-list

Re: basic auth request

2021-08-25 Thread Jon Ribbens via Python-list
cale DNS hack is probably capable of getting a very > legit-looking SSL cert for the name as well. There are so many trusted CAs these days that the chances of them all being secure approaches zero - they are not all equal yet they are all equally trusted. Which is why a change of CA on a site you have visited before is potentially suspicious. -- https://mail.python.org/mailman/listinfo/python-list

Re: basic auth request

2021-08-25 Thread Jon Ribbens via Python-list
On 2021-08-25, Chris Angelico wrote: > On Thu, Aug 26, 2021 at 12:16 AM Jon Ribbens via Python-list > wrote: >> There are so many trusted CAs these days that the chances of them all >> being secure approaches zero - they are not all equal yet they are all >> equally truste

Re: basic auth request

2021-08-25 Thread Jon Ribbens via Python-list
On 2021-08-25, Chris Angelico wrote: > On Thu, Aug 26, 2021 at 12:48 AM Jon Ribbens via Python-list > wrote: >> Another attempt at combatting this problem is DNS CAA records, >> which are a way of politely asking all CAs in the world except the >> ones you choose "ple

Re: basic auth request

2021-08-25 Thread Jon Ribbens via Python-list
he permitted CAs - since, as you point out, they genuinely own and control the relevant IP address. -- https://mail.python.org/mailman/listinfo/python-list

Re: on writing a while loop for rolling two dice

2021-08-28 Thread Alan Gauld via Python-list
om/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

RE: on writing a while loop for rolling two dice

2021-08-28 Thread Avi Gross via Python-list
[1, 3, 1, 13, 11, 4, 3, 5, 2, 4] And the code can be a tad shorter, LOL! But obviously then you have more overhead than an iterative solution or one using a generator ... -----Original Message- From: Python-list On Behalf Of Alan Gauld via Python-list Sent: Saturday, August 28, 2021 6:52 PM To:

Python UI (was Re: urgent)

2021-08-30 Thread Alan Gauld via Python-list
thor of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: The sqlite3 timestamp conversion between unixepoch and localtime can't be done according to the timezone setting on the machine automatically.

2021-08-31 Thread Alan Gauld via Python-list
gram web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

RE: urgent (actually NOT urgent at all.)

2021-08-31 Thread Avi Gross via Python-list
-Original Message- From: Python-list On Behalf Of Barry Sent: Tuesday, August 31, 2021 7:02 PM Cc: Python-list@python.org Subject: Re: urgent  > On 31 Aug 2021, at 16:53, jak wrote: > > Il 31/08/2021 03:05, Python ha scritto: >> Hari wrote: >>> i wa

Re: The sqlite3 timestamp conversion between unixepoch and localtime can't be done according to the timezone setting on the machine automatically.

2021-09-02 Thread Alan Gauld via Python-list
dphotos -- https://mail.python.org/mailman/listinfo/python-list

<    23   24   25   26   27   28   29   30   31   32   >