Re: RFC: For Loop Invariants

2020-04-10 Thread Souvik Dutta
Ah yes it's an iterable not a condition. Sorry about that. 😛😛 Souvik flutter dev On Sat, Apr 11, 2020, 6:38 AM Chris Angelico wrote: > On Sat, Apr 11, 2020 at 11:04 AM Souvik Dutta > wrote: > > > > How about completely removing the need for an if statement by allowing > for multiple conditions

Re: RFC: For Loop Invariants

2020-04-10 Thread Chris Angelico
On Sat, Apr 11, 2020 at 11:04 AM Souvik Dutta wrote: > > How about completely removing the need for an if statement by allowing for > multiple conditions to be inserted in the for loop?? That would make reading > and writing a lot easier. Like the count problem could be rewritten as > for (a in

Re: RFC: For Loop Invariants

2020-04-10 Thread Souvik Dutta
How about completely removing the need for an if statement by allowing for multiple conditions to be inserted in the for loop?? That would make reading and writing a lot easier. Like the count problem could be rewritten as for (a in chars and ): count+=1 On Sat, 11 Apr, 2020, 6:21 am Chris An

Re: Secure Coding in Python

2020-04-10 Thread Souvik Dutta
Is this what you are looking for? https://medium.com/@felsen88/python-secure-coding-guidelines-73c7ce1db86c On Sat, 11 Apr, 2020, 3:54 am Kor son of Rynar, wrote: > Dear list, > > As many of you know, SEI/CERT maintains a set of secure coding standards > for many languages like C/C++, Java and P

Re: RFC: For Loop Invariants

2020-04-10 Thread Chris Angelico
On Sat, Apr 11, 2020 at 10:32 AM Juergen Brendel wrote: > > > Hello! > > On Fri, 2020-04-10 at 15:44 -0500, Elliott Dehnbostel wrote: > > chars = "abcaaabkjzhbjacvb" > > seek = {'a','b','c'} > > count = 0 > > > > for a in chars if a in seek: count += 1 > > Interesting proposal. However, I'm not su

Re: RFC: For Loop Invariants

2020-04-10 Thread Juergen Brendel
Hello! On Fri, 2020-04-10 at 15:44 -0500, Elliott Dehnbostel wrote: > chars = "abcaaabkjzhbjacvb" > seek = {'a','b','c'} > count = 0 > > for a in chars if a in seek: count += 1 Interesting proposal. However, I'm not sure how much benefit it really will give us in practice. Reason being: Conditi

Re: RFC: For Loop Invariants

2020-04-10 Thread DL Neil via Python-list
On 11/04/20 8:44 AM, Elliott Dehnbostel wrote: If I've done this incorrectly, please let me know so that I can improve/revise. I'm new to the Python community and quite enjoy the more functional features of Python 3, but have I have a peeve about it. I'd like to propose and discuss the following

Secure Coding in Python

2020-04-10 Thread Kor son of Rynar
Dear list, As many of you know, SEI/CERT maintains a set of secure coding standards for many languages like C/C++, Java and Perl: SEI CERT Coding Standards https://wiki.sei.cmu.edu/confluence/display/seccode/SEI+CERT+Coding+Standards I'm looking for something similar, but with specific advice

RFC: For Loop Invariants

2020-04-10 Thread Elliott Dehnbostel
Hello Everyone, I've also posted this to the python-ideas mailing list, but I thought to post here as well for a more general audience. If I've done this incorrectly, please let me know so that I can improve/revise. I'm new to the Python community and quite enjoy the more functional features of P

Introducing Python for Data Analysis Remote 4-Day Seminar

2020-04-10 Thread Ashley Fontillas
Hello, We will be hosting a 4-day remote seminar on Python for Data Analysis taught by Jason Anastasopoulos from May 26-28. Designed as both an introductory and intermediate course on Python, participants will joi

Re: Is it possible to inheret a metaclass.

2020-04-10 Thread Greg Ewing via Python-list
On 11/04/20 12:19 am, Pieter van Oostrum wrote: Your Pardon is not a class, it is a function. To elaborate on that a bit, the way inheritance of metaclasses works is that when you define a class, if you don't explicity specify a metaclass, it uses the class of the base class as the metaclass.

Re: python programs to track bitcoins

2020-04-10 Thread Abdur-Rahmaan Janhangeer
https://github.com/pyhoneybot/honeybot/blob/master/honeybot/plugins/bitcoin.py The above made use of a nice API. Kind Regards, Abdur-Rahmaan Janhangeer https://www.compileralchemy.com https://www.github.com/Abdur-RahmaanJ Mauritius sent from gmail client on Android, that's why the signature

Re: python programs to track bitcoins

2020-04-10 Thread Michael Torrie
On 4/9/20 11:16 PM, dreamyladyg...@gmail.com wrote: > I`m looking if there any programs out there to track bitcoins and those > programs were made by python You can use Google search as well as any of us, or some other search engine. What have you found so far? > > > it`s kinda urgent In the f

Re: Is it possible to inheret a metaclass.

2020-04-10 Thread Pieter van Oostrum
Antoon Pardon writes: > Op 9/04/20 om 18:37 schreef Peter Otten: >> Antoon Pardon wrote: >> >>> I am experimenting with subclasses that all need the same metaclass as the >>> base class. Is there a way to make the metaclass be inherited, so that you >>> don't have to repeat the "metaclass = Meta

[ANN] aioxmpp 0.11.0 released

2020-04-10 Thread Jonas Schäfer
Dear subscribers, We are pleased to announce the release of aioxmpp 0.11.0. The current release can be obtained from GitHub [1] (check out the v0.11.0 tag) or PyPI [2]. The HTML documentation can be found at [3]. Examples can be found in the GitHub repository, in the examples sub directory.

Re: PyValentina 0.2.0 library documentation update on PyPI

2020-04-10 Thread Souvik Dutta
Might be your wish!!! If that is not the fault of the devs then I think issuing in GitHub wont help. Souvik flutter dev On Fri, Apr 10, 2020, 5:10 PM Sanjay Gupta wrote: > Hi Everyone, > I recently started working on Data Visualization. In one of my > assignments, I want to use PyValentina 0.2.

PyValentina 0.2.0 library documentation update on PyPI

2020-04-10 Thread Sanjay Gupta
Hi Everyone, I recently started working on Data Visualization. In one of my assignments, I want to use PyValentina 0.2.0 library. When I visited the https://pypi.org/project/PyValentina/ page and click on PyValentina Home Page link it give me a 404 error. After spending a little more time I come

Re: Is it possible to inheret a metaclass.

2020-04-10 Thread Antoon Pardon
Op 9/04/20 om 18:37 schreef Peter Otten: Antoon Pardon wrote: I am experimenting with subclasses that all need the same metaclass as the base class. Is there a way to make the metaclass be inherited, so that you don't have to repeat the "metaclass = MetaClass" with every subclass. ? This

Re: python programs to track bitcoins

2020-04-10 Thread Souvik Dutta
This should do your job. https://github.com/rgho/bitcoinTicker.py On Fri, 10 Apr, 2020, 12:35 pm , wrote: > Hello > I`m looking if there any programs out there to track bitcoins and those > programs were made by python > if you know any? > please let me know > it`s kinda urgent > thank you very

python programs to track bitcoins

2020-04-10 Thread dreamyladygirl
Hello I`m looking if there any programs out there to track bitcoins and those programs were made by python if you know any? please let me know it`s kinda urgent thank you very much -- https://mail.python.org/mailman/listinfo/python-list