):
return list.__getitem__(self, i - self.base)
# etc...
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
Vincent Davis wrote:
True, the "all you want is a mapping" is not quite true. I actually
plan to plot frequency (the number of times an observed sub sequence
overlaps a value in the De Bruijn sequence) The way the sub sequences
overlap is important to me and I don't see a way go from base-k (or
Jean-Michel Pichavant wrote:
I agree with Steven on that one, while getters/setters are not the preferred
way, they are not utterly wrong.
I'm not saying that they're wrong in general, only that
they're wrong for *Python*.
This matters, because the course in question is purportedly
teaching P
On 15/09/11 06:47, Bill Janssen wrote:
One possibility would be to develop a PyGUI branch on top of Tk, so that
it would work with Python anywhere.
Unfortunately, I doubt whether Tk would be up to the task of
supporting PyGUI efficiently. The philosophies of model-view
separation and allowing
Emeka wrote:
Greg,
Do you have an example where the Controller is connected?
No, in fact I've never really felt the need for anything
called a Controller in the GUI stuff I've done. I just
have Models and Views. Models hold the data, and Views
display it and handle input.
If you come across a
Whenever I try to use the FreeSans font with SDL,
either through PyGame or Soya, I get disappointing
results. The characters come out slightly
higglety-pigglety -- randomly displaced up or down
a pixel or so from the baseline.
Something about the calculation of the font height
seems to be off, too
n replace sys.stdout with any object having
a write() method which does whatever you want with
the output.
You can similarly replace sys.stderr to capture
output written to standard error.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://ww
age:
http://www.cosc.canterbury.ac.nz/greg.ewing/grailquest/index.html
It requires Python 2.3 or later and PyGame with
SDL_image and SDL_ttf support. That's all!
Comments, suggestions and amusing gameplay
anecdotes are welcome.
Have fun,
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Ch
Paul Rubin wrote:
> I have yet to see a gui toolkit which doesn't suck. I'm not sure why
> that is.
Have you seen PyGUI? It's my attempt at creating
a GUI toolkit for Python that doesn't suck. I'd
be interested to know if you think I've come
anywhere near to succeeding.
http://www.cosc.canterbu
Brian Blais wrote:
> I have found a very similar problem trying to replace a method using a
> function defined in pyrex.
Functions defined in Pyrex are C-implemented functions,
which don't trigger the method binding magic when you
access them through a class. The same thing happens if
you try to
Brian Blais wrote:
> TypeError: unbound method pyrex_update_within_class() must be called
> with update_funcs instance as first argument (got str instance instead)
Hm. Okay, so that doesn't work either.
But I just tried the following, and it seems
to work:
import new
class C(str):
ly intended
to apply to *compiled* languages.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
nk
it would make a big difference in this area.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
I would consider this more about thinking like a
mathematician than a computer scientist!)
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
xception".
(Of course, you could get straight from "index" to "exception"
that way too, but then there wouldn't be any excuse for
mentioning sex. :-)
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
7;d suggest using the for-loop
to iterate over a contiguous range of integers and an expression
that maps the loop variable to whatever you want.
If you want the maximum possible speed, it *may* be faster
to use a while loop instead and do your own index updating.
But profile to make sure.
--
Can someone give me a hint for No. 10? My MindBlaster
card must be acting up -- I can't seem to tune into
the author's brain waves on this one.
I came up with what I thought was a perfectly good
solution, but apparently it's wrong. :-(
--
Greg Ewing, Computer Science Dept
Pascal just
a little has resulted in a very successful family of
languages (UCSD, Turbo, Apple Pascal, etc.)
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
ldn't be any difficulty with that.
Python objects have complete control over which attributes
can be read or written by Python code.
That, together with restricting what the open() function
can do, ought to provide a pretty good sandbox.
--
Greg Ewing, Computer Science Dept,
Univers
ly rarely be used.
Better still, don't even *mention* it to a beginner.
They don't need to know about it. At all. Really.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
*have* to make them available to
all other countries as well... not good for
non-proliferation...
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
andles inheritance from built-in types. You can only
inherit from more than one built-in type if they have
compatible C structures, and it appears that the two
you're trying to inherit from aren't compatible.
You'll have to think of some way of doing whatever
you're trying to do w
anything, is it?
Are there any other files that it *can* open?
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
ything OO.
OO isn't necessarily better than non-OO. It's a means
to an end, not an end in itself.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
specific example.
As far as I know, there is currently no supported way
of directly creating or modifying cell objects from Python;
it can only be done by some obscure trickery. So the docs
are telling the truth here, in a way. :-)
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
le1 import somename
because somename won't yet have been defined in
file1 at the time file2 is imported.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
Peter Hansen wrote:
> (I don't believe there's a "wU" and conceptually it's sort
> of meaningless anyway,
If we ever get quantum computers, presumably "wU" will
write the newlines in all possible formats simultaneously...
--
Greg Ewing, Comput
ly, despite there being apparent
support in the API. So I suggest using a single interpeter
with multiple threads.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
ch simpler!
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
_versions = [
("Carbon", "Mac"),
("gtk", "Gtk"),
]
from os import environ as _env
_platdir = _env.ge
ethods work. They don't make any semantic assumptions.
It's arguable that there should perhaps be some default
assumptions made, but the Python developers seem to have
done the Simplest Thing That Could Possibly Work, which
isn't entirely unreasonable.
--
Greg Ewing, Comp
e justification.
Some others:
* Numeric arrays, where comparisons return an array of
booleans resulting from applying the comparison to each
element.
* Computer algebra systems and such like, which return a
parse tree as a result of evaluating an expression.
--
Greg Ewing, Computer Science D
> This gives the wacky world where
> "[(1,2), (3,4)].sort()" works, whereas "[1+2j, 3+4j].sort()" doesn't.
To solve that, I would suggest a fourth category of "arbitrary
ordering", but that's probably Py3k material.
--
Greg Ewing, Computer Science D
nal language, but Python is not a
functional language. In imperative programming, often you just
do something for its side effect, and there's no obvious value
to return. Forcing everything to return a value just for the
sake of conceptual purity is an artificiality, in my view.
-
dependent modules.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
I have released a post-competition version of my PyWeek 5 game competition
entry, 555-BOOM!.
http://www.cosc.canterbury.ac.nz/greg.ewing/python/PyWeek5/index.html
This version has been tidied up in various ways, and a few more levels added. I
have made a number of improvements to the level edit
I have released an updated version of my Albow gui library for PyGame,
incorporating improvements made to it for my PyWeek 5 entry, and also Humerus,
a
skeleton game framework built on Albow.
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/
What is it?
Albow is a rather basic, no-fri
Pyrex 0.9.6 is now available:
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
There is a *lot* of new stuff in this version, too much
to fit into this announcement. Read all about it here:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/changes-0.9.6.html
What is Pyrex?
Pyrex 0.9.6.1 is now available:
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
This version fixes a few minor problems that turned
up in the initial 0.9.6 release.
What is Pyrex?
--
Pyrex is a language for writing Python extension modules.
It lets you freely mix operations
Pyrex 0.9.6.2 is now available:
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
Another couple of minor fixes.
What is Pyrex?
--
Pyrex is a language for writing Python extension modules.
It lets you freely mix operations on Python and C data, with
all Python reference count
Pyrex 0.9.6.3 is now available:
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
Main features of this release:
* The C API now uses just one name in the module namespace,
instead of a name per C function.
* The 'cdef' keyword and following extern/public/api qualifiers
ca
[EMAIL PROTECTED] wrote:
> Also, I noticed that if I try to download the testing framework, it
> gives me a 404.
That one is fixed now, if you want to try again.
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
Pyrex 0.9.6.4 is now available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
Mostly just bug fixes in this release; see CHANGES.txt on
the web site for details.
What is Pyrex?
--
Pyrex is a language for writing Python extension modules.
It lets you freely mix operat
Judging for the Feb'09 Pyggy Awards has started. All registered
users of the PyWeek web site are eligible to rate entries, so
even if you haven't submitted an entry, you can still be a judge
if you want. And if you're not a PyWeek user, it's not too late
to sign up.
The entries are here:
http:
Is there anywhere I can download a set of Python
binaries, of any version, that have been built
with Visual C++ 8.0?
I'm trying to hook Python up to Sketchup 7 on
Windows, and I think I'm having problems because
Sketchup is linked with msvcr80.dll.
--
Greg
--
http://mail.python.org/mailman/listi
SuPy is a plugin for the Sketchup 3D modelling application
that lets you script it in Python.
This is a first version and is highly experimental. Let me
know if it works for you and whether you have any problems.
--
Greg Ewing
greg.ew...@canterbury.ac.nz
--
http://mail.python.org/mailman/listinfo/python-list
highly experimental. Let me
know if it works for you and whether you have any problems.
--
Greg Ewing
greg.ew...@canterbury.ac.nz
--
http://mail.python.org/mailman/listinfo/python-list
;body'.
What is SuPy?
-
SuPy is a plugin for the Sketchup 3D modelling application
that lets you script it in Python.
--
Greg Ewing
greg.ew...@canterbury.ac.nz
--
http://mail.python.org/mailman/listinfo/python-list
-passing mechanism.
What is SuPy?
-
SuPy is a plugin for the Sketchup 3D modelling application
that lets you script it in Python.
--
Greg Ewing
greg.ew...@canterbury.ac.nz
--
http://mail.python.org/mailman/listinfo/python-list
that lets you script it in Python.
--
Greg Ewing
greg.ew...@canterbury.ac.nz
--
http://mail.python.org/mailman/listinfo/python-list
sequences to arrays.
- X_AXIS, Y_AXIS, Z_AXIS constants.
- Unit conversion constants (feet, yard, etc.) e.g. 5 * feet
What is SuPy?
-
SuPy is a plugin for the Sketchup 3D modelling application
that lets you script it in Python.
--
Greg Ewing
greg.ew...@canterbury.ac.
I have released an updated version of Assembly Line,
my entry in PyWeek 6 and later the Pyggy Awards.
http://media.pyweek.org/dl/1007/greg_pgF09/AssemblyLine-0.8.2.zip
About Assembly Line
---
Become a FADE!
That's Factory Automation Design Engineer for Pixall Manufacturing, the
James Mills wrote:
I've just checked out the darcs repository and converted
it to Mercurial. I'm going to have a bit of a play wiht it...
Anyone interested in this ?
I'll be interested to hear of any developments.
--
http://mail.python.org/mailman/listinfo/python-list
Humerus 2.0 is now available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/Humerus-2.0.0.tar.gz
Online documentation:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/Humerus-2.0.0/doc/
This version of Humerus has been extensively revised from the previous one.
Instea
Glenn Linderman wrote:
So your 50% number is just a scare tactic, it would seem, based on wild
guesses. Was there really any benefit to the comment?
All I was really trying to say is that it would be a
mistake to assume that the overhead will be negligible,
as that would be just as much a wil
I'm creating a COM server in Python that will have one
main class, with methods that create and return instances
of other classes.
I've found that I need to use win32com.server.util.wrap
and unwrap on these objects when they pass over a COM
connection. This doesn't seem very convenient, especiall
What is SuPy?
-
SuPy is a plugin for the Sketchup 3D modelling application
that lets you script it in Python.
--
Greg Ewing
greg.ew...@canterbury.ac.nz
--
http://mail.python.org/mailman/listinfo/python-list
.
--
Greg Ewing
greg.ew...@canterbury.ac.nz
--
http://mail.python.org/mailman/listinfo/python-list
PyGUI 2.0 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Highlights of this release:
* Native Windows implementation, based on pywin32 and ctypes.
* Full set of Postscript-style path construction operators
available on all platforms.
* Mouse and keyboard events can
PyGUI 2.0.1 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Fixes some problems in setup.py affecting installation
on Linux and Windows.
What is PyGUI?
--
PyGUI is a cross-platform GUI toolkit designed to be lightweight
and have a highly Pythonic API.
--
G
PyGUI 2.0.2 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Fixes problem on Windows causing "This file should not
be imported" error.
What is PyGUI?
--
PyGUI is a cross-platform GUI toolkit designed to be lightweight
and have a highly Pythonic API.
--
Gre
PyGUI 2.0.4 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Fixes a few more bugs and hopefully improves things
on Windows, although I can't be sure it will fix all
the Windows problems people are having, because I
haven't been able to reproduce some of them.
What is Py
PyGUI 2.0.5 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
More bug fixes for various platforms.
Still no idea what's causing the "object has been destroyed"
error on Windows XP, though. Does this happen for everyone?
Is there anyone who *has* got 12-scroll.py working f
Randy Syring wrote:
Could you tell me briefly how this project differs from something like
wxPython?
It wraps platform-specific libraries directly, rather than
being a wrapper around another cross-platform library. This
means less bloat and less dependencies. Chances are you
already have the n
The Second Pyggy Awards is now open for entries.
http://pyggy.pyweek.org/1008/
Judging will be held in the first two weeks of
August 2009.
Once again, the event is open to games from any
previous PyWeek competition.
You may also submit a game that you were intending
to enter in PyWeek 8 but
Pyrex 0.9.8.2 is now available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
A block of external functions can now be declared nogil at once.
cdef extern from "somewhere.h" nogil:
...
Also some minor nogil-related bugs have been fixed.
What is Pyrex?
--
Pyre
Avinash Vora wrote:
(Greg: You only sent the email to me: you probably wanted to add the
mailing list to the recipients.)
I replied to the newsgroup as well, so it should
turn up in the list.
Right, but I meant if there is an Apple-sanctioned way. I guess not?
Not that I'm aware of.
I g
bvidinli wrote:
I posted to so many lists because,
this issue is related to all lists,
this is an idea for python,
this is related to development of python...
You shouldn't post to every group that you think might be
vaguely relevant. You should pick *one* that you think
is *most* relevant and
I've uploaded a new version of my PyWeek 6 game, Assembly Line.
http://media.pyweek.org/dl/6/gregpw6/AssemblyLine-0.5.zip
As a potential Pyggy entry, I'm keen to get some testing and feedback on it.
This version is greatly expanded. Some of the new features include:
* More machine types
Michael Palmer wrote:
So far, development of PyGUI seems to be a one-man effort, and it may
be slowed down by the attempt to develop the API and the
implementations concurrently. Could it be useful to uncouple the two,
such that the API would be specified ahead of the implementation?
I'm not s
Andy Salnikov wrote:
> I saw lots of awk or sed "code" embedded in scripts
In my experience, embedding any of make/sh/awk/sed in
any of the others is a nightmare of singlequote/
doublequote/backslash juggling that makes a few
tab/space problems in Python pale by comparison.
-
le of anything that the shell
can do. It's somewhat inelegant having to concatenate
all the arguments into a string, though.
I gather there's a new subprocess management module
coming that's designed to clean up the mess surrounding
all the popen() variants. Hopefully it will mak
dless of whether the object passed in is mutable
or immutable.
It's best to avoid using terms like "by reference" when
talking about Python parameter passing, because it's
hard to tell whether the person you're talking to
understands the same thing by them. But if yo
ort item assignment
You need to run your program with pythonw, not python.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list
ld
get re-created in between your purge and creating
the tarball.
It would be better to just avoid putting the .DS_Store
files in the tarball. For example, collect the pathnames
of all the .DS_Store files and give them as an exclusion
list to tar.
--
Greg Ewing, Computer Science Dept,
Universit
Humerus 2.1 is now available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/Humerus-2.1.0.zip
Online documentation:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/Humerus-2.1.0/doc/
In this version, the code for handling levels has been separated out
into a new pair
PyGUI 2.1 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Highlights of this version:
* Win32:
Fixed bug preventing PyGUI apps from working under pythonw
Fixed incorrect mouse coordinates in ScrollableView
Added more standard cursors
* MacOSX:
PyGUI 2.1.1 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
This is an emergency bugfix release to repair some major
breakage in the gtk version. Also corrects some other
problems.
What is PyGUI?
--
PyGUI is a cross-platform GUI toolkit designed to be light
PyGUI 2.2 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Highlights of this version:
- TextEditor component with tabs, scrolling and word wrap
- Classes for laying out components in rows, colums and grids
- Printing support
What is PyGUI?
-
Pyrex 0.9.8.6 is now available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
Numerous bug fixes and a few improvements. See the CHANGES
page on the web site for details.
What is Pyrex?
--
Pyrex is a language for writing Python extension modules.
It lets you freely m
PyGUI 2.3.1 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
This version incorporates a modification that I hope will
improve the behaviour of ScrollableViews on Windows with
pywin32 builds later than 212.
(There are still problems with it, though. If the Scrollable
View
PyGUI 2.3.2 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
This version fixes a problem in Cocoa whereby the coordinate
system for drawing in a Pixmap was upside down, and corrects
a slight mistake in the Canvas documentation.
What is PyGUI?
--
PyGUI is a
PyGUI 2.3.3 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Minor update to fix a problem with the previous release on
some versions of MacOSX.
What is PyGUI?
--
PyGUI is a cross-platform GUI toolkit designed to be lightweight
and have a highly Pythonic API
Richard Jones wrote:
The ninth PyWeek challenge will run between:
Sunday 30th August to Sunday 6th September (00:00UTC to 00:00UTC)
Yow, hard on the heels of Pyggy! I'd hoped there might
be a bit more breathing room, sorry about that! Hope
the Pyggy entrants aren't feeling too burned out to
Hendrik van Rooyen wrote:
Yikes! If I follow you, it is a bit like having a hollow dumb-bell with a
hollow handle of zero length, and wanting a word for that opening between the
knobs.
That's pretty much it, yes. Although "opening" doesn't
quite cut it, because there can be two of them shari
ALBOW - A Little Bit of Widgetry for PyGame
Version 2.1 is now available.
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/
Highlights of this version:
* OpenGL faciliites
* Music facilities
* Drop-down menus and menu bars
What is Albow?
Albow is a library for creating GUIs u
Chris Rebert wrote:
On Fri, Oct 29, 2010 at 2:30 AM, Gregory Ewing
wrote:
I think what's disturbing about this is that the two halves of
the extended traceback are printed in the wrong order. We're
True, but swapping the order would only worsen Steve's problem.
Yes, I can see that what S
On 5/02/23 11:18 am, transreductionist wrote:
This analogy came to me the other day. For me, I would rather walk into a
grocery store where the bananas, apples, and oranges are separated in to their
own bins, instead of one common crate.
On the other hand, if the store has an entire aisle dev
On 6/02/23 4:23 am, Weatherby,Gerard wrote:
Well, first of all, while there is no doubt as to Dijkstra’s contribution to
computer science, I don’t think his description of scientific thought is
correct. The acceptance of Einstein’s theory of relativity has nothing to do
with internal consisten
For a moment I thought this was going to be a script that
uses ChatGPT to generate a random news post and post it
to Usenet...
Which would also have been kind of cool, as long as it wasn't
overused.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 18/02/23 7:42 am, Richard Damon wrote:
On 2/17/23 5:27 AM, Stephen Tucker wrote:
None of the digits in RootNZZZ's string should be different from the
corresponding digits in RootN.
Only if the storage format was DECIMAL.
Note that using decimal wouldn't eliminate this particular problem,
On 23/02/23 9:12 am, Hen Hanna wrote:
On Wednesday, February 22, 2023 at 2:32:57 AM UTC-8, Anton Shepelev wrote:
def f(a):
print(black_magic(a))# or black_magic('a')
f(v1)# prints: v1
f(v2)# prints: v2
the ter
On 23/02/23 1:58 pm, avi.e.gr...@gmail.com wrote:
Would anything serious break if it was deprecated for use as a statement
terminator?
Well, it would break all the code of people who like to
write code that way. They might get a bit miffed if we
decide that their code is not serious. :-)
On t
On 23/02/23 9:37 am, Hen Hanna wrote:
for the first several weeks... whenever i used Python... all
i could think ofwas this is really Lisp (inside) with a thin
veil of Java/Pascal syntax..
- that everything is first converted
On 24/02/23 9:26 am, avi.e.gr...@gmail.com wrote:
Python One-Liners: Write Concise, Eloquent Python Like a Professional
Illustrated Edition
by Christian Mayer (Author)
I didn't know there were any Professional Illustrated Editions
writing Pythom. You learn something every day! :-)
--
Greg
--
On 26/02/23 10:53 am, Paul Rubin wrote:
I'm not on either list but the purpose of the tutor list is to shunt
beginner questions away from the main list.
There's a fundamental problem with tutor lists. They rely on
experienced people, the ones capable of answering the questions,
to go out of the
On 27/02/23 10:07 pm, Roel Schroeven wrote:
I'm guessing you're thinking about variables leaking out of list
comprehensions. I seem to remember (but I could be wrong) it was a
design mistake rather than a bug in the code, but in any case it's been
fixed now (in the 2 to 3 transition, I think).
On 28/02/23 7:40 am, avi.e.gr...@gmail.com wrote:
inhahe made the point that this may not have been the
original intent for python and may be a sort of bug that it is too late to fix.
Guido has publically stated that it was a deliberate design choice.
The merits of that design choice can be d
On 28/02/23 5:08 am, Thomas Passin wrote:
On 2/27/2023 11:01 AM, Mats Wichmann wrote:
If you intend to run Black on your code to ensure consistent
formatting, you may as well learn to prefer double quotes, because
it's going to convert single to double
I prefer single quotes because they are
On 28/02/23 4:24 pm, Hen Hanna wrote:
is it poss. to peek at the Python-list's messages
without joining ?
It's mirrored to the comp.lang.python usenet group, or
you can read it through gmane with a news client.
--
Greg
--
https://mail.python.org/mailman/listinfo/py
On 2/03/23 10:59 am, gene heskett wrote:
Human skin always has the same color
Um... no?
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
301 - 400 of 484 matches
Mail list logo