Re: Bug writing/reading to file.

2007-12-24 Thread Arne
On Dec 24, 12:53 pm, [EMAIL PROTECTED] wrote:
> Hi! :)
>
> Im new to python, and I have made a electronic diary - its just a
> task. Here is the code:http://pastebin.com/m49391798
>
> The bug is (feel free to download and test it) that i can't see what i
> wrote in the diary without restarting the program. Here is an example:
>
> 1: I start the program
> 2: (text.txt is empty)
> 3: I write "hello, how are you?" with the writing-function in the
> program
> 4; I use the read-all-function in the program.
> 5: There is no entries in the diary. But if I restart the program, I
> can read the file.
>
> The strange thing is that if i watch the file contents while im using
> the program, I see that i add the line "hello, how are you?" to the
> file, but i can't read it with the read-function.
>
> Can this be a problem with file-pointers? And how can i solve it?

The problem is solved! Thanks for the help!
-- 
http://mail.python.org/mailman/listinfo/python-list


Refresh option Tix ExFileSelectBox

2006-04-21 Thread Arne
Hello!

I am working with Tix. At the moment I try to use the ExFileSelectBox.

I am looking for a option to refresh the valuer of the subwidget "file" 
after I have made some changes on these files.

How can I refresh the view?

Thanks Arne 


-- 
http://mail.python.org/mailman/listinfo/python-list


Tkinter: Dynamic entry widget

2006-04-25 Thread Arne
Hello !

I want to create entry widgets dynamically.
var = ["one", "two", "three"]
i=0
for x in var:
textbox = "t_", x
textbox = entry(frame)
textbox.grid(row=4+i, column=0)
i = i + 1
This works ok. On the window are the entries like I want.

When I want to get to entered data from the entry widget. I am not able to 
get them.
The statement: t_one.get()
dosent work. I am getting an error message that t_one is not global defined.

How can I do this?

Arne


-- 
http://mail.python.org/mailman/listinfo/python-list


Update Tix ExFileSelectBox

2006-05-03 Thread Arne
Hello!

I am looking for an option on Tix ExFileSelectBox.
I am using this widget to delete files. After I have delete a file it is 
still on the filelist view. After I have changed the directory and come back 
I will get the new view.
What I am looking for is a function to update the view of the hlist.

Somebody knows how to do it?

Thank you a lot!
Arne 


-- 
http://mail.python.org/mailman/listinfo/python-list


Trouble writing to database: RSS-reader

2008-01-21 Thread Arne
Hi!

I try to make a rss-reader in python just for fun, and I'm almost
finished. I don't have any syntax-errors, but when i run my program,
nothing happends.

This program is supposed to download a .xml-file, save the contents in
a buffer-file(buffer.txt) and parse the file looking for start-tags.
When it has found a start tag, it asumes that the content (between the
start-tag and the end-tag) is on the same line, so then it removes the
start-tag and the end-tag and saves the content and put it into a
database.

The problem is that i cant find the data in the database! If i watch
my program while im running it, i can see that it sucsessfuly
downloads the .xml-file from the web and saves it in the buffer.

But I dont think that i save the data in the correct way, so it would
be nice if someone had some time to help me.

Full code: http://pastebin.com/m56487698
Saving to database: http://pastebin.com/m7ec69e1b
Retrieving from database: http://pastebin.com/m714c3ef8

And yes, I know that there is rss-parseres already built, but this is
only for learning.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Trouble writing to database: RSS-reader

2008-01-21 Thread Arne
On 21 Jan, 19:15, Bruno Desthuilliers  wrote:

> This should not prevent you from learning how to properly parse XML
> (hint: with an XML parser). XML is *not* a line-oriented format, so you
> just can't get nowhere trying to parse it this way.
>
> HTH

Do you think i should use xml.dom.minidom for this? I've never used
it, and I don't know how to use it, but I've heard it's useful.

So, I shouldn't use this techinicke (probably wrong spelled) trying to
parse XML? Should i rather use minidom?

Thank you for for answering, I've learnt a lot from both of you,
Desthuilliers and Genellina! :)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Trouble writing to database: RSS-reader

2008-01-23 Thread Arne
On Jan 21, 11:25 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Mon, 21 Jan 2008 18:38:48 -0200, Arne <[EMAIL PROTECTED]> escribi�:
>
>
>
> > On 21 Jan, 19:15, Bruno Desthuilliers  > [EMAIL PROTECTED]> wrote:
>
> >> This should not prevent you from learning how to properly parse XML
> >> (hint: with an XML parser). XML is *not* a line-oriented format, so you
> >> just can't get nowhere trying to parse it this way.
>
> >> HTH
>
> > Do you think i should use xml.dom.minidom for this? I've never used
> > it, and I don't know how to use it, but I've heard it's useful.
>
> > So, I shouldn't use this techinicke (probably wrong spelled) trying to
> > parse XML? Should i rather use minidom?
>
> > Thank you for for answering, I've learnt a lot from both of you,
> > Desthuilliers and Genellina! :)
>
> Try ElementTree instead; there is an implementation included with Python  
> 2.5, documentation  athttp://effbot.org/zone/element.htmand another  
> implementation available athttp://codespeak.net/lxml/
>
> import xml.etree.cElementTree as ET
> import urllib2
>
> rssurl = 'http://www.jabber.org/news/rss.xml'
> rssdata = urllib2.urlopen(rssurl).read()
> rssdata = rssdata.replace('&', '&') # ouch!
>
> tree = ET.fromstring(rssdata)
> for item in tree.getiterator('item'):
>    print item.find('link').text
>    print item.find('title').text
>    print item.find('description').text
>    print
>
> Note that this particular RSS feed is NOT a well formed XML document - I  
> had to replace the & with & to make the parser happy.
>
> --
> Gabriel Genellina

This look very interesting! But it looks like that no documents is
well-formed! I've tried several RSS-feeds, but they are eighter
"undefined entity" or "not well-formed". This is not how it should be,
right? :)

-- 
http://mail.python.org/mailman/listinfo/python-list

FTP

2006-04-07 Thread Arne
Hello!

