> I know when I install a new OS (currently Debian 9 which was released
> a month or so ago) and type "python" on the command line, I get Py2.
It's to keep compatibility for Python 2 only scripts.
It doesn't mean Python 2 is default Python.
Debian and Ubuntu working hard to move Python 3 as defau
Paul Rubin wrote:
Ben Finney writes:
I've never seen one.
who has told you... they are working on a Python 3 code base.
Just because they've told me about it doesn't mean I saw it personally.
The ones I've seen, including new ones, are Python 2.
Some people here use Py3 but I haven't heard (
On Wed, 13 Sep 2017 11:05:37 +, Stefan Ram wrote:
> Steven D'Aprano writes:
>>The *only* reasonable place to stop is right at the beginning: if
>>bool(x):
>>at least for languages like Pascal and Java where `if` requires a
>>specific boolean type.
>
> In Java, not only does the if-statemen
On Wednesday, September 13, 2017 at 2:37:48 PM UTC-7, iv...@linebox.ca wrote:
> Hi Carson,
>
> If you are having big troubles installing Python on Windows (it really should
> be a click install from the Python download page here
> https://www.python.org/downloads/) you can use Anaconda to instal
On Wed, 13 Sep 2017 12:28:01 +, Stefan Ram wrote:
> I presume that "tkinter" is intended to be pronounced
> "logically":
>
> T K inter (tee kay inter /ti keI In t%/)
>
> . But it would be faster to pronounce it
>
> T kinter (tee kinter /ti kIn t%/)
>
> . So far I've only ever read it
On Thu, 14 Sep 2017 17:54:37 +1200, Gregory Ewing wrote:
> Sean DiZazzo wrote:
>> I usually just say "tinker", since it's easy...
>
> +1. All we need now are modules called talior, sodlier and psye.
> Should I write a PEP?
Oooh yes please :-)
--
Steven D'Aprano
“You are deluded if you think
Sean DiZazzo wrote:
I usually just say "tinker", since it's easy...
+1. All we need now are modules called talior, sodlier and psye.
Should I write a PEP?
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
Ben Finney writes:
>> I've never seen one.
> who has told you... they are working on a Python 3 code base.
Just because they've told me about it doesn't mean I saw it personally.
The ones I've seen, including new ones, are Python 2.
Some people here use Py3 but I haven't heard (or don't remember
On 9/13/2017 6:46 PM, Ben Finney wrote:
r...@zedat.fu-berlin.de (Stefan Ram) writes:
I presume that "tkinter" is intended to be pronounced
"logically":
T K inter (tee kay inter /ti keI In t%/)
This is how I've always pronounced it.
The toolkit in question is named “tk”, which I have o
On 9/13/2017 3:09 PM, Grant Edwards wrote:
I tried to write a small (but non-trivial) Tcl app once[1], and would
happily vote to bury Tcl and then might even dance on its grave.
Tkinter, OTOH, is great for small, simple GUI apps -- with a few
caveats:
1. You have to grit your teeth because yo
On 9/13/2017 2:44 AM, Paul Rubin wrote:
Are there actually Py3 codebases?
Let's think a bit. There is the Python half of the Python3 codebase,
perhaps 400K. But we can discount that.
Then there are all the Py compatible modules on PyPI, which is to say,
most of the major one. How could
yes ! me i like
i was always pronouncing tinker though until a nice book pointed it out !
Abdur-Rahmaan Janhangeer,
Mauritius
abdurrahmaanjanhangeer.wordpress.com
On 13 Sep 2017 16:30, "Stefan Ram" wrote:
I presume that "tkinter" is intended to be pronounced
"logically":
T K inter (tee ka
On 09/11/2017 06:00 AM, Pavol Lisy wrote:
>> Debian follows PEP 394, which recommends that "python" point to python2,
>> and I don't see that changing any time soon (certainly not before RHEL
>> includes python3 by default.
>
> Which part of third party ecosystem surrounding Python 3 is not (and
>
On 09/11/2017 01:47 AM, Stephan Houben wrote:
> Op 2017-09-10, Marko Rauhamaa schreef :
>> Stephan Houben :
>>>
>>> Why not bundle the Python interpreter with your application?
>>> It seems to work for Windows developers...
>>
>> I've seen that done for Python and other technologies. It is an
>> ex
On 09/10/2017 03:25 AM, Leam Hall wrote:
> From a non-rpm perspective Python 3.6.2 compiles nicely on CentOS 6.
> Once compiled it seems easy to use pip3 to install stuff without
> trampling on the OS's Python 2 install.
In the last place I worked, our servers usually did not have compilers
inst
On 09/12/2017 03:05 AM, Thomas Jollans wrote:
> Other people on this list:
> This isn't the first time I've someone with this issue here. It's
> probably putting off plenty of potential new users who don't make as
> much effort to find a solution. I can't say I understand the ins and
> outs of inst
On Wednesday, September 13, 2017 at 7:21:25 PM UTC-7, Grant Edwards wrote:
> On 2017-09-13, Ben Finney wrote:
>
> > The toolkit in question is named “tk”, which I have only ever known to
> > be pronounced “tee kay”.
> >
> > The rest of the word is an abbreviation of “interface”.
> >
> > So, to me
On Wednesday, September 13, 2017 at 6:16:58 AM UTC-7, leam hall wrote:
> On Wed, Sep 13, 2017 at 9:08 AM, Darin Gordon wrote:
>
> > Bryan Cantrill gave an interesting talk recently at a Node conference about
> > "platform values" [1]. The talk lead me to think about what the core values
> > of th
On Wednesday, September 13, 2017 at 7:53:25 PM UTC-7, Andrew Zyman wrote:
> hello,
> is there a better approach to populating a function in this situation?
>
> res = self.DB.getPrice(): # returns array of 3x2 always. symbol_id,
> symbol, price.
>
> var1 = self.AFunction(symbols=res[0][2] + '.'
hello,
is there a better approach to populating a function in this situation?
res = self.DB.getPrice(): # returns array of 3x2 always. symbol_id,
symbol, price.
var1 = self.AFunction(symbols=res[0][2] + '.' + res[1][2], conid1=
self.Contracts[res[0][0]].conId,
conid2=self.Contracts[res[1][0]]
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> I have read »import this« again, after reading the above,
> but there was no indication whatsoever in it that says that
> it was talking about "*hierarchies* in a code base" only.
Then you have no basis for claiming that the Zen of Python means
On 09/13/2017 05:33 AM, leam hall wrote:
On Wed, Sep 13, 2017 at 8:28 AM, Stefan Ram wrote:
I presume that "tkinter" is intended to be pronounced
"logically":
T K inter (tee kay inter /ti keI In t%/)
. But it would be faster to pronounce it
T kinter (tee kinter /ti kIn t%/)
. S
Hi Roger,
My responses below yours, interleaved with your comments.
On Thu, 14 Sep 2017 02:18 am, ROGER GRAYDON CHRISTMAN wrote:
> I have not yet mastered how to respond to a particular note in a threadwith
> the mailer that I use,
Without knowing your mailer "Penn State WebMail", I would exp
On 2017-09-13, Ben Finney wrote:
> The toolkit in question is named “tk”, which I have only ever known to
> be pronounced “tee kay”.
>
> The rest of the word is an abbreviation of “interface”.
>
> So, to me “Tkinter” is pronounced “tee kay inter”.
Same here. Though I've probably said it aloud l
Paul Rubin writes:
> Are there actually Py3 codebases? I guess there must be, even though
> I've never seen one.
You also know it to be the case, unless you think *every* person is a
liar who has told you in the past that they are working on a Python 3
code base.
> Every Python codebase of any
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> Thomas Jollans writes:
> import this
>
> It says »Flat is better than nested.«, which would
> mean that
>
> x.f().g().h()
>
> is better than
>
> h( g( f( x )))
That's quite a stretch. Why would “flat is better than nested” mean that
speci
On 09/13/2017 09:18 AM, ROGER GRAYDON CHRISTMAN wrote:
I have not yet mastered how to respond to a particular note in a threadwith the
mailer that I use, so this is not in response to anyone in particular,but just
to some of the sentiments as a whole.
if x:> # do something
Completely out
Can anyone help me find the error of this implementation in Python what am I
doing with this TBiS algorithm?
Algorithm:
Function b = TBiSort(a, n, k, dir)
if n == 1 then
b = a;
else
h1 = TBiSort(a(1:n/2), n/2, k, dir);
h2 = TBiSort(a(n/2+1:n),n/2,k, -dir);
b = TB
Ian Kelly writes:
> On Thu, Sep 7, 2017 at 2:05 AM, Chris Angelico wrote:
>> On Thu, Sep 7, 2017 at 5:11 PM, Steven D'Aprano
>>> I don't know why it places *two* pairs of crosses and naughts instead of
>>> one. Maybe the page is broken.
>>
>> I think it is, as part of being on the Internet Archi
On Wednesday, September 13, 2017 at 3:02:18 PM UTC-7, bream...@gmail.com wrote:
> On Wednesday, September 13, 2017 at 10:43:47 PM UTC+1, Sean DiZazzo wrote:
> > On Tuesday, September 12, 2017 at 9:18:12 AM UTC-7, larry@gmail.com
> > wrote:
> > > Not too many females here, but anyway:
> > >
>
r...@zedat.fu-berlin.de (Stefan Ram) writes:
> I presume that "tkinter" is intended to be pronounced
> "logically":
>
> T K inter (tee kay inter /ti keI In t%/)
This is how I've always pronounced it.
The toolkit in question is named “tk”, which I have only ever known to
be pronounced “tee ka
On Wednesday, September 13, 2017 at 10:43:47 PM UTC+1, Sean DiZazzo wrote:
> On Tuesday, September 12, 2017 at 9:18:12 AM UTC-7, larry@gmail.com wrote:
> > Not too many females here, but anyway:
> >
> > https://svahausa.com/collections/shop-by-interest-1/products/python-code-fit-flare-dress
>
On Tuesday, September 12, 2017 at 9:18:12 AM UTC-7, larry@gmail.com wrote:
> Not too many females here, but anyway:
>
> https://svahausa.com/collections/shop-by-interest-1/products/python-code-fit-flare-dress
>
> (And if any guys want to wear this, there's nothing wrong with that.)
I'm going
Hi Carson,
If you are having big troubles installing Python on Windows (it really should
be a click install from the Python download page here
https://www.python.org/downloads/) you can use Anaconda to install, which
usually makes installing python on problematic windows machines much easier.
On Wednesday, September 13, 2017 at 12:06:20 PM UTC-7, larry@gmail.com
wrote:
> I have a script that creates a tmp dir, create a lot of files in it,
> and when done, does a rmtree on the dir. When it does that I get this
> message:
>
> shell-init: error retrieving current directory: getcwd: c
As a start, have you done this:
Before the rmtree command, find out which directory you end up in after all of
your commands, and they figure out whether you have access to the directory you
are trying to delete from there.
--
https://mail.python.org/mailman/listinfo/python-list
Hi All,
I would like to create a Python module/client library for a data visualization
service that I use (and will be using more) as my first larger contribution to
open source Python.
I have not come across any best practices for this, and am wondering whether
there are some resources that y
Thomas Jollans :
> On 2017-09-13 16:47, Rick Johnson wrote:
>> leam hall wrote:
>> {TEE-KAY-ENTER}
>
> enter? not inter?
Maybe a third of Americans make no distinction between -e- and -i- in
front of a nasal sound:
https://en.wikipedia.org/wiki/Phonological_history_of_English_h
igh_front_vow
On 2017-09-13, Dennis Lee Bieber wrote:
> On Wed, 13 Sep 2017 16:58:01 +0200, Thomas Jollans declaimed
> the following:
>
>>On 2017-09-13 16:47, Rick Johnson wrote:
>>> leam hall wrote:
>>> {TEE-KAY-ENTER}
>>
>>enter? not inter?
>
> Well... we aren't planning on burying it, are we?
I tried
I have a script that creates a tmp dir, create a lot of files in it,
and when done, does a rmtree on the dir. When it does that I get this
message:
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: No such file or directory
But no exception is thrown. How c
On Wed, 13 Sep 2017 10:15:48 +0200, Thomas Jollans wrote:
> On 2017-09-13 02:12, MRAB wrote:
>> On 2017-09-13 00:32, Steve D'Aprano wrote:
>>> The amusing thing to my mind is that the pro-discrimination,
>>> anti-equality faction also tend to be the most conservative[1]
>>> pro-monarchy faction.
>
On Wed, 13 Sep 2017 04:15:26 +, Steven D'Aprano wrote:
> On Wed, 13 Sep 2017 01:12:25 +0100, MRAB wrote:
>
>>> I don't recall seeing them go into paroxysms of gender confusion when
>>> Prince Charles,
>>> Duke of Edinburgh, appears in public wearing a kilt.
>>
>> You do know that Prince Char
On 13 September 2017 at 17:05, Ian Kelly wrote:
> On Tue, Sep 12, 2017 at 10:39 PM, Rick Johnson
> wrote:
>>> > board[r,c] = lbl
>>
>> Dude, that tuple is naked! And nudity in public places is
>> not cool; unless of course your code is a Ms. America model,
>> or it resides in a nudis
I have not yet mastered how to respond to a particular note in a threadwith the
mailer that I use, so this is not in response to anyone in particular,but just
to some of the sentiments as a whole.
> if x:> # do something
Completely out of context, I would dislike it just because it is far too
On Tue, Sep 12, 2017 at 11:44 PM, Paul Rubin
wrote:
> Chris Angelico writes:
> > Why? Unless they're going to be maintaining a Py2 codebase, why should
> > they learn the older version with less features?
>
> Are there actually Py3 codebases? I guess there must be, even though
> I've never seen
On Tue, Sep 12, 2017 at 10:39 PM, Rick Johnson
wrote:
>> > board[r,c] = lbl
>
> Dude, that tuple is naked! And nudity in public places is
> not cool; unless of course your code is a Ms. America model,
> or it resides in a nudist colony (Hey, don't forget your
> "sitting towel"!), whic
On 2017-09-13 16:47, Rick Johnson wrote:
> leam hall wrote:
> {TEE-KAY-ENTER}
enter? not inter?
--
Thomas Jollans
--
https://mail.python.org/mailman/listinfo/python-list
Am 13.09.17 um 16:15 schrieb Grant Edwards:
On 2017-09-13, Christopher Reimer wrote:
When I started my technical career 20+ years ago, tcl/tk was
pronounced "tickle" by the engineers. Not sure if that was correct
then or now.
I've always heard "tickle" as the pronounciation for "TCL". I've
I extended the VueJS CLI to allow me get a *Django* project with VueJS up
and running for any project or my next hackathon project with one command.
https://github.com/NdagiStanley/vue-django
I was impressed by the manner in which the Github stars increased in the
forked repo and judging that it w
Steven D'Aprano wrote:
> Rick Johnson wrote:
> > Steven D'Aprano wrote:
> >> Rick Johnson wrote:
> > > >
> > > > But just because we have been trained that the implicit
> > > > `if x:` is shorthand for the reasonable `if bool(x) ==
> > > > True:`
> > >
> > > That's not reasonable. bool(x) already
Grant Edwards wrote:
> I've always heard "tickle" as the pronounciation for "TCL". I've
> never heard anybody try to pronounce TCL/Tk.
Oh that's easy: {TICKLE-TEE-KAY}. (insert giggle track here)
--
https://mail.python.org/mailman/listinfo/python-list
leam hall wrote:
>Stefan Ram wrote:
>
> > I presume that "tkinter" is intended to be pronounced
> > "logically":
> >
> > T K inter (tee kay inter /ti keI In t%/)
> >
> > . But it would be faster to pronounce it
> >
> > T kinter (tee kinter /ti kIn t%/)
Since [Tt]kinter is a wrapper around "
On 2017-09-13, Andrej Viktorovich wrote:
> I have done mistake while trying to increment int
>
> i=1
> i=+
>
> this left i unchangeable and I got no error.
I doubt it.
Python 2.7.12 (default, Jan 3 2017, 10:08:10)
[GCC 4.9.4] on linux2
Type "help", "copyright", "credits" or "license" for more
On 2017-09-13, Christopher Reimer wrote:
> When I started my technical career 20+ years ago, tcl/tk was
> pronounced "tickle" by the engineers. Not sure if that was correct
> then or now.
I've always heard "tickle" as the pronounciation for "TCL". I've
never heard anybody try to pronounce TCL/
On 13/09/2017 14:25, Andrej Viktorovich wrote:
Hello,
I have done mistake while trying to increment int
i=1
i=+
this left i unchangeable and I got no error. But what =+ means at all?
Did you mean i=+1 ?
This means i is set to the value +1. Usually just written 1.
Try:
i=88
i=+1
and s
Hello,
I have done mistake while trying to increment int
i=1
i=+
this left i unchangeable and I got no error. But what =+ means at all?
--
https://mail.python.org/mailman/listinfo/python-list
On 2017-09-13 15:08, Darin Gordon wrote:
> Bryan Cantrill gave an interesting talk recently at a Node conference about
> "platform values" [1]. The talk lead me to think about what the core values
> of the Python "platform" are and I thought it would be good to ask this
> question of the community.
On Wed, Sep 13, 2017 at 9:08 AM, Darin Gordon wrote:
> Bryan Cantrill gave an interesting talk recently at a Node conference about
> "platform values" [1]. The talk lead me to think about what the core values
> of the Python "platform" are and I thought it would be good to ask this
> question of
On 2017-09-13 14:33, leam hall wrote:
> On Wed, Sep 13, 2017 at 8:28 AM, Stefan Ram wrote:
>
>> I presume that "tkinter" is intended to be pronounced
>> "logically":
>>
>> T K inter (tee kay inter /ti keI In t%/)
>>
>> . But it would be faster to pronounce it
>>
>> T kinter (tee kinter /ti
When I invoke my script with trace it fails with:
/usr/local/lib/python2.7/site-packages/rpy2/rinterface/__init__.py:186:
RRuntimeWarning: Fatal error: unable to open the base package
and the trace file has:
__init__.py(1): __init__.py(19): from rpy2.robjects.robject import
RObjectMixin, RObjec
> On Sep 13, 2017, at 5:28 AM, Stefan Ram wrote:
>
> I presume that "tkinter" is intended to be pronounced
> "logically":
>
> T K inter (tee kay inter /ti keI In t%/)
>
> . But it would be faster to pronounce it
>
> T kinter (tee kinter /ti kIn t%/)
>
> . So far I've only ever read it, n
Bryan Cantrill gave an interesting talk recently at a Node conference about
"platform values" [1]. The talk lead me to think about what the core values
of the Python "platform" are and I thought it would be good to ask this
question of the community. What would you consider the top (<= 5) core
valu
On Wed, Sep 13, 2017 at 8:28 AM, Stefan Ram wrote:
> I presume that "tkinter" is intended to be pronounced
> "logically":
>
> T K inter (tee kay inter /ti keI In t%/)
>
> . But it would be faster to pronounce it
>
> T kinter (tee kinter /ti kIn t%/)
>
> . So far I've only ever read it, ne
On 2017-09-13 02:54, Rick Johnson wrote:
> On Tuesday, September 12, 2017 at 6:59:32 PM UTC-5, Gregory Ewing wrote:
>> Larry Martell wrote:
>>> https://svahausa.com/collections/shop-by-interest-1/products/python-code-fit-flare-dress
>>
>> The only disadvantage might be the GIL interfering with
>> p
On 2017-09-13 02:12, MRAB wrote:
> On 2017-09-13 00:32, Steve D'Aprano wrote:
>> The amusing thing to my mind is that the pro-discrimination,
>> anti-equality
>> faction also tend to be the most conservative[1] pro-monarchy faction.
>> I don't
>> recall seeing them go into paroxysms of gender confu
On Tue, 12 Sep 2017 23:20:21 -0700, Rick Johnson wrote:
> Steven D'Aprano wrote:
>> Rick Johnson wrote:
>>
>>
>> > But just because we have been trained that the implicit `if x:` is
>> > shorthand for the reasonable `if bool(x) == True:`
>>
>> That's not reasonable. bool(x) already returns a T
Am 11.09.17 um 16:12 schrieb Paul Moore:
Thanks for the information. That's more or less the sort of thing I
was thinking of. In fact, from a bit more browsing, I found another
way of approaching the problem - rather than using pygame, it turns
out to be pretty easy to do this in tkinter.
That
67 matches
Mail list logo