Mizipzor a écrit :
I have some troubles with a member variable that seems to be missing
in a class. In short, heres what I do; class A is the parent class, B
inherits from A and C inherits from B (hope I used the right words
there). Now, I create an instance of C, which calls A's __init__
On 6 Feb 2007 12:51:13 -0800, BBands [EMAIL PROTECTED] wrote:
No, no, no, this is not an invitation to the editor wars.
I have been using José Cláudio Faria's superb Tinn-R,
http://www.sciviews.org/Tinn-R/,
with the R language, http://www.r-project.org/. This editor allows you
to send code to
On Feb 6, 2:36 pm, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
jeremito a écrit :
On Feb 6, 10:59 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
On 6 fév, 16:23, jeremito [EMAIL PROTECTED] wrote:
(snip)
But I can't even get __setitem__ to run.
of course, since your __new__ method
Gosi:
There are a number of graphics examples, utilities and demos you can
use in J and combine it with Python.
Some of those graphic examples are very nice, I have seen a big site
filled with complex fractals, chaotic attractors, etc.
Python Zen seems somewhat opposed to part of the J spirit,
BBands a écrit :
No, no, no, this is not an invitation to the editor wars.
I have been using José Cláudio Faria's superb Tinn-R,
http://www.sciviews.org/Tinn-R/,
with the R language, http://www.r-project.org/. This editor allows you
to send code to the R shell for execution. You can easily
On Feb 5, 5:45 pm, Graham Dumpleton [EMAIL PROTECTED] wrote:
On Feb 6, 8:57 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Feb 5, 12:52 pm, John Nagle [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
John Nagle wrote:
Graham Dumpleton wrote:
On Feb 4, 1:05 pm, Paul Rubin
Sulsa wrote:
Mam klase A po ktorej dziedziczy B i jesli w destruktorze klasy B
wywolam:
self.__class__.__bases__[0].__del__(self)
to wszytkos jest ok, i destruktor klasy a jest wywolywany, jesli
natomiast napisze: A.__del__(self) to otrzymuje nastepujacy wyjatek:
Exception
self.__class__.__bases__[0].__del__(self)
Swoją drogą to nie masz litości pisząc coś takiego ;)
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 6, 3:29 pm, [EMAIL PROTECTED] wrote:
On Feb 1, 8:25 pm, Krypto [EMAIL PROTECTED] wrote:
The correct answer as told to me by a person is
(N3) + ((N-7*(N3))3)
The above term always gives division by 7
Does anybody else notice that this breaks the spirit of the problem
(regardless
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
In our case, the issue is this: we load a ton of info at server
restart, from the database. Some of it gets processed a bit based on
configuration files and so forth. If this were done in my own C
server, I'd do all of that and set up the
En Tue, 06 Feb 2007 16:44:52 -0300, [EMAIL PROTECTED]
[EMAIL PROTECTED] escribió:
On Feb 6, 2:02 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On 6 Feb 2007 07:37:33 -0800, [EMAIL PROTECTED]
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
Everything works fine until I call
jeremito a écrit :
On Feb 6, 2:36 pm, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
(snip)
Here's an alternative implementation, so you get the idea.
class Xs(dict):
oops ! I meant:
class Xs(object):
of course...
(snip)
I guess I just
need more experience.
Possibly - but not
I am stumped trying to read binary data from simple files. Here is a
code snippet, where I am trying to simply print little-endian encoded
data from files in a directory.
for name in os.listdir(DOWNLOAD_DIR):
filename = s.path.join(DOWNLOAD_DIR, name)
if
BBands wrote:
No, no, no, this is not an invitation to the editor wars.
I have been using José Cláudio Faria's superb Tinn-R,
http://www.sciviews.org/Tinn-R/,
with the R language, http://www.r-project.org/. This editor allows you
to send code to the R shell for execution. You can easily
On Feb 6, 2:47 pm, MRAB [EMAIL PROTECTED] wrote:
On Feb 6, 1:48 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Feb 4, 12:42 pm, Jandre [EMAIL PROTECTED] wrote:
On Feb 1, 9:39 pm, Larry Bates [EMAIL PROTECTED] wrote:
Jandre wrote:
Hi
I am a python novice and I am trying
On 2007-02-06, jeff [EMAIL PROTECTED] wrote:
I am stumped trying to read binary data from simple files. Here is a
code snippet, where I am trying to simply print little-endian encoded
data from files in a directory.
for name in os.listdir(DOWNLOAD_DIR):
filename =
En Tue, 06 Feb 2007 19:01:20 -0300, jeff [EMAIL PROTECTED] escribió:
I am stumped trying to read binary data from simple files. Here is a
code snippet, where I am trying to simply print little-endian encoded
data from files in a directory.
for name in os.listdir(DOWNLOAD_DIR):
On Feb 6, 4:01 pm, jeff [EMAIL PROTECTED] wrote:
I am stumped trying to read binary data from simple files. Here is a
code snippet, where I am trying to simply print little-endian encoded
data from files in a directory.
for name in os.listdir(DOWNLOAD_DIR):
filename =
On Feb 7, 9:01 am, jeff [EMAIL PROTECTED] wrote:
I am stumped trying to read binary data from simple files. Here is a
code snippet, where I am trying to simply print little-endian encoded
data from files in a directory.
for name in os.listdir(DOWNLOAD_DIR):
filename =
On Feb 7, 9:34 am, jeff [EMAIL PROTECTED] wrote:
On Feb 6, 4:01 pm, jeff [EMAIL PROTECTED] wrote:
I am stumped trying to read binary data from simple files. Here is a
code snippet, where I am trying to simply print little-endian encoded
data from files in a directory.
for name in
Hi,
check out chartdirector : http://www.advsofteng.com/
it's not free, but very easy to use
right now I am testing it here: http://www.serpia.org/water
a very simple barchart
regards,
Dimitri
On 2/6/07, Jan Danielsson [EMAIL PROTECTED] wrote:
Hello all,
I have some data in a postgresql
Suresh:
I could find GeoSteiner (http://www.diku.dk/geosteiner/) which is
implemented as a C program. Anybody know python wrapper for this?
Anybody tried this program in a python program?
Once compiled, you may just need to use it with files calling it
through the console with pipes from
On Feb 6, 4:27 pm, Paul Rubin http://[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
In our case, the issue is this: we load a ton of info at server
restart, from the database. Some of it gets processed a bit based on
configuration files and so forth. If this were
Even though I am starting to get the hang of Python, I continue to find
myself finding problems that I cannot solve.
I have never used dictionaries before and I feel that they really help
improve efficiency when trying to analyze huge amounts of data (rather than
having nested loops).
Basically
On Feb 5, 6:33 pm, James Stroud [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 5, 3:29 pm, James Stroud [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hello,
I am very knew to python and am attempting to write a program
in python that a friend of mine is having to
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
It's possible that we could build it all in a startup module and then
pickle everything we've built into a file that each child would
unpickle, but I'm a bit leery about that approach.
Yeah, that's not so great. You could look at POSH.
--
On Feb 7, 2:29 am, [EMAIL PROTECTED] wrote:
On Feb 1, 8:25 pm, Krypto [EMAIL PROTECTED] wrote:
The correct answer as told to me by a person is
(N3) + ((N-7*(N3))3)
The above term always gives division by 7
Does anybody else notice that this breaks the spirit of the problem
(regardless
/pbcs.dll/article?AID=/20070206/NEWS07/70206009/0/BLOG01
The Astronaut Babe
February 6, 2007
BEGIN TRANSCRIPT
RUSH: So we have this astronaut babe Lisa Nowak. She's 43 years old.
She flew last July on a shuttle mission to the International Space
Station. She drove all the way from Houston to the Orlando
[EMAIL PROTECTED] wrote:
class Point(object):
def _init_(self, x, y):
The name of the __init__ method needs *two* underscores
at each end, i.e.
def __init__(self, x, y):
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 06 Feb 2007 20:35:43 -0300, [EMAIL PROTECTED] escribió:
Anyways heres my error:
***File C:/Documents and Settings/Eric/Desktop/Python/2d guessing
game.py, line 11,
On Feb 6, 4:54 pm, John Machin [EMAIL PROTECTED] wrote:
Recursive? Bzzzt!
I woudl be happy to hear your alternative, which doesn't depend on
language specific tricks. Thus far, all you have suggested is using an
alternative form of the division function, which I would consider to
be outside the
/article?AID=/20070206/NEWS07/70206...
The Astronaut Babe
February 6, 2007
BEGIN TRANSCRIPT
RUSH: So we have this astronaut babe Lisa Nowak. She's 43 years old.
She flew last July on a shuttle mission to the International Space
Station. She drove all the way from Houston to the Orlando
Python is praised about - me too. But at one instance it fails. It fails to
behave as a true multi-threaded application. That means utilizing all the
CPUs parallely in the SMP efficiently stays as a dream for a Python
Programmer.
Discussion threads say its due to GIL - global interpreter lock.
On Feb 6, 4:08 pm, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Tue, 06 Feb 2007 20:35:43 -0300, [EMAIL PROTECTED] escribió:
Anyways heres my error:
***File
[code]
#classify Point
class Point(object):
def _init_(self, x, y): --- This is your problem
self.x = x
self.y = y
[/code]
That should be '__init__'. Two underscores before and after. But,
IMHO, I don't think a class is really necessary unless you are
Pretzel, please include scientific newsgroups like
sci.math,comp.lang.python,sci.optics,soc.culture.usa,soc.culture.europe
in your valuable posts
On Feb 6, 4:24 pm, Möbius Pretzel [EMAIL PROTECTED]
wrote:
Breaking News: US Soldiers Do It Again- Please Watch!
By: Seele
06.02.2007
US soldiers
On Feb 7, 11:05 am, [EMAIL PROTECTED] wrote:
On Feb 6, 4:54 pm, John Machin [EMAIL PROTECTED] wrote:
Recursive? Bzzzt!
I woudl be happy to hear your alternative, which doesn't depend on
language specific tricks. Thus far, all you have suggested is using an
alternative form of the division
Pretzel, please include scientific newsgroups like
sci.math,comp.lang.python,sci.optics,soc.culture.usa,soc.culture.europe
in your valuable posts
On Feb 6, 4:12 pm, [EMAIL PROTECTED] or www.mantra.com/jai (Dr.
Jai Maharaj) wrote:
Water Deal Exposes Secret Iraq Contracts
By Katherine Shrader
Habshi, please include scientific newsgroups like
sci.math,comp.lang.python,sci.optics,soc.culture.usa,soc.culture.europe
in your valuable posts
On Feb 6, 3:57 pm, [EMAIL PROTECTED] (habshi) wrote:
The problem is that the verses are from the Quran. The video
is remarkably clear .
En Tue, 06 Feb 2007 20:31:17 -0300, Sick Monkey [EMAIL PROTECTED]
escribió:
Even though I am starting to get the hang of Python, I continue to find
myself finding problems that I cannot solve.
I have never used dictionaries before and I feel that they really help
improve efficiency when
Hello,every one, I meet a question:
in my old script, I usually use os.popen2() to get info from standard
unix(LinuX) program like ps,ifconfig...
Now, I write a OO-based programme, I still use os.popen2( check
whether mplayer still working via ps command ), but some things I got
the following
I have never seen this with open(fname,'r') as finput:
It is actually throwing an error . Do I have to import a special library to
use this?
File dictNew.py, line 23
with open(fname,'r') as finput:
^
SyntaxError: invalid syntax
On 2/6/07, Gabriel Genellina [EMAIL PROTECTED]
En Tue, 06 Feb 2007 22:18:07 -0300, Sick Monkey [EMAIL PROTECTED]
escribió:
I have never seen this with open(fname,'r') as finput:
It is actually throwing an error . Do I have to import a special
library to
use this?
File dictNew.py, line 23
with open(fname,'r') as finput:
Hi Folks,
Python is praised about - me too. But at one instance it fails. It fails to
behave as a true multi-threaded application. That means utilizing all the
CPUs parallely in the SMP efficiently stays as a dream for a Python
Programmer.
Discussion threads say its due to GIL - global
Hi
Am new to python and need your help!!
this is my code snip.
within my python script I have the following commands..
snip
import os
...
os.system (cd /home; ./TestTool )
os.system (cd /usr/; sh run.sh load.xml )
snip
I need to kill these 2 process after a particular job is done.. is
there
Hi all,
I'm interested in Parallel Python and I learned from the website of
Parallel Python
that it can run on SMP and clusters. But can it run on a our muti-CPU
server ?
We are running an origin3800 server with 128 CPUs.
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On 2007-02-06, Robert Kern [EMAIL PROTECTED] wrote:
John Nagle wrote:
File D:\projects\sitetruth\InfoSitePage.py, line 285, in httpfetch
sitetext = sitetext.encode('ascii','replace') # force to clean ASCII
UnicodeDecodeError: 'ascii' codec can't decode byte 0x92 in
position 29151:
There is more ... Some American soldiers raped Iraqi girls and The
conservatives living in America still says they are not guilty.Bush
must take responsible of these situation.These are massed most of
Americans.
[EMAIL PROTECTED] wrote:
Pretzel, please include scientific newsgroups like
On Feb 7, 11:14 am, S.Mohideen [EMAIL PROTECTED]
wrote:
Python is praised about - me too. But at one instance it fails. It fails to
behave as a true multi-threaded application. That means utilizing all the
CPUs parallely in the SMP efficiently stays as a dream for a Python
Programmer.
En Tue, 06 Feb 2007 22:09:00 -0300, Marco [EMAIL PROTECTED] escribió:
in my old script, I usually use os.popen2() to get info from standard
unix(LinuX) program like ps,ifconfig...
Now, I write a OO-based programme, I still use os.popen2( check
whether mplayer still working via ps command ),
qualm after qualm. Before you read this, my OS is Linux, up2date, and
minimal RAM (512).
On purpose becuase I want this app to run on anything.
I have 2 very good solutions to this problem (AND I WANT TO THANK 'Gabriel
Genellina' AND 'Don Morrison' with comparing 2 LARGE files).
(LARGE means
Jan Danielsson wrote:
Hello all,
I have written a program which takes some data from a postgresql
database, and via mod_python outputs it as tables on a web site. Now I
would like to present these tables as graphs, which matplotlib can do.
But in order to properly display these graphs
Jan Danielsson wrote:
Hello all,
I have some data in a postgresql table which I view through a web
interface (the web interface is written in python -- using mod_python
under apache 2.2). Now I would like to represent this data as graphs,
bar charts, etc.
I know about matplotlib,
En Wed, 07 Feb 2007 00:28:31 -0300, Sick Monkey [EMAIL PROTECTED]
escribió:
qualm after qualm. Before you read this, my OS is Linux, up2date, and
minimal RAM (512).
And Python 2.3 or earlier, I presume, else you would have the builtin set
type.
The files that my script needs to read in
En Tue, 06 Feb 2007 22:59:40 -0300, [EMAIL PROTECTED] escribió:
this is my code snip.
within my python script I have the following commands..
snip
import os
...
os.system (cd /home; ./TestTool )
os.system (cd /usr/; sh run.sh load.xml )
snip
I need to kill these 2 process after a
On Feb 7, 4:11 am, [EMAIL PROTECTED] wrote:
Suresh:
I could find GeoSteiner (http://www.diku.dk/geosteiner/) which is
implemented as a C program. Anybody know python wrapper for this?
Anybody tried this program in a python program?
Once compiled, you may just need to use it with files
On Feb 7, 1:53 am, S.Mohideen [EMAIL PROTECTED]
wrote:
Hi Folks,
Python is praised about - me too. But at one instance it fails. It fails to
behave as a true multi-threaded application. That means utilizing all the
CPUs parallely in the SMP efficiently stays as a dream for a Python
On Feb 6, 4:40 pm, Steven Bethard [EMAIL PROTECTED] wrote:
Jean-Paul Calderone [EMAIL PROTECTED] wrote:
Huge amounts of my pure Python code was broken by Python 2.5.
Interesting. Could you give a few illustrations of this? (I didn't run
into the same problem at all, so I'm curious.)
On Feb 6, 5:26 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
I am trying to write a python cgi that calls a script over ssh, the
problem is the script takes a very long time to execute so Apache
makes the CGI time out and I never see any output. The script is set
to print a progress
On Feb 6, 11:13 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
output = os.popen(command, 'r', 1)
OOPS... I imagine the ridiculous buffer size is unnecessary... I was
trying to get it to work with the original for loop iterating on
output, it should work fine without it.
Pete
--
[EMAIL PROTECTED] wrote:
Hi all,
I'm interested in Parallel Python and I learned from the website of
Parallel Python
that it can run on SMP and clusters. But can it run on a our muti-CPU
server ?
We are running an origin3800 server with 128 CPUs.
Thanks.
I have tested that at least
Bugs item #1653121, was opened at 2007-02-06 10:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653121group_id=5470
Please note that this message will contain a full copy of
Bugs item #1653121, was opened at 2007-02-06 04:54
Message generated for change (Comment added) made by tim_one
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653121group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #500698, was opened at 2002-01-08 03:48
Message generated for change (Comment added) made by jcrocholl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=500698group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1653121, was opened at 2007-02-06 10:54
Message generated for change (Comment added) made by zgoda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653121group_id=5470
Please note that this message will contain a full copy of the comment thread,
Bugs item #1653121, was opened at 2007-02-06 09:54
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653121group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1124861, was opened at 2005-02-17 17:23
Message generated for change (Comment added) made by astrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1124861group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1653457, was opened at 2007-02-06 17:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653457group_id=5470
Please note that this message will contain a full copy of
Bugs item #1653416, was opened at 2007-02-06 16:23
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653416group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1653416, was opened at 2007-02-06 17:23
Message generated for change (Comment added) made by eolebigot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653416group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1653416, was opened at 2007-02-06 10:23
Message generated for change (Comment added) made by montanaro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653416group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #1649329, was opened at 2007-02-01 03:20
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1649329group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1648268, was opened at 2007-01-30 23:15
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1648268group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1646068, was opened at 2007-01-27 19:23
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1646068group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #1649329, was opened at 2007-01-31 18:20
Message generated for change (Comment added) made by jjinux
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1649329group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1653736, was opened at 2007-02-07 01:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653736group_id=5470
Please note that this message will contain a full copy of
Bugs item #1653753, was opened at 2007-02-06 17:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653753group_id=5470
Please note that this message will contain a full copy of
Bugs item #1653757, was opened at 2007-02-06 18:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1653757group_id=5470
Please note that this message will contain a full copy of
Feature Requests item #1649329, was opened at 2007-02-01 03:20
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1649329group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1651995, was opened at 2007-02-04 22:34
Message generated for change (Comment added) made by nagle
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1651995group_id=5470
Please note that this message will contain a full copy of the comment thread,
101 - 180 of 180 matches
Mail list logo