Re: for convenience

2022-03-24 Thread Avi Gross via Python-list
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

Re: for convenience

2022-03-24 Thread Avi Gross via Python-list
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

Re: for convenience

2022-03-24 Thread Chris Angelico
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

Re: for convenience

2022-03-24 Thread Avi Gross via Python-list
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

Re: for convenience

2022-03-24 Thread Chris Angelico
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

Re: for convenience

2022-03-24 Thread Grant Edwards
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

Re: for convenience

2022-03-24 Thread Chris Angelico
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

Re: for convenience

2022-03-24 Thread Avi Gross via Python-list
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 &

Re: for convenience

2022-03-24 Thread Paul St George
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

Re: convenience

2022-03-23 Thread Barry Scott
> 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

Re: convenience

2022-03-22 Thread Avi Gross via Python-list
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

Re: convenience

2022-03-22 Thread Greg Ewing
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

Re: for convenience

2022-03-22 Thread Avi Gross via Python-list
. 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

Re: for convenience

2022-03-22 Thread dn
;>>> >>>> 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 >>>> >>>> >

Re: for convenience

2022-03-22 Thread Paul St George
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

Re: for convenience

2022-03-22 Thread Paul St George
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

Re: for convenience

2022-03-22 Thread Paul St George
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

convenience

2022-03-22 Thread Avi Gross via Python-list
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

Re: for convenience

2022-03-21 Thread dn
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

Re: for convenience

2022-03-21 Thread Cameron Simpson
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

Re: for convenience

2022-03-21 Thread Avi Gross via Python-list
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

Re: for convenience

2022-03-21 Thread Paul Bryan
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

Re: for convenience

2022-03-21 Thread Paul St George
; 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

Re: for convenience

2022-03-21 Thread Paul Bryan
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

Re: for convenience

2022-03-21 Thread Chris Angelico
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

for convenience

2022-03-21 Thread Paul St George
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

[ANN] Android Debug Bridge (ADB) Scripting Language For Android (SL4A) convenience library

2011-11-27 Thread Stef Mientki
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

ANN: gui_support v1.5, a convenience library for wxPython

2008-10-24 Thread Stef Mientki
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

Re: ANN: gui_support, a convenience library for wxPython

2008-10-23 Thread Stef Mientki
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

Re: ANN: gui_support, a convenience library for wxPython

2008-10-23 Thread Mike Driscoll
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_

Re: ANN: gui_support, a convenience library for wxPython

2008-10-23 Thread Stef Mientki
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

Re: ANN: gui_support, a convenience library for wxPython

2008-10-23 Thread Joe Strout
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

ANN: gui_support, a convenience library for wxPython

2008-10-23 Thread Stef Mientki
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

The Convenience of Online Learning. The Benefits of a Respected Degree.Try Ellis College for Free.

2007-07-21 Thread KU
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

The Convenience of Online Learning. The Benefits of a Respected Degree.Try Ellis College for Free.

2007-07-21 Thread KU
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