writing this especially to thank you hey XD pydroid3 suports qt5 and
matplotlib o_0 numpy and sci-kit really, what an amazing discovery !!!
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
On 18 Feb 2018 13:59, "Chris Angelico" wrote:
> Does anyone have experience with running Python
On Wed, Feb 21, 2018 at 4:44 PM, Abdur-Rahmaan Janhangeer
wrote:
> here is a kivy launcher tutorial i once wrote :
> https://wp.me/p7UB6x-kB
>
Thanks. I'm currently a dozen or so tabs deep into learning Kivy, and
am just starting to get to looking into launchers.
ChrisA
--
https://mail.python.o
here is a kivy launcher tutorial i once wrote :
https://wp.me/p7UB6x-kB
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
On 18 Feb 2018 13:59, "Chris Angelico" wrote:
Does anyone have experience with running Python scripts on Android
phones? I have a brother (honestly! I'm not actuall
On 2/20/2018 7:59 PM, Ben Bacarisse wrote:
Lawrence D’Oliveiro writes:
On Wednesday, February 21, 2018 at 3:10:25 AM UTC+13, Ben Bacarisse wrote:
You almost never /have/ to use nested loops. Has the course got this
far without introducing the idea of a function?
If you are using a function
On 2/20/2018 8:38 AM, Antoon Pardon wrote:
People praise the dynamic nature of Python here on this list and then
often enough seem to recoil when they see a piece of code really using
that dynamism.
Dynamic typing is the addition of run-time type information (RTTI) to
data values. This allow
On Wed, Feb 21, 2018 at 6:39 AM, Geldenhuys, J, Prof
wrote:
> I think your case illustrates the Python/Mathematica issue well: you found a
> job for which Mathematica was not the perfect tool and you used Python. At
> the end of the day, both M & P have their place. For example, we probably
Hi Marcel,
I have read through the article and it seems to me that all of the problems
described boil down to one important point: use the right tool for the right
job. Python is probably not the best language for developing large, complex
systems (although there are such systems). Most (or a
On Wed, Feb 21, 2018 at 9:01 AM, Rick Johnson
wrote:
> On Tuesday, February 20, 2018 at 2:51:56 PM UTC-6, Chris Angelico wrote:
> [...]
>> Nope. Even if you need the age many times per second, it's still
>> better to store the date of birth, because you eliminate boundary
>> conditions and duplica
On Tue, 20 Feb 2018 10:17:12 -0700, Ian Kelly wrote:
> On Tue, Feb 20, 2018 at 8:38 AM, Steven D'Aprano
> wrote:
>> On Tue, 20 Feb 2018 15:23:44 +0100, Antoon Pardon wrote:
>>
Okay. Now create a constraint on a name in C++ such that it can only
accept integers representing A.D. years wh
Lawrence D’Oliveiro writes:
> On Wednesday, February 21, 2018 at 3:10:25 AM UTC+13, Ben Bacarisse wrote:
>> You almost never /have/ to use nested loops. Has the course got this
>> far without introducing the idea of a function?
>
> If you are using a function to avoid a nested loop, perhaps that
On Tue, 20 Feb 2018 12:42:23 -0800, Rick Johnson wrote:
> For instance, if the age is queried many times a second, it would be a
> much wiser design to set-up an event that will advance the age at the
> end of the last second of every year
Do you really mean to say that everybody in the world has
On Wed, 21 Feb 2018 00:11:24 +0100
Johannes Findeisen wrote:
> On Tue, 20 Feb 2018 23:12:23 +1100
> Chris Angelico wrote:
>
> > On Mon, Feb 19, 2018 at 3:57 AM, Johannes Findeisen
> > wrote:
> > > On Sun, 18 Feb 2018 20:57:02 +1100
> > > Chris Angelico wrote:
> > >
> > >> Does anyone have
On Tue, 20 Feb 2018 14:41:42 -0800, Maroso Marco wrote:
> My program seems to have a problem and i don't understand which! Firstly
> it worked and now just went to run it again and it doesnt.
[...]
> Can someone please tell me how to transform it in a service to run on
> Windows?
There is absolut
On Tue, 20 Feb 2018 22:19:13 +0100, Christian Gollwitzer wrote:
[...]
> LeapYearCheck could be implemented using template metaprogramming
> (quite horrible) or the new funky constexpr feature in C++11/C++14 (less
> horrible).
Thanks Christian. That's certainly interesting, I don't know much about
On Tue, 20 Feb 2018 17:11:05 +, Wild, Marcel, Prof
wrote:
> I scarcely know Python, and I have no intention delving into it further.
> I was forced to use Python because it features binary decision
> diagrams, which MATHEMATICA doesn't. Coming from Mathematica the
> account of Nathan Murph
On Tue, 20 Feb 2018 23:12:23 +1100
Chris Angelico wrote:
> On Mon, Feb 19, 2018 at 3:57 AM, Johannes Findeisen wrote:
> > On Sun, 18 Feb 2018 20:57:02 +1100
> > Chris Angelico wrote:
> >
> >> Does anyone have experience with running Python scripts on Android
> >> phones? I have a brother (hones
Il giorno martedì 20 febbraio 2018 23:42:27 UTC+1, Maroso Marco ha scritto:
> Hi everyone, i need this program to run as a service.
>
> This program basically check an email account (gmail) and looks if there is
> mail from a specific email account, then reads the subject line and splits
> the te
Hi everyone, i need this program to run as a service.
This program basically check an email account (gmail) and looks if there is
mail from a specific email account, then reads the subject line and splits the
text found assigning the left part (before the ; ) to the password, and the
right part
On Tuesday, February 20, 2018 at 2:51:56 PM UTC-6, Chris Angelico wrote:
[...]
> Nope. Even if you need the age many times per second, it's still
> better to store the date of birth, because you eliminate boundary
> conditions and duplicated data.
You failed to provide any examples proving this as
Am 20.02.18 um 14:58 schrieb Chris Angelico:
Okay. Now create a constraint on a name in C++ such that it can only
accept integers representing A.D. years which, on the Gregorian
calendar, are leap years. (Using a dedicated integer-like type is
permitted.) It must accept all multiples of four, exc
On 2018-02-20 20:20, Jason Friedman wrote:
statistics.mode() currently raises an exception if there is more than one
mode.
I am an infrequent user of this package and this function. My two cents:
* Leave the current behavior as-is.
* Continue to throw an exception for no data.
* Add an argume
On Wed, Feb 21, 2018 at 7:42 AM, Rick Johnson
wrote:
> On Tuesday, February 20, 2018 at 2:18:31 PM UTC-6, MRAB wrote:
>
>> The point he was making is that if you store a person's age, you'd have
>> to update it every year. It's far better to store the date of birth and
>> calculate the age on dema
On 20/02/2018 20:17, MRAB wrote:
On 2018-02-20 19:17, bartc wrote:
On 20/02/2018 19:04, Dennis Lee Bieber wrote:
On Tue, 20 Feb 2018 17:11:05 +, "Wild, Marcel, Prof
"
declaimed the following:
So the special type of the values 65..90 might not allow the type be
multiplied or divided, o
On Tuesday, February 20, 2018 at 2:18:31 PM UTC-6, MRAB wrote:
> The point he was making is that if you store a person's age, you'd have
> to update it every year. It's far better to store the date of birth and
> calculate the age on demand.
*AHEM*
At the risk of being labeled a "quibbler" (wh
> statistics.mode() currently raises an exception if there is more than one
> mode.
>
I am an infrequent user of this package and this function. My two cents:
* Leave the current behavior as-is.
* Continue to throw an exception for no data.
* Add an argument, named perhaps mutli=False, that if se
On 2018-02-20 19:17, bartc wrote:
On 20/02/2018 19:04, Dennis Lee Bieber wrote:
On Tue, 20 Feb 2018 17:11:05 +, "Wild, Marcel, Prof "
declaimed the following:
So the special type of the values 65..90 might not allow the type be multiplied
or divided, or added to itself. Because they rep
On 20/02/2018 19:35, Lawrence D’Oliveiro wrote:
On Wednesday, February 21, 2018 at 1:43:41 AM UTC+13, bartc wrote:
In Pascal (and presumably Ada) then all the
gubbins need to make this work properly:
var x: 1..10;
x = 10;
x = x + 1; { error? }
Error on both statements. Pascal d
On 2018-02-20, Rhodri James wrote:
> The schism is not as wide as you are implying. Aside from "print"
> becoming a function, which is blindingly obvious whenever you trip over
> it, there is relatively little reason why an ordinary Pythonista would
> care whether he or she was running Python
On 20/02/2018 19:04, Dennis Lee Bieber wrote:
On Tue, 20 Feb 2018 17:11:05 +, "Wild, Marcel, Prof "
declaimed the following:
So the special type of the values 65..90 might not allow the type be multiplied
or divided, or added to itself. Because they represent characters A..Z. Or
house n
"Wild, Marcel, Prof " writes:
> I scarcely know Python, and I have no intention delving into it
> further.
That's fine. This is a forum for those who do have an ongoing interest
in Python. I think your needs would be better served elsewhere.
--
\ “Prediction is very difficult, espec
On 20/02/18 17:11, Wild, Marcel, Prof wrote:
I scarcely know Python, and I have no intention delving into it further.
I was forced to use Python because it features binary decision diagrams,
which MATHEMATICA doesn't. Coming from Mathematica the account of Nathan Murphy
reads like a nightmar
> On Feb 20, 2018, at 8:58 AM, Chris Angelico wrote:
>
>> On Wed, Feb 21, 2018 at 12:53 AM, Antoon Pardon wrote:
>> In C++ I can do something like:
>>
>> SomeClass MyVar;
>>
>> And after that the kind of possible assignments to MyVar are constraint. It
>> makes the runtime throw an error wh
On Tuesday, February 20, 2018 at 9:40:37 AM UTC-6, Steven D'Aprano wrote:
[...]
> Yes you did: you refused to meet the challenge, stating (and I quote):
I'm always entertained by Steven's so-called "challenges". You see, Steven is
addicted to winning, and he'll do anything to win a debate, even co
I scarcely know Python, and I have no intention delving into it further.
I was forced to use Python because it features binary decision diagrams, which
MATHEMATICA doesn't. Coming from Mathematica the account of Nathan Murphy reads
like a nightmare.
The one point that stroke me the most was the
On Tue, Feb 20, 2018 at 8:38 AM, Steven D'Aprano
wrote:
> On Tue, 20 Feb 2018 15:23:44 +0100, Antoon Pardon wrote:
>
>>> Okay. Now create a constraint on a name in C++ such that it can only
>>> accept integers representing A.D. years which, on the Gregorian
>>> calendar, are leap years. (Using a d
statistics.mode() currently raises an exception if there is more than one
mode.
Is anyone using this function in production? Or not using it because it
doesn't do what you want, as the case may be?
--
Steve
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 20 Feb 2018 14:12:08 +0100, Anders Wegge Keller wrote:
> På Tue, 20 Feb 2018 12:28:25 + (UTC) Steven D'Aprano
> skrev:
>> On Mon, 19 Feb 2018 16:34:29 +0100, Anders Wegge Keller wrote:
>>
>> > På Mon, 19 Feb 2018 15:15:19 + (UTC) Steven D'Aprano
>> > skrev:
>> >> On Mon, 19 Feb
On 18/02/18 06:57, Chris Angelico wrote:
Does anyone have experience with running Python scripts on Android
phones? I have a brother (honestly! I'm not actually using a phone
myself!) who's trying to run one of my scripts in QPython, which
claims to be version 3.2.2. I think that really truly is
On 20/02/18 11:50, Paul Rubin wrote:
Chris Angelico writes:
probably means I'm going to have to learn Kivy
Is SL4A still around? Maybe it's an alternative.
QPython 2 & 3, both have samples that use SL4A.
--
Cholo Lennon
Bs.As.
ARG
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 20 Feb 2018 15:23:44 +0100, Antoon Pardon wrote:
>> Okay. Now create a constraint on a name in C++ such that it can only
>> accept integers representing A.D. years which, on the Gregorian
>> calendar, are leap years. (Using a dedicated integer-like type is
>> permitted.) It must accept all
Hello
I don't know why but my answer got lost somehow, so I'm sending it once
more, hopefully with better luck.
W dniu 2018-02-19 o 11:02, Thomas Jollans pisze:
On 2018-02-18 14:39, A.Brozi wrote:
Hello
In new "scipy" (1.0.0) I've found procedure "solve_ivp", which makes it
possible to use
On Sat, 17 Feb 2018 21:27:52 +0100, Cecil Westerhof wrote:
[...]
>> Okay. What happens when you try?
>
> Then the tweet is posted as a reply on the the first tweet.
>
> (So problem solved.)
Ah, sorry, I did not understand your second post. I thought you were
posting it as an update to the pro
On 20-02-18 14:58, Chris Angelico wrote:
> On Wed, Feb 21, 2018 at 12:53 AM, Antoon Pardon wrote:
>> In C++ I can do something like:
>>
>> SomeClass MyVar;
>>
>> And after that the kind of possible assignments to MyVar are constraint. It
>> makes the runtime throw an error when somewhere the pro
Marc Cohen writes:
> USING PYTHON 2:
Why is that?
> Write a program to play this game. This may seem tricky, so break it
> down into parts. Like many programs, we have to use nested loops (one
> loop inside another). In the outermost loop, we want to keep playing
> until we are out of stones.
On 20-02-18 15:04, Paul Moore wrote:
> On 20 February 2018 at 13:53, Antoon Pardon wrote:
>
>> You can't put such constraints on names in Python.
> I know. That's what *I* said some time ago.
So why did you bother complaining to me when I wrote it?
--
https://mail.python.org/mailman/listinfo/p
On 20-02-18 14:55, Chris Angelico wrote:
> On Wed, Feb 21, 2018 at 12:38 AM, Antoon Pardon wrote:
>> Why should this be done at compile time? I say a static language can do
>> the same as a dynamic language and your counter point is to ask for how
>> that static language can do something extra.
>>
On 20/02/2018 13:38, Antoon Pardon wrote:
People praise the dynamic nature of Python here on this list and then
often enough seem to recoil when they see a piece of code really using
that dynamism.
Maybe everyone has their own ideas of how dynamic a language should be.
(I use another languag
On 20 February 2018 at 13:53, Antoon Pardon wrote:
> You can't put such constraints on names in Python.
I know. That's what *I* said some time ago.
>> Sigh. Languages are different. That's my point.
>
> So, if languages are different, why the difficulty in accepting one can
> do something the o
On Wed, Feb 21, 2018 at 12:53 AM, Antoon Pardon wrote:
> In C++ I can do something like:
>
> SomeClass MyVar;
>
> And after that the kind of possible assignments to MyVar are constraint. It
> makes the runtime throw an error when somewhere the program tries to assign
> something to MyVar that is
On Wed, Feb 21, 2018 at 12:38 AM, Antoon Pardon wrote:
> Why should this be done at compile time? I say a static language can do
> the same as a dynamic language and your counter point is to ask for how
> that static language can do something extra.
>
> The point I am making is that you claim dyna
I'm not proficient with C++, but IIUC, you could make a class in C++ and
have the constructor and
copy operator check for these kind of things. True it would be run-time
checks but that would
already be more than Python can give.
>>> That (run-time checks) is exactly the sa
On 20-02-18 13:24, Steven D'Aprano wrote:
> On Tue, 20 Feb 2018 12:18:47 +0100, Antoon Pardon wrote:
>
>> On 19-02-18 15:25, Steven D'Aprano wrote:
Ones like C++ has already tied itself itself up in knots just doing
the basics; I'm not sure how it would handle even my 1,3,5,7,9 type.
On 20 February 2018 at 13:04, Antoon Pardon wrote:
> On 20-02-18 13:11, Paul Moore wrote:
>> On 20 February 2018 at 11:18, Antoon Pardon wrote:
>>> Personnally I would prefer the type system of Pascal and Modula2 with
>>> their interval type
>>> above a Digit class in python. For the simple reaso
På Tue, 20 Feb 2018 12:28:25 + (UTC)
Steven D'Aprano skrev:
> On Mon, 19 Feb 2018 16:34:29 +0100, Anders Wegge Keller wrote:
>
> > På Mon, 19 Feb 2018 15:15:19 + (UTC) Steven D'Aprano
> > skrev:
> >> On Mon, 19 Feb 2018 14:06:36 +0100, Anders Wegge Keller wrote:
> >>
> [...]
> >>
On 20-02-18 13:11, Paul Moore wrote:
> On 20 February 2018 at 11:18, Antoon Pardon wrote:
>> Personnally I would prefer the type system of Pascal and Modula2 with
>> their interval type
>> above a Digit class in python. For the simple reason that once you had
>> declared a variable
>> like this:
>
On 20/02/2018 12:11, Paul Moore wrote:
On 20 February 2018 at 11:18, Antoon Pardon wrote:
There is no such possibility in Python. You can off course start with x
= Digit(5), but the language
won't stop you from doing x = 11 later.
I'm not proficient with C++, but IIUC, you could make a cla
On Mon, 19 Feb 2018 16:34:29 +0100, Anders Wegge Keller wrote:
> På Mon, 19 Feb 2018 15:15:19 + (UTC) Steven D'Aprano
> skrev:
>> On Mon, 19 Feb 2018 14:06:36 +0100, Anders Wegge Keller wrote:
>>
>> > Array is not even close to providing a strongly typed container.
>>
>> That's a mighty pow
On Tue, 20 Feb 2018 12:18:47 +0100, Antoon Pardon wrote:
> On 19-02-18 15:25, Steven D'Aprano wrote:
>>
>>> Ones like C++ has already tied itself itself up in knots just doing
>>> the basics; I'm not sure how it would handle even my 1,3,5,7,9 type.
>>>
>>> But Python has classes and can do some of
On Mon, Feb 19, 2018 at 3:57 AM, Johannes Findeisen wrote:
> On Sun, 18 Feb 2018 20:57:02 +1100
> Chris Angelico wrote:
>
>> Does anyone have experience with running Python scripts on Android
>> phones? I have a brother (honestly! I'm not actually using a phone
>> myself!) who's trying to run one
On 20 February 2018 at 11:18, Antoon Pardon wrote:
> Personnally I would prefer the type system of Pascal and Modula2 with
> their interval type
> above a Digit class in python. For the simple reason that once you had
> declared a variable
> like this:
> x: 1 .. 10;
>
> Each assignment to x wo
On 19-02-18 15:25, Steven D'Aprano wrote:
>
>> Ones like C++ has already tied itself itself up in knots just doing the
>> basics; I'm not sure how it would handle even my 1,3,5,7,9 type.
>>
>> But Python has classes and can do some of this stuff; how would it
>> handle a numeric type that is constr
On 2/20/18 5:47 AM, Antoon Pardon wrote:
On 19-02-18 16:18, Ned Batchelder wrote:
On 2/19/18 9:54 AM, Steven D'Aprano wrote:
On Mon, 19 Feb 2018 13:28:26 +, Paul Moore wrote:
[1] The most basic question, which people making such claims often
can't
answer, is "Do you mean that values are s
On 19-02-18 16:18, Ned Batchelder wrote:
> On 2/19/18 9:54 AM, Steven D'Aprano wrote:
>> On Mon, 19 Feb 2018 13:28:26 +, Paul Moore wrote:
>>
>>> [1] The most basic question, which people making such claims often
>>> can't
>>> answer, is "Do you mean that values are strongly typed, or that name
On Tue, 20 Feb 2018 02:35:37 +1100, Chris Angelico wrote:
> But C is a language saddled with so much history and backward
> compatibility constraints that there are some things you just CAN'T make
> into errors
Indeed. C is not even close to a safe language, hence the move to create
(and more i
64 matches
Mail list logo