Hello
I am trying to understand the abilities and limitation of creating an
instance. First I will give you my understanding then please steer me
in the right direction.
Abiities
1. The two ways to create an instance is def method(self) &
__int__(self, other, instances,...)
2. By creating a
mclaugb wrote:
> Um, i didnt see at the "more information" link whether "numpy,
> numarray, matplotlib, scipy, and scientific python" was included .
>
There's your answer...
:Robert
--
http://mail.python.org/mailman/listinfo/python-list
Antoon Pardon <[EMAIL PROTECTED]> wrote:
> I have a tree class, a tree acts like a dictionary, but when you
> iterate over it, it always iterates over the keys in order. This
> makes it usefull to iterate over a slice. So it would be usefull
> if methods like keys, values and items could take a sl
A.M. Kuchling <[EMAIL PROTECTED]> wrote:
> If Python 3000 turns into a let's-try-all-sorts-of-goofy-new-ideas
> language, at least some of those ideas will turn out to have been
> mistakes, and then we'll need a Python 3000++ to clean things up.
And I also think "we" will lose some developers in
That is why we have PEPs and people who read forums and, of course,
GvR.
At this point it seems that Python is mainstream enough that it
probably shouldn't be modified too much but it is also 'fresh' enough
to accept some modifications and new ideas.
The bottom line is that the more people are in
>I have a tree class, a tree acts like a dictionary, but when you
> iterate over it, it always iterates over the keys in order.
Antoon,
First of all there is a distinction between ordered and un-ordered data
types. You can only slice ordered data types. Lists and tuples are
ordered while the keys
Quenton Bonds wrote:
> I am trying to understand the abilities and limitation of creating an
> instance. First I will give you my understanding then please steer me
> in the right direction.
>
> Abiities
> 1. The two ways to create an instance is def method(self) &
> __int__(self, other, ins
You will probably have more result on the pywebsvcs-talk mailing list.
http://pywebsvcs.sf.net/
That said, ZSI will generate code from wsdl. I am not sure what it is you
are asking for, but this is probably what you actually want.
-Chris
On Tue, Jul 11, 2006 at 11:15:45AM +0530, Vedanta Barooa
Jack wrote:
> ...snip...
> If Python is not the best candidate for embedded systems because
> of the size, what (scripting) language would you recommend?
>
TCL is fairly popular in the embedded space. Fairly small footprint.
The syntax is not to everyone's taste.
--
http://mail.python.org/mailma
Here's an URL to a project that appears to be dated from 2004 -->
http://skreak.com/wrt54g/python.php.
Jack wrote:
> Is there a Python packaging that is specifically for
> embedded systems? ie, very small and configurable so the
> user gets to select what modules to install?
>
> For Linux-based em
Jack wrote:
> Is there a Python packaging that is specifically for
> embedded systems? ie, very small and configurable so the
> user gets to select what modules to install?
>
> For Linux-based embedded systems in particular?
>
> I'm thinking of running it on the Linksys's Linux-based open
> source
Quenton Bonds wrote:
> Hello
> I am trying to understand the abilities and limitation of creating an
> instance. First I will give you my understanding then please steer me
> in the right direction.
>
> Abiities
> 1. The two ways to create an instance is def method(self) &
> __int__(self, other,
Or Python on the Zaurus, which I used to develop a wifi CRM app on a
group of refurb Sharp Zaurus SL-5500 units. Here's a link to the Python
implementation on the Z --> http://starship.python.net/~hinsen/Zaurus/.
Grzegorz Makarewicz wrote:
> Jack wrote:
> > Is there a Python packaging that is spec
Nevermind. Did it in Java. Thanks anyway to all who gave suggestions.
--
http://mail.python.org/mailman/listinfo/python-list
Quenton Bonds wrote:
> Hello
> I am trying to understand the abilities and limitation of creating an
> instance. First I will give you my understanding then please steer me
> in the right direction.
>
Wow, you've got it nearly completely comprehensively backwards.
> Abiities
> 1. The two ways t
Quenton,
What kind of instances do you want to create? An instance has to be an
instance of something. You mention creating instances "of a method",
what do you mean by that?
Anyway, assuming you are new to Python here is a basic intro about
objects and classes:
Think of a class as a blueprint an
> Antoon Pardon <[EMAIL PROTECTED]> (AP) wrote:
>AP> Well I'll start on an possitive note and accept this. Now I'd like you
>AP> to answer some questions.
>AP> 1) Do you think the langauge reference makes it clear that this is how
>AP>the reader has to understand things.
Yes.
>AP> 2a) I
> "Dirk Hagemann" <[EMAIL PROTECTED]> (DH) wrote:
>DH> Hi!
>DH> How can I start several jobs at the same time with python? I want to
>DH> collect data from some servers and I don't want to wait until the first
>DH> server is finished. These jobs should run parallel to save time.
Use the subpr
Marshall wrote:
> Joe Marshall wrote:
> > Marshall wrote:
> > >
> > > Consider the following Java fragment:
> > >
> > > void foo() {
> > > int i = 0;
> > > int j = 0;
> > >
> > > // put any code here you want
> > >
> > > j = 1;
> > > i = 2;
> > > // check value of j here. It is still 1
tac-tics wrote:
> Nick Vatamaniuc wrote:
> > I really like the set notation idea. Now that sets are first class
> > "citizens" along with dicts, lists and tuples I think they should be
> > used when it makes sense to use them
>
> In actual usage, though, how often is it strictly required one uses a
Hey I'm pretty new to python and I have a question. I'm trying to write:"[BOOT]run=C:\windows\aawin.bat"in my win.iniSo I went about it like this:win = open('C:\windows\win.ini', 'a')
win.write('[BOOT]')win.write('\n')win.write('run=C:\windows\aawin.bat')I expected that to work, but instead of C:\
Kiran wrote:
> Hello All,
> I am writing an app in wxPython using a grid. I need to be able to
> recognize what cell in the grid the user is hovering over with the
> mouse. How to do this?
> I tried XYToCell(x, y), but that doesnt work properly because it
> thinks that mouse position (0, 0) i
Marshall schrieb:
> Joachim Durchholz wrote:
>> Marshall schrieb:
>>> What about my example of SQL? Mutation, no pointers, no aliasing.
>>> Yet: useful.
>> Sorry, but SQL does have aliasing.
>
> Well. I suppose we do not have an agreed upon definition
> of aliasing, so it is hard to evaluate eithe
On 2006-07-14 12:07:12, Fredrik Lundh wrote:
> umm. what are we talking about here, really ?
Aha! You took a big load off my chest -- this is pretty much what I thought
should be there :)
What I was talking about is that Diez responded with a clear "no" to my
question whether print would do the
Marshall schrieb:
> Joachim Durchholz wrote:
>> You can have aliasing without pointers; e.g. arrays are fully sufficient.
>> If i = j, then a [i] and a [j] are aliases of the same object.
>
> I am having a hard time with this very broad definition of aliasing.
> Would we also say that a[1+1] and a
Hi,
I am having hard time with installing MySQLdb on Linux.
My Python version is 2.3. I have downloaded
"MySQL-python-1.2.1_p2.tar.gz" from sourceforge. The README file
asks for MySQL installation. My MySql server is on another box. That is
why I think I should to install just the MySql client (a
On 2006-07-14 16:07:28, Piet van Oostrum wrote:
>>AP> 2a) In case you answer yes to question (1). Can you explain me how
>>AP> I have to read the language reference in order to deduce this
>>AP> is indeed the way things should be understood.
>
> Just read what it says. `It is only evaluat
> Hey I'm pretty new to python and I have a question. I'm trying to write:
> "[BOOT]
> run=C:\windows\aawin.bat"
>
> in my win.ini
> So I went about it like this:
>
> win = open('C:\windows\win.ini', 'a')
> win.write('[BOOT]')
> win.write('\n')
> win.write('run=C:\windows\aawin.bat')
>
> I expecte
I'm using this package that I can't import on startup, instead needing
to wait until some initialization takes place so I can set other
things up so that I can subsequently import the package and have the
"startup needs" of that package met.
Specifically this has to do with the interaction between
Justin Azoff wrote:
> Of course..
>
> I should read the python documentation at
> http://docs.python.org/lib/typesseq-strings.html
Excellent. Thanks. Has this been around long? I "learned" Python in
the 1.6 days iirc, but haven't done much except simple scripting with
it since...
-tom!
--
h
Tom Plunket wrote:
> Excellent. Thanks. Has this been around long? I "learned" Python in
> the 1.6 days iirc, but haven't done much except simple scripting with
> it since...
Yep. Been around since at least 1.5.x.
--
Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/
San
Erik Max Francis wrote:
> > For enrichment purposes, is there a way to do this sort of thing with
> > a generator? E.g. something like:
> >
> > def SentenceGenerator():
> >words = ['I', 'have', 'been', 'to', 'the', 'fair']
> >for w in words:
> > yield w
> >
> > message = "%s %s %
Tom Plunket wrote:
> I know that the message didn't have enough formatters, that's why I
> asked. (Although I would have assumed that the generator would get
> automatically converted to a sequence that was consumable by the
> interpolation operator...)
That's because::
aFormatString %
I need to link an event registration site to
a housing site. From what I can gather, I
make a call to some url that ends in WSDL, and
get some XML back from the housing site. Now I'm
supposed to make this into an object and call it
here and there through SOAP? Is that how it works?
Is this
Installable package?Any ideas?Thanks in advance,Jeremy
Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. --
http://mail.python.org/mailman/listinfo/python-list
Or:
win.write(r'run=C:\windows\aawin.bat')
The r before the string makes it a "raw" string, where \ are not
interpreted as escape characters.
Marcelo
Daniel Nogradi ha escrito:
> > Hey I'm pretty new to python and I have a question. I'm trying to write:
> > "[BOOT]
> > run=C:\windows\aawin.ba
Marshall wrote...
> I am having a hard time with this very broad definition of aliasing.
> Would we also say that a[1+1] and a[2] are aliases? It seems
> to me, above, that we have only a, and with only one variable
> there can be no aliasing.
The problem with this (and with the relational one as
I'm working on a simple Python program, with Tkinter, and I need to
display the math symbols for set union and intersection, in unicode
\N{N-ARY UNION} and \N{N-ARY INTERSECTION}. Everything was displaying
correctly (when I ran the program) until I changed my OS distribution
from SuSE to Ubuntu
On 2006-07-14 18:05:56, Ivan Shevanski wrote:
> Hey I'm pretty new to python and I have a question. I'm trying to write:
> "[BOOT]
> run=C:\windows\aawin.bat"
>
> in my win.ini
> So I went about it like this:
>
> win = open('C:\windows\win.ini', 'a')
> win.write('[BOOT]')
> win.write('\n')
> wi
Tom Plunket wrote:
> I'm using this package that I can't import on startup, instead needing
> to wait until some initialization takes place so I can set other
> things up so that I can subsequently import the package and have the
> "startup needs" of that package met.
[...]
> So as y'all might gues
Anyone know how to get the caption of the window currently in focus in
whatever app is in use? If I am using Excel, for example, I want my
python app to know that Excel is currently being used.
--
http://mail.python.org/mailman/listinfo/python-list
Announcing Urwid 0.9.5
--
Urwid home page:
http://excess.org/urwid/
Tarball:
http://excess.org/urwid/urwid-0.9.5.tar.gz
About this release:
===
This release adds support for the alternate character set with DEC
special and line drawing characters. Ur
Make Lots of Money Quick, Easy & LEGAL with Paypal
AS SEEN ON OPRAH!!
PAYPAL VERIFIES THAT THIS $6 INVESTMENT SCHEME IS 100% LEGAL AND IS A BIG HIT
THIS YEAR SEE
THEIR NOTE BELOW OR ASK THEM DIRECTLY... THIS SCHEME MIGHT TAKE 15-30 MINUTES
AND JUST $6,
BUT IT IS 100% WORTH IT TO
The problem with understanding augmented assignment is that it directs the
compiler and interpreter to do one or maybe two mostly invisible
optimizations. To me, the effective meaning of 'evalutating once versus
twice' is most easily seen in the byte code generated by what is, remember,
the r
Why does code.InteractiveConsole support command history on Windows, but
not in a Gnome terminal (all I get is ^[[A^[[B)? Or does it not support
history at all, and the Windows console is implementing it's own? Is
there any way to get command history working with InteractiveConsole on
Linux?
C
Konrad Hinsen wrote:
> I am trying to install Python 2.4.3 on an AMD Opteron system using
> the Portland Group's compiler (pgcc). Using
>
> I finally managed to obtain an executable that would start and work,
> but it fails a couple of test cases:
...
> Has anyone encountered such failures before?
In article <[EMAIL PROTECTED]>,
"gmax2006" <[EMAIL PROTECTED]> wrote:
>I am having hard time with installing MySQLdb on Linux.
...
>My Linux is "Red Hat Enterprise Linux ES release 4 (Nahant)"
Why don't you just use yum to install python-mysql or whatever the
package is called, and have it au
In article <[EMAIL PROTECTED]>,
Uwe Schmitt <[EMAIL PROTECTED]> wrote:
>I am trying to print raw postscript data on windows.
>win32print should do the work like this:
>
> h=win32print.OpenPrinter(name)
> win32print.StartDocPrinter(h, 1, ("", "", "RAW"))
> win32print.WritePrinter(h, file("p.
101 - 148 of 148 matches
Mail list logo