I want to connecto to a ftp server. There I woult like to read the 
directiroy and getting the filename, file owner and the file size.

How can I do this in python and if possible please post the code for it.

Thanks!

Arne 


-- 
http://mail.python.org/mailman/listinfo/python-list


GUI Treeview

2006-04-07 Thread Arne
Hello !

I am looking for a widget with the following properties:
- showing the tree file structure/ directory structure
- next to each file should be a checkbox
- the tree should only show certain files (i. e. only for the looked in 
user)

Maybe you can post me a link.

Thanks!
Arne 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: GUI Treeview

2006-04-07 Thread Arne
If possible for the Tkinter frameworkt.

Thanks Arne
"Peter Hansen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 
news:[EMAIL PROTECTED]
> Arne wrote:
>> Hello !
>>
>> I am looking for a widget with the following properties:
>> - showing the tree file structure/ directory structure
>> - next to each file should be a checkbox
>> - the tree should only show certain files (i. e. only for the looked in 
>> user)
>
> For which GUI framework?  (e.g. Tkinter, wxPython, etc...)
>
> -Peter
> 


-- 
http://mail.python.org/mailman/listinfo/python-list


Documentation for Tkinter/Tix

2006-04-08 Thread Arne
Hello!

Where can I find a documentation for Tkinter/Tix. I already have the 
standard documentation ditributed with Python.
Especially I am looking for documentation about the options for some tix 
widgets like Dirlist (How can I link it to a certain directory, etc.)

Thanks!
Arne 


-- 
http://mail.python.org/mailman/listinfo/python-list


ftp putting information in a variable

2006-04-08 Thread Arne


Hello!I am looking for a way to put ftp returns in a variable.My OS is XP and I want to get the owner of a file. So I have to connect to ftp. But I am stacked with how I can receive this information and put it in a variable.Thanks! ArneHere is a intend of doing thisfrom ftplib import FTP
ftp = FTP('ftp.cwi.nl')   # connect to host, default port
ftp.login()   # user anonymous, passwd anonymous
 ftp.retrlines('LIST') # list directory contents.

 
-- 
http://mail.python.org/mailman/listinfo/python-list

ftp connection and commands (directroy size, etc)

2006-04-12 Thread Arne
Hello everybody!

I am working on Windows XP and I want to do the following:

1. Connecting to a server using ftp
2. Getting the directory structure and the size of each directory in the 
root
3. Getting the owner of a file

All these steps I want to do with python. What I already have is:

1. Connecting to ftp

