On Dec 2, 8:38 pm, Michael Goerz <[EMAIL PROTECTED]> wrote:
> Michael Goerz wrote:
> > Hi,
>
> > I am writing unicode stings into a special text file that requires to
> > have non-ascii characters as as octal-escaped UTF-8 codes.
>
> > For example, the letter "Í" (latin capital I with acute, code p
On Dec 2, 11:46 pm, Michael Spencer <[EMAIL PROTECTED]> wrote:
> Michael Goerz wrote:
> > Hi,
>
> > I am writing unicode stings into a special text file that requires to
> > have non-ascii characters as as octal-escaped UTF-8 codes.
>
> > For example, the letter "Í" (latin capital I with acute, cod
On Dec 3, 1:31 am, MonkeeSage <[EMAIL PROTECTED]> wrote:
> On Dec 2, 11:46 pm, Michael Spencer <[EMAIL PROTECTED]> wrote:
>
>
>
> > Michael Goerz wrote:
> > > Hi,
>
> > > I am writing unicode stings into a special text file that requires to
> &
On Dec 2, 10:13 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]>
wrote:
> > > The reason I need this is that my current best strategy to avoid ads in
> > > web pages is putting all ad server names into /etc/hosts and stick my
> > > local ip number next to them (127.0.0.1) so every ad request goes to my
On Dec 2, 4:47 am, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Sat, 01 Dec 2007 23:55:32 -0800, Russ P. wrote:
> > I neither know nor care much about Newton's personality and social
> > graces, but I can assure you that he was more than a "technician" (no
> > offense to techn
On Dec 3, 7:23 am, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Mon, 03 Dec 2007 02:12:17 -0800, MonkeeSage wrote:
> > Being fair, the bulk of Liebniz' writings have also been rejected by
> > those in related fields. Most modern metaphysicians h
On Dec 3, 5:39 pm, "Russ P." <[EMAIL PROTECTED]> wrote:
> On Dec 3, 2:40 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
>
> > Until the OP posted his lastest 'why', I assumed this proposal was an April
> > Fools' post that he just could not wait to post. In fact, given that the
> > effective cost wo
On Dec 3, 8:58 am, Samuel <[EMAIL PROTECTED]> wrote:
> On Mon, 03 Dec 2007 06:45:45 -0800, Giampaolo Rodola' wrote:
> > dir.__doc__
>
> This contains only the docstring one object (module, class,
> function, ...). I was thinking more of the complete API documentation
> that can be found in a file,
On Dec 3, 8:10 am, Michael Goerz <[EMAIL PROTECTED]> wrote:
> MonkeeSage wrote:
> > On Dec 3, 1:31 am, MonkeeSage <[EMAIL PROTECTED]> wrote:
> >> On Dec 2, 11:46 pm, Michael Spencer <[EMAIL PROTECTED]> wrote:
>
> >>> Michael Goerz wrote:
> >
On Dec 6, 3:51 pm, Spes <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have this simple code:
> | #!/usr/bin/python
> | import codecs
> | import re
> | from copy import deepcopy
> |
> | class MyClass(object):
> | def __del__(self):
> | deepcopy(1)
> |
> | x=MyClass()
>
> but I get an error:
> | Excep
On Dec 6, 9:16 pm, MonkeeSage <[EMAIL PROTECTED]> wrote:
> On Dec 6, 3:51 pm, nomihn0 <[EMAIL PROTECTED]> wrote:
>
> > I'd like to accept mouse gestures and keyboard shortcuts as input to a
> > program. The nature of this program requires that these comma
On Dec 6, 3:51 pm, nomihn0 <[EMAIL PROTECTED]> wrote:
> I'd like to accept mouse gestures and keyboard shortcuts as input to a
> program. The nature of this program requires that these commands be
> issued regardless of the currently active window. Here's the rub: I
> need a platform-independent so
On Dec 6, 3:02 pm, samwyse <[EMAIL PROTECTED]> wrote:
> On Dec 6, 1:12 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>
>
>
> > samwyse schrieb:
>
> > > For whatever reason, I need an inproved integer. Sounds easy, let's
> > > just subclass int:
>
> > class test(int):
> > >pass
>
> > >
A quick question about how python parses a file into compiled
bytecode. Does it parse the whole file into AST first and then compile
the AST, or does it build and compile the AST on the fly as it reads
expressions? (If the former case, why can't functions be called before
their definitions?)
Thank
On Dec 7, 9:50 am, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> On Dec 7, 3:23 pm, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> > A quick question about how python parses a file into compiled
> > bytecode. Does it parse the whole file into AST first and then compile
>
On Dec 7, 12:45 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Fri, 07 Dec 2007 03:01:28 -0300, MonkeeSage <[EMAIL PROTECTED]>
> escribió:
>
> > I've wondered about this myself. Seems to me, to prevent clobbering
> > subclasses, __iadd_
On Dec 8, 12:20 am, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> "MonkeeSage" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> | 1.) What is the benefit of doing a two phase compilation (parsing/
> | compiling), rather th
On Dec 8, 3:32 am, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Dec 7, 9:23 am, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> > A quick question about how python parses a file into compiled
> > bytecode. Does it parse the whole file into AST first and then compile
>
On Dec 8, 2:10 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Fri, 07 Dec 2007 23:19:40 -0800, tjhnson wrote:
> > With properties, attributes and methods seem very similar. I was
> > wondering what techniques people use to give clues to end users as to
> > which 'things' are methods
On Dec 8, 6:50 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Sat, 08 Dec 2007 00:34:06 -0800, MonkeeSage wrote:
> > I think he means callable attributes (methods) and non-callable
> > attributes (variables).
>
> But not every callable attribute
On Dec 7, 4:29 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> "MonkeeSage" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> |A quick question about how python parses a file into compiled
> | bytecode. Does it parse the whole file
On Dec 7, 11:08 pm, Steve Howell <[EMAIL PROTECTED]> wrote:
> Python is my favorite programming language. I've used
> it as my primary language for about six years now,
> including four years of using it full-time in my day
> job. Three months ago I decided to take a position
> with a team that d
On Dec 8, 12:42 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> MonkeeSage a écrit :
>
> > On Dec 7, 11:08 pm, Steve Howell <[EMAIL PROTECTED]> wrote:
>
> (snip)
> >> 4) Ruby forces you to explicitly make attributes for
> >> instance variabl
On Dec 8, 12:56 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> MonkeeSage a écrit :
>
>
>
> > On Dec 8, 2:10 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>
> >>On Fri, 07 Dec 2007 23:19:40 -0800, tjhnson wrote:
>
> >&g
On Dec 8, 2:51 pm, Glenn Hutchings <[EMAIL PROTECTED]> wrote:
> On Dec 8, 7:44 pm, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> > I think it muddies the water to say that a.a() and a.a are the same
> > thing--obviously they are not.
>
> A thing is not what it is;
On Dec 8, 4:54 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> MonkeeSage a écrit :
>
>
>
> > On Dec 8, 12:42 pm, Bruno Desthuilliers
> > <[EMAIL PROTECTED]> wrote:
>
> >>MonkeeSage a écrit :
>
> >>>On Dec 7, 11:08 pm, Steve
On Dec 9, 1:58 pm, MonkeeSage <[EMAIL PROTECTED]> wrote:
> Sure. But as I understand, every attribute in python is a value,
sorry...*references* a value
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 8, 4:11 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> MonkeeSage a écrit :
>
>
>
> > On Dec 8, 12:56 pm, Bruno Desthuilliers
> > <[EMAIL PROTECTED]> wrote:
>
> >>MonkeeSage a écrit :
>
> >>>On Dec 8, 2:10 am, Marc '
On Dec 9, 3:10 pm, I V <[EMAIL PROTECTED]> wrote:
> On Sun, 09 Dec 2007 11:58:05 -0800, MonkeeSage wrote:
> > class A
> > attr_accessor :a # == self.a,
> ># accessible to instances of A
> > def initialize
> > @a = "foo"
Hi Bruno,
I think that we've been having a mainly "semantic" (pun intended)
dispute. I think you're right, that we've been using the same words
with different meanings.
I would like to say firstly that I've been using python for a few
years now (about three I think), and I think I have a basic gr
On Dec 9, 6:23 pm, MonkeeSage <[EMAIL PROTECTED]> wrote:
> Hi Bruno,
>
> I think that we've been having a mainly "semantic" (pun intended)
> dispute. I think you're right, that we've been using the same words
> with different meanings.
>
> I w
It seems that I've got a short-circuit somewhere here. I understand
that everything is an object and the the storage/lookup system is
object-agnostic, and that it is only the descriptors (or "tags" as I
called them generically) that determine how an attribute is bound,
whether it is bound at all, w
On Dec 10, 3:50 am, Seongsu Lee <[EMAIL PROTECTED]> wrote:
> On 12월10일, 오후12시18분, Adonis Vargas <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Seongsu Lee wrote:
> > > Hi,
>
> > > I have a dictionary with million keys. Each value in the
> > > dictionary has a list with up to thousand integers.
> > > Follow
On Dec 10, 7:19 am, Bruno Desthuilliers wrote:
> MonkeeSage a écrit :
>
> > It seems that I've got a short-circuit somewhere here. I understand
> > that everything is an object and the the storage/lookup system is
> > object-agnostic, and that it is only the descripto
On Dec 10, 8:31 am, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-12-10, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> > If I'm not mistaken, building a reverse dictionary like that will be
> > O(n*m) because dict/list access is O(n) (ammortized). Somebody correc
On Dec 10, 8:31 am, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> On 2007-12-10, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> > If I'm not mistaken, building a reverse dictionary like that will be
> > O(n*m) because dict/list access is O(n) (ammortized). Somebody correc
On Dec 10, 9:45 am, MonkeeSage <[EMAIL PROTECTED]> wrote:
> On Dec 10, 8:31 am, Neil Cerutti <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 2007-12-10, MonkeeSage <[EMAIL PROTECTED]> wrote:
>
> > > If I'm not mistaken, building a reverse dictionary li
On Dec 11, 3:10 am, Duncan Booth <[EMAIL PROTECTED]> wrote:
> sturlamolden <[EMAIL PROTECTED]> wrote:
> > On 9 Des, 23:34, Christian Heimes <[EMAIL PROTECTED]> wrote:
>
> >> >http://antoniocangiano.com/2007/11/28/holy-shmoly-ruby-19-smokes-pyth
> >> >...
>
> >> The Ruby developers are allowed to be
On Dec 10, 1:28 pm, [EMAIL PROTECTED] wrote:
> Seongsu Lee:
>
> >I have a dictionary with million keys. Each value in the dictionary has a
> >list with up to thousand integers.<
>
> Let's say each integer can be represented with 32 bits (if there are
> less numbers then a 3-byte representation may
On Dec 14, 3:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Dec 14, 2:48 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Dec 14, 2007 2:09 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > On Dec 11, 10:34 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> > > > "Ron Provo
On Dec 16, 5:28 pm, <[EMAIL PROTECTED]> wrote:
> Thank you John and Tim.
>
> With your help I found that the XP console code page is set up for 'cp437'
> and with a little bit of browsing I found that 869 is the code page for
> Modern Greek. After changing it to 869 that did the trick! Thanks v
On Dec 17, 3:13 am, AK444 <[EMAIL PROTECTED]> wrote:
> Hi Guys, Good news is that as many as 12 courses from top
> universities are providing free video lessons
> http://freevideolectures.com/ComputerScience/
> on all the basic courses. All you need to have is Real Player
> installed on your PC.
On Dec 16, 1:55 am, "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote:
> I have spent some time googling and on wiki and came up with
> pyFSA in python. It may end up being useful, but it is not directly
> what I am looking for, as there is no GUI that I can see.
>
> I know about SMC, but it is not Py
On Dec 17, 6:12 am, MonkeeSage <[EMAIL PROTECTED]> wrote:
> On Dec 17, 3:13 am, AK444 <[EMAIL PROTECTED]> wrote:
>
> > Hi Guys, Good news is that as many as 12 courses from top
> > universities are providing free video lessons
> > http://freevideolectures
On Dec 19, 10:17 am, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-12-19, Terry Jones <[EMAIL PROTECTED]> wrote:
>
>
>
> >> "Grant" == Grant Edwards <[EMAIL PROTECTED]> writes:
> >Grant> On 2007-12-19, abhishek <[EMAIL PROTECTED]> wrote:
> > Hi everyone, I am trying to generate a PDF
201 - 245 of 245 matches
Mail list logo