for a programming class and it definitely would have been much easier to do in
Python.
-Original Message-
From: Chris Angelico
To: python-list@python.org
Sent: Thu, Mar 24, 2022 7:57 pm
Subject: Re: for convenience
On Fri, 25 Mar 2022 at 10:44, Avi Gross wrote:
> But would it
xample, which I
sometimes use in my programming, literally jumps out of the initial
language.
-Original Message-
From: Chris Angelico
To: python-list@python.org
Sent: Thu, Mar 24, 2022 1:37 pm
Subject: Re: for convenience
On Fri, 25 Mar 2022 at 04:15, Avi Gross via Python-list
wrote:
&g
On Fri, 25 Mar 2022 at 10:44, Avi Gross wrote:
> But would it be helpful? Maybe. I am thinking back to decades ago when I
> did C and C++ programming and how we used it. It was way more that just:
>
> #DEFINE TIMEZONE 5
>
> The above use is sort of to create a constant. What we often used was ways
Original Message-
From: Chris Angelico
To: python-list@python.org
Sent: Thu, Mar 24, 2022 1:37 pm
Subject: Re: for convenience
On Fri, 25 Mar 2022 at 04:15, Avi Gross via Python-list
wrote:
> Python made lots of choices early on and then tried to graft on ever more
> features
On Fri, 25 Mar 2022 at 06:05, Grant Edwards wrote:
>
> On 2022-03-24, Chris Angelico wrote:
>
> > No, I would say that a preprocessor of that sort isn't necessary to a
> > Python-like language. If you really want one, it's honestly not that
> > hard to do; remember, "preprocessor" means that it p
On 2022-03-24, Chris Angelico wrote:
> No, I would say that a preprocessor of that sort isn't necessary to a
> Python-like language. If you really want one, it's honestly not that
> hard to do; remember, "preprocessor" means that it processes the
> source code before the main language sees it, so
On Fri, 25 Mar 2022 at 04:15, Avi Gross via Python-list
wrote:
> Python made lots of choices early on and then tried to graft on ever more
> features, sometimes well and sometimes not optimally. The same is true
> for so many other languages. A carefully designed new language built now
> might ana
se
it is what it
is so get over it!
-Original Message-
From: Paul St George
To: python-list@python.org
Sent: Thu, Mar 24, 2022 6:31 am
Subject: Re: for convenience
On 22/03/2022 18.04, dn wrote:
> and thank you - it is refreshing, if not enervating, to receive feedback
&
On 22/03/2022 18.04, dn wrote:
> and thank you - it is refreshing, if not enervating, to receive feedback
> on efforts-expended!
>
> You will also notice, that now you understand the id() stuff, the
> tag-team effect between @Chris and I (which we have often played, albeit
> not by-design), now m
> On 22 Mar 2022, at 18:00, Avi Gross via Python-list
> wrote:
>
> An earlier post talked about a method they used for "convenience" in a way
> they apparently did not understand and many of us educated them, hopefully.
>
> That made me wonder of teh impact
suggestion that unless you know the code well and can be sure
you won't
corrupt things, this kind of convenient access has possible dangers.
-Original Message-
From: Greg Ewing
To: python-list@python.org
Sent: Tue, Mar 22, 2022 7:12 pm
Subject: Re: convenience
On 23/03/22 7:00 am, Avi
On 23/03/22 7:00 am, Avi Gross wrote:
But are there costs or even errors
if you approach an inner part of an object directly? Can there be dunder
methods not
invoked that would be from the standard approach? What kind of inadvertent
errors can creep in?
The attribute could be a property that r
.
Your example was name= obj.name and you saw it as a convenience.
But consider some form of linked list, perhaps a multidimensional one
like a tree or generalized graph. If you are traversing the list there is a
concept
of following a sort of pointer to the "next" and once there foll
;>>>
>>>> When I am writing code, I often do things like this:
>>>>
>>>> context = bpy.context # convenience
>>>>
>>>> then whenever I need bpy.context, I only need to write context
>>>>
>>>>
>
On 21/03/2022 17.47, Avi Gross wrote:
> So, I ask Paul what other language than python he has used before, just out
> of curiosity.
The other language I have used (and often) is Processing. Before that, and a
long time ago, Lingo.
—
Paul
--
https://mail.python.org/mailman/listinfo/pyth
On 21/03/2022 18.02, Cameron Simpson wrote:
> On 21Mar2022 22:12, Paul St George wrote:
> >When I am writing code, I often do things like this:
> >
> >context = bpy.context # convenience
> >
> >then whenever I need bpy.context, I only need to write cont
hings like this:
> >>
> >> context = bpy.context # convenience
> >>
> >> then whenever I need bpy.context, I only need to write context
> >>
> >>
> >> Here’s my question:
> >>
> >> When I forget to use the convenient shorter
An earlier post talked about a method they used for "convenience" in a way
they apparently did not understand and many of us educated them, hopefully.
That made me wonder of teh impact on our code when we use various forms
of convenience. Is it convenient for us as programmers, other
On 22/03/2022 10.17, Chris Angelico wrote:
> On Tue, 22 Mar 2022 at 08:13, Paul St George wrote:
>>
>>
>> When I am writing code, I often do things like this:
>>
>> context = bpy.context # convenience
>>
>> then whenever I need bpy.context, I
On 21Mar2022 22:12, Paul St George wrote:
>When I am writing code, I often do things like this:
>
>context = bpy.context # convenience
>
>then whenever I need bpy.context, I only need to write context
>
>
>Here’s my question:
>
>When I forget to use the con
as its own quirks and we have adjusted our thinking multiple
times by the time welearned Python. What Paul suggests is just a convenience is
more than that. It is a variablebinding with many ramifications.
-Original Message-
From: Chris Angelico
To: python-list@python.org
Sent: Mon, Ma
e `bpy` module.
> >
> > On Mon, 2022-03-21 at 22:12 +0100, Paul St George wrote:
> > >
> > > When I am writing code, I often do things like this:
> > >
> > > context = bpy.context # convenience
> > >
> > > then whenever I
; the `context` attribute in the `bpy` module.
>
> On Mon, 2022-03-21 at 22:12 +0100, Paul St George wrote:
>>
>> When I am writing code, I often do things like this:
>>
>> context = bpy.context # convenience
>>
>> then whenever I need bpy.context, I only
I often do things like this:
>
> context = bpy.context # convenience
>
> then whenever I need bpy.context, I only need to write context
>
>
> Here’s my question:
>
> When I forget to use the convenient shorter form
>
> why is bpy.context not interpreted as
On Tue, 22 Mar 2022 at 08:13, Paul St George wrote:
>
>
> When I am writing code, I often do things like this:
>
> context = bpy.context # convenience
>
> then whenever I need bpy.context, I only need to write context
>
>
> Here’s my question:
>
> When I forge
When I am writing code, I often do things like this:
context = bpy.context # convenience
then whenever I need bpy.context, I only need to write context
Here’s my question:
When I forget to use the convenient shorter form
why is bpy.context not interpreted as bpy.bpy.context?
—
Paul St
hello,
The information on ADB / SL4A is quiet overwhelming.
Despite that, especially for people, not familiar with Linux, it's not an easy task to get their
first program running.
This library allows you to easy upload and run Python files on a Android device, without pressing
any button on the
hello,
Although I personally hate to release a new version so soon,
the error reporting is so essential, that updating is a must.
V1.5 changes
- errors (catched by the library) will now give a normal error report
- GUI preview function now available in this library
gui_support is library for ea
Glenn Linderman wrote:
On approximately 10/23/2008 12:59 PM, came the following characters
from the keyboard of Stef Mientki:
I'm no expert I thought a three-quoted string was called a "doc
string", isn't that so ?
No, the docstring is the first string after a function or class
definition, t
On Oct 23, 2:14 pm, Joe Strout <[EMAIL PROTECTED]> wrote:
> On Oct 23, 2008, at 11:50 AM, Stef Mientki wrote:
>
> > gui_support is library for easy creation of GUI designs in wxPython.
> > ...
> > Brief documentation can be found here
> >http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_gui_
Joe Strout wrote:
On Oct 23, 2008, at 11:50 AM, Stef Mientki wrote:
gui_support is library for easy creation of GUI designs in wxPython.
...
Brief documentation can be found here
http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_gui_support.html
That's neat -- thank you for making it a
On Oct 23, 2008, at 11:50 AM, Stef Mientki wrote:
gui_support is library for easy creation of GUI designs in wxPython.
...
Brief documentation can be found here
http://oase.uci.kun.nl/~mientki/data_www/pylab_works/pw_gui_support.html
That's neat -- thank you for making it available. I've jus
hello,
gui_support is library for easy creation of GUI designs in wxPython.
Although it's quit stable, it's part of a larger project and therefor
has a lot of dependencies, but these can easily be removed.
Warning:
Although this library might be very attractive to newbies,
the use of this libr
A fully accredited extension of The New York Institute of Technology
(NYIT),
Ellis College gives you the prestige of earning your Bachelor's Degree
from a respected university with the convenience of learning online on
your own schedule.
Whether you're looking to begin a new career or
A fully accredited extension of The New York Institute of Technology
(NYIT),
Ellis College gives you the prestige of earning your Bachelor's Degree
from a respected university with the convenience of learning online on
your own schedule.
Whether you're looking to begin a new career or
35 matches
Mail list logo