import ftplib
ftp = ftplib.FTP('host')
ftp.login(')
directory = '/'
ftp.cwd(directory)
linelist = []
ftp.retrlines('LIST', linelist.append)
ftp.close()

2. Getting the directory structure and the size of each directory in the 
root

But I am don't know how to send commands to ftp and capturing the result
If have tried:
a = []
a=ftp.sendcmd('Dir')
By trying to get the directory with 'dir',  I am getting an Error 500 
result.

Furthermore I don't know how to get the directory size. Even I don't know 
the best command for it.

3. Getting the owner of a file

Can I get the owner for one file?  I know with the LIST you get them all.

Please be so kind and post a little bit of a solution code

Thank you very much!
Arne


-- 
http://mail.python.org/mailman/listinfo/python-list


telnet read_sb_data

2006-04-13 Thread Arne
Hello!

Task: Connecting to a unix server and getting the directory list .
OS: XP

Connecting to the server via telnet is no problem.
I also want to get the directory list. I know by using read_all I can get 
all the output (starting from the login up to the end).
1. What I look for is the option to get only certain parts of the output. It 
seems to me that the command "read_sb_data" can do this. The documentation 
says, that I will get the data between the SB/SE pair. But I don't know how 
to invoke the SE command in Unix. Even I don't know the SE command.

2. I thing when this command work I can also get the directory size for each 
directory in root (using df and du Unix commands)
Using os.stat(path) doesen't work on XP, I am always getting a 0 return 
(i.e. (16895, 0L, 3, 1, 0, 0, 0L, 315529200, 315529200, 315529200))

Please be so kind and post a little bit of a code.

Thanks a lot!
Arne


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: telnet read_sb_data

2006-04-14 Thread Arne
Thank you for your reply.

Yes I have read the documentation. But I am not sure what is the SB/SE 
suboption. Is this a suboption on the remote machine or for Python.
Maybe you could be so kind and explain it to me with a little code example.

Thany you very much!
Arne

"Dennis Lee Bieber" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 
news:[EMAIL PROTECTED]
> On Thu, 13 Apr 2006 23:45:06 +0200, "Arne" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>> 1. What I look for is the option to get only certain parts of the output. 
>> It
>> seems to me that the command "read_sb_data" can do this. The 
>> documentation
>> says, that I will get the data between the SB/SE pair. But I don't know 
>> how
>> to invoke the SE command in Unix. Even I don't know the SE command.
>>
> Did you read the full documentation? "SB/SE" are "suboption
> begin/end", and there is also mention of a "callback". The ONLY other
> entry in telnetlib that mentions callbacks is the one for negotiating
> telnet options.
>
> read_sb_data( )
> Return the data collected between a SB/SE pair (suboption begin/end).
> The callback should access these data when it was invoked with a SE
> command. This method never blocks.
>
> set_option_negotiation_callback( callback)
> Each time a telnet option is read on the input flow, this callback (if
> set) is called with the following parameters : callback(telnet socket,
> command (DO/DONT/WILL/WONT), option). No other action is done afterwards
> by telnetlib.
>
>
>> Using os.stat(path) doesen't work on XP, I am always getting a 0 return
>
> No surprise -- os.stat can only access files mounted on the local
> machine. Telnet is remote /terminal/ connection. You'll have to behave
> like a terminal... How would you, as a user at a terminal, know when any
> command had finished? Probably by seeing a console prompt...
>
> Try
>
> read_until( expected[, timeout])
> Read until a given string, expected, is encountered or until timeout
> seconds have passed.
> When no match is found, return whatever is available instead, possibly
> the empty string. Raise EOFError if the connection is closed and no
> cooked data is available.
>
> You'll have to know what the prompt string will be...
> -- 
> > == <
> >   [EMAIL PROTECTED]  | Wulfraed  Dennis Lee Bieber  KD6MOG <
> >  [EMAIL PROTECTED] |   Bestiaria Support Staff   <
> > == <
> >   Home Page: <http://www.dm.net/~wulfraed/><
> >Overflow Page: <http://wlfraed.home.netcom.com/>< 


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: security quirk

2013-01-30 Thread Arne Vajhøj

On 1/29/2013 11:55 PM, RichD wrote:

I read Wall Street Journal, and occasionally check
articles on their Web site.  It's mostly free, with some items
available to subscribers only.  It seems random, which ones
they block, about 20%.

Anywho, sometimes I use their search utility, the usual author
or title search, and it blocks, then I look it up on Google, and
link from there, and it loads!  ok, Web gurus, what's going on?


WSJ want their articles to be findable from Google.

So they open up for Google indexing them.

If they require any type of registration to see an article,
then Google will remove the link.

So therefore WSJ (and many other web sites!) gives more access
if you come from Google than if not.

Arne


--
http://mail.python.org/mailman/listinfo/python-list


Re: How to decode UTF strings?

2019-10-25 Thread Arne Vajhøj

On 10/25/2019 4:52 PM, DFS wrote:

=?iso-8859-9?b?T/B1eg==?= 
=?utf-8?Q?=EB=AF=B8?= 
=?GBK?B?0Pu66A==?= 
=?UTF-8?B?zp3Or866zr/PgiDOks6tz4HOs86/z4I=?= 


How does something like:

from email.header import decode_header

def test(s):
print(s)
s2 = decode_header(s)
print(s2[0][0])
print(s2[1][0].strip())

test('=?iso-8859-9?b?T/B1eg==?= ')
test('=?utf-8?Q?=EB=AF=B8?= ')
test('=?GBK?B?0Pu66A==?= ')
test('=?UTF-8?B?zp3Or866zr/PgiDOks6tz4HOs86/z4I=?= 
')


work?

Arne

--
https://mail.python.org/mailman/listinfo/python-list


Re: Computer Language Popularity Trend

2006-09-30 Thread Arne Vajhøj
Danno wrote:
> Xah Lee wrote:
>> This page gives a visual report of computer languages's popularity, as
>> indicated by their traffic level in newsgroups. This is not a
>> comprehensive or fair survey, but does give some indications of
>> popularity trends.
>>
>> http://xahlee.org/lang_traf/index.html
> 
> Wow, java is a low level industrial language? ;)

Compared to Python, Ruby etc. - yes.

Arne
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Latest models of Gibson guitars

2007-08-19 Thread Arne Vajhøj
[EMAIL PROTECTED] wrote:

[some spam deleted]

> This is  a newsgroup of programming language Python, stop with this!

Actually this was posted to a bunch of newsgroups of which one is
about python.

Arne
-- 
http://mail.python.org/mailman/listinfo/python-list


Problem with new Vista and os.system

2007-03-09 Thread Arne Jamtgaard
I'm getting myself set up on a new Vista box at work, and one of my
old scripts has stopped working.

Specifically, all calls to os.system return a -1.  Whatever action I
was
asking os.system to run does not take place.

Is this a Vista thing, or perhaps just a wonky setting in my
environment.

Oh, python 2.5.

Arne

-- 
http://mail.python.org/mailman/listinfo/python-list


Problem with new Vista and os.system

2007-03-09 Thread Arne Jamtgaard
I'm getting myself set up on a new Vista box at work, and one of my
old scripts has stopped working.

Specifically, all calls to os.system return a -1.  Whatever action I
was
asking os.system to run does not take place.

Is this a Vista thing, or perhaps just a wonky setting in my
environment?
I've installed the latest python (2.5) within the past two weeks...

I've double-checked other functions for os.* and they seem to work
from
the python command line - it's just os.system.

Arne

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Car-ac-systems

2007-09-14 Thread Arne Vajhøj
[text reordered from top post to standard newsgroup style]

John Timney (MVP) wrote:
> <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
>> On Sep 11, 9:35 am, "John Timney \(MVP\)"
>> <[EMAIL PROTECTED]> wrote:
>>> How do I control one with C# then!  Thats not on your site, clearly not
>>> everything I need to know then.  Waste of a site!
>> C# is just as off topic in comp.lang.java.programmer as car air-
>> conditioning systems. The latter, however, have the redeeming
>> characteristic that they are not the demonic spawn of evil Microsoft.
 > ho ho..now thats quite funny!

Before you start wondering too much try and make a search in
comp.lang.java.programmer for posts by nebulous99 ...

Arne
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which language allows you to change an argument's value?

2007-09-30 Thread Arne Vajhøj
Erik Wikström wrote:
>> their reference (alias) mechanism.  And C, Python, and Ruby probably
>> won't let you do that.  What about Java and Perl?
> 
> C will let you do it with pointers (it is just a syntactical difference
> from references in this case) and Java's references allows it.

Neither C or Java has call by reference.

C pointers and Java references may work similarly in most cases
but it is still call by value.

>I do not
> know about Ruby, Python and Perl, but (AFAIK) the all have OO support so
> I would be surprised if they used purely value semantics.

I can not see why OO should indicate anything about call by reference
support.

>> isn't "what i pass in, the function can modify it" not a desireable
>> behavior if i am NOT passing in the address of my argument?  For one
> 
> Being able to pass the actual object instead of a copy is highly
> desirable for two reasons. In most languages only one return value is
> allowed for a function so the ability to change parameters allows you to
> artificially return more without having to wrap them in constructs. The
> second reason is that for large objects the performance hit of having to
> create a copy each time you call a function can be forbidding.

Usually it is not a good thing, because it makes the code much
more difficult to read.

But sometimes it is handy.

I think C# got it right.

It allows it but require an explicit marking of it in both formal
argument list and actual argument list.

>> Java, Python, and Ruby, and we pass in a reference to object (not C+
>> +'s meaning of alias reference)
> 
> In what way does the C++ reference differ from those in Java, Python,
> and Ruby in this situation?

C++ and Java are very different in this aspect.

Arne
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Distributed RVS, Darcs, tech love

2007-10-21 Thread Arne Vajhøj
Lew wrote:
>> very
>> different. Having a dead - i mean end of development line software
>> like TeX - and
> 
> Based on what do you call it "dead end".  It's used, it's outlasted many 
> other flashes in the pan, it does what its users require.  You will need 
> evidence for such a claim.

According to wikipedia the last version is from december 2002.

That level of activity could be considered dead.

It would for almost any other software. Tex has some
"absolute" over it, so I am not sure normal software
practices apply.

But you could argue based on that.

Arne

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: SPAM

2007-11-14 Thread Arne Vajhøj
Lew wrote:
> Yes, but it's not SPAM.
> 
> SPAM is a registered trademark of Hormel Foods Corporation for a canned 
> pork product.
> 
> Spam is unwanted messages or email.

It should be rather obvious what is was.

Why not leave it to Hormel to complain ?

Arne
-- 
http://mail.python.org/mailman/listinfo/python-list


Serving images

2008-01-28 Thread Jumping Arne
I'm no web programmer so please be kind.

I'm just going to start writing a small "web app", it's very small and will 
only do one thing so I'm not going to use some kind of web framework.

The purpose of the script is to do some custom markup of markdown formatted 
pages, render them and send them back to the browser. This is fairly simple 
and I've done similar things before but this time I'm going to add support 
for handling images.

Before I've just placed the images on a server where the script didn't need 
to bother about it. Now I'm considering to let the script handle the images 
also, that is serve them to the browser when requested. I've tried two 
different approaches in other scripts:

+   Put them somewhere outside the scope of the script and link to them.

+ In my own code open the images, read the data and send it back
  (is there a library for this?).

Before deciding on how to handle this for this script I would like to ask: 
how is this best done? Is there a better way?

-- 
http://mail.python.org/mailman/listinfo/python-list


Documentation - which format

2008-02-26 Thread Jumping Arne
I'm considering using plain text file for documenting certain things (nothing 
to do with Python) and I'm looking at different "formatting systems" ... 
preferable with a python implementation to render the text at least as HTML - 
preferable also other formats like LaTeX.

So far I've found

+   Markdown
+ reST (the web site at sourceforge doesn't seem to have been updated 
  since 2006)

Are there any other I should look at?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Documentation - which format

2008-02-26 Thread Jumping Arne
On Wed, 27 Feb 2008 05:51:11 +0100, Ben Finney wrote
(in article <[EMAIL PROTECTED]>):

> Your needs are met amply with reStructuredText. It's still under
> active development

is http://docutils.sourceforge.net/ still the official site (I didn't find 
anything else)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Mathematica 7 compares to other languages

