st = true
[testenv]
deps =
setuptools
nose
gocept.testing
numpy
cython
# egenix-mx-base # --> mx tox gcc: error:
mx/DateTime/mxDateTime/mxDateTime.c: No such file or directory
install_command =
pip insta
'horrible hack' solution on OS have any drawbacks? I like it better because it
is not needed to set the LC_ALL environment variable prior to starting the
Python program.
Regards,
Albert-Jan
~~
All right, but apar
>
> From: Albert-Jan Roskam
>To: Python
>Sent: Wednesday, March 12, 2014 1:22 PM
>Subject: locale getlocale returns None on OSX
>
>
>Hi,
>
>locale.getlocale() sometimes returns (None, None) under OSX (Python 2, not
>sure abo
former is for common tasks that are not common enough to remember right
away. The latter is for reference.
I only have experience with git and subversion. I like git much better. But any
SCM is better than none at all.
Regards,
Albert-Jan
~
> From: Dave Angel
>To: python-list@python.org
>Sent: Sunday, March 23, 2014 3:18 AM
>Subject: Re: Question about Source Control
>
>
>Albert-Jan Roskam Wrote in message:
>>
>
>In addition to posting in html format, you have
uld be able to unpack
> a tarball and 'make xxx'.
True, but in Debian Linux (so probably also Linux) one needs to install some
zlib packages and some other stuff (https related IIRC) before compiling Python
(at least with 3.3).
So glad that pip (and setuptools too?) is part of th
- Original Message -
> From: Chris Angelico
> To:
> Cc: "python-list@python.org"
> Sent: Saturday, April 19, 2014 3:42 PM
> Subject: Re: Why Python 3?
> Right. It's not the magic line that fixes everything; if it were,
> Python 3 wouldn't be a big deal at all. Go Py3 if you can, bu
ip/pylauncher,
http://legacy.python.org/dev/peps/pep-0397/)
In addition, I would really appreciate general feedback on the hook script
below.
Thanks!
Albert-Jan
albertjan@debian ~/Desktop/test_repo $ git config --global init.templatedir
~/Desktop/git_template_dir
albertjan@debian ~/Desktop/test
- Original Message -
> From: Albert-Jan Roskam
> To: Python
> Cc:
> Sent: Thursday, May 22, 2014 6:58 PM
> Subject: shebang & windows: call an extensionless git hook
>
> Hi,
>
> I wrote the git pre-commit hook below. It is supposed to reject commits t
- Original Message -
> From: Chris Angelico
> To:
> Cc: Python
> Sent: Friday, May 23, 2014 4:01 PM
> Subject: Re: shebang & windows: call an extensionless git hook
>
> On Fri, May 23, 2014 at 11:53 PM, Albert-Jan Roskam
>
> wrote:
>> Ok, I just
Original Message -
> From: Terry Reedy
> To: python-list@python.org
> Cc:
> Sent: Sunday, May 25, 2014 11:49 PM
> Subject: Re: win32serviceutil: ImportError: DLL load failed: The specified
> module could not be found
>
> On 5/25/2014 1:40 PM, Nagy László Zsolt wrote:
>> >>> import wi
many times to simulate many users. I thought about using
mechanize/subprocess, the multimechanize package, or the twill package.
Very curious to hear your thoughts about this and I hope this is not too vague.
Thank you in advance!
Regards,
Alber
param in python 2.
I bitez you when you shadow 'bytes' (I can't remember when I couldn't use the
functools.partial object), though it often works. Much easier to use 'bytez' or
'bytes_'. It is annoying to 'unshadow' your code and confusing for others who
might read your code.
Albert-Jan
--
https://mail.python.org/mailman/listinfo/python-list
def getdefaultlocale(self):
return locale_.getdefaultlocale()
if __name__ == "__main__":
locale = PythonicLocale()
# getter
print locale.locale
# setter
locale.locale = (locale.LC_ALL, "german")
print loca
returns a unicode string.
*) I had never tried that before. I would have expected that encoding would
default to e.g locale.getpreferredencoding().
Thank you!
Regards,
Albert-Jan
~~
All right, but apart from the sanitation, the
- Original Message -
> From: Steven D'Aprano
> To: python-list@python.org
> Cc:
> Sent: Wednesday, March 4, 2015 8:56 PM
> Subject: Re: io.open vs. codecs.open
>
> Albert-Jan Roskam wrote:
>
>> Hi,
>>
>> Is there a (use case) diff
--- Original Message -
> From: Chris Angelico
> To:
> Cc: "python-list@python.org"
> Sent: Saturday, March 7, 2015 6:26 PM
> Subject: Re: Newbie question about text encoding
>
> On Sun, Mar 8, 2015 at 4:14 AM, Marko Rauhamaa wrote:
>> See:
>>
>> $ mkdir /tmp/xyz
>> $ touch /tm
On Mon, 3/9/15, Tim Chase wrote:
Subject: Re: Letter class in re
To: python-list@python.org
Date: Monday, March 9, 2015, 12:17 PM
On 2015-03-09 11:37,
Wolfgang Maier wrote:
> On 03/09/2015
11:23 AM, Antoon Pardon wrote:
>> Does
anyone know w
- Original Message -
> From: Jonas Wielicki
> To: python-list@python.org
> Cc:
> Sent: Monday, March 9, 2015 8:12 PM
> Subject: Re: HELP!! How to ask a girl out with a simple witty Python code??
>
> On 09.03.2015 14:39, Omar Abou Mrad wrote:
>> On Thu, Mar 5, 2015 at 3:34 AM, Xrrific
On Tue, 3/10/15, Antoon Pardon wrote:
Subject: Re: Letter class in re
To: python-list@python.org
Date: Tuesday, March 10, 2015, 9:35 AM
Op 09-03-15 om 17:11
schreef Steven D'Aprano:
> Antoon
Pardon wrote:
>
>>
I am using PLY for a parsing task which uses re for the
lexical
>> analys
On Wed, Mar 18, 2015 7:06 PM CET Rustom Mody wrote:
>On Wednesday, March 18, 2015 at 8:12:12 PM UTC+5:30, Robert Clove wrote:
>> ./my_eth_script.pl eth0 M > a.txt
>>
>> How can i run this command with subprocess.popen
>
>Something like this I guess?
>
>>> proc = Pope
-
On Thu, Mar 19, 2015 12:16 AM CET Steven D'Aprano wrote:
>On Thu, 19 Mar 2015 07:22 am, Albert-Jan Roskam wrote:
>
>>
>>
>> On Wed, Mar 18, 2015 7:06 PM CET Rustom Mody wrote:
>>
>>On Wednesd
--
On Sun, Mar 22, 2015 6:41 PM CET Emile van Sebille wrote:
>On 3/20/2015 10:55 AM, Grant Edwards wrote:
>
>> I need to automate operation of a Windows application.
>
>I've been productively using python to create macro scheduler [1] scripts to
>automate windows prog
Python mail list? Main ingredients beatfilsoup (to textify HTML mails) and
difflib (to check whether replies contain parts of the original message, and
that no top posting happens)
Just an idea.
Albert-Jan
>-- My fellow Pythonistas, ask not what our language can do for you, ask
&
Just had to share this:
https://youtu.be/CDeG4S-mJts--
https://mail.python.org/mailman/listinfo/python-list
- Original Message -
> From: Peter Otten <__pete...@web.de>
> To: python-list@python.org
> Cc:
> Sent: Monday, April 27, 2015 4:28 PM
> Subject: Re: Wrote a memoize function: I do not mind feedback
>
> Cecil Westerhof wrote:
>
>> I started again with Python. In Clojure you have memoize.
On Mon, Apr 27, 2015 4:55 PM CEST Steven D'Aprano wrote:
>On Mon, 27 Apr 2015 01:11 am, Φώντας Λαδοπρακόπουλος wrote:
>
>> Τη Κυριακή, 26 Απριλίου 2015 - 6:05:50 μ.μ. UTC+3, ο χρήστης Steven
>> D'Aprano έγραψε:
>> On Mon, 27 Apr 2015 01:00 am, Φώντας Λαδοπρακόπουλος w
\\dir\\file")) will
truncate the prefix)
My questions:
1. How can I get the file size of very long paths under XP?
2. Is this a bug in Python? I would prefer if Python dealt with the gory
details of Windows' silly behavior.
Regards,
Albert-Jan
---
This email has been checked for vir
ep.txt")
assert os.path.exists(deep)
with open(deep, "w") as f:
f.write("Deep!\r\n")
# try if the file size can be determined (requires special \\?\ notation)
print " %d bytes" % os.path.getsize(deep)
# now delete the whole directory and its contents.
path =
> import os import shutil import sys
>
> # create an insanely long directory tree p = os.getenv("TEMP")
> #p = ur"\\server\share\blah\temp"
> tmpdir = p os.chdir(tmpdir)
> for i in xrange(1000):
> tmpdir = os.path.join(tmpdir, "sub") os.mkdir("?\\" + tmpdir)
> #os.mkdir(u"?\\UN
a
> cell is empty. Looked around the net for a solution, but nothing came up so
> far.
>
> Anyone knows how to handle a "#N/A" cell in Excel in the proper way?
>
> Regards,
> Sven
> --
> https://mail.python.org/mailman/listinfo/python-list
Hello,
Does that nu
> To: python-list@python.org
> From: tjre...@udel.edu
> Subject: Re: Python CI and CD support available on Semaphore (feedback
> appreciated)
> Date: Tue, 8 Sep 2015 14:46:28 -0400
>
> On 9/8/2015 6:27 AM, Filip Komnenović wrote:
>
> > We have recently launched Python support on our continuous
(Sorry for top-posting, mobile hotmail sie sucks). This is cool, although it's
not a Sphinx directive. You use insert the resulting graph in the .rst of
course:
http://furius.ca/snakefood/
Date: Fri, 2 Oct 2015 11:14:59 -0300
Subject: I'm using Sphinx, but is there a UML auto generator
From: gil
[lo <= df[colname] <= hi] # looks nice, but gives ValueError
Thanks in advance!
Regards,
Albert-Jan
~~
All right, but apart from the sanitation, the medicine, education, wine, public
order, irrigation, roads, a
fr
- Original Message -
> From: Ian Kelly
> To: Python
> Cc:
> Sent: Thursday, June 5, 2014 10:18 PM
> Subject: Re: Unicode and Python - how often do you index strings?
>
> On Thu, Jun 5, 2014 at 1:58 PM, Paul Rubin
> wrote:
>> Ryan Hiebert writes:
>>> How so? I was using line=l
>In article ,
> Rick Johnson wrote:
>
>> As an aside i prefer to only utilize a "character set" when
>> nothing else will suffice. And in this case r"[0-9][0-9]*"
>> can be expressed just as correctly (and less noisy IMHO) as
>> r"\d\d*".
>
>Even better, r"\d+"
I tend tot do that too, even th
- Original Message -
> From: Joel Goldstick
> To: fl
> Cc: "python-list@python.org"
> Sent: Thursday, July 10, 2014 7:05 PM
> Subject: Re: How to decipher :re.split(r"(\(\([^)]+\)\))" in the example
>
> On Thu, Jul 10, 2014 at 11:37 AM, fl wrote:
>> Hi,
>>
>> This example is from
- Original Message -
> From: Steven D'Aprano
> To: python-list@python.org
> Cc:
> Sent: Friday, July 11, 2014 11:04 AM
> Subject: Re: How to decipher :re.split(r"(\(\([^)]+\)\))" in the example
>
> On Thu, 10 Jul 2014 23:33:27 -0400, Roy Smith wrote:
>
>> In article ,
>> Tim Chase
7"
y:\>cd /d "c:\program files"
y:\>md python27
y:\>cd /d %temp%
y:\>msiexec /i python-2.7.3 TARGETDIR="%PYTHONDIR%" /qb
Thank you!
Regards,
Albert-Jan
[1]
http://stackoverflow.com/questions/3259737/command-line-option-to-tell-msi-installation-to-a-s
- Original Message -
> From: Zachary Ware
> To: Albert-Jan Roskam
> Cc: Python
> Sent: Wednesday, July 16, 2014 3:47 PM
> Subject: Re: how to msi install Python to non-default target dir?
>
> On Wed, Jul 16, 2014 at 8:29 AM, Albert-Jan Roskam
>
> wrote:
have custom formatters with an own __format__ method?
Regards,
Albert-Jan
--
https://mail.python.org/mailman/listinfo/python-list
- Original Message -
> From: Olaf Hering
> To: dieter
> Cc: python-list@python.org
> Sent: Monday, July 28, 2014 9:57 AM
> Subject: Re: rpath alike feature for python scripts
>
> On Sat, Jul 26, dieter wrote:
>
>> The "binary" corresponds to a script. The script could have
>> a fun
>In article ,
> Wolfgang Maier wrote:
>
>> Hi,
>> I'm trying to convert ISO8601-compliant strings representing dates or
>> dates and times into datetime.datetime objects.
>
>https://pypi.python.org/pypi/iso8601
Yikes, what a regex. It must have been painstaking to get that right.
https://bitb
>In article ,
> Wolfgang Maier wrote:
>
>> Hi,
>> I'm trying to convert ISO8601-compliant strings representing dates or
>> dates and times into datetime.datetime objects.
>
>https://pypi.python.org/pypi/iso8601
Yikes, what a regex. It must have been painstaking to get that right.
https://bitb
I find the following obscure (to me at least) use of type() useful exactly for
this "bag of attributes" use case:
>>> employee = type("Employee", (object,), {})
>>> employee.name = "John Doe"
>>> employee.position = "Python programmer"
>>> employee.name, employee.position, employee
('John Doe', 'Python programmer', )
>>> details = dict(name="John Doe", position="Python programmer")
>>> employee = type("Employee", (object,), details)
>>> employee.name, employee.position, employee
('John Doe', 'Python programmer', )
regards,
Albert-Jan
--
https://mail.python.org/mailman/listinfo/python-list
- Original Message -
> From: Peter Otten <__pete...@web.de>
> To: python-list@python.org
> Cc:
> Sent: Sunday, August 3, 2014 11:37 AM
> Subject: Re: Correct type for a simple "bag of attributes" namespace object
>
> Albert-Jan Roskam wrote:
>
- Original Message -
> From: Albert-Jan Roskam
> To: Terry Reedy ; "python-list@python.org"
>
> Cc:
> Sent: Sunday, August 3, 2014 11:17 AM
> Subject: Re: Correct type for a simple "bag of attributes" namespace object
>>>>>
-
On Tue, Sep 16, 2014 9:37 AM CEST Steven D'Aprano wrote:
>Ben Finney wrote:
>
>> "Frank Millman" writes:
>>
>> I know there some Git experts on this list, so I hope you don't mind
>> me posting this question here.
>>
>> I do. There may be experts on parquetry floo
-
On Tue, Sep 16, 2014 10:29 AM CEST Chris Angelico wrote:
>On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote:
>> "Frank Millman" :
>>
>> You are encouraged to make liberal use of 'branches',
>>
>> Personally, I only use forks, IOW, "git clone". I encourage that
>
--
On Tue, Sep 30, 2014 1:50 PM CEST Jean-Michel Pichavant wrote:
>Hello list,
>
>I'm currently writing a presentation to help my co-workers ramp up on new
>features of our tool (written in python (2.7)).
>
>I have some difficulties presenting code in an efficient wa
x27;t expect/hope that I'd ever need something
lower than Python 2.5
Thank you.
Albert-Jan
*) Make altinstall
sudo apt-get install libsqlite3-dev libbz2-dev libgdbm-dev libncurses5-dev
tk-dev zlib1g-dev
wget https://www.python.org/ftp/python/2.6.8/Python-2.6.8.tgz
tar -zxvf Python-2.6.8.tgz
- Original Message -
> From: Rustom Mody
> To: python-list@python.org
> Cc:
> Sent: Monday, October 13, 2014 10:00 AM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On Monday, October 13, 2014 1:24:27 PM UTC+5:30, Chris Angelico wrote:
>> On Mon, Oct
- Original Message -
> From: Chris Angelico
> To:
> Cc: Python
> Sent: Sunday, October 12, 2014 4:20 PM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On Mon, Oct 13, 2014 at 12:33 AM, Albert-Jan Roskam
>
> wrote:
>
- Original Message -
> From: Gayathri J
> To: Albert-Jan Roskam
> Cc: Python
> Sent: Sunday, October 12, 2014 6:15 PM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> I have been using Anaconda's (Continnum) conda installation
- Original Message -
> From: Terry Reedy
> To: python-list@python.org
> Cc:
> Sent: Monday, October 13, 2014 2:54 AM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On 10/12/2014 9:33 AM, Albert-Jan Roskam wrote:
>
>
>
- Original Message -
> From: Chris Angelico
> To:
> Cc: Python
> Sent: Thursday, October 16, 2014 10:48 AM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On Thu, Oct 16, 2014 at 7:42 PM, Albert-Jan Roskam
> The differe
-
On Thu, Oct 16, 2014 10:59 PM CEST Alan Gauld wrote:
>On 16/10/14 19:14, Danny Yoo wrote:
>
>> need more information. But I think you may get better help on a
>> Qt-specific mailing list; I suspect very few of us here have Qt
>> experience.
>
>There are at least 2 P
rent values for loc, and s is identical, there will or won't
be a match.
Thanks!
Albert-Jan
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 2011-11-26 at 14:22 +, Steven D'Aprano wrote:
> > when is python going to get a decent module distribution system???
>
> Python 4.3, scheduled for March 2038. It's been ready for a few years
> now, and a small secret coterie of privileged developers have been
> using
> it for their o
On Wed, 2012-01-18 at 10:00 -0800, John Nagle wrote:
> Python does not "just work". I should be able to command
> "yum install python27". (And not clobber the Python 2.6 that
> comes with CentOS.)
>
> This sort of thing is why Python is losing market share.
>
>
Or — and this is the mor
module that
can do that? All I could find was ZipfR, a package for
R.
Best wishes,
Albert-Jan
Cheers!
Albert-Jan
~~
Did you know that 87.166253% of all statistics claim a precision of results
that is not justified by the method
Hi again,
One more Q: I was wondering if there exists a more
research-oriented Python listserv. This one is good
(or so it seems, I'm just a newbie!), but the topics
are very broad. Suggestions, anyone?
Thanks in advance!
Cheers!!!
Albert-Jan
Cheers!
Alber
) dialect, and writing it.
Another option (which may be easier) I tried was:
f = open('d:/temp/myfile.csv', ' rw')
for row in f:
row.replace("\t",",")
Which is a start, but doesn't do the entire job.
Could somebody help me with this plea
o, I don't intend to use data fields. Wouldn't it be easier to convert
those to string values if I ever came across them?
Thanks again!
Albert-Jan
--- On Wed, 10/15/08, John Machin <[EMAIL PROTECTED]> wrote:
> From: John Machin <[EMAIL PROTECTED]>
> Subject: Re: new
by Spss, the program
returns an error message (see below). Some details: Python 2.4, xlwt version
0.7.0, xlrd version 0.5.2, Win NT.
Any ideas?
Thanks in advance!
Albert-Jan
"""
Merge all xls files in a given directory into one multisheet xls file.
The sheets get the or
Hi!
I made a website using Limesurvey (www.wordsalad.eu) and I would like to query
the MySQL database, mostly for *FUN* and to learn more about Python. Should the
MySQLdb module be my starting point? Or is there some other/more up-to-date
module?
Thanks in advance for your replies!
Albert
Hi,
A colleague of mine is looking for a Python IDE for Windows CE.
Does anybody happen to know what is a good choice?
Thanks,
AJ
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 2010-04-06 at 08:38 -0700, Robbie wrote:
> Hi all,
>
> So, I'm trying to use Python with an apache2 server to create some web
> pages. The web server is configured and seems to work correctly, but
> only with a certain type of script.
>
> For instance, this script works fine
>
> #!/usr/
uteError:
self.__hardroot = _Link()
self.__root = root = _proxy(self.__hardroot)
root.prev = root.next = root
self.__map = {}
self.__update(*args, **kwds)
Thanks!
Albert-Jan
--
https://mail.python.org/mailman/listinfo/python-list
From: eryk sun
Sent: Saturday, April 22, 2017 7:59 AM
To: Python Main
Cc: Albert-Jan Roskam
Subject: Re: OrderedDict with kwds
On Fri, Apr 21, 2017 at 6:08 PM, Albert-Jan Roskam
wrote:
> Would the insertion order be preserved if the last line were to be
> replaced with:
>
(sorry for top-posting). UpdateRecords and the other functions need to be
nested so they fall under your class. Right now they are functions, not methods.
AJ
From: Python-list on
behalf of horgan.ant...@gmail.com
Sent: Saturday, April 22, 2017 12:45:09 PM
To: p
From: Albert-Jan Roskam
Sent: Saturday, June 24, 2017 11:26:26 AM
To: Paul Barry
Subject: Re: Unable to convert pandas object to string
(sorry for top posting)
Try using fillna('') to convert np.nan into empty strings. df['desc'] =
df.
(sorry for top posting)
Yes, I'd try pd.concat([df1, df2]).
Or this:
df['both_names'] = df.apply(lambda row: row.name + ' ' + row.surname, axis=1)
From: Python-list on
behalf of Paul Barry
Sent: Wednesday, June 28, 2017 12:30:25 PM
To: Bhaskar Dhariyal
Cc: python
Hi,
Does your code run on a sample of the data?
Does your code have categorical data in it? If so:
https://pandas.pydata.org/pandas-docs/stable/categorical.html. Also, check out
http://www.pytables.org.
Albert-Jan
From: Python-list on
behalf of Bhaskar
From: Python-list on
behalf of Mayling ge
Sent: Tuesday, July 4, 2017 9:01 AM
To: python-list
Subject: memory leak with re.match
Hi,
My function is in the following way to handle file line by line. There are
multiple error patterns defined and need to apply to each line. I us
From: Python-list on
behalf of Dan Sommers
Sent: Friday, July 7, 2017 2:46 AM
To: python-list@python.org
Subject: Re: Test 0 and false since false is 0
On Thu, 06 Jul 2017 19:29:00 -0700, Sayth Renshaw wrote:
> I have tried or conditions of v == False etc but then the 0's being
> false als
(sorry for top posting)
Try:
df1['difference'] = (df1 == df2).all(axis=1)
From: Python-list on
behalf of Smith
Sent: Saturday, July 22, 2017 7:47:59 AM
To: python-list@python.org
Subject: Compare files excel
Hello to all,
I should compare two excel files with p
device name hole. There may be trouble with
>artists named 'COM4', 'CLOCK$', 'Con', or similar.
>
>http://support.microsoft.com/kb/74496
That applies to MS-DOS names. God forbid that this still holds on more modern
Microsoft operating systems?
>http://e
re certified intelligent and skilled and disciplined
in learning.]
The lesson that is in there for you is to not hold your students back.
They may surprise you!
Groetjes Albert
>
>ChrisA
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimat
top of that in terms of that usage.
That is how good programmers build there programs. Once there is
a certain level they don't think about what's underneath, but
concentrate on how to use it. If it is done really well, each
source module can be understood on its own.
All this is of course
can be returned.)
> prm=None
> for p,val in prime.items():
> if prm is None or val prm,smallest=p,val
> prime[prm]+=prm
> while i yield i
>
aterfall side and an airport where the personell
is on strike. (Oh the noise, the noise is unbearable!).
I have not, nor intend to write gui things in Python,
I just give an impression.
[ I want my gui's to be functional, not beautiful. ]
>
>http://www.codebykevin.com/quickwho-main
89284/why-does-0-5-3-return-true/
>
>And surprising:
>
>http://answers.yahoo.com/question/index?qid=20090923172909AA4O9Hx
>
>C-like semantics are a clear case of purity of implementation overruling
>functional usefulness.
The worst of is, of course, = for assignment instead of :=
dged CMS even needed for something like that?
Good old rcs would be fine. It is oldfashioned, so you need only
4 commands, compared to a bewildering display of icons.
mkdir RCS
ci *
rcs -NSTABLE1: RCS/*
Backup by
tar cf /media/MYSTICK/project.tar RCS
>
>Thank you.
--
--
Albert van de
in the
proper context.
cost= 3.75
print( cost )
>
>Same with converting objects to bools.
I think "if" is sufficient context to convert something to a boolean.
It now is a matter of good taste and what fits best in Python as a
whole. Nothing to be dogmatic about.
Groetjes Albert
--
_which_are_all_integers_but_might_later_have_more_or_fewer_values_or_other_types
> = list([1, 2, integer_value_three])
>
>because you can never have too much explicitness. Who wouldn't want
>to read code like that?
Java programmers?
(Couldn't resist ;-) )
>--
>Steven
In article ,
Duncan Booth wrote:
>Steven D'Aprano wrote:
>
>> On Fri, 13 Jul 2012 12:30:47 +, Albert van der Horst wrote:
>>> The worst of is, of course, = for assignment instead of := . This is
>>> a convention that Python follows, to my dismay.
>
ve one exit?
Example from recipee's:
Stirr until the egg white is stiff.
Alternative:
Stirr egg white for half an hour,
but if the egg white is stiff keep your spoon still.
(Cooking is not my field of expertise, so the wording may
not be quite appropriate. )
>--
>Steven
Gr
aedter: Goedel, Escher, Bach.
>
>--
>Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
Groetjes Albert
1] The likes of Brouwer found these silly exercises.)
--
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimat
ented discrete-event
simulation. It also contains some tools to help us to visualize
simulation data. It takes some time to study it, but if you would like to do
some simulation projects, it will definitely be a good investment! Have
fun with simulation!
with Regards,
Albert Huang
Ricky writes:
pt.
This one he got from Stalin.
>the only way to survive in the unicode world. Write defensive code.
>Wrap try blocks around calls that might raise exceptions if the external
>data is borked w/r/t what the metadata claims it should be.
The way to go, of course.
Groetjes Albert
--
Alber
ood is it? Actually it is good enough to
run the above emulator!
(We run a third emulator, of the GA144, on top at a decent speed.)
Groetjes Albert
--
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
--
http://mail.python.org/mailman/listinfo/python-list
to-genius into Harvard. Otherwise they will become
the master-minds of crime. And you will be too stupid to beat them.
Groetjes Albert
--
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
--
http://mail.python.org/mailman/listinfo/python-list
ho deny freedom to others deserve it not for themselves."
>"Man is free at the moment he wishes to be."
>"Those who desire to give up freedom in order to gain security, will
>not have, nor do they deserve, either one."
Black Panther comes to mind. The USA just kille
t all.
If you mean that you want to be able to select something with larger
precision than single or double floats, numpy is the starting point.
>
>Appreciate any comments.
>
>Ken
Groetjes Albert
--
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponent
icate that it *does* matter is
a bit perverse, but the Perl people are not to blame if they use
a term in their usual sense.
Groetjes Albert
--
--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst
--
http://mail.python.org/mailman/listinfo/python-list
In article <4f5df4b3$0$1375$4fafb...@reader1.news.tin.it>,
Kiuhnm wrote:
>On 3/12/2012 12:27, Albert van der Horst wrote:
>> Interestingly in mathematics associative means that it doesn't matter
>> whether you use (a.b).c or a.(b.c).
>> Using xxx-associativity t
on't understand what a condition number is, you can't use
Mathematica. And yes condition numbers are fully in the realm
of concepts of machine precisions and accuracy.
Infinite precision takes infinite time. Approaching infinite precious
may take exponentional time.
>
> Xah
Groet
program of the Turing is e.g. F, to be thought of as hard wiring.
A Turing machine is *not* a stored program computer!
The universal Turing machine is, it contains a hardwired program
to execute a stored program on the tape.
>
>--
>Steven
Groetjes Albert
--
--
Albert van der Horst, UTR
e harder algorithms like T (Toom Cook)
that must be translated to recursive functions that pass
data down. That took me quite a wile.
The correct answer is, it is just labour. Deal with it.
Note that if you want to translate it to assembler, it is
relatively easy.
>
>kind regards, Antti J
601 - 700 of 904 matches
Mail list logo