On Tue, 01 Oct 2013 16:42:31 +0300, Νίκος wrote:
> Στις 1/10/2013 4:27 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:
>> On Tue, Oct 1, 2013 at 3:15 PM, Νίκος wrote:
>>> Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε:
On 01/10/2013 10:58, Νίκος wrote:
>
> Just logged in via FTP to m
On Wed, 02 Oct 2013 16:41:40 +0300, Νίκος wrote:
> Στις 2/10/2013 4:25 μμ, ο/η Steven D'Aprano έγραψε:
>> On Wed, 02 Oct 2013 15:20:00 +0300, Νίκος wrote:
>>
>>> Is it possible for someone that knows the MYSQL password of a server
>>> to run arbitrary code on a linux server?
>>
>> Yes, it is possi
On Sun, 13 Oct 2013 14:53:36 -0700, baujacob wrote:
> Hi everyone, I'm trying to create a simple maze program. When the user
> finishes the maze, I want to print in big letters "You Win!" and when
> the user hits a wall, I want the user to go back to the beginning of the
> maze. The problem is "co
On Mon, 14 Oct 2013 13:41:35 +0800, chandan kumar wrote:
>
> Now my question is of there any issue with logging to excel it should
> happen for the first test suite itself,but it occurs in either 2,3,4 or
> 5 test suite. Some it runs without any issues.
Logging to excel is probably a wrong thing
On Mon, 14 Oct 2013 13:13:15 +, Neil Cerutti wrote:
> On 2013-10-14, Sam Fourman Jr. wrote:
>> Who the hell is Nikos? I hear reference to this guy ALL the time, is he
>> a troll or a python god? this simply isn't clear..
>> I have only been on this list a few months.
>
> Check the archives f
On Thu, 24 Oct 2013 09:43:18 +0100, Mark Lawrence wrote:
> On 24/10/2013 09:30, Antoine Pitrou wrote:
>>> gmail.com> writes:
>>>
>>> I am starting to have doubts as to whether Python 3.x will ever be
>> actually adopted by the Python community at
>>> large as their standard.
>>
>> We're planning
On Tue, 29 Oct 2013 05:05:19 -0700, Robert Gonda wrote:
>>
>> >
>> > converting input()'s result to an integer, both of which suggest
>>
>>
if you need to be checking individual digits you are probably best
keeping the input & number to be checked as strings.
it would then be a trivial task
On Tue, 29 Oct 2013 06:03:55 -0700, Robert Gonda wrote:
> On Tuesday, 29 October 2013 12:58:09 UTC, Alister wrote:
>> On Tue, 29 Oct 2013 05:05:19 -0700, Robert Gonda wrote:
>>
>>
>> >>
>>
>> >> >
>> >>
On Tue, 29 Oct 2013 06:10:30 -0700, Robert Gonda wrote:
> On Tuesday, 29 October 2013 13:07:08 UTC, Alister wrote:
>> On Tue, 29 Oct 2013 06:03:55 -0700, Robert Gonda wrote:
>>
>>
>>
>> > On Tuesday, 29 October 2013 12:58:09 UTC, Alister wrote:
>>
On Tue, 29 Oct 2013 07:40:20 -0700, Robert Gonda wrote:
>> >>
>> >> remember that strings are a sequence.
>> >> they can be used as iterators & sliced in the same way as lists &
>>
>> >> tuples.
>> >>
>> >> Let a fool hold his tongue and he will pass for a sage.
>>
>>
>> >>
>> >> --
On Wed, 30 Oct 2013 03:08:11 -0700, jonas.thornvall wrote:
> Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts:
>> jonas.thornv...@gmail.com wrote:
>>
>
> I certainly do not like the old bracket style it was a catastrophe, but
> in honesty the gui editor of python should ha
On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote:
> Op 30-10-13 13:17, Chris Angelico schreef:
>> On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon
>> wrote:
>> I broadly agree with your post (I'm of the school of thought that
>> braces are better than indentation for delimiting blocks), but
On Wed, 30 Oct 2013 07:31:04 -0700, jonas.thornvall wrote:
> Den onsdagen den 30:e oktober 2013 kl. 15:22:50 UTC+1 skrev Alister:
>> On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote:
>>
>>
>>
>> > Op 30-10-13 13:17, Chris Angelico schreef:
>&g
On Wed, 30 Oct 2013 08:35:29 -0700, jonas.thornvall wrote:
> Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark
> Lawrence:
>> On 30/10/2013 14:31, jonas.thornv...@gmail.com wrote:
>>
>>
>>
>> Would you please be kind enough to read, digest and action this
>>
>> https://wiki.pyth
On Wed, 30 Oct 2013 15:56:32 +0100, Antoon Pardon wrote:
> Op 30-10-13 15:22, Alister schreef:
>> On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote:
>>
>>> Op 30-10-13 13:17, Chris Angelico schreef:
>>>> On Wed, Oct 30, 2013 at 11:01 PM, Antoon Pardon
&g
On Wed, 30 Oct 2013 08:57:08 -0700, jonas.thornvall wrote:
> Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark
> Lawrence:
>> On 30/10/2013 15:35, jonas.thornv...@gmail.com wrote:
>>
>> > Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark
>> > Lawrence:
>>
>> >> On 3
On Wed, 30 Oct 2013 16:07:47 +, Alister wrote:
> On Wed, 30 Oct 2013 15:56:32 +0100, Antoon Pardon wrote:
>
>> Op 30-10-13 15:22, Alister schreef:
>>> On Wed, 30 Oct 2013 13:42:37 +0100, Antoon Pardon wrote:
>>>
>>>> Op 30-10-13 13:17, Chris Angel
On Thu, 31 Oct 2013 04:07:14 -0700, rusi wrote:
>
> Also others (Alister?) were double-space-reply-posting as well. When
> you mean to point out a behavior without getting personal, it helps to
> point out all instances of that behavior. Otherwise it looks like you
> are go
On Thu, 31 Oct 2013 08:59:00 -0700, bhaktanishant wrote:
> I want to extract the page-url. for example:
> if i have this code
>
> import urllib2 from bs4 import BeautifulSoup link =
> "http://www.google.com";
> page = urllib2.urlopen(link).read()
> soup = BeautifulSoup(page)
>
> then i can extra
On Wed, 06 Nov 2013 17:25:04 +0200, Νίκος Γκρ33κ wrote:
> Okey let the hacker try again to mess with my database!!!
>
> He is done it twice, lets see if he will make it again!
>
> I'am waiting!
I don't think any cracker (hacker is something different) would need to.
you are doing a more than a
On Thu, 07 Nov 2013 01:31:17 -0800, Ferrous Cranus wrote:
> Τη Πέμπτη, 7 Νοεμβρίου 2013 11:15:02 π.μ. UTC+2, ο χρήστης Steve Simmons
> έγραψε:
>
>> Please tell me you aren't storing details of customers and payments on
>> your Web > server.
>
>
> Oh but i do!
> I need this information to be acc
On Thu, 07 Nov 2013 12:07:06 +1100, Chris Angelico wrote:
> On Thu, Nov 7, 2013 at 11:56 AM, jonny seelye
> wrote:
>> Employee Salaries Use the following test data to test your program.
>> Employee Name Salary John$45,600 Average Salary: $63,
>> 862.50 Sue $55,400 Highes
On Thu, 07 Nov 2013 10:38:40 -0800, Nathaniel Sokoll-Ward wrote:
> Wow! Thanks for all the feedback everyone. This content is fresh so I
> appreciate everyone's comments. As opposed to responding to each post
> individually, I'll just lump everything in here...
>
>
>>
>> My answer: "Defines a fu
On Sun, 10 Nov 2013 01:44:17 +, ishish wrote:
> Am 09.11.2013 15:07, schrieb Steven D'Aprano:
> ...
>> Nikos, you have annoyed and alienated enough people here...
>
> Sorry, I DO NOT AGREE! These threads keep my entire office entertained.
> I would even go so far to suggest, that we should se
On Wed, 25 Feb 2015 23:34:29 +, MRAB wrote:
> On 2015-02-25 22:59, Joel Goldstick wrote:
> > On Wed, Feb 25, 2015 at 4:28 PM, MRAB
> > wrote:
> > > On 2015-02-25 20:45, Mark Lawrence wrote:
> > >>
> > >> http://www.slideshare.net/pydanny/python-worst-practices
> > >>
> > >> Any that sh
On Sat, 28 Feb 2015 01:22:15 +1100, Chris Angelico wrote:
>
> If you're trying to use the pagefile/swapfile as if it's more memory ("I
> have 256MB of memory, but 10GB of swap space, so that's 10GB of
> memory!"), then yes, these performance considerations are huge. But
> suppose you need to run
On Sat, 28 Feb 2015 03:12:16 +1100, Chris Angelico wrote:
> On Sat, Feb 28, 2015 at 3:00 AM, alister
> wrote:
>> I think there is a case for bringing back the overlay file, or at least
>> loading larger programs in sections only loading the routines as they
>> are req
On Fri, 27 Feb 2015 19:14:00 +, MRAB wrote:
>>
> I suppose you could load the basic parts first so that the user can
> start working, and then load the additional features in the background.
>
quite possible
my opinion on this is very fluid
it may work for some applications, it probably would
On Sat, 28 Feb 2015 04:45:04 +1100, Chris Angelico wrote:
> Perhaps, but on the other hand, the skill of squeezing code into less
> memory is being replaced by other skills. We can write code that takes
> the simple/dumb approach, let it use an entire megabyte of memory, and
> not care about the co
On Sun, 01 Mar 2015 18:16:05 +0200, Marko Rauhamaa wrote:
> Steven D'Aprano :
>
>> Marko Rauhamaa wrote:
>>> Learn it like everybody else has to.
>>
>> Stockholm Syndrome :-)
>>
>> "I learned English, and so everyone else should too."
>
> No, the point is that if everybody else has taken the tro
On Mon, 02 Mar 2015 07:26:22 +1100, Chris Angelico wrote:
> On Mon, Mar 2, 2015 at 7:16 AM, alister
> wrote:
>> Last time I was is the USA I had a local ask me which state London was
>> in! (heck I know they only bother with their own history but I though
>> we played qu
On Sun, 01 Mar 2015 20:14:13 -0800, Rustom Mody wrote:
> On Sunday, March 1, 2015 at 10:32:00 PM UTC+5:30, Marko Rauhamaa wrote:
>> Mark Lawrence :
>>
>> > Are you suggesting that we Brits have a single "home accent"? If you
>> > are, you need to stand up as your voice is rather muffled. That b
On Mon, 02 Mar 2015 14:19:45 +0200, Marko Rauhamaa wrote:
> alister :
>
>> or as another analogy why don't you (Marco) try telling a Barber in
>> Seville that he should be speaking Latin Spanish not that strange
>> variation he uses?
>
> If the barber confe
On Tue, 03 Mar 2015 02:51:28 +1100, Chris Angelico wrote:
> On Tue, Mar 3, 2015 at 2:24 AM, Mark Lawrence
> wrote:
>> On 02/03/2015 14:44, Steven D'Aprano wrote:
>>>
>>> Mark Lawrence wrote:
>>>
Give me the Steven D'Aprano solution any day of the week.
>>>
>>>
>>>
>>> Sounds ominous. Is that
On Mon, 02 Mar 2015 08:25:40 -0800, Travis Griggs wrote:
> seems like the very smallest of our worries.
"There is no egg in eggplant"
What the blood heck is eggplant?
oh wait you mean aubergine
this page is clearly about American English.
We are even more obtuse, it stops Johnnie Foreigner kn
On Tue, 03 Mar 2015 03:00:30 -0800, Rustom Mody wrote:
> I dont understand what you are saying.
> Lets say you replace 'conservative' by something more definitively
> pejorative eg fundamentalist, backward etc Now replace 'American
> society' by 'Nazi Germany'
finally we can call Godwins on this
On Fri, 06 Mar 2015 14:23:22 +1100, Ben Finney wrote:
>
> No. I'm saying that it's clear the person saying “get their panties all
> up in a bunch” fully intends to convey specifically *female* underwear,
> and thereby to use implied femininity as an insult.
>
> Yes, of course I know some people
On Fri, 06 Mar 2015 08:31:40 +, Mark Lawrence wrote:
> On 06/03/2015 08:00, Rustom Mody wrote:
>> On Thursday, March 5, 2015 at 10:49:54 AM UTC+5:30, Marko Rauhamaa
>> wrote:
>>> Rustom Mody:
>>>
You keep talking of accent.
At first I thought you were using the word figuratively or e
On Tue, 24 Mar 2015 00:05:46 -0700, jeffreyciross wrote:
> PDF Converter for Mac is a fantastic and easyto-use instrument for
> converting PDF documents on Macos. Macintosh PDF Converter can pdf to
> excel converter to Word, Shine, PowerPoint, EPUB, Text format for Mac.
> With PDF Converter Mac, t
On Wed, 25 Mar 2015 12:49:47 -0700, Tiglath Suriol wrote:
> On Tuesday, March 24, 2015 at 11:04:48 PM UTC-4, Chris Angelico wrote:
>> On Wed, Mar 25, 2015 at 1:47 PM, Tiglath Suriol wrote:
>> > {% block title %}{% endblock %}
>>
>> Looks to me like you're playing around with a templating system
On Wed, 25 Mar 2015 14:22:23 +1100, Chris Angelico wrote:
> On Wed, Mar 25, 2015 at 2:11 PM, Tiglath Suriol
> wrote:
>> # Make this unique, and don't share it with anybody.
>> SECRET_KEY = '42=kv!a-il*!4j&7v+0(@a@vq_3j-+ysatta@l6-h63odj2)75'
>
> This right here is a reason to send your test mess
On Thu, 26 Mar 2015 00:36:49 +, Mark Lawrence wrote:
> On 26/03/2015 00:17, MRAB wrote:
>> On 2015-03-25 22:36, Chris Angelico wrote:
>>> On Thu, Mar 26, 2015 at 6:49 AM, Tiglath Suriol
>>> wrote:
Two possibilities:
You are a moderator. If you are a moderator you are welcome
On Wed, 15 Apr 2015 21:07:45 -0700, Blake McBride wrote:
> Greetings,
>
> I am new to Python. I am sorry for beating what is probably a dead
> horse but I checked the net and couldn't find the answer to my question.
>
> I like a lot of what I've seen in Python, however, after 35 years and
> pro
On Thu, 16 Apr 2015 13:07:22 +0200, Antoon Pardon wrote:
> On 04/16/2015 12:43 PM, Steven D'Aprano wrote:
>> On Thursday 16 April 2015 20:09, Antoon Pardon wrote:
>>
>>> I beg to differ. The most common occurence is a loop with a break
>>> condition in the middle I would prefer such a loop to be w
On Thu, 16 Apr 2015 14:44:15 +0100, BartC wrote:
> On 16/04/2015 14:18, alister wrote:
>> On Thu, 16 Apr 2015 13:07:22 +0200, Antoon Pardon wrote:
>
>>> Nobody is argueing for arbitrary indentation.
>>
>> May I suggest that you give it a try for a month, perhaps
On Thu, 16 Apr 2015 16:09:13 +0200, Antoon Pardon wrote:
> On 04/16/2015 03:18 PM, alister wrote:
>
>
>>> As is argueing against a real position instead of making something up.
>>> Nobody is argueing for arbitrary indentation.
>> May I suggest that you give
On Thu, 16 Apr 2015 08:01:45 -0700, Blake McBride wrote:
> As a side note, I bought a few books on Python from Amazon for use on my
> Kindle. At least one of the books has the formatting for the Kindle
> messed up rendering the meaning of the program useless.
>
> Case in point.
>
> Blake
A poo
On Fri, 17 Apr 2015 11:47:06 +0200, Fetchinson . wrote:
>>> In an altercation with the police, complying with their orders greatly
>>> increases your chances of survival.
>>
>> Ah, the definition of a police state: where ordinary people, whether
>> breaking the law or not, are forced by fear of de
On Sat, 25 Apr 2015 10:48:23 -0700, richmolj wrote:
> Apologies, I'm a rubyist and this is a beginner question but I'm not
> finding a great answer with lots of googling. I am writing a library,
> organized something like this:
>
> awesome_lib/awesome.py awesome_lib/util/__init__.py
> awesome_lib
On Sat, 25 Apr 2015 10:48:23 -0700, richmolj wrote:
> Apologies, I'm a rubyist and this is a beginner question but I'm not
> finding a great answer with lots of googling. I am writing a library,
> organized something like this:
>
> awesome_lib/awesome.py awesome_lib/util/__init__.py
> awesome_lib
On Thu, 30 Apr 2015 20:23:31 +0200, Gisle Vanem wrote:
> Cecil Westerhof wrote:
>
>> If I execute:
>> l = range(int(1E9)
>>
>> The python process gobbles up all the memory and is killed. The problem
>> is that after this my swap is completely used, because other processes
>> have swapped to
On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
> As part of Red Hat's move to Python 3, yum is officially deprecated and
> replaced by dnf:
>
> http://dnf.baseurl.org/2015/05/11/yum-is-dead-long-live-dnf/
>
> Quote:
>
> Yum would not survive the “Python 3 as default” Fedora init
On Mon, 18 May 2015 10:18:49 +, alister wrote:
> On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
>
>> As part of Red Hat's move to Python 3, yum is officially deprecated and
>> replaced by dnf:
>>
>> http://dnf.baseurl.org/2015/05/11
On Mon, 18 May 2015 11:30:57 +0100, Mark Lawrence wrote:
> On 18/05/2015 11:18, alister wrote:
>> On Mon, 18 May 2015 15:21:05 +1000, Steven D'Aprano wrote:
>>
>>> As part of Red Hat's move to Python 3, yum is officially deprecated
>>> and replaced by
On Mon, 18 May 2015 15:08:07 +0300, Mihamina Rakotomandimby wrote:
> On 05/18/2015 01:28 PM, alister wrote:
>> Which may be fitting it just waisted 10 min downloading everything
>> before discovering I did not have permission (forgot to sudo)
>
> I think if you resume the tr
On Wed, 20 May 2015 00:54:40 -0700, Howard Spink wrote:
> Thanks for your help. I want the python to run automatically after boot
> and show a blank white screen, when a combination of GP10 inputs are
> HIGH python displays one of 150 JPEGS. Is this possible? what sort of
> boot times can I get wi
On Fri, 29 May 2015 13:48:55 +1000, Chris Angelico wrote:
> On Fri, May 29, 2015 at 1:20 PM, wrote:
>> The possibility of spelling these with the comparison operators, as
>> some have suggested, is a consequence of Python's implementation where
>> True == 1 and False == 0. In other languages boo
On Mon, 01 Jun 2015 11:06:33 +0300, Jussi Piitulainen wrote:
> Larry Hudson writes:
>
>> On 05/31/2015 05:42 AM, Cecil Westerhof wrote:
>>> I help someone that has problems reading. For this I take photo's of
>>> text, use convert from ImageMagick to make a good contrast (original
>>> paper is gr
On Mon, 01 Jun 2015 17:07:18 +0200, Laura Creighton wrote:
> In a message of Mon, 01 Jun 2015 14:57:02 +0300, Marko Rauhamaa writes:
>>In 1951, decimal numbers would have done little good in the UK with the
>>pound divided into 20 shillings and the shilling into 12 pence. Maybe a
>>"Babylonian" mo
On Wed, 03 Jun 2015 10:41:44 +0300, Marko Rauhamaa wrote:
> Alain Ketterlin :
>
>> Marko Rauhamaa writes:
>>> Maybe close() will fail for ever.
>>
>> Your program has to deal with this, something is going wrong, it can't
>> just close and go on.
>
> Here's the deal: the child process is saddled
On Wed, 03 Jun 2015 22:07:47 +1000, Steven D'Aprano wrote:
> On Wed, 3 Jun 2015 07:38 pm, alister wrote:
>
>> On Wed, 03 Jun 2015 10:41:44 +0300, Marko Rauhamaa wrote:
> [...]
>>> Here's the deal: the child process is saddled with file descriptors it
>>>
On Wed, 03 Jun 2015 15:27:19 +0300, Marko Rauhamaa wrote:
> alister :
>
>> from the scenario Marco is reporting I get the impression that he is
>> having to interact with a system that is fundamentally flawed from the
>> ground up.
>
> Well, yes. It's called
On Thu, 04 Jun 2015 16:15:20 -0700, stephenppraneel7 wrote:
> hey, i really need help, im a straight up beginner in scripting and i
> need to figure out how to make an inverted particle emitter using python
> in maya
Some very goo pointers from the Python team
https://www.youtube.com/watch?v=tNf
On Fri, 12 Jun 2015 23:32:31 +0200, Thomas 'PointedEars' Lahn wrote:
> Ian Kelly wrote:
>
>> The probability of 123456789 and 1 are equal. The probability
>> of a sequence containing all nine numbers and a sequence containing
>> only 1s are *not* equal.
>
> There is a contradiction in th
On Fri, 12 Jun 2015 19:47:18 -0600, Michael Torrie wrote:
> On 06/12/2015 04:20 PM, Seymore4Head wrote:
>> Is there a program what runs on Windows that uses a national blacklist
>> to block phone calls?
>
> I'm sure you could install and use the Asterisk PBX software, and I bet
> people have made
On Sat, 13 Jun 2015 08:53:35 -0600, Michael Torrie wrote:
> On 06/13/2015 08:42 AM, alister wrote:
>> On Fri, 12 Jun 2015 19:47:18 -0600, Michael Torrie wrote:
>>
>>> On 06/12/2015 04:20 PM, Seymore4Head wrote:
>>>> Is there a program what runs on Windows th
On Tue, 30 Jun 2015 23:25:01 +, Jon Ribbens wrote:
> On 2015-06-30, Steven D'Aprano wrote:
>> I don't think there has been much research into keeping at least *some*
>> security even when keys have been compromised, apart from as it relates
>> to two-factor authentication.
>
> That's because
On 01/07/15 13:00, M.-A. Lemburg wrote:
We are pleased to introduce our next keynote speaker for EuroPython
2015: *Carrie Anne Philbin*. She will be giving her keynote on Thursday,
July 23, to start the EuroPython Educational Summit:
*** https://ep2015.europython.eu/en/events/educational-summi
On Wed, 22 Jul 2015 09:12:59 +0200, Laura Creighton wrote:
> The biggest use I have for decimal numbers that begin with 0 is in
> credit card numbers, account numbers and the like where the first check
> you do is 'does this thing have the correct number of digits'.
> So far, all the examples I've
On Wed, 22 Jul 2015 20:11:47 -0600, Michael Torrie wrote:
> On 07/22/2015 07:51 AM, Grant Edwards wrote:
>> On 2015-07-22, Ben Finney wrote:
>>> Laura Creighton writes:
>>>
The biggest use I have for decimal numbers that begin with 0 is in
credit card numbers, account numbers and the l
On Sun, 26 Jul 2015 01:50:21 -0700, Rustom Mody wrote:
> On Sunday, July 26, 2015 at 2:06:00 PM UTC+5:30, Marko Rauhamaa wrote:
>> Rustom Mody :
>>
>> > Emacs 'tries to be everything' in exactly the same way that a
>> > 'general purpose programming language' is too general and by
>> > pretending
On Wed, 29 Jul 2015 11:27:48 -0700, Martin Spasov wrote:
> Hello,
>
> i have been learning python for the past year and i did a few projects.
> Now i want to step up my game a bit and i want to build a real estate
> app . Its not going to be commercially released, its just for learning.
> My idea
On Sun, 09 Aug 2015 10:55:36 -0700, rogerh906 wrote:
> On Sunday, August 9, 2015 at 8:11:18 AM UTC-6, roge...@gmail.com wrote:
>> Just learning Python and have a question.
>>
>> Is it possible for Python to pass information to another program (in
>> Windows), wait for that program to finish and t
On Thu, 20 Aug 2015 16:45:53 +0100, MRAB wrote:
> On 2015-08-20 16:12, John McKenzie wrote:
>>
>> Thanks for the reply. Also, thanks to Laura who replied via email.
>>
>> Tried a bunch of things based off these comments and I always ended
>> up
>> with one of two situations, the channel conf
On Tue, 08 Sep 2015 17:44:26 -0500, Nassim Gannoun wrote:
> Hi I'm also new to Python but would like to reply.
> Like others have stated there is a built in function (sum) that can give
> the sum of the elements of a list, but if what you are trying to do is
> learn how to use the while command he
On Thu, 10 Sep 2015 12:11:55 -0700, wxjmfauth wrote:
s = """1, 2, 3, 4
> ... #keyword1 ... 3, 4, 5, 6 ... 2, 3, 4, 5 ... #keyword2 ... 4, 5, 6
> ,7"""
s[s.find('keyword1') + len('keyword1'):s.find('keyword2') - 1]
> '\n3, 4, 5, 6\n2, 3, 4, 5\n'
#or s[s.find('keyword1') + len('keywor
On Fri, 11 Sep 2015 01:59:27 +1000, Steven D'Aprano wrote:
>
> Although, I'm not sure that I agree with the idea that "everything is an
> expression". I think that's a category mistake, like asking for the
> speed of dark[1], or for a bucket of cold. Some things are functional by
> nature, and oth
On Thu, 17 Sep 2015 11:28:04 +0200, pozz wrote:
> I'm trying to create a simple program in Python that opens N serial
> ports (through pyserial) and forward every byte received on one of those
> ports to the other ports.
>
> At startup I open the ports and create and start a thread to manage the
On Thu, 17 Sep 2015 10:56:07 +0100, Mark Lawrence wrote:
> On 17/09/2015 02:33, Steven D'Aprano wrote:
>> On Thu, 17 Sep 2015 10:06 am, Mark Lawrence wrote:
>>
>>> On 16/09/2015 23:15, Sven R. Kunze wrote:
On 16.09.2015 23:30, Mark Lawrence wrote:
> Barry John art is also art. So, why do
On Thu, 17 Sep 2015 22:38:32 -0700, Jondy Zhao wrote:
> On Friday, September 18, 2015 at 1:02:09 PM UTC+8, Chris Angelico wrote:
>> On Fri, Sep 18, 2015 at 12:40 PM, Jondy Zhao
>> wrote:
>> > The loader only can see the compiled scripts as ast nodes, even if
>> > the load some tools could dump th
On Fri, 18 Sep 2015 01:31:50 -0700, Jondy Zhao wrote:
> On Friday, September 18, 2015 at 4:08:57 PM UTC+8, alister wrote:
>> On Thu, 17 Sep 2015 22:38:32 -0700, Jondy Zhao wrote:
>>
>> > On Friday, September 18, 2015 at 1:02:09 PM UTC+8, Chris Angelico
>> > wro
On Mon, 21 Sep 2015 12:51:09 -0700, tropical.dude.net wrote:
> On Monday, September 21, 2015 at 9:47:33 PM UTC+2, tropical...@gmail.com
> wrote:
>> On Monday, September 21, 2015 at 9:41:29 PM UTC+2, John Gordon wrote:
>> > In <44e870a7-9567-40ba-8a65-d6b52a8c5...@googlegroups.com>
>> > tropical.du
On Wed, 23 Sep 2015 00:56:19 +0100, MRAB wrote:
> On 2015-09-23 00:32, Mark Lawrence wrote:
>> On 22/09/2015 19:43, Python_Teacher via Python-list wrote:
>>> you have 10 minutes😂 Good luck!!
>>>
>>>
>>> 1. What is PEP8 ?
>>
>> It's the one between PEP7 and PEP9.
>>
>>
>>> 2. What are the different
On Thu, 24 Sep 2015 11:45:06 -0700, codywcox wrote:
> I seem to be having a problem understanding how arguments and parameters
> work, Most likely why my code will not run.
> Can anyone elaborate on what I am doing wrong?
>
> '''
> Cody Cox 9/16/2015 Programming Exercise 1 - Kilometer Converter D
On Tue, 29 Sep 2015 02:27:23 -0700, plewto wrote:
> I have a perplexing problem with Python 3 class variables. I wish to
> generate an unique ID each time an instance of GameClass is created.
> There are two versions of the __gen_id method with test run results for
> each listed below the code.
>
On Tue, 29 Sep 2015 18:44:33 -0500, Tim Chase wrote:
> On 2015-09-29 21:32, Mark Lawrence wrote:
>> On 29/09/2015 17:48, Rob Gaddi wrote:
>> >> Is there any similar elegant way to check if a value is out of
>> >> certain range?
>> >> Example - To check if x is either less than zero or greater than
On Wed, 30 Sep 2015 21:06:02 +0300, Marko Rauhamaa wrote:
> Grant Edwards :
>
>> not (0 <= x <= 10) (I)
>> [...]
>>(x < 0) or (x > 10) (II)
>> [...]
>> IMO, (I) is _more_ readable than (II)
>
> IMO, they're equally readable (except that you should drop the redundant
> parenth
On Wed, 30 Sep 2015 14:46:48 -0600, Ian Kelly wrote:
> On Wed, Sep 30, 2015 at 2:19 PM, alister
> wrote:
>> On Wed, 30 Sep 2015 21:06:02 +0300, Marko Rauhamaa wrote:
>>
>>> Grant Edwards :
>>>
>>>> not (0 <= x <= 10)
On Thu, 01 Oct 2015 18:37:50 +1000, Chris Angelico wrote:
> On Thu, Oct 1, 2015 at 6:33 PM, alister
> wrote:
>> The recommended phase is Stay calm
>>
>> Stay: ok dont change anything, whats next
>> Calm ok I am calm that's alright then
>
>
On Wed, 07 Oct 2015 10:38:37 +0100, cl wrote:
> I know questions similar to this are often asked but my reasons for
> wanting to do this (and thus ways it can be done) are slightly
> different.
>
> I have a number of little utility scripts (python and others) which I
> use to automate the process
On Thu, 08 Oct 2015 08:44:43 -0600, Ian Kelly wrote:
> On Wed, Oct 7, 2015 at 6:01 PM, Dennis Lee Bieber
> wrote:
>> On Wed, 7 Oct 2015 13:05:07 + (UTC), alister
>> declaimed the following:
>>
>>
>>>With a simple Cesar the method is "shift the al
On Thu, 08 Oct 2015 13:01:24 -0400, Jay Brown wrote:
> Dear Python:
>
> I have been trying to install Python on my Windows computer. I tried
> both Python 2.7 and 3.5. No luck with either one. If I try to run Python
> I get a message asking me if I want to repair Python. The program never
> runs.
On Fri, 09 Oct 2015 01:21:37 -0700, gall.pavgal.gall wrote:
> Thanks Laura!
> But i need to change existing excel file and if i use the optimised
> reader, i can read data only, but i can't change data.
I know it does not help but if you have this amount of data being stored
in a spreadsheet you
On Mon, 02 Nov 2015 20:49:03 -0700, Michael Torrie wrote:
> On 10/25/2015 06:17 PM, Montana Burr wrote:
>> I'm looking for a library that will allow Python to listen for the
>> shriek of a smoke alarm. Once it detects this shriek, it is to notify
>> someone. Ideally, specificity can be adjusted fo
On Sun, 01 Nov 2015 08:24:22 -0800, rurpy wrote:
> On Sunday, November 1, 2015 at 8:52:55 AM UTC-7, Chris Angelico wrote:
>> On Mon, Nov 2, 2015 at 2:43 AM, rurpy--- via Python-list
>> wrote:
>> > Why, oh why, do the python.org front page and other pages that offer
>> > a Windows download not say
On Tue, 03 Nov 2015 09:03:14 -0500, Dennis Lee Bieber wrote:
> On Tue, 3 Nov 2015 08:50:34 + (UTC), alister
> declaimed the following:
>
>>Personally I would forget trying to analyse sound & see if there is any
>>way to get an input signal direct from the alarm (e
On Thu, 05 Jun 2014 00:06:54 -0700, wxjmfauth wrote:
> Le mercredi 4 juin 2014 16:50:59 UTC+2, Michael Torrie a écrit :
>> On 06/04/2014 12:50 AM, wxjmfa...@gmail.com wrote:
>>
>> > Like many, you are not understanding unicode because
>>
>> > you do not understand the coding of characters.
>>
>
On Thu, 05 Jun 2014 18:15:31 +0100, Mark Lawrence wrote:
>>>
>> The problem is that thing look fine in google groups. What helps is
>> getting to see what the mess looks like from Thunderbird or equivalent.
>>
>>
> Wrong. 99.99% of people when asked politely take action so there is no
> problem.
On Mon, 09 Jun 2014 21:54:25 +0100, Carlos Anselmo Dias wrote:
> Hi ...
>
> I'm finishing my messages with this ...
>
> The first time I looked into Python was +- 10 years ago ... and in the
> last 10 years I did not spent more than 30 minutes looking at ... but I
> like it ... it's easy to read
On Mon, 09 Jun 2014 14:24:07 +0200, Michael Welle wrote:
> Hello,
>
> Sturla Molden writes:
>
>> Michael Welle wrote:
>>
>>> I thought about equipping the Fortran application with sockets, so
>>> that I can send input data and commands (which is now done via cmd
>>> line) and reading output da
401 - 500 of 770 matches
Mail list logo