2008-12-10 Thread Arne Vajhøj

Jon Harrop wrote:

Xah Lee wrote:

Kaz Kylheku wrote:

Really? ``50 or hundreds'' of lines in C?

  #include  /* for sqrt */

  void normalize(double *out, double *in)
  {
double denom = sqrt(in[0] * in[0] + in[1] * in[1] + in[2] *
in[2]);

out[0] = in[0]/denom;
out[1] = in[1]/denom;
out[2] = in[2]/denom;
  }

Doh?

Kaz, pay attention:

Xah wrote: «Note, that the “norm” as defined above works for vectors
of any dimention, i.e. list of any length.»


That is still only 6 lines of C code and not 50 as you claimed:

double il = 0.0;
for (int i=0; i

Not that it matters, but the above requires C99 (or C++).

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which Lisp to Learn?

2009-03-08 Thread Arne Vajhøj

Xah Lee wrote:

For those of you imperative programers who kept on hearing about lisp
and is tempted to learn, then, ...


You:
* consider yourself unfairly treated by various communities
* post a long drivel about various Lisp flavors to newsgroups
  that are not in any way Lisp related
?

There seems to be a disconnect somewhere.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: The Importance of Terminology's Quality

2008-06-01 Thread Arne Vajhøj

szr wrote:

Arne Vajhøj wrote:

szr wrote:

Peter Duniho wrote:

On Fri, 30 May 2008 22:40:03 -0700, szr <[EMAIL PROTECTED]>
wrote:

Arne Vajhøj wrote:

Stephan Bour wrote:

Lew wrote:
} John Thingstad wrote:
} > Perl is solidly based in the UNIX world on awk, sed, } > bash
and C. I don't like the style, but many do.
}
} Please exclude the Java newsgroups from this discussion.

Did it ever occur to you that you don't speak for entire news
groups?

Did it occur to you that there are nothing about Java in the
above ?

Looking at the original post, it doesn't appear to be about any
specific language.

Indeed.  That suggests it's probably off-topic in most, if not all,
of the newsgroups to which it was posted, inasmuch as they exist for
topics specific to a given programming language.

Perhaps - comp.programming might of been a better place, but not all
people who follow groups for specific languages follow a general
group like that - but let me ask you something. What is it you
really have against discussing topics with people of neighboring
groups? Keep in mind you don't have to read anything you do not want
to read. [1]

I very much doubt that the original thread is relevant for the Java
group.

But the subthread Lew commente don was about Perl and Unix. That is
clearly off topic.


I agree with and understand what you are saying in general, but still, 
isn't it possible that were are people in the java group (and others) 
who might of been following the thread, only to discover (probably not 
right away) that someone decided to remove the group they were reading 
the thread from? I know I would not like that, even if it wasn't on 
topic at the branch.


Personally, I find it very annoying to have to switch news groups in 
order to resume a thread and weed my way down the thread to where it 
left off before it was cut off from the previous group.


I am relative tolerant towards threads that are a bit off topic, if
the S/N ratio overall is good.

But I accept and respect that other people has a more strict
attitude against off topic posts.

And I am very little tolerant towards people that think they
can attack those that want only on topic posts.

One thing is to ask for a bit of slack regarding the rules
something else is attacking those that want the rules
kept.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Squeak-like environment for Python?

2008-06-05 Thread Jumping Arne
I've been playing with Squeak a bit and I really like the persistent storage 
model, I also liked HyperCard and Frontier (well, the persistent storage 
model at least).

