Re: Syntax Suggestion: Pass Function Definition as Argument

2019-11-11 Thread Rhodri James
On 07/11/2019 13:36, Stephen Waldron wrote: This is how it is at the moment, however it may be more agreeable, especially if that is the only purpose of the function, for python users to be able to define new functions inside of function calls. No, not seeing it. Sorry, I don't think "I don'

Re: Using Makefiles in Python projects

2019-11-11 Thread Rhodri James
On 09/11/2019 23:50, Thomas Jollans wrote: On 09/11/2019 21:30, Chris Angelico wrote: On Sun, Nov 10, 2019 at 2:10 AM Thomas Jollans wrote: On 07/11/2019 20:20, Vitaly Potyarkin wrote: What do you think of using Makefiles for automating common chores in Python projects? Like linting, type che

What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Veek M
So i was making some notes and: https://i.imgur.com/UATAKXh.png I did not understand this https://docs.python.org/3/library/io.html 'Text I/O expects and produces str objects. This means that whenever the backing store is natively made of bytes (such as in the case of a file), encoding and dec

Re: What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Veek M
On Mon, 11 Nov 2019 16:08:12 +, Veek M wrote: > So i was making some notes and: https://i.imgur.com/UATAKXh.png > > I did not understand this > > https://docs.python.org/3/library/io.html 'Text I/O expects and produces > str objects. This means that whenever the backing store is natively mad

Re: What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Peter Otten
Veek M wrote: > I was reading pydoc io and - how do I decipher the indentation? $ cat demo.py class Base: pass class Sub(Base): pass class SubSub(Sub): pass class Other: pass class OtherSub(Other, Base): pass $ pydoc3.7 demo | head -n13 Help on module demo: NAME demo CLASSES builtins.o

Re: Using Makefiles in Python projects

2019-11-11 Thread Thomas Jollans
On 11/11/2019 14:23, Rhodri James wrote: On 09/11/2019 23:50, Thomas Jollans wrote: On 09/11/2019 21:30, Chris Angelico wrote: On Sun, Nov 10, 2019 at 2:10 AM Thomas Jollans wrote: On 07/11/2019 20:20, Vitaly Potyarkin wrote: What do you think of using Makefiles for automating common chores

Re: Hi there! We are here to answer any questions you have about Udacit...

2019-11-11 Thread joseph pareti
i have done the first 6 lessons of python --- https://classroom.udacity.com/courses/ud1110/lessons/bbacebc6-406a-4dc5-83f6-ef7ba3371da6/concepts/50247542-7933-4afe-9130-ff1dff429b03 what do you recommend next? My goal is ML/AI thank you --- Am Do., 7. Nov. 2019 um 22:01 Uhr schrieb joseph paret

Re: Using Makefiles in Python projects

2019-11-11 Thread Rhodri James
On 11/11/2019 17:55, Thomas Jollans wrote: I'm sure it's possible to write Makefiles that work with both GNU make and NMake, but I imagine it's a rather limiting and thankless enterprise. Is that something you actually do? (Maybe it's great, I really wouldn't know. Do tell!) Trying to work c

Re: Using Makefiles in Python projects

2019-11-11 Thread Grant Edwards
On 2019-11-11, Rhodri James wrote: >> I'm sure it's possible to write Makefiles that work with both GNU make >> and NMake, but I imagine it's a rather limiting and thankless enterprise. >> >> Is that something you actually do? (Maybe it's great, I really wouldn't >> know. Do tell!) > > Trying t

Re: Using Makefiles in Python projects

2019-11-11 Thread Bill Deegan
You could use SCons (native python... ) On Mon, Nov 11, 2019 at 2:04 PM Grant Edwards wrote: > On 2019-11-11, Rhodri James wrote: > >> I'm sure it's possible to write Makefiles that work with both GNU make > >> and NMake, but I imagine it's a rather limiting and thankless > enterprise. > >> > >

Help!

2019-11-11 Thread Jack Gilbert
Here's the deal, I have loaded both, one at a time, 3.7.2, and tried 3.8.0, separately, when I go to open the program to run I get the same message, Each time and for each version I get a Setup window. asking to modify, repair, or uninstall, I usu uninstall, I don't think it is the install, somet

Re: What is a backing store in the context of module io https://docs.python.org/3/library/io.html

2019-11-11 Thread Terry Reedy
On 11/11/2019 11:08 AM, Veek M wrote: https://docs.python.org/3/library/io.html 'Text I/O expects and produces str objects. This means that whenever the backing store is natively made of bytes (such as in the case of a file), encoding and decoding of data is made transparently as well as optiona

apologies for my latest email; it was not intended for this mailing list

2019-11-11 Thread joseph pareti
-- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cell +39 339 797 0644 -- https://mail.python.org/mailman/listinfo/python-list

Re: Looking for python pentest scripts

2019-11-11 Thread DL Neil via Python-list
On 11/11/19 4:39 PM, Terry Reedy wrote: On 11/10/2019 7:32 PM, Bob Gailer wrote: On Nov 10, 2019 6:40 AM, "nixuser" wrote: can someone tell about good resource for python related pentesting scripts? any extensive list? > Try Googling python pentesting. That will give you some relevant links.

Re: Hi there! We are here to answer any questions you have about Udacit...

2019-11-11 Thread DL Neil via Python-list
On 12/11/19 7:14 AM, joseph pareti wrote: i have done the first 6 lessons of python --- https://classroom.udacity.com/courses/ud1110/lessons/bbacebc6-406a-4dc5-83f6-ef7ba3371da6/concepts/50247542-7933-4afe-9130-ff1dff429b03 what do you recommend next? My goal is ML/AI As with any professional

Re: apologies for my latest email; it was not intended for this mailing list

2019-11-11 Thread DL Neil via Python-list
Because of something we said? (to upset you=joke!) -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Help!

2019-11-11 Thread Cameron Simpson
On 11Nov2019 13:07, Jack Gilbert <00jhen...@gmail.com> wrote: Here's the deal, I have loaded both, one at a time, 3.7.2, and tried 3.8.0, separately, when I go to open the program to run I get the same message, Each time and for each version I get a Setup window. asking to modify, repair, or unin

Re: Help!

2019-11-11 Thread Michael Torrie
On 11/11/19 12:07 PM, Jack Gilbert wrote: > Here's the deal, I have loaded both, one at a time, 3.7.2, and tried 3.8.0, > separately, when I go to open the program to run I get the same message, > Each time and for each version I get a Setup window. asking to modify, > repair, or uninstall, I usu

Can we use Python for hacking?

2019-11-11 Thread Abdur-Rahmaan Janhangeer
Greetings all, Someone requested my answer to the question: "Can we use Python for hacking?" I compiled some interesting tools and uses here . That's as far as i could see. If someone has more examples, he can share! Yours, Abdur-Rahmaan Janhangeer pythonmembers.club

Re: Can we use Python for hacking?

2019-11-11 Thread Michael Torrie
On 11/11/19 9:49 PM, Abdur-Rahmaan Janhangeer wrote: > Someone requested my answer to the question: "Can we use Python for > hacking?" Sigh. I suppose it's a lost battle to reclaim that word. Most of what I do with Python is hacking but likely not as you are using the word. Most recently I hack