On Sun, 30 Jul 2017 13:21:30 +1000, Chris Angelico wrote:
> On Sun, Jul 30, 2017 at 1:08 PM, wrote:
>> On Saturday, December 5, 2009 at 8:52:52 PM UTC-8, hussain dandan
>> wrote:
>>> Movie Download Reviews offers Free Online Movie Download,Hollywood
>>> Movie
On Mon, 14 Aug 2017 15:48:02 -0700, zhilongch64 wrote:
Please do the whole world a big favour & NEVER reply to spam
if no-one responded this heinous practice would die.
--
I hate users
you sound like a sysadmin already!
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 10 Aug 2017 09:38:49 -0400, Larry Martell wrote:
> On Wed, Aug 9, 2017 at 8:33 PM, Cameron Simpson wrote:
>> On 09Aug2017 10:46, Jon Ribbens wrote:
>>>
>>> On 2017-08-09, Cameron Simpson wrote:
On 08Aug2017 17:31,
On Wed, 16 Aug 2017 18:02:48 -0700, Sayth Renshaw wrote:
> On Thursday, 17 August 2017 09:03:59 UTC+10, Ian wrote:
> wrote:
>> > Morning
>> >
>> > I haven't ventured into classes much before. When trying to follow
>> > some examples and create my own classes in a jupyter notebook I
>> > receive
On Tue, 25 Jul 2017 17:29:56 +1000, Chris Angelico wrote:
> On Tue, Jul 25, 2017 at 4:50 PM, wrote:
>> I see two solutions:
>>
>> 1. We build new architecture or adept current one so it's more like a
>> blockchain, have to calculate some hash before being able to post
On Thu, 27 Jul 2017 04:40:40 -0700, FS wrote:
> I just installed matplotlib on debian and I tried to import it on
> python3. It cannot be found however it can be found on python 2.x. No
> surprise:
> A 'find -name matplotliib' reveals:
> /usr/share/matplotlib
On Tue, 08 Aug 2017 14:19:53 +, Stefan Ram wrote:
> I am planning a Python course.
>
> I started by writing the course akin to courses I gave in other
> languages, that means, the course starts roughly with these topics:
>
> - number and string literals - types of number and string
On Fri, 22 Sep 2017 03:44:59 +1000, Steve D'Aprano wrote:
> On Fri, 22 Sep 2017 02:29 am, Tobiah wrote:
>
>> Are these completely equivalent?
>>
>> def foo(thing):
>>
>> assert(thing > 0), "Thing must be greater than zero"
>>
>>
>> def foo(thing):
>>
>> if not (thing > 0):
On Wed, 20 Sep 2017 14:14:24 +0100, Paul Moore wrote:
> On 20 September 2017 at 13:58, alister via Python-list
> <python-list@python.org> wrote:
>> On Tue, 19 Sep 2017 14:40:17 -0400, leam hall wrote:
>>
>>> On Tue, Sep 19, 2017 at 2:37 PM, Stephan Houben <
>
On Fri, 22 Sep 2017 21:15:54 +1000, Steve D'Aprano wrote:
> On Fri, 22 Sep 2017 08:50 pm, alister wrote:
>
>>> The bottom line is, if I saw
>>>
>>> if not (thing > 0): raise AssertionError(...)
>>>
>>> in a code review, I'd probably insist that either it be changed to use
>>> `assert`,
>>> or
On Tue, 19 Sep 2017 14:40:17 -0400, leam hall wrote:
> On Tue, Sep 19, 2017 at 2:37 PM, Stephan Houben <
> stephan...@gmail.com.invalid> wrote:
>
>> Op 2017-09-19, Steven D'Aprano schreef > pearwood.info>:
>>
>> > There is a significant chunk of the Python community for
On Wed, 04 Oct 2017 20:16:29 +1300, Gregory Ewing wrote:
> Steve D'Aprano wrote:
>> On Wed, 4 Oct 2017 01:40 pm, Chris Angelico wrote:
>>
>>>You know, you don't HAVE to economize on letters. It's okay to call
>>>your parameters "prompt" instead of "prmt". Remember, that's part of
>>>your API.
>>
On Mon, 09 Oct 2017 17:27:27 +0300, Marko Rauhamaa wrote:
> Grant Edwards <grant.b.edwa...@gmail.com>:
>
>> On 2017-10-09, alister via Python-list <python-list@python.org> wrote:
>>
>>> or if you want the luxury of a GUI editor simply ssh to the remote
>
On Mon, 16 Oct 2017 08:57:18 +0100, Chris Green wrote:
> Michael Torrie wrote:
>> On 10/15/2017 08:50 PM, Andrew Z wrote:
>> > Gents,
>> > how do i get this group in a newsreader? The digest i'm getting is
>> > not
>> > workable for me - i can't reply , can only read the
On Thu, 05 Oct 2017 17:37:11 -0700, Prabu T.S. wrote:
> On Thursday, October 5, 2017 at 8:33:02 PM UTC-4, MRAB wrote:
>> On 2017-10-05 23:32, Prabu T.S. wrote:
>> > On Thursday, October 5, 2017 at 6:16:44 PM UTC-4, Prabu T.S. wrote:
>> >> hello all,what is the command to stop and start windows
On Sat, 14 Oct 2017 01:48:44 +1300, Gregory Ewing wrote:
> Steve D'Aprano wrote:
>> I wasn't questioning where the data came from, but how the compiler can
>> write to READ ONLY MEMORY which might not even be in the same continent
>> as the compiler that generated the code.
>
> I thought it
On Sat, 14 Oct 2017 11:41:08 +0200, Peter J. Holzer wrote:
> On 2017-10-13 21:42, Ben Bacarisse wrote:
>> That's one way to put it. Another is that to use Python I need to buy
>> a new service that is already configured.
>
> That's exactly the same for PHP. You can't use
On Tue, 12 Sep 2017 08:03:58 -0700, Rick Johnson wrote:
> Chris Angelico wrote:
>> Rick Johnson wrote:
>> > Ruby:
>> > farray = [1.5, 1.9, 2.0, 1.0]
>> > uniqueIntegers = farray.map{|f| f.to_i()}.uniq.length
>> >
>> > Python:
>> > flist = [1.5, 1.9, 2.0, 1.0]
>> > uniqueIntegers =
On Tue, 26 Sep 2017 14:16:47 +, Grant Edwards wrote:
> On 2017-09-26, Ned Batchelder wrote:
>> On 9/25/17 10:20 PM, Steve D'Aprano wrote:
>>> On Tue, 26 Sep 2017 02:54 am, Ned Batchelder wrote:
>>> [...]
>>>
>>>
>>>
>> We've been asked nicely by the list mod to stop
On Wed, 27 Sep 2017 18:18:10 -0700, Larry Hudson wrote:
> On 09/27/2017 09:41 AM, leam hall wrote:
>> On Sat, Sep 23, 2017 at 5:26 PM, Ned Batchelder
>> wrote:
> [snip]
>>
>> The question is, what should a person "know" when hiring out as a
>> programmer? What is 'know"
> They are literally criminals, they use computer viruses and malware to
> hijack people's computers to send their spam, and you want to trust them
> and buy from them?
this was probably a "Drive By" posy to get the original spam more
attention & possibly bypass spam filters
--
Come live
On Thu, 24 Aug 2017 11:21:27 -0400, Ned Batchelder wrote:
> On 8/24/17 10:42 AM, Stefan Ram wrote:
>> i = 0 while True: print( f"{ i }:{ id( i )}" ); i = i + 1
>>
>> This loop prints increasing ids while i is less than 257, and then it
>> starts to print alternating ids.
>>
>> So this seems
On Mon, 21 Aug 2017 05:44:53 -0700, jek wrote:
> This is a very old post, but since I just though I would like a
> conditional return like this, and checked for previous proposals, I
> thought I'd give my opinion.
>
> Unfortunately only about 8 of the 67 replies actually answer the
> question,
On Sun, 20 Aug 2017 01:56:14 +1000, Steve D'Aprano wrote:
> On Sun, 20 Aug 2017 12:11 am, Rick Johnson wrote:
>
>> On Saturday, August 19, 2017 at 5:39:19 AM UTC-5, Chris Angelico wrote:
>>> I'm not sure how "refuse to guess" translates into "wipe it out and
>>> start over". I *never* recommend
On Mon, 09 Oct 2017 08:00:34 +0200, Lele Gaifax wrote:
> Chris Angelico writes:
>
>>> Or you could use a GUI editor that runs locally and has the capability
>>> to edit files remotely over ssh.
>>
>> That's also a possibility, but I have yet to find one that can SSH to a
>>
On Mon, 23 Oct 2017 10:41:55 +0100, Paul Moore wrote:
> On 23 October 2017 at 10:32, wrote:
>> According to this website. This is an uncompressable stream.
>>
>> https://en.m.wikipedia.org/wiki/Incompressible_string
>>
>> 12344321
>>
>> It only takes seven 8
On Sat, 25 Nov 2017 12:26:52 -0800, namenobodywants wrote:
> On Friday, November 24, 2017 at 8:07:07 AM UTC-8, Chris Angelico wrote:
>
>> This is the kind of function that needs a docstring and some comments.
>> What exactly is this doing? What are the "lines" of the board? What's
>> the
On Sat, 25 Nov 2017 09:20:44 +, Martin Schöön wrote:
> Some time ago I was advised that having a Python installation based on
> several sources (pip and Debian's repos in my case) is not a good idea.
> I need to tidy up my installation and I don't know what to opt for and
> what to opt out.
>
On Tue, 12 Dec 2017 05:52:41 -0800, Rick Johnson wrote:
> Rustom Mody wrote:
>> This thread is getting like a mini hologram of our current surreal time
>> If we can put aside who is right and wrong for a moment we see the
>> more frightening spectacle that Repubs and democrats, Remainers and
>>
On Fri, 15 Dec 2017 11:48:20 +1300, Gregory Ewing wrote:
> Rhodri James wrote:
>> Even then there was RiscOS, which divorced file names from file types
>> entirely.
>
> As did classic MacOS.
>
> I believe MacOSX also has the ability to store a file type as metadata,
> but it doesn't seem to be
On Mon, 18 Dec 2017 07:57:27 +1100, Ben Finney wrote:
> Peng Yu writes:
>
>> Hi,
>>
>> I would like to extract "a...@efg.hij.xyz". But it only shows ".hij".
>
> Others have address this question. I'll answer a separate one:
>
>> Does anybody see what is wrong with it?
On Wed, 20 Dec 2017 08:21:02 +1100, Chris Angelico wrote:
> On Wed, Dec 20, 2017 at 7:21 AM, alister via Python-list
> <python-list@python.org> wrote:
>> On Mon, 18 Dec 2017 07:57:27 +1100, Ben Finney wrote:
>>> A more correct match would boil down to:
>>&g
On Sat, 16 Dec 2017 14:41:00 +1200, Marko Rauhamaa wrote:
> r...@zedat.fu-berlin.de (Stefan Ram):
>
>> Varun R writes:
>>>I'm new to programming, can anyone guide me, how to start learning
>>>python programming language
>>
>> As a start, one should learn:
>>
>> 1.)
On Tue, 14 Nov 2017 00:44:18 -0500, Andrew Z wrote:
> Hello,
> i wonder how do i get the "for" and "if" to work against a dictionary
> in
> one line?
>
> basically i want to "squeeze":
> dct= [ 1 : "one", 2:"two", 3:"three"]
> for k, val in dct:
>if k >= 2:
> # do magnificent
On Wed, 06 Dec 2017 10:35:58 +1200, Steve D'Aprano wrote:
> On Tue, 5 Dec 2017 07:58 pm, Lawrence Dâ ÖOliveiro wrote:
>
>> On Tuesday, December 5, 2017 at 3:39:26 AM UTC+13, Rick Johnson wrote:
>>>
>>> Sounds like your OS file associations are all botched-up ...
>>
>> Linux doesnâ Öt do â £OS
On Mon, 11 Jun 2018 21:03:59 +0100, MRAB wrote:
> On 2018-06-11 20:17, Rick Johnson wrote:
>> On Monday, June 11, 2018 at 1:02:15 PM UTC-5, Chris Angelico wrote:
>>
>>> You're trying to argue against my hypothetical statements about game
>>> publishing, and declaring that it's possible to use
On Fri, 15 Jun 2018 09:32:05 -0700, T Berger wrote:
> On Friday, June 15, 2018 at 11:55:59 AM UTC-4, Chris Angelico wrote:
>> Perhaps quantity is not the important thing here.
>
> It is the important thing. I'm stuck with a problem and still waiting
> for replies to my email. I've decided to
On Sat, 16 Jun 2018 12:01:16 -0700, Sharan Basappa wrote:
> Is there a difference between these prints. The first one looks a bit
> complex. So, why should it be used?
>
> my_age = 35 # not a lie
>
> print "my age %s." % my_age print "my age ", my_age
>
> Output:
> %run
On Sat, 16 Jun 2018 14:25:52 -0400, William Ray Wing wrote:
>> On Jun 16, 2018, at 9:10 AM, Steven D'Aprano
>> wrote:
>>
>> On Sat, 16 Jun 2018 11:54:15 +1000, Chris Angelico wrote:
>>
>>> On Sat, Jun 16, 2018 at 11:00 AM, Jim Lee wrote:
>>
I once had a Mustek color scanner that came
On Wed, 13 Jun 2018 14:21:53 +0800, sa...@caprilion.com.tw wrote:
> [Of the first part]
> line 19 is
> action(progress=progress, *args)
> where the args is a tuple
> args = (i, 3)
> and the function is defined as
> def action(id, reps, progress):
>
> In documents 4.7.2. Keyword
On Fri, 15 Jun 2018 08:28:38 -0700, T Berger wrote:
> I'm suspecting that posting to python google groups (this site) gets
> more responses than mailing to the python list. Am I correct? Also,
> contrary to what I read on the python list information sheet, what shows
> up in this forum does not
On Sat, 16 Jun 2018 13:19:04 -0400, Joel Goldstick wrote:
> On Sat, Jun 16, 2018 at 12:38 PM, wrote:
>> Hi everyone,
>>
>> I'm intrigued by the output of the following code, which was totally
>> contrary to my expectations. Can someone tell me what is happening?
>>
> myName = "Kevin"
>
On Mon, 25 Jun 2018 11:42:27 +0100, Mark Lawrence wrote:
> On 25/06/18 10:10, Alister via Python-list wrote:
>> On Mon, 25 Jun 2018 11:36:25 +0400, Abdur-Rahmaan Janhangeer wrote:
>>
>>> i think he means like for a loop to iterate over a list you might do
>>
On Mon, 25 Jun 2018 11:36:25 +0400, Abdur-Rahmaan Janhangeer wrote:
> i think he means like for a loop to iterate over a list you might do
>
> list = [1,2,3]
> for i in range(len(list)):
> print(list[i])
>
>
> but the you might as well go for the simpler :
>
>
> for elem in list:
>
>
On Tue, 19 Jun 2018 16:25:50 -0700, bart4858 wrote:
> Some of that can be done. It may not need specific support.
>
> But my intention is to have an ordinary language for everyday coding not
> one that can only be understood by CS professors.
>
> Mine is unusual in that I can drop features I
On Wed, 25 Apr 2018 14:32:01 -0700, Sayth Renshaw wrote:
> Hi
>
> Hoping for guidance trying to find some advanced articles or guides or
> topics for json parsing.
>
> I can parse and extract json just dandy.
>
> What I am trying to figure out is how I give myself surety that the data
> I
On Mon, 23 Oct 2017 13:40:59 +, Neil Cerutti wrote:
> On 2017-10-23, Chris Angelico <ros...@gmail.com> wrote:
>> On Mon, Oct 23, 2017 at 11:18 PM, alister via Python-list
>><python-list@python.org> wrote:
>>> On Mon, 23 Oct 2017 10:41:55 +0100, Paul Moor
On Mon, 08 Jan 2018 15:55:00 +, user net wrote:
> Abdur-Rahmaan Janhangeer:
>> there is a language called python by guido
>>
>> you can ask your questions here !
>
>
>
> ✨✨ python - a piece of cake ✨✨
>
>
> when u read this post in thunderbird or torBrowser, you see colored
>
On Tue, 30 Jan 2018 07:28:58 +, Steven D'Aprano wrote:
> On Mon, 29 Jan 2018 21:32:11 -0800, Rustom Mody wrote:
>
>> On Sunday, January 28, 2018 at 8:37:11 PM UTC+5:30, Steven D'Aprano
>> wrote:
>>> I'm seeing this annoying practice more and more often. Even for
>>> trivial pieces of text, a
On Thu, 01 Feb 2018 09:01:35 -0800, superchromix wrote:
> Our own programming discussion newsgroup, located at
> comp.lang.idl-pvwave, started receiving spam messages several months
> ago.
>
> Two weeks ago, access to comp.lang.idl-pvwave was blocked by Google
> Groups.
>
> When trying to
On Tue, 30 Jan 2018 21:22:39 +0100, Jugurtha Hadjar wrote:
> On 01/29/2018 03:48 PM, alister via Python-list wrote:
>> On Mon, 29 Jan 2018 15:20:06 +0100, Jugurtha Hadjar wrote:
>>
>>> On 01/28/2018 04:43 PM, Skip Montanaro wrote:
>>>> I've never been a
On Thu, 01 Feb 2018 06:48:03 +1100, Chris Angelico wrote:
> On Thu, Feb 1, 2018 at 6:41 AM, Victor Porton wrote:
>> wxjmfa...@gmail.com wrote:
>>
>>> Le mercredi 31 janvier 2018 20:13:06 UTC+1, Chris Angelico a écrit :
On Thu, Feb 1, 2018 at 5:58 AM, Victor Porton
On Sun, 28 Jan 2018 22:11:12 +, Stefan Ram wrote:
> Tim Delaney writes:
>>These are support people who are employed by the company I'm contracted
>>to.
>>Doesn't matter how often I try to train them otherwise, this type of
>>thing keeps happening.
>
> That
On Mon, 29 Jan 2018 12:17:39 +1300, Gregory Ewing wrote:
> Steven D'Aprano wrote:
>> (The day a programmer posts a WAV file of themselves reading their code
>> out aloud, is the day I turn my modem off and leave the internet
>> forever.)
>
> Shh! Don't give them ideas!
just wait, once they
On Mon, 29 Jan 2018 15:20:06 +0100, Jugurtha Hadjar wrote:
> On 01/28/2018 04:43 PM, Skip Montanaro wrote:
>> I've never been a Windows user, but at my current job, Windows is core
>> to just about everything, so I am forced to use it for a lot of stuff
>> (Outlook, SQL Server, Excel, etc).
>
>
On Tue, 06 Feb 2018 08:55:35 +1100, Chris Angelico wrote:
> On Tue, Feb 6, 2018 at 8:39 AM, Ben Finney
> wrote:
>> Chris Angelico writes:
>>
>>> As one special case, I would accept this sort of code:
>>>
>>> def f():
>>> ...
>>>
>>> (three dots
On Sun, 04 Feb 2018 06:49:57 +1100, Chris Angelico wrote:
> On Sun, Feb 4, 2018 at 6:34 AM, Mark Lawrence
> wrote:
>> On 03/02/18 17:56, Peter J. Holzer wrote:
>>> You seem to confuse the mailing-list and the newsgroup. The
>>> mailing-list doesn't have a spam problem, and
On Sat, 10 Feb 2018 17:12:54 +1200, mm0fmf wrote:
> On 09/02/2018 21:05, codewiz...@gmail.com wrote:
>> On Friday, February 9, 2018 at 2:48:17 PM UTC-5, Chris Green wrote:
>>> codew...@gmail.com wrote:
On Saturday, February 3, 2018 at 7:15:16 PM UTC-5, pyotr filipivich
wrote:
>
On Tue, 13 Feb 2018 13:42:08 +, Rhodri James wrote:
> On 13/02/18 13:11, Stanley Denman wrote:
>> I am trying to performance a regex on a "string" of text that python
>> isinstance is telling me is a dictionary. When I run the code I get
>> the following error:
>>
>> {'/Title': '1F:
On Tue, 13 Feb 2018 12:49:26 +, C W Rose wrote:
> Having run a check for straightforward spam, I now find that there's a
> site editing and reposting non-spam posts. An example of the changed
> headers follows:
>
> Original post headers:
>>
>> From c...@seckford.org Sun Feb 11 23:23:22 2018
On Fri, 23 Feb 2018 03:11:36 -0500, Terry Reedy wrote:
> On 2/22/2018 10:31 PM, Python wrote:
>
>>> Why do you care about the 50 million calls? That's crazy -- the
>>> important thing is *calculating the Fibonacci numbers as efficiently
>>> as possible*.
>
>> If you are writing practical
On Thu, 28 Dec 2017 00:58:48 -0200, Duram wrote:
> How to use goto in python?
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
Dont!
actually you cant - there isn't one*
*at least not in the core language no doubt some sick person will have
manager to hack
On Thu, 28 Dec 2017 18:54:31 -0800, breamoreboy wrote:
> On Thursday, December 28, 2017 at 7:40:14 PM UTC, alister wrote:
>> On Thu, 28 Dec 2017 00:58:48 -0200, Duram wrote:
>>
>> > How to use goto in python?
>> >
>> > ---
>> > This email has been checked for viruses by AVG.
>> >
On Wed, 20 Jun 2018 13:59:40 +, Grant Edwards wrote:
> On 2018-06-20, Alister via Python-list wrote:
>
>> Annotations were invented by the Nazi's on the explicit instruction of
>> Hitler. there, can someone now invoke Godwins law & call this
>> discussion close
On Wed, 20 Jun 2018 03:13:09 +, Steven D'Aprano wrote:
> On Tue, 19 Jun 2018 12:13:40 -0700, Jim Lee wrote:
>
>> On 06/19/2018 04:13 AM, Ed Kellett wrote:
>>> I think we're all--still--missing the larger point that "easy to
>>> remove" is a completely stupid metric for judging language
On Wed, 20 Jun 2018 11:41:23 -0700, bart4858 wrote:
> The actual interpreter code is irrelevant. Switch would be a feature of
> the language being interpreted, not of the interpreter.
>
> If the task is to match an expression X against a variety of values,
> then expressing that as a switch
On Thu, 09 Aug 2018 12:13:07 +0400, Abdur-Rahmaan Janhangeer wrote:
> in short,
>
> can you use python's logo in your own logo without credit?
>
> yours,
>
> Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius
I would expect the answer to that to be a big NO.
I am pretty sure
On Tue, 17 Jul 2018 10:10:49 +0100, Robin Becker wrote:
> A user reported an infinite loop in reportlab. I determined a possible
> cause and fix and would like to test for absence of the loop. Is there
> any way to check for presence/absence of an infinite loop in python? I
> imagine we could do
On Sun, 09 Sep 2018 18:47:49 -0700, Νίκος Βέργος wrote:
> I have 3 wsgi scripts listening on 3 locations. What i'm trying to run
> an wsgi script from within another wsgi script with the following
> statement.
>
> page = 'clientele'
> pdata = requests.get( 'http://superhost.gr/' + page )
> pdata
On Wed, 04 Jul 2018 23:25:14 +, Adrian Taylor wrote:
> G'day All,
>
> I have just discovered Python and thanks to a script by Ethan I can read
> a foxpro database and change the required values.
> However my next big step is to be able to use this python feature within
> a website.
>
>
On Mon, 22 Jan 2018 08:19:51 -0800, codydaviestv wrote:
> On Tuesday, 23 January 2018 02:41:04 UTC+10:30, bream...@gmail.com
> wrote:
>> On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com
>> wrote:
>> > So here's the situation. I am unfamiliar with Python but need it to
>> >
On Mon, 12 Mar 2018 13:43:01 -0500, Yuan Xue wrote:
> test
failed
--
Mollison's Bureaucracy Hypothesis:
If an idea can survive a bureaucratic review and be implemented
it wasn't worth doing.
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 26 Feb 2018 01:40:16 -0800, sotaro237 wrote:
> Define 2 lists. The first one must contain the integer values 1, 2 and 3
> and the second one the string values a, b and c. Iterate through both
> lists to create another list that contains all the combinations of the A
> and B elements. The
On Mon, 19 Mar 2018 19:21:04 -0700, Rick Johnson wrote:
> On Monday, March 19, 2018 at 6:37:21 PM UTC-5, Ben Finney wrote:
>
>> --
>> \ "Success is going from one failure to the next without a loss
>> |
>> `\ of enthusiasm." -- Winston Churchill
>> |
>>
On Tue, 20 Mar 2018 08:52:29 +, Steven D'Aprano wrote:
> On Tue, 20 Mar 2018 02:43:13 -0400, Terry Reedy wrote:
>
>> I think a claim that in all programs all attributes should be set *in*
>> __init__, as opposed to *during* initialization, is wrong. All
>> attribute setting is side-effect
On Mon, 05 Mar 2018 08:37:14 +, Faruq Bashir wrote:
> How will i bypass web application firewall
For what purpose?
is this your firewall?
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 28 Feb 2018 09:53:09 +, Robin Becker wrote:
> I see this has happened to others in the past. I'm using 32 bit python
> 2.7.10 with py2exe 3.3 on windows 7. The exes work fine,
> but when I try to download into windows 10 I'm getting the exes
> immediately removed as malware.
>
> Is
On Wed, 27 Jun 2018 14:30:15 -0700, Rob Gaddi wrote:
> On 06/27/2018 02:14 PM, skybuck2...@hotmail.com wrote:
>> Now I don't like the French much ! LOL.
>>
>> But this time they have invented something which will fill programmers
>> with tears of joy ! =D
>>
>>
On Sun, 30 Sep 2018 11:45:21 +0100, Bart wrote:
> On 30/09/2018 11:14, Chris Green wrote:
>> Chris Angelico wrote:
>>> On Sat, Sep 29, 2018 at 12:21 PM Chris Green wrote:
I have a list created by:-
fld = shlex.split(ln)
It may contain 3, 4 or 5 entries
On Fri, 12 Oct 2018 09:12:03 -0700, Rob Gaddi wrote:
> On 10/11/2018 11:29 PM, Kaan Taze wrote:
>> Hi everyone,
>>
>> Since this is my first post to mail-list I'm kind of hesitant to ask
>> this question here but as many of you spend years working with Python
>> maybe some of you can guide me.
On Fri, 28 Sep 2018 19:00:29 +0100, Chris Green wrote:
> I have a list created by:-
>
> fld = shlex.split(ln)
>
> It may contain 3, 4 or 5 entries according to data read into ln. What's
> the neatest way of setting the fourth and fifth entries to an empty
> string if they don't (yet) exist?
On Wed, 03 Oct 2018 09:43:07 -0700, Musatov wrote:
> On Wednesday, October 3, 2018 at 11:12:43 AM UTC-5, Michael Torrie
> wrote:
>> On 10/03/2018 09:26 AM, Musatov wrote:
>> > I don't even know where to begin! (I'm reading the Dummies book)
>>
>> If you have no experience in computer
On Thu, 04 Oct 2018 09:44:01 +0100, Tony van der Hoff wrote:
> On 04/10/18 09:31, Alister via Python-list wrote:
>> On Wed, 03 Oct 2018 09:43:07 -0700, Musatov wrote:
>>
>>> On Wednesday, October 3, 2018 at 11:12:43 AM UTC-5, Michael Torrie
>>> wrote:
>>&
On Sat, 06 Oct 2018 21:56:09 +0200, Thomas Jollans wrote:
> On 06/10/2018 20:10, eliteanarchyra...@gmail.com wrote:
>> # - THIS LINE IS WHERE I NEED HELP # ( if 2, 3, 4, 6 in list:
>> )
>> print("you can roll again")
>> else:
>> print("you have all 1's and 5's in your result")
On Mon, 08 Oct 2018 12:46:48 -0700, Ethan Furman wrote:
> On 10/08/2018 07:43 AM, Rhodri James wrote:
>
>> I appreciate that the moderators are volunteers, but they have official
>> power on this list. Being volunteers doesn't mean that they can't get
>> it wrong, or that we shouldn't call them
On Tue, 15 Jan 2019 06:13:00 -0800, Gengyang Cai wrote:
> I managed to solve the problem and also another problem with different 3
> random numbers. But it wasn't a very good question in the first place, i
> admit
>
>
Indeed it is a poorly write exercise & I suspect it has been
On Sat, 08 Dec 2018 10:02:41 -0800, Musatov wrote:
> I am thinking about a program where the only user input is win/loss. The
> program let's you know if you have won more than 31% of the time or not.
> Any suggestions about how to approach authoring such a program? Thanks.
To start describe how
On Sun, 25 Nov 2018 07:43:42 -0800, Muhammad Rizwan wrote:
> for each word in each line how can we check to see if a word is already
> present in a list and if it is not how to append that word to a new list
the 1st step is to stay awake in class & listen to your instructor, then
try to apply
On Sun, 25 Nov 2018 08:49:03 -0800, Muhammad Rizwan wrote:
> On Sunday, 25 November 2018 10:59:46 UTC-5, Alister wrote:
>> On Sun, 25 Nov 2018 07:43:42 -0800, Muhammad Rizwan wrote:
>>
>> > for each word in each line how can we check to see if a word is
>> > already present in a list and if it
On Tue, 08 Jan 2019 16:48:58 +0200, Serhiy Storchaka wrote:
> 08.01.19 11:07, Peter Otten пише:
>> Bob van der Poel wrote:
>>
>>> I need to see if all the items in my list are the same. I was using
>>> set()
>>> for this, but that doesn't work if items are themselves lists. So,
>>> assuming that
On Tue, 08 Jan 2019 17:15:17 +, Alister wrote:
> On Tue, 08 Jan 2019 16:48:58 +0200, Serhiy Storchaka wrote:
>
>> 08.01.19 11:07, Peter Otten пише:
>>> Bob van der Poel wrote:
>>>
I need to see if all the items in my list are the same. I was using
set()
for this, but that
On Wed, 12 Sep 2018 06:57:36 -0700, Νίκος Βέργος wrote:
> I want to send the user a file when he clicks the appropriate button and
> I'm suing the following.
>
> # Prepare selected file for download...
> send_file( '/home/nikos/wsgi/static/files/' + filename )
>
> But no matter what
On Sat, 15 Sep 2018 17:08:57 +, Stefan Ram wrote:
> I gave two different functions:
>
> def triangle():
> for i in range( 3 ):
> forward( 99 ); left( 360/3 )
>
> def rectangle()
> for i in range( 4 ):
> forward( 99 ); left( 360/4 )
>
> , and the exercise was to
On Sun, 27 Jan 2019 15:59:42 +0100, ^Bart wrote:
>> You have got to a starting point - you have three numbers. Good.
>>
>> Where do you do go from here?
>>
>> I would start with two of the numbers, and work out which one is
>> higher.
>
> # SOLVED!!!
> number1 = int( input("Insert the first
On Mon, 04 Feb 2019 15:20:58 -0500, Steve wrote:
> I have written my first python program (600 lines!) to help control my
> blood sugar and it has been so successful that my A1c dropped form 9.3
> to an impressive 6.4. It will be much more useful if I had it on my
> phone. (MotoG, Android) The
On Mon, 18 Feb 2019 11:59:18 +, Stefan Ram wrote:
> When one prints a function, one might get something like:
>
>
>
> . The participants of my basic course asked me what the address is
> for. I did not know.
>
> What's so important about the (presumed) address of a function that it
On Thu, 31 Jan 2019 10:18:20 +0100, ^Bart wrote:
> Hello everybody! :)
>
> I got a text and I should replace every space with \n without to use
> str.replace,
Why?
> I thought something like this:
>
> text = "The best day of my life!"
>
> space = (' ')
>
> if text.count(' ') in text:
>
On Wed, 29 May 2019 08:07:06 +0530, Sri Tharun wrote:
> Why I am unable to install packages
because you are doing it wrong
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, 19 May 2019 20:29:35 +1000, Cameron Simpson wrote:
> On 18May2019 13:22, nobelio wrote:
>>When you print the variable “a” it appears as True, but the program is
>>it is not getting in the if a==True:
>
> It may be that "a" is not the Boolean value True but something else. But
> that is
On Tue, 21 May 2019 03:38:43 -0700, Madhavan Bomidi wrote:
> Hi,
>
> I have the following list type data:
>
> [' 29.7963 29.6167 29.4371 29.2574 29.0778 28.8982 28.7185
> 28.5389 28.3593 28.1797 28. 27.8204 27.6408 27.4611
> 27.2815 27.1019 26.9223 26.7426
1 - 100 of 125 matches
Mail list logo