I wonder if there is some similar environment but based on python, I would 
like to use this environment not as a development environment but as a 
platform for storing data etc - much like HyperCard.

I found a few postings about such an environment:



but it looks like nothing happened.

pythoncard doesn't seem to have the persistent storage model


Have I missed something obvious?

--
http://mail.python.org/mailman/listinfo/python-list


Re: spam <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

2008-07-13 Thread Arne Vajhøj

Kevin McMurtrie wrote:

In article <[EMAIL PROTECTED]>,
 Lew <[EMAIL PROTECTED]> wrote:

WDC wrote:

BTW I reported it, yo should too.

To whom did you report it, so that we may also report it there?


Google does not accept spam complaints.  Go ahead, try it.  That's why 
they've been the #1 Usenet spamming tool for years now.  What you're 
seeing is the spam slowly expanding into the software development 
groups.  uk.railway is probably a random group added to confuse spam 
filters.  Some groups, like rec.photo.digital, have been getting 
hundreds of Google spams a day for about a year.


Ask your news service for a Google UDP (Usenet Death Penalty) or 
configure your reader to drop everything with "googlegroups.com" in the 
Message-ID.


Some real users do use GG.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: spam

2008-07-13 Thread Arne Vajhøj

[EMAIL PROTECTED] wrote:

rickman wrote:

I love the way that people who plonk others feel the need to inform
everyone of it.  That ranks up there with, "I know what you are, but
what am I?"


It is a matter of basic politeness and common courtesy.  Without the
plonk, the killfiled poster is left hanging in the wind, wasting his
time writing responses that will never be read.

If you were talking with a blind man, would you silently creep
out of the room leaving him talking to the walls, or would you
be polite and excuse yourself before leaving?


I think most people will want to be polite to a blind.

I very much doubt that the same applies to usenet posters
they want to plonk.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: spam <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

2008-07-13 Thread Arne Vajhøj

donald wrote:

Arne Vajhøj wrote:


Google does not accept spam complaints.  Go ahead, try it.  That's 
why they've been the #1 Usenet spamming tool for years now.  What 
you're seeing is the spam slowly expanding into the software 
development groups.  uk.railway is probably a random group added to 
confuse spam filters.  Some groups, like rec.photo.digital, have been 
getting hundreds of Google spams a day for about a year.


Ask your news service for a Google UDP (Usenet Death Penalty) or 
configure your reader to drop everything with "googlegroups.com" in 
the Message-ID.


Some real users do use GG.


This is true, however there are acceptable losses.


Everybody is free to look at it that way.

Arne
--
http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-08-12 Thread Arne Vajhøj

Robert Maas, http://tinyurl.com/uh3t wrote:

John W Kennedy <[EMAIL PROTECTED]> wrote:
JWK> Into the 60s, indeed, there were still machines being made
JWK> that had no instruction comparable to the mainframe BASx/BALx
JWK> family, or to Intel's CALL. You had to do a subprogram call by
JWK> first overwriting the last instruction of what you were
JWK> calling with a branch instruction that would return back to
JWK> you.

That's not true, that you needed to do that, that there was no
other way available. The subroutine linkage I invented for S.P.S.
(Symbolic Programming System, i.e. IBM 1620 assembly language) was
to reserve a 5-digit space immediately before the subroutine entry
point for storing the return address. So the caller needed to know
only one address, the entry point, and do both store-return-address
and jump relative to that address, rather than needing to know both
the entry point and the last-instruction-JUMP-needs-patch address
as independent items of information.


CDC Cyber did something very similar.

Not very recursion friendly.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Image handling - stupid question

2008-04-16 Thread Jumping Arne
I'm going to try to write some imange manipulation code (scaling, reading 
EXIF and IPTC info) and just want to ask if PIL is *THE* library to use?

I looked at  and noticed that the 
latest version is from Dec 2006.

In my experience that means that either it's abandoned or that it's very good 
and stable.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Image handling - stupid question

2008-04-16 Thread Jumping Arne
On Wed, 16 Apr 2008 12:21:13 +0200, Jumping Arne wrote
(in article <[EMAIL PROTECTED]>):

> I'm going to try to write some imange manipulation code (scaling, reading 
> EXIF and IPTC info) and just want to ask if PIL is *THE* library to use?
> 
> I looked at <http://www.pythonware.com/products/pil/> and noticed that the 
> latest version is from Dec 2006.
> 
> In my experience that means that either it's abandoned or that it's very good 

> and stable.
> 

Sounds like PIL is a safe option, thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list


PIL and IPTC

2008-04-30 Thread Jumping Arne
I'm completely new to PIL and I'm trying to read IPTC info, I understand that 
it's possible but I can't find out how (and for once Google doesn't seem to 
be able to help). Does anyone have an example of how it's done?

--
http://mail.python.org/mailman/listinfo/python-list


Re: PIL and IPTC

2008-04-30 Thread Jumping Arne
Thanks, that is what I needed to get started.

--
http://mail.python.org/mailman/listinfo/python-list


Photo gallery software

2008-05-01 Thread Jumping Arne
I've searching for some software that would allow me to present my photos on 
the web (I'm not interested a software that generates static pages that I 
upload) and there are quite a few, see for example 
, but I 
haven't managed to find one that I like - Gallery 2 is close.

So I've started to see if there is one that is based python (PHP isn't really 
"my language") but when I search on Google almost the only thing I find are 
photo galleries of snakes (to be honest I didn't know that people were *that* 
interested in pythons).

Do any anyone know if there exists photo gallery software written in Python?

I've found



--
http://mail.python.org/mailman/listinfo/python-list


Re: Photo gallery software

2008-05-01 Thread Jumping Arne
On Thu, 1 May 2008 16:59:33 +0200, Scott Sandeman-Allen wrote
(in article <[EMAIL PROTECTED]>):

> I've been working with Photologue for a while with some nice results.
> 

Looks like it's time to start reading that Django book.

Thanks, JA

--
http://mail.python.org/mailman/listinfo/python-list


Re: The Importance of Terminology's Quality

2008-08-21 Thread Arne Vajhøj

Piet van Oostrum wrote:

