ation that modifies itself (bad?)
to define a list iterator.
http://blog.plt-scheme.org/2007/07/callcc-and-self-modifying-code.html
I recommend putting that code into a Scheme interpreter and running
it. You'll get it.
Hope this helps, and I look forward to better explanations than min
wto/cgi.html' a read over as it's
going to cover a lot more than I just did.
Jeff
On 10/20/07, Brian Shine <[EMAIL PROTECTED]> wrote:
> I'm trying to get cgi scripts to work. I can link to the python
> script, but instead of running and producing an output, it prints the
I want to transmit an array via socket from a host to another.
How to do it? thank you.
--jeff
_
Largest network of startups. Find new startup opportunities. Click here.
http://thirdpartyoffers.juno.com/TGL2111/fc
Does anyone know if there's a plan in the works for a new edition of
Learning Python? The current edition (2nd) is a few years old and looks
like it only covers Python 2.3.
Anyone on the list have Lutz's ear?
-Jeff
This email is intended only for the individual or entity to w
>Demel, Jeff wrote:
>> Does anyone know if there's a plan in the works for a new edition of
>> Learning Python? The current edition (2nd) is a few years old and
>> looks like it only covers Python 2.3.
Björn replied:
>IIRC, differences to 2.4 are in it, too.
In
your very astute questions.
-Jeff
This email is intended only for the individual or entity to which it is
addressed. This email may contain information that is privileged, confidential
or otherwise protected from disclosure. Dissemination, distribution or copying
of this e-mail or any attac
xtension implemented.
Any enlightenment?
-Jeff
--
http://mail.python.org/mailman/listinfo/python-list
like to meet
face-to-face with kindred spirits there. I'll make sure it gets on the
conference schedule.
Jeff Rush
Python Advocacy Coordinator
Dallas-Ft. Worth Pythoneers Coordinator
PyCon 2007 Co-Chair
--
http://mail.python.org/mailman/listinfo/python-list
eady, check out the installation and testing
instructions about half way down the page at:
http://rene.f0o.com/mywiki/LectureOne#line-50
You can also check out the game Galcon at:
http://www.imitationpickles.org/galcon/index.html
See you later this week,
Jeff Rush
Co-Chair PyCo
r sprint wiki pages, to encourage them to
happen.
See you later this week. Get plenty of sleep beforehand, you won't get much
at PyCon this year!
Jeff Rush
PyCon Co-Chair
--
http://mail.python.org/mailman/listinfo/python-list
yo,
Bjorn, I am not sure I see why my post is bull crap. I think all you
are doing is agreeing with me. My post was entitled "Python 3.0 unfit
for serious work", you just indicated that the Linux distros will
agree with me, in order to be taken seriously, the distros will have
to include 2.x pyt
Or perhaps...
ord ("a")
97
chr (97)
'a'
On 2/22/07, hg <[EMAIL PROTECTED]> wrote:
John wrote:
> Is there any built in function that converts ASCII to integer or vice
> versa in Python?
>
> Thanks!
>>> int('10')
10
>>> str(10)
'10'
>>>
--
http://mail.python.org/mailman/listinfo/pytho
to proxy *all* traffic back. I
believe the [P] flag is fully supported in a per-directory
configuration context.
-Jeff
On Feb 22, 2007, at 9:55 PM, Brian Blais wrote:
> Jorge Vargas wrote:
>> On 2/20/07, Brian Blais <[EMAIL PROTECTED]> wrote:
>>> I was wondering
Isn't this something that os.walk would be good for?
import os
for t in os.walk(base_dir):
for f in t[2]:
print "/".join((t[0], f))
Jeff
On Feb 26, 2007, at 4:42 PM, Sick Monkey wrote:
I had a do something similar. I had to get a program to traverse
through
rying to reimplement something that probably already exists.
Thanks
Jeff
--
http://mail.python.org/mailman/listinfo/python-list
h.realpath(os.path.pardir)' construct in a couple of scripts
myself. That ought to work within the interactive interpreter.
Jeff
On Nov 2, 2007, at 11:21 PM, klenwell wrote:
> I apologize in advance for coming at this from this angle but...
>
> In PHP you have the __FILE__ constant w
I'm using Mac OS X, and it get:
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.getcw
See http://www.python.org/doc/faq/general/#how-are-dictionaries-implemented
. In short, keys() and items() return an arbitrary ordering. I think
that http://pypi.python.org/pypi/Ordered%20Dictionary/ will do what
you want if key ordering is a necessity.
Jeff
On Nov 4, 2007, at 8:19 AM
You could also just store the files outside of the document root if
you don't want to worry about a database. Then, as Jeff said, just
print the proper Content-Type header and print the file out.
On Nov 5, 2007, at 8:26 AM, Jeff wrote:
> Store the file in a database. When an au
http://www.linuxhardware.org/features/01/10/09/1514233.shtml
AMD has historically used model numbers that are slightly higher than
the actual clock speed. I have a 2300 that runs at 1.9.
-Jeff
On Nov 6, 2007, at 3:27 PM, Chris Mellon wrote:
> On Nov 6, 2007 2:12 PM, <[EMAIL PRO
Think about the context in which your function definition is executed and
how the 'self' parameter is implemented. Your definitions (and decorator
calls) are executed in the context of 'class A.'
That said, the following would work:
>>> class A:
def pre(fn):
def new_func(*args,**kwa
There's a government website which shows public data for banks. We'd
like to pull the data down programmatically but the data is "hidden"
behind .aspx...
Is there anyway in Python to hook in directly to a browser (firefox or
IE) to do the following...
1) Fill the search criteria
2) Press the "Sea
I've purchased a couple of books on Python and I keep going back to Python
in a Nutshell. It's about the only printed text I keep on my desk all the
time. It has a nice introduction to the language and includes the
specification, too.
If you're familiar with programming,
http://diveintopython.org
over the process.
On top of that, Doxygen might be something worth looking at (but then again,
it very well might be overkill, depending on your requirements).
-Jeff
On 12/3/07, Samuel <[EMAIL PROTECTED]> wrote:
>
> Does anyone know an easy way to extract the API documentation that
]
>>>
But note that 'eval' is generally not such a good idea unless you
can completely trust your input source. Depending on where your data is
coming from, you may very well be better off parsing the string data and
creating the list programatically.
>>> [in
mply evaluates a line of Python code. If,
for example, you were reading a parameter from an HTTP GET request and
executing it without validation, you could run into trouble if that variable
contained malicious code. Think SQL injection style problems.
-Jeff
On 12/11/07, katie smith <[EMA
I'd suggest you take some time and go through some of the online Python
documentation in detail. The tutorials and whatnot posted on the website are
quite good (available at http://docs.python.org/doc/).
You can probably find answers to a lot of the questions you might have in
there.
-Jeff
/ansi-diff-transactions.html.
-Jeff
On 12/12/07, Hans Müller <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'd like to modify some tables in a database in one transaction.
> This approach doesn't work:
>
> import MySQLdb
>
> con = MySQLdb.connect("servern
gracefully.
> Instead I see the server send data to the client and then a RST,
> nothing more.
>
> The crux of this strangeness seems to be Python sending a RST without
> any prompting from the client. It's just send to client, send to
> client, send to client, reset. OH!
DO YOU STILL OFFER THE GUARANTEED APPROVAL 4,650 VISA, MATERCARD AND LINE OF
CEDIT.
THANK YOU
JEFF JENNEMAN
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
og', '/var/log/windowserver.log',
'/var/log/windowserver_last.log']
>>> glob.glob("/var/*/*.log")
['/var/log/alf.log', '/var/log/asl.log', '/var/log/crashreporter.log',
'/var/log/fsck_hfs.log', '/var/log
hon/site-packages/ directory, thereby enabling specific packages
globally across an installation.
The zc.buildout approach is less global but gives more rigorous control, by
letting individual scripts insert specific package references during startup.
So you end up with startup scripts like:
import sys
I'm writing a launcher that should do the following:
1. Activate a .bat file to set environmental variables.
2. Start 3 programs, using said environmental variables as arguments.
However, I can't get the environmental variables to stick because all
of Pythons' system start/open functions split of
>How about sourcing it from a shell, then using that same shell instance
>to run the programs?
How would I do that? As I've said, I haven't found a Python command
that lets you send multiple commands to the same shell yet. If I could,
my problem would be solved.
--
http://mail.python.org/mailman
= ('first2', 'last2')
>>> p.name
'first2 last2'
>>>
I found http://users.rcn.com/python/download/Descriptor.htm#properties to be
a pretty good reference.
Thanks,
Jeff
On 12/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi Pyt
r__(self, attr, value):
print 'setting %s to %s' % (attr, value)
if attr == 'fakeme':
self.__hidden = value
>>> e = Example()
setting _Example__hidden to 1
>>> type (e._Example__hidden)
getting _Example__hidden
Hope that helps,
Jeff
On 12/31/07, Jeff McNeil
ne, '5c', ['6a', '6b', '6c']], 7, 8]
>>> a
[1, 2, 3, 4, ['5a', None, '5c', ['6a', '6b', '6c']], 7, 8]
>>> a[4][1] = "Something"
>>> a
[1, 2, 3, 4, ['5a',
How [EMAIL PROTECTED] wrote:
> Ruby has a neat little convenience when writing loops where you don't
> care about the loop index: you just do n.times do { ... some
> code ... } where n is an integer representing how many times you want
> to execute "some code."
>
> In Python, the direct translatio
Steve Holden wrote:
> [EMAIL PROTECTED] wrote:
>>> Why not a Python COMPILER?
>>
>> What about a Python JIT hardware chip, so the CPU doesn't have to
>> translate. Although it seems to me that with today's dual and quad
>> core processors that this might be a mute point because you could just
>> u
Tim Chase wrote:
>> Are there any Python libraries implementing measurement of similarity
>> of two strings of Latin characters?
>
> It sounds like you're interested in calculating the Levenshtein distance:
>
> http://en.wikipedia.org/wiki/Levenshtein_distance
>
> which gives you a measure of ho
Steven D'Aprano wrote:
> On Wed, 06 Feb 2008 17:32:53 -0600, Robert Kern wrote:
>
>> Jeff Schwab wrote:
> ...
>>> If the strings happen to be the same length, the Levenshtein distance
>>> is equivalent to the Hamming distance.
> ...
>> I
Grant Edwards wrote:
> On 2008-02-08, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
>
>>> the compiler could do little else except translate it to something
>>> like:
>>>
>>> (python:add a b)
>> [snip more interesting considerations about compiling python]
>>
>> Please get back on topic. This discu
Luis M. González wrote:
> On 8 feb, 22:15, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>> On Fri, 08 Feb 2008 17:45:36 +, Grant Edwards wrote:
>>> On 2008-02-08, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
Please get back on topic. This discussion is about parsecs and
wookies
t3chn0n3rd wrote:
> Do you think it is relatively easy to write sort algorithms such as
> the common Bubble sort in Python as compared to other high level
> programming langauges
http://www.codecodex.com/wiki/index.php?title=Bubble_sort
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> On Fri, 08 Feb 2008 17:00:27 -0800, t3chn0n3rd wrote:
>
>> Do you think it is relatively easy to write sort algorithms such as the
>> common Bubble sort in Python as compared to other high level programming
>> langauges
>
>
> You realise that bubble sort is one of the wo
Grant Edwards wrote:
> On 2008-02-09, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
>> On Sat, 2008-02-09 at 14:56 +0100, Martin P. Hellwig wrote:
Propagate, travel, what's the difference?
>>> Unfortunately, I didn't study any of this but I sure do remember the
>>> answer one drunk phys
Carl Banks wrote:
> On Feb 8, 10:09 pm, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>> If you expect your data to be pretty nearly sorted
>> already, but you just want to make sure (e.g. because a small number of
>> elements may have been inserted or removed since the last
Steven D'Aprano wrote:
> On Fri, 08 Feb 2008 19:09:06 -0800, Jeff Schwab wrote:
>
>> Steven D'Aprano wrote:
>>> On Fri, 08 Feb 2008 17:00:27 -0800, t3chn0n3rd wrote:
>>>
>>>> Do you think it is relatively easy to write sort algorithms such as
Steven D'Aprano wrote:
> On Sat, 09 Feb 2008 13:37:23 -0800, Jeff Schwab wrote:
>
>> Carl Banks wrote:
>>> On Feb 8, 10:09 pm, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>>>> If you expect your data to be pretty nearly sorted already, but you
>>>
neocortex wrote:
> Hello!
> I am a newbie in Python. Recently, I get stuck with the problem of
> sorting by two criteria. In brief, I have a two-dimensional list (for
> a table or a matrix). Now, I need to sort by two columns, but I cannot
> figure out how to do that. I read somewhere that it is po
Steven D'Aprano wrote:
> On Sat, 09 Feb 2008 14:28:15 -0800, Jeff Schwab wrote:
>
>> Steven D'Aprano wrote:
>>> On Sat, 09 Feb 2008 13:37:23 -0800, Jeff Schwab wrote:
>>>
>>>> Carl Banks wrote:
>>>>> On Feb 8, 10:09 pm, Jeff Sch
Neal Becker wrote:
> [EMAIL PROTECTED] wrote:
>
>> Would a wrapper function be out of the question here?
>>
>> def MyDivision(num, denom):
>> if denom==0:
>> return "NaN"
>> else
>> return num / denom
>
> I bought a processor that has hardware to implement this. Why do I
Grant Edwards wrote:
> On 2008-02-10, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>> Neal Becker wrote:
>>> [EMAIL PROTECTED] wrote:
>>>
>>>> Would a wrapper function be out of the question here?
>>>>
>>>> def MyDivision(num,
Erik Max Francis wrote:
> Robert Bossy wrote:
>> Grant Edwards wrote:
>>> After repeated attempts at the tasks set for them in the
>>> experiments, the subjects would learn strategies that would
>>> work in a Newtonian world, but the initial intuitive reactions
>>> were very non-Newtonian (regardle
Erik Max Francis wrote:
> Jeff Schwab wrote:
>
>> Erik Max Francis wrote:
>>> Robert Bossy wrote:
>>>> I'm pretty sure we can still hear educated people say that free fall
>>>> speed depends on the weight of the object without realizing it
Erik Max Francis wrote:
> Grant Edwards wrote:
>
>> On 2008-02-12, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>>> Fair enough!
>>
>> Dear me, what's Usenet coming to these days...
>
> I know, really. Sheesh! Jeff, I won't stand for that!
Grant Edwards wrote:
> On 2008-02-10, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> ? ? ? A Parsec is a fixed value (which, admittedly, presumes
> the culture developed a 360degree circle broken into degrees
> => minutes => seconds... or, at least, some units compatible
> with t
Erik Max Francis wrote:
> Jeff Schwab wrote:
>
>> So what's the "double mistake?" My understanding was (1) the misuse
>> (ok, vernacular use) of the term "free fall," and (2) the association
>> of weight with free-fall velocity ("If I tie a
Erik Max Francis wrote:
> Jeff Schwab wrote:
>
>> Erik Max Francis wrote:
>>> Grant Edwards wrote:
>>>
>>>> On 2008-02-12, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>>>>> Fair enough!
>>>>
>>>> Dear me, what
Gabriel Genellina wrote:
> En Tue, 12 Feb 2008 14:41:20 -0200, Jeff Schwab <[EMAIL PROTECTED]>
> escribi�:
>
>> def line():
>> try:
>> raise Exception
>> except:
>> retu
greg wrote:
> Carl Banks wrote:
>> In C you can use the mmap call to request a specific physical location
>> in memory (whence I presume two different processes can mmap anonymous
>> memory block in the same location)
>
> Um, no, it lets you specify the *virtual* address in the process's
> address
Gabriel Genellina wrote:
> En Tue, 12 Feb 2008 16:20:12 -0200, Jeff Schwab <[EMAIL PROTECTED]>
> escribió:
>
>> What about the following? Should the underscores be omitted from the
>> method names, for consistency with inspect?
>
> I prefer the names_wit
> On Feb 12, 2008 1:05 PM, <[EMAIL PROTECTED]> wrote:
>> What is dream hardware for the Python interpreter?
Warren Myers wrote:
> A Cray?
>
> What are you trying to do? "dream" hardware is a very wide question.
The only "dream hardware" I know of is the human brain. I have a
slightly used
alain wrote:
> On Feb 11, 10:58 am, "Bill Davy" <[EMAIL PROTECTED]> wrote:
>> Writing a quick and dirty assembler and want to give the user the location
>> of an error. The "assembly language" is Python. If the user wants to
>> generat some object code they write something like:
>>
>> Label(Loop
Steven D'Aprano wrote:
> On Tue, 12 Feb 2008 10:05:59 -0800, castironpi wrote:
>
>> What is dream hardware for the Python interpreter?
>
> I'm not sure that the Python interpreter actually does dream, but if it's
> anything like me, it's probably a giant computer the size of a bus, made
> out o
Jeroen Ruigrok van der Werven wrote:
> -On [20080212 22:15], Dotan Cohen ([EMAIL PROTECTED]) wrote:
>> Note that Google will give a calculator result for "1 kilogram in
>> pounds", but not for "1 kilogram in inches". I wonder why not? After
>> all, both are conversions of incompatible measurements,
alain wrote:
> On Feb 12, 7:44 pm, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>
>> It still would be nice to have syntax as clean as __FILE__ and __LINE__.
>
> There exists an undocumented builtin called __file__, but
> unfortunately no corresponding __line__
Drat! So
Hrvoje Niksic wrote:
> Jeff Schwab <[EMAIL PROTECTED]> writes:
>
>> Jeroen Ruigrok van der Werven wrote:
>>> -On [20080212 22:15], Dotan Cohen ([EMAIL PROTECTED]) wrote:
>>>> Note that Google will give a calculator result for "1 kilogram in
>>
Steve Holden wrote:
> James Stroud wrote:
>> [...] I then append the growing list of series generator
>> into the "serieses" list ("serieses" is plural for series if your
>> vocablulary isn't that big).
>>
> Not as big as your ego, apparently ;-) And don't be coming back with any
> argumentses.
Grant Edwards wrote:
> On 2008-02-13, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>
>>> Eh? Last I checked both pound and kilogram are units of mass, so where is
>>> the incompatibility?
>> I've never heard of "pound" as a unit of mass. At least wher
David H Wild wrote:
> In article <[EMAIL PROTECTED]>,
>Jeff Schwab <[EMAIL PROTECTED]> wrote:
>> We (Americans) all measure our weight in pounds. People talk about how
>> much less they would weigh on the moon, in pounds, or even near the
>> equator (
[EMAIL PROTECTED] wrote:
> I've never had any call to use floating point numbers and now that I
> want to, I can't!
>
> *** Python 2.5.1 (r251:54863, May 1 2007, 17:47:05) [MSC v.1310 32
> bit (Intel)] on win32. ***
float (.3)
> 0.2
foo = 0.3
foo
> 0.299
Nikita the Spider wrote:
> In article <[EMAIL PROTECTED]>,
> Jeff Schwab <[EMAIL PROTECTED]> wrote:
>
>> greg wrote:
>>> Carl Banks wrote:
>>>> In C you can use the mmap call to request a specific physical location
>>>> in memory
Dennis Lee Bieber wrote:
> On Wed, 13 Feb 2008 17:49:08 -0800, Jeff Schwab <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>> If you need a pretty string for use in code:
>>
>> >>> def pretty_fp(fpnum, prec=8):
>>
Christian Heimes wrote:
> Dennis Lee Bieber wrote:
>> What's wrong with just
>>
>> str(0.3)
>>
>> that's what "print" invokes, whereas the interpreter prompt is using
>>
>> repr(0.3)
>>
>
> No, print invokes the tp_print slot of the float type. Some core types
> have a special hand
1:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import a
a
>>>
Thanks!
Jeff
On 2/14/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Carl Banks wrote:
> On Feb 14, 6:16 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
On behalf of the Python development team and the Python community, I'm
happy to announce the release of Python 2.5.2 (release candidate 1).
>>> Um. If it's only a release *candidate* of 2.5.2, and not yet
Paul Rubin wrote:
> I join everyone else in thanking Martin for his work on this whole
> effort. This wording and naming thing is a trivial subtopic.
Ditto! The list of fixes is impressive. Kudos to everyone who everyone
responsible for the changes, and for keeping them organized and document
Zentrader wrote:
>> That's a misconception. The decimal-module has a different base (10
>> instead of 2), and higher precision. But that doesn't change the fact
>> that it will expose the same rounding-errors as floats do - just for
>> different numbers.
>>
>> >>> import decimal as d
>> >>> d = d
[EMAIL PROTECTED] wrote:
> On Feb 13, 10:50 pm, Lalit <[EMAIL PROTECTED]> wrote:
>
>> I need to write a program which would transfer files under one folder
>> structure (there are sub folders) to single folder.
>
>
>
> find /fromdir -exec mv {} /todir \; -print
>
>
-type f
--
http://mail.py
[EMAIL PROTECTED] wrote:
> On Feb 14, 10:50 pm, [EMAIL PROTECTED] (Aahz) wrote:
>> In article <[EMAIL PROTECTED]>,
>> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>>
>>> On Tue, 12 Feb 2008 10:05:59 -0800, castironpi wrote:
What is dream hardware for the Python interpreter?
>>> I'm not sure tha
Preston Landers wrote:
> Hey guys and gals. What are all the cool kids using these days to
> document their code? My goal is to create in-line documentation of
> each package/module/class/method and create some semi-nice looking (or
> at least usable) packaged documentation from it, in HTML and/o
Steve Holden wrote:
> Mark Dickinson wrote:
>> On Feb 14, 11:09 pm, John Nagle <[EMAIL PROTECTED]> wrote:
>>> You also need to think about how conditionals interact with
>>> quiet NANs. Properly, comparisons like ">" have three possibilities:
>>
>> True. There was a recent change to Decimal
Chris wrote:
> On Feb 15, 7:10 pm, DataSmash <[EMAIL PROTECTED]> wrote:
>> I simply want to capture the free disc space in a variable so that I
>> can compare changes. I'm aware of a few commands like "df -h" or "du -
>> k", but I can't figure out how to capture those values as a variable.
>> I al
Zentrader wrote:
> I disagree with this statement
> But that doesn't change the fact that it will expose the same
> rounding-errors as floats do - just for different numbers.
> The example used has no rounding errors.
I think we're using the term "rounding error" to mean different things.
If t
Christian Heimes wrote:
> Jeff Schwab wrote:
>> I'm not sure how superuser-only space would be reserved in the first
>> place. I don't see anything relevant in the fdisk man page.
>
> man mkfs
>
> :)
Thank you.
Looks like the feature is only supported
W. Watson wrote:
> See Subject. It's a simple txt file, each line is a Python stmt, but I
> need up to four digits added to each line with a space between the
> number field and the text. Perhaps someone has already done this or
> there's a source on the web for it. I'm not yet into files with P
DataSmash wrote:
> On Feb 15, 1:32 pm, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>> Chris wrote:
>>> On Feb 15, 7:10 pm, DataSmash <[EMAIL PROTECTED]> wrote:
>>>> I simply want to capture the free disc space in a variable so that I
>>>> can com
Steve Holden wrote:
> Jeff Schwab wrote:
>> I'm not sure how superuser-only space would be reserved in the first
>> place. I don't see anything relevant in the fdisk man page.
>
> The UFS and ext2 filesystem space allocation routines become very
> inefficien
Steven D'Aprano wrote:
> On Fri, 15 Feb 2008 10:55:47 -0800, Zentrader wrote:
>
>> I disagree with this statement
>> But that doesn't change the fact that it will expose the same
>> rounding-errors as floats do - just for different numbers. The
>> example used has no rounding errors.
>
> Of cour
Amit Gupta wrote:
> Python'ites
>
> Is there an environment variable or some settings, that python can use
> to know the directory name for dumping .pyc files.
>
> Not a hard-requirement, I just don't like pyc files alongwith py files
> in my work area.
Does this help?
# ls.py
import subprocess
Paul Rubin wrote:
> Mark Dickinson <[EMAIL PROTECTED]> writes:
>>> But the IEEE standard only supports one of them, aleph(0).
>>> Technically two: plus and minus aleph(0).
>> Not sure that alephs have anything to do with it.
>
> They really do not. The extended real line can be modelled in set
>
Paul Rubin wrote:
> Jeff Schwab <[EMAIL PROTECTED]> writes:
>> Why not? They seem intuitive to me. I would find it weird if you
>> couldn't have 0-tuple, and even weirder if you couldn't have a
>> 1-tuple. Maybe my brain has been warped by too much C++ code
Steve Holden wrote:
> Paul Rubin wrote:
>> Steve Holden <[EMAIL PROTECTED]> writes:
>>> Assuming you're right, what alternative would you suggest? Would it
>>> allow parenthesized expressions to retain their customary meaning?
>>
>> It is kind of weird that there is even such a thing as a 1-tuple.
Ilias Lazaridis wrote:
> Essence:
Spam spam spam spam...
I just looked at your resume. What is Abstract Project Management?
--
http://mail.python.org/mailman/listinfo/python-list
Robert Klemme wrote:
> On 16.02.2008 13:16, Ilias Lazaridis wrote:
>
>
>
> Oh, it's him again. Please do not respond.
>
> http://dev.eclipse.org/newslists/news.eclipse.foundation/msg00167.html
> http://www.encyclopediadramatica.com/index.php/Ilias
Thank you. I didn't recognize his name at fi
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Jeff Schwab <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>> On Feb 14, 10:50 pm, [EMAIL PROTECTED] (Aahz) wrote:
>>>> In article <[EMAIL PROTECTED]>,
>>>> Steven D'Aprano
Lie wrote:
> Would all these problems with floating points be a rational reason to
> add rational numbers support in Python or Py3k? (pun not intended)
>
> I agree, there are some numbers that is rationals can't represent
> (like pi, phi, e) but these rounding problems also exist in floating
> poi
[EMAIL PROTECTED] wrote:
>> IHNTA, IJWTSA
>> Thanks, but... That defines IHNTA, but not IJWTSA or IJWTW. "I just
>> want to say...?" "I just want to watch?"- Hide quoted text -
>
> I just want to what?
Exactly!
--
http://mail.python.org/mailman/listinfo/python-list
Carl Banks wrote:
> On Feb 16, 1:39 pm, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>> Aahz wrote:
>>> In article <[EMAIL PROTECTED]>,
>>> Jeff Schwab <[EMAIL PROTECTED]> wrote:
>>>> [EMAIL PROTECTED] wrote:
>>>>> On Feb 14, 10:50
701 - 800 of 1056 matches
Mail list logo