Jon Ribbens writes:
> On 2021-09-21, Pete Forman wrote:
>> CSV is quite good as a lowest common denominator exchange format. I
>> say quite because I would characterize it by 8 attributes and you
>> need to pick a dialect such as MS Excel which sets out what those
>
gt;> for the job in hand.
>
> Naturally. That's what I'm exploring.
You might also like to consider HDF5. It is targeted at large volumes of
scientific data and its capabilities are well above what you need.
MATLAB, Octave and Scilab use it as their native format. PyTables and
h2py provide Python/NumPy bindings to it.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
t PyQt. Most KDE apps do pull in
> hundreds of packages, but I haven't had to install that many just to
> use PyQt.
Once you have one Qt app in a Gtk DE, or vice versa, then you have taken
most of the hit for packages. I doubt that many people run pure versions
of either.
--
Pete
int reportlab will be made 3.x only which will require more
> effort.
Packages like reportlab with a need to support both Python 2 and 3 end
up with the worst of both worlds. The initial drive for Py3k was to drop
cruft that had accumulated over the years. Mixing old and new hampers
your ability to write clean 3 code.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
searchable archive
> of comp.lang.idl-pvwave available. This was the real benefit of Google
> groups, from my point of view.
>
> There is something called "narkive", but its search function seems to
> be broken, and it doesn't archive very far back in time.
A couple of other mail archivers are:
https://www.mail-archive.com
https://marc.info
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
Thomas Jollans writes:
> On 16/10/17 20:02, Pete Forman wrote:
>> Thomas Jollans writes:
>>
>>> On 2017-10-16 08:48, Pete Forman wrote:
>>>> Andrew Z writes:
>>>>
>>>>> hmm. i did do that. maybe just a delay.
>>>>&
Thomas Jollans writes:
> On 2017-10-16 08:48, Pete Forman wrote:
>> Andrew Z writes:
>>
>>> hmm. i did do that. maybe just a delay.
>>> I'll see how it will go tomorrow then. Thank you gents.
>>>
>>> On Mon, Oct 16, 2017 at 12:30 AM, Chri
;s what i use too - gmail. But i get the digest only
>> > and can't really reply that way. i was hoping to get the
>> > mail.python.org list
>>
>> Turn off digests then. Easy!
If you do stick with a digest then check your newsreader for a feature
to expand it. The
gt; operator either.
>
>
>
> Thoughts?
This seems to me to be rather similar to sort() and sorted(). How about
giving equals() an optional parameter key, and perhaps the older cmp?
Using casefold or upper or lower would satisfy many use cases but also
allow Unicode or more locale specific normalization to be applied.
The shortcircuiting in a character based comparison holds little appeal
for me. I generally find that a string is a more useful concept than a
collection of characters.
+1 for using an affix in the name to represent a normalized version of
the input.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
FC 8143) describes the use of TLS with NNTP. It
enhances the connection between NNTP client and server, primarily with
encryption but optionally with other benefits.
Of course it does nothing to improve the content of Usenet.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
Is Python on shared hosting dead?
> I don't need a whole VM and something I
> have to sysadmin, just a small shared
> hosting account.
I use OpenShift from Red Hat on their free hosting package. They offer
Python 3.5, 3.3 and 2.7.
--
Pete Forman
https://payg-petef.rhcloud.com
--
h
ports and grab the parent classes to
insert into the editor view. Any suggestions? Maybe there are better
ways of navigating inheritance but it does seem logical to expose the
whole class code in one place, suitably annotated. I feel a plugin
coming on.
Ta, Pete
--
https://mail.python.org/ma
.3+ then all is rosy. (At this point
I'm tempted to put in a winky emoji but that might push the internal
representation into UCS-4.)
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
Unicode 4 and RFC
3629 (2003). There is CESU-8 if you really need a naive encoding of
UTF-16 to UTF-8-alike.
py> low = '\uDC37'
is only meaningful on narrow builds pre Python 3.3 where the user must
do extra to correctly handle characters outside the BMP.
--
Pete Forman
https://payg-petef.rhcloud.com
--
https://mail.python.org/mailman/listinfo/python-list
ace the deficient old implementations rather than another approach.
The implicit question is whether a UTF-8 internal representation should
replace that of PEP 393.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
Chris Kaynor writes:
> On Fri, Jan 20, 2017 at 2:35 PM, Pete Forman wrote:
>> Can anyone point me at a rationale for PEP 393 being incorporated in
>> Python 3.3 over using UTF-8 as an internal string representation?
>> I've found good articles by Nick Coghlan, Armin
as a sequence of characters, is that a reason
to shoehorn the subtleties of Unicode into that model?
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
;./name/text()")
That enforces a single result. The original code will detect a lack of
results but if the query returns multiple results when only one is
expected then it silently returns the first.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
c in pip. If the
package you are installing requires some other packages then it will
install those too.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
bundle a
compiler.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
gt; about vim is that it is on every linux system, so you don't have to
> load your editor if you are ssh-ing to some machine
Both emacs and vim are powerful tools in the hands of experienced users
but I would recommend neither to someone starting out who is just
looking for a code-aware editor.
Emacs and vim are much more than editors. I'm composing this message
using Emacs/Gnus on a Mac. TRAMP is invaluable to me for my daily work.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
Rustom Mody writes:
> On Saturday, June 18, 2016 at 5:34:30 PM UTC+5:30, Pete Forman wrote:
>> Rustom Mody writes:
>> [snip]
>>
>> One subtle difference between your two citations is that VB uses a
>> leading dot. Might that lessening of ambiguity enable
Joonas Liik writes:
> On 18 June 2016 at 15:04, Pete Forman wrote:
>> Rustom Mody writes:
>>
>>> On Friday, June 17, 2016 at 2:58:19 PM UTC+5:30, Steven D'Aprano wrote:
>>>> On Fri, 17 Jun 2016 06:13 pm, Ned Batchelder wrote:
>>>>
>>
o the ratio of the two measurements
>> should only have one significant digit.
>
> I’m not sure how you can write “30” with one digit...
>>> int('U', 36)
30
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
tations is that VB uses a
leading dot. Might that lessening of ambiguity enable a future Python to
allow this?
class Foo:
def .set(a): # equivalent to def set(self, a):
.a = a# equivalent to self.a = a
Unless it is in a with statement
with obj:
.a = 1# equivalent to obj.a = 1
.total = .total + 1 # obj.total = obj.total + 1
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
>
> Thanks Zach. Unfortunately, the format is not quite how I want it, so I
> guess I'll have to extract the H:M:S fields manually from the seconds.
It might be useful if timedelta were to get an isoformat() method. ISO
8601 specifies formats for durations; most people are fami
Gregory Ewing writes:
> Pete Forman wrote:
>> However I am coming from scientific measurements where 1.0 is the
>> stored value for observations between 0.95 and 1.05.
>
> You only know that because you're keeping some extra information in
> your head about what th
Ian Kelly writes:
> On Mon, May 23, 2016 at 12:16 PM, Pete Forman wrote:
>> Something else which I do not think has been stated yet in this
>> thread is that floating point is an inexact representation. Just
>> because integers and binary fractions have an exact correspon
ing point is an inexact representation. Just because
integers and binary fractions have an exact correspondence we ought not
to be affording them special significance. Floating point 1 is not the
integer 1, it stands for a range of numbers some fraction either side of
1.
There are other ways of handling non-integral numbers, such as fixed
point, rational and unum. However current computing hardware is very
much oriented to floating point, IEEE in particular.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
Rustom Mody writes:
> On Monday, May 23, 2016 at 1:38:41 PM UTC+5:30, rocky wrote:
>> On Monday, May 23, 2016 at 2:17:07 AM UTC-4, Pete Forman wrote:
>> > rocky writes:
>> >
>> > > I'm looking for a good name for a relatively new project I'll pu
See
> https://github.com/rocky/python-pyxdis.
>
> In the past I've been told by Polish-speaking people that my names are
> hard to pronounce. (If you've ever heard any Polish tongue twisters,
> you'll know that this really hurts.)
>
> Any suggestions for a better name?
relipmoc
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
Rustom Mody writes:
> On Tuesday, April 19, 2016 at 6:49:34 AM UTC+5:30, sohcatoa wrote:
>> On Monday, April 18, 2016 at 2:14:17 PM UTC-7, Pete Forman wrote:
>> > Why is it that Python continues to use a fixed width font and therefore
>> > specifies the maximum line
Ian Kelly writes:
> On Mon, Apr 18, 2016 at 3:14 PM, Pete Forman wrote:
>> Why is it that Python continues to use a fixed width font and
>> therefore specifies the maximum line width as a character count?
>>
>> An essential part of the language is indentation wh
with hard tabs, that is not germane to my
question). The content of the line need not be bound by the rules needed
to position its start.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
the letter of the law,
> without really improving anything.
I beg to differ. If an expression is long or complex then splitting it
up and, importantly, giving good names to the intermediates makes the
code clearer. That advice is not restricted to if statements.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
On 24/01/16 07:27, Robert James Liguori wrote:
Is there a python library to calculate longitudinal acceleration, lateral
acceleration and normal acceleration?
Might be rocket science...
pd
--
https://mail.python.org/mailman/listinfo/python-list
On 10/11/15 08:12, Bernie Lazlo wrote:
> > import json
> >import urllib
> >url ="http://www.wickson.net/geography_assignment.json";
> >response = urllib.urlopen(url)
> >data = json.loads(response.read())
All good up to data. Now:
# make a list of scores
scores = [d['score'] for d in data['comme
On 08/11/15 09:11, phamton...@gmail.com wrote:
I am having issue with converting the string into a float because there is a negative, so
only end up with "ValueError: invalid literal for float(): 81.4]"81.4]
The error is right there in the exception: you are trying to cast
'81.4]' - that's a
On 29/10/15 16:52, David Aldrich wrote:
Hi
I am working on Linux with Python 3.4.
I want to do a bash diff on two text files and show just the first 20
lines of diff’s output. So I tried:
>>> cmd = 'head -20 <(diff ' + file1 + ' ' + file2 + ')'
>>> subprocess.check_call(cmd, shell=True)
On 26/08/15 04:19, RAH wrote:
UnicodeEncodeError: 'ascii' codec can't encode character '\\xc7' in position
15: ordinal not in range(128)
(Hi all, this is my first post to the list)
This can be a frustrating issue to resolve, but your issue might be
solved with this environment variable:
P
*|5*9|***
***|***|418
---+---+---
***|*81|***
**2|***|*5*
*4*|***|3**
Solved, rating: dead easy
Calculation took 18.006 ms
264|715|839
137|892|645
598|436|271
---+---+---
423|178|596
816|549|723
759|623|418
---+---+---
375|281|964
982|364|157
641|957|382
--
Pete Forman
http://petef.22web.org/payg
rent answer
> for the time span.
Would it help if we adopted a non-numeric name for this product to
support eXisting Python for those who were notified some years ago that
Python 2 would be superseded? How about Python XP?
I thought not ;-)
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, April 10, 2014 3:40:22 PM UTC-7, Rhodri James wrote:
> It's called irony, and unfortunately Mark is reacting to an all-to-common
> situation that GoogleGroups foists on unsuspecting posters like yourself.
People who say "I can't be bothered to correct this" while posting a wise a
>
> Just awesome, not only do we have double line spacing and single line
>
> paragraphs, we've also got top posting, oh boy am I a happy bunny :)
>
> I'll leave someone3 else to explain, I just can't be bothered.
>
>
Do you get paid to be a jerk, or is it just for yuks? If the latter, yo
Don't underestimate the value of morale. Python is a scripting language. You
don't need to teach them very much python to get something working, and you can
always revisit the initial code and refactor it for better coding hygiene.
Someday they might have jobs, and be required to learn things i
I've been using compiler.ast.flatten, but I have comments indicating it will
need be replaced if/when I move to Python 3.
I don't pollute my code base with flatten, I just call my own version in my
utility library that is currently redirecting to flatten.
flatten works equally well with tuples
On Thursday, February 13, 2014 6:18:26 AM UTC-7, weixixiao wrote:
> http://www.codecademy.com
>
>
>
> I have learned the basic rules of Python in this website.
>
>
>
> What should I do next?where to go?
>
>
>
> I download the Pycharm the free version and I think I dunno how to use it
> e
my own DOS, Windows, and Linux
> computers for years:
>
> disable the caps-lock key
My solution on Windows is to turn on Toggle Keys in the Accessibility
options. That beeps when the Caps Lock (or Num or Scroll) is pressed.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
How about make it simple by using sorted(a.values()) ...
>>> a = {}
>>> a['first'] = datetime.datetime.now()
>>> a['second'] = datetime.datetime.now()
>>> a['third'] = datetime.datetime.now()
>>> a['forth'] = datetime.datetime.now()
>>> a['fifth'] = datetime.datetime.now()
>>> sorted(a.values())
hing from
> execnet to fabric as well (I hate redoing stuff that works :-/ ).
Call the venv version of python and activation is handled.
E.g. in a fabfile
myenv/bin/python myscript.py
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
gt; temperatures other than 1 K.
And remember to write kelvins. SI units named after people such as
kelvin, watt and pascal are lower case while their symbols have a
leading capital: K, W, Pa.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
t; :)
>
> Special delivery, a berm! Were you expecting one?
Endian detection: Does my BOM look big in this?
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
:
> Table 2.4 here
> http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf
It would have been nice if there was an eighth encoding scheme defined
there UTF-8NB which would be UTF-8 with BOM not allowed.
--
Pete Forman
--
https://mail.python.org/mailman/listinfo/python-list
ated code units in other encoding forms also have no
interpretation on their own. For example, the isolated byte [\x80] has
no interpretation in UTF-8; it can be used only as part of a multibyte
sequence. (See Table 3-7). It could be argued that this line by itself
should raise an e
l works.
https://pypi.python.org/pypi/PySide
The Riverbank installer can install PyQt5 to your master copy of Python.
You can then use the --system-site-packages flag when creating a
virtualenv. The default behavior of virtualenv changed in 1.7
(2011-11-30) from including system packages
the exe with communicate() and I have sent
> stdout to PIPE without luck. Just not sure what is the proper way to
> iterate over the stdout as it eventually makes its way from the
> buffer.
You could try Sarge which is a wrapper for subprocess providing command
pipeline functionality.
http
riterion depends on what your code is aiming to do
with the value.
BTW what if the value is Not-a-Number? ;-)
--
Pete Forman
--
http://mail.python.org/mailman/listinfo/python-list
thon.org/pypi/hachoir-metadata
https://bitbucket.org/haypo/hachoir/wiki/Home
--
Pete Forman
--
http://mail.python.org/mailman/listinfo/python-list
ure
time-offset of -00:00 means UTC but local time is unknown
--
Pete Forman
--
http://mail.python.org/mailman/listinfo/python-list
Ah - I have checked some previous posts (sorry, should
have done this first) and I now can see that the
lazy style evaluation approach would not be good.
I can see the reasons it behaves this way.
many thanks anyway.
--
http://mail.python.org/mailman/listinfo/python-list
I am confused by some of the dictionary setdefault behaviour, I think
I am probably missing the obvious here.
def someOtherFunct():
print "in someOtherFunct"
return 42
def someFunct():
myDict = {1: 2}
if myDict.has_key(1):
print "myDict has key 1"
x = myDict.setdefault
e to hold the
result of the condition and then the if statement is more readable.
--
Pete Forman-./\.-
West Sussex, UK -./\.-
http://petef.22web.net -./\.-
petef4+use...@gmail.com -./\.-
--
http://mail.python.org/mailman/listinfo/python-list
anually control-c it.
I think that I need *all* threads to close and not just the current
one, so I'm not quite sure how to proceed. Pointers in the right
direction are appreciated. And if there's a "better" way to do this
threading httpd server (subject
On Mar 6, 2:38 pm, Vinay Sajip wrote:
> On Mar 5, 9:29 pm, Pete Emerson wrote:
>
>
>
> > I have written my first module called "logger" that logs to syslog via
> > the syslog module but also allows forloggingto STDOUT in debug mode
> > at multiple levels (
On Mar 5, 6:26 pm, MRAB wrote:
> Pete Emerson wrote:
> > I've been wrestling with dicts. I hope at the very least what I
> > discovered helps someone else out, but I'm interested in hearing from
> > more learned python users.
>
> > I found out that
On Mar 5, 8:24 pm, Steven D'Aprano wrote:
> On Fri, 05 Mar 2010 17:22:14 -0800, Pete Emerson wrote:
> > Why isn't the behavior of collections.defaultdict the default for a
> > dict?
>
> Why would it be?
>
> If you look up a key in a dict:
>
> add
On Mar 5, 6:10 pm, Andreas Waldenburger
wrote:
> On Fri, 5 Mar 2010 17:22:14 -0800 (PST) Pete Emerson
>
>
>
>
>
> wrote:
> > [snip]
> > >>> data['one'] = {}
> > >>> data['one']['two'] = 'three
"more rigid" way of doing things common throughout
python, and is it best that I not fight it, but embrace it?
Your thoughts and comments are very much appreciated. I think my brain
already knows some of the answers, but my heart ... well, perl and I
go way back. Loving python so far, though.
Pete
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 5, 1:14 pm, Chris Rebert wrote:
> On Fri, Mar 5, 2010 at 12:25 PM, Pete Emerson wrote:
> > On Fri, Mar 5, 2010 at 12:17 PM, Chris Rebert wrote:
> >> On 3/5/10, Pete Emerson wrote:
> >>> In a module, how do I create a conditional that will do something
On Mar 5, 11:57 am, MRAB wrote:
> Pete Emerson wrote:
> > In a module, how do I create a conditional that will do something
> > based on whether or not another module has been loaded?
>
> > Suppose I have the following:
>
> > import foo
> > import fo
On Mar 5, 12:06 pm, "Martin P. Hellwig"
wrote:
> On 03/05/10 19:24, Pete Emerson wrote:
>
> > In a module, how do I create a conditional that will do something
> > based on whether or not another module has been loaded?
> >
> > If someone is using foo
On Fri, Mar 5, 2010 at 12:17 PM, Chris Rebert wrote:
> On 3/5/10, Pete Emerson wrote:
>> In a module, how do I create a conditional that will do something
>> based on whether or not another module has been loaded?
>>
>> Suppose I have the following:
>>
>>
On Mar 5, 11:24 am, Pete Emerson wrote:
> In a module, how do I create a conditional that will do something
> based on whether or not another module has been loaded?
>
> Suppose I have the following:
>
> import foo
> import foobar
>
> print foo()
> print foobar()
&g
ething else.
In other words, I don't want to create a dependency of foobar on foo.
My failed search for solving this makes me wonder if I'm approaching
this all wrong.
Thanks in advance,
Pete
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 5, 10:19 am, "sjdevn...@yahoo.com" wrote:
> On Mar 5, 10:53 am, Pete Emerson wrote:
>
>
>
>
>
> > Thanks for your response, further questions inline.
>
> > On Mar 4, 11:07 am, Tim Wintle wrote:
>
> > > On Thu, 2010-03-04 at 10:39 -08
On Mar 5, 7:00 am, Duncan Booth wrote:
> Jean-Michel Pichavant wrote:
> > And tell me how not using regexp will ensure the /etc/hosts processing
> > is correct ? The non regexp solutions provided in this thread did not
> > handled what you rightfully pointed out about host list and commented
> >
Thanks for your response, further questions inline.
On Mar 4, 11:07 am, Tim Wintle wrote:
> On Thu, 2010-03-04 at 10:39 -0800, Pete Emerson wrote:
> > I am looking for advice along the lines of "an easier way to do this"
> > or "a more python way" (I
Great responses, thank you all very much. I read Jonathan Gardner's
solution first and investigated sets. It's clearly superior to my
first cut.
I love the comment about regular expressions. In perl, I've reached
for regexes WAY too much. That's a big lesson learned too, and from my
point of view
I've written my first python program, and would love suggestions for
improvement.
I'm a perl programmer and used a perl version of this program to guide
me. So in that sense, the python is "perlesque"
This script parses /etc/hosts for hostnames, and based on terms given
on the command line (argv)
anti-virus. Several products put a long list of blacklist sites in
the hosts file. Windows can be rather slow to process that file.
--
Pete Forman-./\.-
West Sussex, UK -./\.-
http://petef.22web.net -./\.-
petef4+use...@gmail.com -./\.-
--
http://mail.python.org/mailman/listinfo/python-list
erred", defer.Deferred, DeferredProxy)
This, however, fails, because "cb" and "eb" cannot be pickled. I don't
actually need to pickle them, though, because I want them to run on
the machine on which they were created. Is there a way, in
multiprocessing, that I
On Dec 3, 2:55 pm, Stefan Behnel wrote:
> Pete, 03.12.2009 19:21:
>
> > Is there anyway to configure ElementTree to ignore the XML namespace?
> > For the past couple months, I've been using minidom to parse an XML
> > file that is generated by a unit within my orga
Is there anyway to configure ElementTree to ignore the XML namespace?
For the past couple months, I've been using minidom to parse an XML
file that is generated by a unit within my organization that can't
stick with a standard. This hasnt been a problem until recently when
the script was provided a
On May 16, 2009, at 7:26 PM, Aahz wrote:
[posted and e-mailed]
On Sat, May 16, 2009, Pete wrote:
python-concurre...@googlegroups.com is a new email list for
discussion
of concurrency issues in python. It arose out of Dave Beazley's
class
on the subject last week: http://www.dabea
. You
might also like to check out Jython 2.5 which is in beta.
Jython 2.2 needs optparse.py and textwrap.py. These can be copied
from Python 2.3 or Optik 1.4.1 or later. May also need gettext.py
and locale.py.
--
Pete Forman-./\.- Disclaimer: This post is originated
W
,
> I see why I'd never find it. The BM entry does not show "Google". It
> does now. ;-)
As well as the site: modifier check out inurl: and friends.
http://www.google.com/help/operators.html
--
Pete Forman-./\.- Disclaimer: This post is originated
Wester
> >> out of colour, valour, and aluminium.
>>
>> > Darn Americans and their alminim ;-)
>>
>> > Next thing you know, they'll be putting an I in TEAM.[1]
>>
>> It's called humour. Or humor. Or incompetence ;-)
>
> There's an
uage, dammit! Ours, ours, ours!
>
> This decision was actually taken at a meeting of the Society of
> British pedants on November 23, 1786. This led to a schism between
> the British and the newly-independent Americans, who responded by
> taking the "u" o
Peter Otten <[EMAIL PROTECTED]> writes:
> you're wrong.
Indeed I am, sorry for the waste of time.
--
Pete Forman-./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
[EMAIL PROTECTED]-./\.-
later?
>>> int('09'.lstrip('0'))
9
Is the documentation for int([x[, radix]]) correct? I'd say that the
default for radix has become 0.
http://docs.python.org/library/functions.html#int
--
Pete Forman-./\.- Disclaimer: This post is originated
2 is not equal to '2'
--
http://mail.python.org/mailman/listinfo/python-list
e to embed the image. AFAIK a downside is that
MS are only starting to support that in IE8.
--
Pete Forman-./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
[EMAIL PROTECTED]-./\.- the opinion of Schlumberger or
htt
x27; % i + ('s' if i != 1 else '')
for i in range(4):
print '%d thing%s' % (i, ('s', '')[i==1])
for i in range(4):
print '%d thing%s' % (i, 's' if i != 1 else '')
--
Pete Forman-./\.- Disclaim
ore '
'the results tarball',
'previousrel': 'Top level dir of previous release for regression '
'analysis'}
parser.add_option('-q', '--quiet', action="store_false",
dest='verbose
looks as if that Large Hadron Collider is having ill effects
already. A week has been stretched into 6 years. ;-)
http://lists.xml.org/archives/xml-dev/200302/msg00259.html
--
Pete Forman-./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and
ittle more difficult for XPath processing.
Pete
--
http://mail.python.org/mailman/listinfo/python-list
2008/6/29 Dan Stromberg <[EMAIL PROTECTED]>:
>
> On Sun, 29 Jun 2008 11:20:45 +0200, Sebastian \"lunar\" Wiesner wrote:
>
> > Dan Stromberg <[EMAIL PROTECTED]>:
> >
> >> things like passing a method as a function parameter is a no-brainer
> >> (requires extra syntax in java because of the cautious
now if there's some pit waiting for me to fall into.
Pete
--
http://mail.python.org/mailman/listinfo/python-list
alex23 <[EMAIL PROTECTED]> writes:
> Which is very handy, like most of IPython.
+1 QOTW
--
Pete Forman-./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
[EMAIL PROTECTED]-./\.- the opinion of Schlum
I would suggest that using an interface at compile time is not the
only approach. Unit tests can be run on classes to check that they do
indeed quack.
--
Pete Forman-./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
1 - 100 of 166 matches
Mail list logo