Arne Vajhøj <[EMAIL PROTECTED]> (AV) wrote:

AV> Robert Maas, http://tinyurl.com/uh3t wrote:

John W Kennedy <[EMAIL PROTECTED]> wrote:

JWK> Into the 60s, indeed, there were still machines being made
JWK> that had no instruction comparable to the mainframe BASx/BALx
JWK> family, or to Intel's CALL. You had to do a subprogram call by
JWK> first overwriting the last instruction of what you were
JWK> calling with a branch instruction that would return back to
JWK> you.

That's not true, that you needed to do that, that there was no
other way available. The subroutine linkage I invented for S.P.S.
(Symbolic Programming System, i.e. IBM 1620 assembly language) was
to reserve a 5-digit space immediately before the subroutine entry
point for storing the return address. So the caller needed to know
only one address, the entry point, and do both store-return-address
and jump relative to that address, rather than needing to know both
the entry point and the last-instruction-JUMP-needs-patch address
as independent items of information.



AV> CDC Cyber did something very similar.
AV> Not very recursion friendly.


Actually, the CYBER way wasn't too bad. IIRC the CYBER had a subroutine
instruction that stored the return address in the location that the
instruction referenced and then jumped to the address following that
location. To implement a recursive procedure you started the code of the
procedure with saving the return address to a stack.


It was of course doable.

Else Pascal would have been hard to implement.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: The Importance of Terminology's Quality

2008-08-22 Thread Arne Vajhøj

Paul Wallich wrote:

Martin Gregorie wrote:

On Fri, 22 Aug 2008 22:56:09 +, sln wrote:

On Thu, 21 Aug 2008 09:11:48 -0500, [EMAIL PROTECTED] (Rob Warnock) wrote:

[EMAIL PROTECTED]> wrote:
*IS* raw machine code, *NOT* assembler!!

[snip]

I don't see the distinction.
Just dissasemble it and find out.

There's a 1:1 relationship between machine code and assembler. Unless 
its a macro-assembler, of course!
 

Each op is a routine in microcode.
That is machine code. Those op routines use machine cycles.

Not necessarily. An awful lot of CPU cycles were used before microcode 
was introduced. Mainframes and minis designed before about 1970 didn't 
use or need it and I'm pretty sure that there was no microcode in the 
original 8/16 bit microprocessors either (6800, 6809, 6502, 8080, 
8086, Z80 and friends).


The number of clock cycles per instruction isn't a guide either. The 
only processors I know that got close to 1 cycle/instruction were all 
RISC, all used large lumps of microcode and were heavily pipelined.


By contrast the ICL 1900 series (3rd generation mainframe, no 
microcode, no pipeline, 24 bit word) averaged 3 clock cycles per 
instruction. Motorola 6800 and 6809 (no microcode or pipelines either, 
1 byte fetch) average 4 - 5 cycles/instruction.


One problem with this discussion is that the term "microcode" isn't 
really well-defined. There's the vertical kind, the horizontal kind, 
with and without internal control-flow constructs, and then there are 
various levels of visibility to the user -- see e.g. the pdp-8 manual, 
where "microcoding" is used to mean piling the bits for a bunch of 
instructions together in the same memory location, which works fine as 
long as the instructions in question don't use conflicting sets of bits.


I thought microcode was relative well defined as being the software
used to implement instructions that were not fully implemented in
hardware.

http://en.wikipedia.org/wiki/Microcode does not make me think otherwise.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: Server.sendmail with no "to_addrs" parameter.

2006-03-22 Thread Arne Ludwig
> Can anyone suggest how I can get round this? I have attempted numerous
> things, like making my recipient list = [''], but Exchange then tried
> to send the mail to "[EMAIL PROTECTED]" .

rfc822:  Note that the "Bcc" field may be empty, while the  "To"
field
rfc822:  is required to have at least one address.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Windows getting local ip address

2006-03-22 Thread Arne Ludwig
The second solution can give really weird results though, e.g. on my
Linux system I get:

>>> gethostbyaddr(gethostname())
('linux.site', ['linux'], ['127.0.0.2'])

A more flexible but potentially unportable way would be:

>>> import socket
>>> import fcntl
>>> import struct
>>>
>>> def get_ip_address(ifname):
... s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
... return socket.inet_ntoa(fcntl.ioctl(
... s.fileno(),
... 0x8915,  # SIOCGIFADDR
... struct.pack('256s', ifname[:15])
... )[20:24])
...
>>> get_ip_address('eth0')
'192.168.0.174'

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Server.sendmail with no "to_addrs" parameter.

2006-03-23 Thread Arne Ludwig
Sorry to have caused all that confusion. The quote from RFC822 I gave
is really confusing and is indeed not relevant to the original
question. As Tim pointed out, the "to_addrs" parameter in
smtplib.py::sendmail is translated to the SMTP RCPT TO and thus must
contain all the intended recipients whether they are logically To, CC,
Bcc. That parameter cannot be empty, and that is not a restriction in
Python, but a restriction of the nature of email: No recipient, no
transmission.

It is true that even with RFC 822 it was allowed to have NO To: line,
but NOT an empty To: line, while it was allowable to have an empty Bcc:
line. This was the quote I gave.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Windows getting local ip address

2006-03-23 Thread Arne Ludwig
That man is a genius:

>>> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>>> s.connect(("gmail.com",80))
>>> print s.getsockname()
('192.168.0.174', 2768)
>>> s.close()

Should work on Windows as well.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: path to modules per import statement

2006-03-23 Thread Arne Ludwig
Maybe he means: sys.path.append('/my/path')

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: removing file by inode

2006-03-23 Thread Arne Ludwig
Good answer. :)  I seriously doubt it is possible except for the
trivial solution:

def remove_a_file(inode):
 os.system ("find / -inum %d | xargs rm -f" % (inode))

PS. Don't blame me if this function destroys your hard disk. I wrote it
off the top of my head.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: question: how to clare the absolute url in a html file

2006-03-23 Thread Arne Ludwig
Perhaps this is what he means:

re.sub("http://[^/]*/","/","http://palle.fi/wing/walla.htm";)
'/wing/walla.htm'

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: removing file by inode

2006-03-23 Thread Arne Ludwig
> under SunOS there was a way to delete a file given it's i-node.

Yes and no. You probably mean "clri" which cleared the inode, but did
not "remove the file", i.e. all the entries in directories pointing to
it.

In older Unices there was also "ncheck" to find the filesystem names
for inode numbers.

I cannot find either command in Linux.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: removing file by inode

2006-03-23 Thread Arne Ludwig
Actually under Linux he could probably pipe "clri %d" to debugfs if
that is what he wanted to do. On the other hand he said "unix
environment" which could be anything really.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Remove integer from float number

2006-03-23 Thread Arne Ludwig
With that terse description and the subject line I would interpret the
OP like so:

>>> print re.sub(".*\.",".","0.666")
.666
>>> print re.sub(".*\.",".","123.666")
.666

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Getting a loop to activate a loop above it

2006-03-23 Thread Arne Ludwig
I think the problem is this line:

> x == input('What is x now?: ') 

which should not have a == but a =

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: using regex to pull out email addresses

2006-03-25 Thread Arne Ludwig
>>> senderlist="na nu [EMAIL PROTECTED] hu [EMAIL PROTECTED] [EMAIL PROTECTED] 
>>> fa hu"
>>> print [ s[0] for s in re.findall("(\w+@(\w+\.)+\w+)",senderlist) ]
['[EMAIL PROTECTED]', '[EMAIL PROTECTED]']

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: maximum() efficency

2006-03-27 Thread Arne Ludwig
Just for completeness: The functions in Steve's original post named
maximum calculate the minimum.

Also, timing-wise, on my machine with a random list of 20 integers
Steve's iteration version and Mitja's version are about equal, the
system built-in is equal or slightly slower, and Paul's version about
3-4x slower. If the comparison function is very complex, the mileage
may vary of course.

-- 
http://mail.python.org/mailman/listinfo/python-list


Tablelist 4.3

2006-03-30 Thread Arne Meissner
Hello everybody!

I have downloaded the  Tablelist 4.3 from http://www.nemethi.de/.

Now I want to install it on my system Win XP.

>From the distribution I have got the following information:
"
On Windows, use WinZip or some other program capable of unpacking the 
distribution file tablelist4_3.zip into the directory tablelist4.3, with the 
subdirectories demos, doc, and scripts.

Note that the file tablelistEdit.tcl in the scripts directory is only needed 
for applications making use of interactive cell editing.  Similarly, the 
file tablelistMove.tcl in the same directory is only required for scripts 
invoking the move or movecolumn command.  Finally, the file 
tablelistThemes.tcl is only needed for applications using the package 
Tablelist_tile (see next section).

Next, you should check the exact version number of your Tcl/Tk distribution, 
given by the tcl_patchLevel and tk_patchLevel variables.  If you are using 
Tcl/Tk version 8.2.X, 8.3.0 - 8.3.2, or 8.4a1, then you should upgrade your 
Tcl/Tk distribution to a higher release.  This is because a bug in these Tcl 
versions (fixed in Tcl 8.3.3 and 8.4a2) causes excessive memory use when 
calling  info exists  on non-existent array elements, and Tablelist makes a 
lot of invocations of this command.

"

But I don't know who to do it.
I have copied the files to my python directory. By calling the package I get 
an error.
Would somebody please so kind and explain me the installtion step by step. 
E.g. Where to copy the files?, Who can I obtain the tcl_patchLevel 
information?, How can I invoke the tableliste in a python programm.

Thank you! 


-- 
http://mail.python.org/mailman/listinfo/python-list


Sortin Tablelist 4.3

2006-04-02 Thread Arne Meissner
Hello!

I am using under Python the tablelist 4.3 from http://www.nemethi.de/.

Now I want to do bind the following:

When you click on the column header, the selected column should sort.
How is the bind method or how can I call the column header in the tablelist?

Thany you for your help!
Arne 


-- 
http://mail.python.org/mailman/listinfo/python-list


update or refresh a Listbox widget

2006-04-02 Thread Arne Meissner
Hello!

Is there a function to update/refresh a listbox widget.
My one is connected to a database and after a change of the database I would 
like the listbox to be updated.

Thank you for your help!
Arne 


-- 
http://mail.python.org/mailman/listinfo/python-list


I don't have a clue what this is (py2exe?)

2005-02-09 Thread Geir Arne Evjen
I'm having a strange problem which I hope some python experts out
there could help me with.

I'm implementing a COM server where I do a lot of xml-rpc calls to a
zope server. The communication is done over ssh with portforwarding
(8080) using putty.

To distribute the COM server I'm using py2exe to create exe files. 
I've implemented the COM server on a windows XP computer, but I'm
testing it on a windows 2000 computer. The strange thing is that on
the 2000 computer the xmlrpc-documents seems to be truncated somewhere
at the and and the xmlrpc reader (expat) complains abount invalid tags
(used by xmlrpclib). This only happens in some occations and for large
documents (~200Kb).

I've checked what putty recives in its logfile there is nothing wrong
with what the zope server returns.

Also, the strange this is that if I register (using the source) the
COM server directly in the python intepreter the COM server works
perfectly (both with or without debugging).

I really don't know where this problem comes from and I don't have a
clue where to search.

Any tips would be very much appreciated.

I'm using 
python 2.3.4
win32all build 203
py2exe 0.5.4

Best regards
Geir Arne Evjen
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-24 Thread Thor Arne Johansen
Sateesh wrote:
> Hi,
> Is it possible to access Lotus notes using Python? Can anyone provide me
> some pointers?
> 
> Thanks
> Sateesh
> 
> 

NotesSQL is an ODBC driver for Notes.

Using NotesSQL and a python odbc connection you can use the standard 
python db-api2 to access tables.

(Examples of odbc connection: mxODBC or the odbc provided by win32all)

HTH,

Thor Arne Johansen
Technical Director
Ibas AS

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Distributed RVS, Darcs, tech love

2007-10-21 Thread Arne Vajhøj
llothar wrote:
>> I'm, not sure that I'm getting your point, but are you trying to argue that
>> _not_ knowing mathemathics makes you a better programmer?
> 
> No but it doesn't help you very much either. They are just different
> skills.

Many things within programming have a foundation in mathematics
and mathematical logic.

>> Or maybe that learning math is useless to a programmer?
> 
> No and at least the mathematical idea of building a universe on a
> basic set
> of axioms is pretty exciting for a programmer. But it's the idea not
> the real
> wisdom (I never had to use any serious maths in my 25 years of
> programming)
> that you need as a programmer

Depends obvious a bot on what you consider serious math.

Expression evaluation, floating point characteristics, relational
database theory, simulation, optimum location, encryption etc.
are all based on mathematics of different levels.

>> This must be the most ignorant post I've seen
>> this week. The *best* programmers I've seen actually had mathematic 
>> education.
> 
> Depends. I would call Knuth as one of the worst programmers. Look at
> his total
> failures on literature programming. Software Engineering is something
> very
> different.

I think you will find it very difficult to write a piece of code
that are not heavily influenced by Knuth.

Arne
-- 
http://mail.python.org/mailman/listinfo/python-list


Bug writing/reading to file.

2007-12-24 Thread arne . k . h
Hi! :)

Im new to python, and I have made a electronic diary - its just a
task. Here is the code:
http://pastebin.com/m49391798

The bug is (feel free to download and test it) that i can't see what i
wrote in the diary without restarting the program. Here is an example:

1: I start the program
2: (text.txt is empty)
3: I write "hello, how are you?" with the writing-function in the
program
4; I use the read-all-function in the program.
5: There is no entries in the diary. But if I restart the program, I
can read the file.

The strange thing is that if i watch the file contents while im using
the program, I see that i add the line "hello, how are you?" to the
file, but i can't read it with the read-function.

Can this be a problem with file-pointers? And how can i solve it?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The Importance of Terminology's Quality

2008-05-30 Thread Arne Vajhøj

Stephan Bour wrote:

Lew wrote:
} John Thingstad wrote:
} > Perl is solidly based in the UNIX world on awk, sed, bash and C.
} > I don't like the style, but many do.
}
} Please exclude the Java newsgroups from this discussion.

Did it ever occur to you that you don't speak for entire news groups?


Did it occur to you that there are nothing about Java in the above ?

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: The Importance of Terminology's Quality

2008-05-31 Thread Arne Vajhøj

szr wrote:

Arne Vajhøj wrote:

Stephan Bour wrote:

Lew wrote:
} John Thingstad wrote:
} > Perl is solidly based in the UNIX world on awk, sed, bash and C.
} > I don't like the style, but many do.
}
} Please exclude the Java newsgroups from this discussion.

Did it ever occur to you that you don't speak for entire news groups?

Did it occur to you that there are nothing about Java in the above ?


Looking at the original post, it doesn't appear to be about any specific 
language.


That does not make it on topic in the Java group.

And the subthread Lew commented on most certainly is not.

Arne
--
http://mail.python.org/mailman/listinfo/python-list


Re: The Importance of Terminology's Quality

2008-05-31 Thread Arne Vajhøj

szr wrote:

Peter Duniho wrote:

On Fri, 30 May 2008 22:40:03 -0700, szr <[EMAIL PROTECTED]> wrote:

Arne Vajhøj wrote:

Stephan Bour wrote:

Lew wrote:
} John Thingstad wrote:
} > Perl is solidly based in the UNIX world on awk, sed, } > bash 
and C. I don't like the style, but many do.

}
} Please exclude the Java newsgroups from this discussion.

Did it ever occur to you that you don't speak for entire news
groups?

Did it occur to you that there are nothing about Java in the above ?

Looking at the original post, it doesn't appear to be about any
specific language.

Indeed.  That suggests it's probably off-topic in most, if not all,
of the newsgroups to which it was posted, inasmuch as they exist for
topics specific to a given programming language.


Perhaps - comp.programming might of been a better place, but not all 
people who follow groups for specific languages follow a general group 
like that - but let me ask you something. What is it you really have 
against discussing topics with people of neighboring groups? Keep in 
mind you don't have to read anything you do not want to read. [1]


I very much doubt that the original thread is relevant for the Java
group.

But the subthread Lew commente don was about Perl and Unix. That is
clearly off topic.

Personally I am rather tolerant for topics. But I can not blame Lew
for requesting that a Perl-Unix discussion does not get cross posted
to a Java group.


Regardless, unless you are actually reading this thread from the
c.l.j.p newsgroup, I'm not sure I see the point in questioning
someone who _is_ about whether the thread belongs there or not.


I would rather have the OP comment about that, as he started the thread. 
But what gets me is why you are against that specific group being 
included but not others? What is so special about the Java group and why 
are you so sure people there don't want to read this thread? [1] What 
right do you or I or anyone have to make decisions for everyone in a 
news group? Isn't this why most news readers allow one to block a 
thread?


I doubt Lew read any of the other groups, so it seems quite
natural that he did not comment on the on/off topic characteristics
in those.


And if it's a vote you want, mark me down as the third person reading
c.l.j.p that doesn't feel this thread belongs.  I don't know whether
Lew speaks for the entire newsgroup, but based on comments so far,
it's pretty clear that there unanimous agreement among those who have
expressed an opinion.


Ok, so, perhaps 3 people out of what might be several hundred, if not 
thousand (there is no way to really know, but there are certainly a lot 
of people who read that group, and as with any group, there are far more 
readers than there are people posting, so, again, just because you or 
two other people or so don't want to read a topic or dislike it, you 
feel you can decide for EVERYONE they mustn't read it? Again, this is 
why readers allow you to ignore threads. Please don't force your views 
on others; let them decide for themselves. [1]


And I am sure that Lew did not intended to pretend to speak for
the entire group. He spoke for himself.

I believe there has been several posts that agreed with him and none
that disagreed, so it seems very plausible that the group indeed agree
with him.

Arguing that a huge silent majority has a different opinion
than those speaking up is a very questionable argument. Everybody
could try and count them for their view. The only reasonable
thing is not to count them.

Arne
--
http://mail.python.org/mailman/listinfo/python-list