Thanks for your well-formulated article
Providing the Python infrastructure with my program doesn't apply
since I am providing a program/library that is intended to be
general.
So it doesn't help.
All that py3k does to me, it seems, is some extra work.
To be frank, no innovation. Just changes,
Does anyone know a workaround to plotting beyond 9 subplots in
matplotlib? It would be nice to have 20 plots under the subplot
function for example (poster).
Cheers,
Eli
--
http://mail.python.org/mailman/listinfo/python-list
Hallöchen!
Joe P. Cool writes:
> On 12 Apr., 03:34, baalbek <[EMAIL PROTECTED]> wrote:
>
>> Delphi/Object Pascal simply sucks big time!
>
> I disagree. Delphi/Object Pascal with the VCL (Visual Component
> Library) is one of the most sophisticated IDEs ever, even better
> than Qt IMO. [...]
I wa
En Tue, 15 Apr 2008 23:24:01 -0300, Jonathan Shao <[EMAIL PROTECTED]>
escribió:
> I've written up a stripped down version of the code. I apologize for the
> bad
> coding; I am in a bit of a hurry.
First things first: I think you will gain inmensely using NumPy:
http://numpy.scipy.org/
My t
> What is Py_UNICODE_SIZE and why was it not defined? There are current
> questions I have.
Py_UNICODE_SIZE is the number of bytes that a Py_UNICODE value should
have in the interpreter. With --enable-unicode=ucs2, it should be 2.
I cannot guess why it is not defined; check pyconfig.h to find ou
> "C:\Python24\Lib\site-packages\MySQLdb\cursors.py", line 149, in
> execute query = query.encode(charset) UnicodeEncodeError: 'latin-1'
> codec can't encode character u'\u2013' in position 52: ordinal not in
> range(256)
Here it complains that it deals with the character U+2013, which
is "EN DAS
En Tue, 15 Apr 2008 22:14:18 -0300, Patrick Stinson
<[EMAIL PROTECTED]> escribió:
> What's the current way to install an import hook? I've got an embedded
> app
> that has a few scripts that I want to import each other, but that are
> not in
> sys.modules. I intentionally keep them out of sy
On Wed, 2008-04-16 at 02:35 -0300, Gabriel Genellina wrote:
> I'm unsure if teaching Javascript, VBScript and Python at the same time is
> a good thing, I'd think one would get a language soup and mix all the
> concepts, but if it works for you, go ahead.
> For other resources, see the beginne
En Tue, 15 Apr 2008 20:45:24 -0300, <[EMAIL PROTECTED]> escribió:
> On 16 Apr, 00:24, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>> En Tue, 15 Apr 2008 17:45:08 -0300, <[EMAIL PROTECTED]> escribió:
>>
>> > when calling function hmm here, what do i get? the widget i clicked
>> > on?
>> > if i ha
En Tue, 15 Apr 2008 20:37:40 -0300, agent E 10 <[EMAIL PROTECTED]>
escribió:
> On Apr 14, 8:37 pm, Benjamin <[EMAIL PROTECTED]> wrote:
>> On Apr 14, 9:00 pm, agent E 10 <[EMAIL PROTECTED]> wrote:> Hi,
>> I'm brand new to programming. Have any suggestions? I'm young.
>> > Was it a good idea t
En Tue, 15 Apr 2008 20:26:16 -0300, Yves Dorfsman <[EMAIL PROTECTED]>
escribió:
> Dan Bishop wrote:
>
lines[:] = [line.rstrip('\n') for line in lines]
>>> What is the point of the [:] after lines ? How different is it with or
>>> without it ?
>>
>> It causes the result to be stored in the e
Hi everyone,
I am looking for binaries (.exe) of python-gammu (any
version) for Python 2.4. What I'm getting from the
download website is only for Python 2.5. Does anyone
know where I can get what I'm looking for? Google
isn't really helping :-C
Regards,
Simon
___
Hallöchen!
[EMAIL PROTECTED] writes:
> On 11 abr, 20:31, sturlamolden <[EMAIL PROTECTED]> wrote:
>
> [...]
>
> I have no experience with GUI programming in Python, but from this
> discussion it seems if the type of license is not an issue (for
> FOSS development), PyQt is the best tool because it
On 4/15/08, Daniel Fetchinson <[EMAIL PROTECTED]> wrote:
> > Can I then simply ignore the time data then? I do see better performance
> > obviously the smaller the box is, but I guess my issues is how seriously
> to
> > take all this data. Because I can't claim "performance improvement" if
> there
Hello guys & girls
I'm pasting an "en dash"
(http://www.fileformat.info/info/unicode/char/2013/index.htm) character into a
tkinter widget, expecting it to be properly stored into a MySQL database.
I'm getting this error:
**
> Can I then simply ignore the time data then? I do see better performance
> obviously the smaller the box is, but I guess my issues is how seriously to
> take all this data. Because I can't claim "performance improvement" if there
> isn't really much of an improvement.
>
> On Tue, Apr 15, 2008 at
the memory usage of a python app keeps growing in a x86 64 linux
continuously, whereas in 32 bit linux this is not the case. Python
version in both 32 bit and 64 bit linux - 2.6.24.4-64.fc8
Python 2.5.1 (r251:54863, Oct 30 2007, 13:45:26)
i isolated the memory leak problem to a function that uses
> I've written up a stripped down version of the code. I apologize for the bad
> coding; I am in a bit of a hurry.
>
> import random
> import sys
> import time
>
> sizeX = 320
> sizeY = 240
> borderX = 20
> borderY = 20
>
> # generates a zero matrix
> def generate_zero():
> matrix = [[0 for y i
Hmm.. I'm just now learning wxPython and it's very very easy to me. Perhaps
because I've delved into other GUI APIs like GLUT and Windows DirectX.
Programming in C++ seems a pain when coming from Python. I'll let you know
more when I delve more into it.
-M
> From: [EMAIL PROTECTED]> Subj
On Apr 15, 9:17 pm, [EMAIL PROTECTED] wrote:
> On 11 abr, 20:31, sturlamolden <[EMAIL PROTECTED]> wrote:
>
> > On Apr 11, 5:01 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
> > wrote:
>
> > > Another annoying thing with the Qt license is that you have to choose it
> > > at the very start of the proje
On Apr 15, 6:37 pm, agent E 10 <[EMAIL PROTECTED]> wrote:
> On Apr 14, 8:37 pm, Benjamin <[EMAIL PROTECTED]> wrote:
>
> > On Apr 14, 9:00 pm, agent E 10 <[EMAIL PROTECTED]> wrote:>Hi, I'm brand
> > new to programming. Have any suggestions? I'm young.
> > > Was it a good idea to start with pyth
I've written up a stripped down version of the code. I apologize for the bad
coding; I am in a bit of a hurry.
import random
import sys
import time
sizeX = 320
sizeY = 240
borderX = 20
borderY = 20
# generates a zero matrix
def generate_zero():
matrix = [[0 for y in range(sizeY)] for x in ra
On 11 abr, 20:31, sturlamolden <[EMAIL PROTECTED]> wrote:
> On Apr 11, 5:01 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
> wrote:
>
> > Another annoying thing with the Qt license is that you have to choose it
> > at the very start of the project. You cannot develop something using the
> > open sourc
Dear all,
I'm trying to get a large, machine-generated regular expression (many
thousands of characters) to work in Python on a Mac (running Leopard),
and I keep banging my head against this brick wall:
>>> update_implicit_link_regexp_temp()
Traceback (most recent call last):
File "", line 1, i
Ben Finney <[EMAIL PROTECTED]> writes:
> Find out about test fixtures in the documentation for unittest
> http://www.python.org/doc/lib/module-unittest>.
Find out easier with the right URL context
http://www.python.org/doc/lib/module-unittest>.
--
\ "I like my dental hygenist, I think she
What's the current way to install an import hook? I've got an embedded app
that has a few scripts that I want to import each other, but that are not in
sys.modules. I intentionally keep them out of sys.modules because their
names will not be unique across the app. They will, however, be unique
betw
Joe P. Cool wrote:
> In 2005 I heard of plans to add Python as a second language to the
> Gecko engine. Is this still true? Or has this plan been abandoned?
>
You can use Python inside of Mozilla (Gecko) based applications now,
such as Firefox/Thunderbird/Komodo Edit/XulRunner which communicate
On Tuesday 15 April 2008 16:23, Ben Finney wrote:
> "Giampaolo Rodola'" <[EMAIL PROTECTED]> writes:
> > Is there a way to force unittest to run test methods in the order
> > they appear?
>
> No, and this is a good thing.
>
> Your test cases should *not* depend on any state from other test
> cases;
On Apr 16, 9:26 am, Yves Dorfsman <[EMAIL PROTECTED]> wrote:
> If we do:
> lines[:] = [line.rstrip('\n') for line in lines]
>
> We reuse an existing list, therefore we are saving the time it takes to
> create a new list ? So this is a performance issue ?
I think it's more of a reference issue. You
Just few link on some Lindsay Lohan Movies
Free Movies: http://exclusive.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Lindsay Lohan Movies
Free Movies: http://exclusive.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Lindsay Lohan Movies
Free Movies: http://exclusive.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Lindsay Lohan Movies
Free Movies: http://exclusive.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
On 16 Apr, 00:24, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Tue, 15 Apr 2008 17:45:08 -0300, <[EMAIL PROTECTED]> escribió:
>
> > when calling function hmm here, what do i get? the widget i clicked
> > on?
> > if i have a canvs on wich i have a bitmap and i click on the bitmap,
> > is the
On Apr 14, 8:37 pm, Benjamin <[EMAIL PROTECTED]> wrote:
> On Apr 14, 9:00 pm, agent E 10 <[EMAIL PROTECTED]> wrote:> Hi, I'm brand
> new to programming. Have any suggestions? I'm young.
> > Was it a good idea to start with python? I was planning on creating a
> > very simple program that asked
Dan Bishop wrote:
>>> lines[:] = [line.rstrip('\n') for line in lines]
>> What is the point of the [:] after lines ? How different is it with or
>> without it ?
>
> It causes the result to be stored in the existing list.
>
If we do:
lines = [line.rstrip('\n') for line in lines]
lines is now a
"Giampaolo Rodola'" <[EMAIL PROTECTED]> writes:
> Is there a way to force unittest to run test methods in the order
> they appear?
No, and this is a good thing.
Your test cases should *not* depend on any state from other test
cases; they should function equally well when executed in any
arbitrar
Erich <[EMAIL PROTECTED]> writes:
> def iterable(item, count_str=False):
> if not count_str and isinstance(item, str):
> return False
> try:
> iter(item)
> except:
> return False
> return True
> This is just simple boolean test for whether or not an object
I want to add a timeout so that when I pull out my gps from my serial
port, it would wait for a bit then loop and then see if it's there. I
also want to add a print statement saying that there is no GPS device
found. However when I run my code and unplug my serial port, my code
will just hang until
[EMAIL PROTECTED] wrote:
> On 13 Apr, 19:19, Bryan Oakley <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>> mapq = PhotoImage(file = 'C:\Users\saftarn\Desktop\elmapovic.gif')
>>> w.create_image(10, 10, image = mapq, anchor = NW)
>>> after doing this is there any possibility of getting the
On 12 Apr., 03:34, baalbek <[EMAIL PROTECTED]> wrote:
> Delphi/Object Pascal simply sucks big time!
I disagree. Delphi/Object Pascal with the VCL (Visual Component
Library) is one
of the most sophisticated IDEs ever, even better than Qt IMO. The only
drawback
is that it is Windows only.
> No rea
En Tue, 15 Apr 2008 17:45:08 -0300, <[EMAIL PROTECTED]> escribió:
> when calling function hmm here, what do i get? the widget i clicked
> on?
> if i have a canvs on wich i have a bitmap and i click on the bitmap,
> is the event.widget then the bitmap?
> can i get info about the bitmap then? like c
On Mon, 14 Apr 2008 00:31:34 -0700, Josh wrote:
> Hmm... That didn't work out so well that time. I feel like an idiot.
> Previously there has been an hour difference between the system time and
> the time that python reports.
Thanks for the laugh though Josh. That was funny! :)
--
http://mail.
On Apr 15, 11:18 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Berco Beute schrieb:
>
> > Thanks, that would be great.
>
> Here you go.
>
> http://roggisch.de/vidio.tgz
>
> Diez
Wonderful! Thank you very much!
I'm running out of time, but after installing the necessary goodies
using the nice
> Diez: I tried SWIG, and it works nicely with C. For C++, I didn't manage
> to make it work. I tried SIP; I have some problems compiling etc. Would
> it be too much to ask you to supply a working example of a (simple,
> stupid) C++ class and the necessary SIP files? Preferably for Mac OS X,
>
"Sverker Nilsson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| What serious reports?
http://wiki.python.org/moin/Early2to3Migrations
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 2008-04-15 at 13:48 -0700, Jeffrey Froman wrote:
> Tim Chase wrote:
> >def nsplit(s, delim=None, maxsplit=None):
> > if maxsplit:
> >results = s.split(delim, maxsplit)
> >result_len = len(results)
> >if result_len < maxsplit:
> > results.extend([''
Berco Beute schrieb:
> Thanks, that would be great.
Here you go.
http://roggisch.de/vidio.tgz
Diez
--
http://mail.python.org/mailman/listinfo/python-list
>
> Still, about StringIO...
>
The module description says you can use it to read and write strings
as files, not that you can use strings *everywhere* you can use files.
In your specific case, StringIO doesn't work, because the stdout
redirection takes place at the operating system level (which
On Tue, 2008-04-15 at 11:51 -0700, Erich wrote:
> Hello all,
>
> Today I found myself once again defining two functions that I use all
> the time: nsplit and iterable. These little helper functions of mine
> get used all the time when I work. Im sick of having to define them
> (but am very good
On Tue, 15 Apr 2008 13:36:11 -0700, Tobiah wrote:
> I am not sure how to capture the output of a command
> using subprocess without creating a temp file. I was
Sorry, I jumped into a secondary level of the
docs, and didn't see it all. I guess I can
use communicate() to get the output.
Still, ab
Erich wrote:
> def iterable(item, count_str=False):
> if not count_str and isinstance(item, str):
> return False
> try:
> iter(item)
> except:
> return False
> return True
Beware the "except" clause here, as it catches *all* errors. Thus, if you
happen to ha
On Tue, Apr 15, 2008 at 10:36 PM, Tobiah <[EMAIL PROTECTED]> wrote:
> I am not sure how to capture the output of a command
> using subprocess without creating a temp file. I was
> trying this:
>
> import StringIO
> import subprocess
>
> file = StringIO.StringIO()
>
> subprocess.call("ls", st
On Apr 15, 8:19 pm, [EMAIL PROTECTED] wrote:
> Coming from VBA I have a tendency to think of everything as an
> array...
Coding to much in Visual Basic, like Fortran 77, is bad for your mind.
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I've never programmed Java. I started directly in C, then C++ and now using
Python, mainly because its modules, because I found very hard to use and
find external libraries to do the same as Python (i.e. to read an URL o send
an email), and soften these libraries on C are not free or de
On Apr 15, 7:23 pm, [EMAIL PROTECTED] wrote:
> test = [[1],[2]]
> x = test[0]
Python names are pointer to values. Python behaves like Lisp - not
like Visual Basic or C#.
Here you make x point to the object which is currently pointed to by
the first element in the list test. If you now reassign
Tim Chase wrote:
>def nsplit(s, delim=None, maxsplit=None):
> if maxsplit:
>results = s.split(delim, maxsplit)
>result_len = len(results)
>if result_len < maxsplit:
> results.extend([''] * (maxsplit - result_len)
>return results
> else:
>
Le Tue, 15 Apr 2008 05:21:54 -0700, Berco Beute a écrit :
> I've been trying to access my webcam using Python, but I failed
> miserably. The camera works fine under Ubuntu (using camora and skype),
> but I am unable to get WebCamSpy or libfg to access my webcam.
>
> First I tried webcamspy (http:
when calling function hmm here, what do i get? the widget i clicked
on?
if i have a canvs on wich i have a bitmap and i click on the bitmap,
is the event.widget then the bitmap?
can i get info about the bitmap then? like color of the pixel i
clicked. if so, how?
w.bind("", key)
w.bind("", hmm)
d
I am not sure how to capture the output of a command
using subprocess without creating a temp file. I was
trying this:
import StringIO
import subprocess
file = StringIO.StringIO()
subprocess.call("ls", stdout = file)
Traceback (most recent call last):
File "", line 6, in ?
File "/usr/local
On Apr 15, 3:15 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> My suggestion would just be to create your own utils.py module
> that holds your commonly used tools and re-uses them
>
> -tkc
Well, I almost said that, but I was trying to find some "battery"
included that he could use since the OP s
Ben Kaplan wrote:
> The fact that C# is a .NET language is also a major weakness, since you can
> only use it on Windows.
Really? I have developed several C# .NET applications and I only use OS
X and Linux. Guess I imagined it. Also, IronPython runs very well on
Linux and OS X.
If you'd said
>> def nsplit(s,p,n):
>> n -= 1
>> l = s.split(p, n)
>> if len(l) < n:
>> l.extend([''] * (n - len(l)))
>> return l
>
> The split() method has a maxsplit parameter that I think does the same
> thing. For example:
>
temp = 'foo,bar,baz'
temp.split(',', 1)
> ['foo'
> Today I found myself once again defining two functions that I use all
> the time: nsplit and iterable. These little helper functions of mine
> get used all the time when I work. Im sick of having to define them
> (but am very good at it these days, less than 1 typo per function!).
> It lead
Well, if you're new - first find the function, then how to use it,
this funny %d5 (or something, don't remember) syntax - it's hard
compared to:
cout << 5 or similar stream tricks, or just 5 + "" in Java, or just
str(5) in Python. Anyway, small tasks are very hard for C newbies.
Den 15. a
In 2005 I heard of plans to add Python as a second language to the
Gecko engine. Is this still true? Or has this plan been abandoned?
--
http://mail.python.org/mailman/listinfo/python-list
On 13 Apr, 19:19, Bryan Oakley <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > mapq = PhotoImage(file = 'C:\Users\saftarn\Desktop\elmapovic.gif')
> > w.create_image(10, 10, image = mapq, anchor = NW)
>
> > after doing this is there any possibility of getting the
> > characteristics of the
Erich schrieb:
> This is like split() but returns a list of exactly lenght n. This is
> very useful when using unpacking, e.g.:
> x, y = nsplit('foo,bar,baz', ',', 2)
You could use the second argument of split:
x, y = 'foo,bar,baz'.split(',', 1)
Note that the number has the meaning "only spli
On Apr 15, 1:51 pm, Erich <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Today I found myself once again defining two functions that I use all
> the time: nsplit and iterable. These little helper functions of mine
> get used all the time when I work. Im sick of having to define them
> (but am very go
On Apr 15, 1:51 pm, Erich <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Today I found myself once again defining two functions that I use all
> the time: nsplit and iterable. These little helper functions of mine
> get used all the time when I work. Im sick of having to define them
> (but am very go
On Apr 3, 2008, at 10:54 AM, Trent Mick wrote:
> Jacob Davis wrote:
>> I just installed the MySQLdb module and I have been able to get it
>> to run in my command line interpreter. I am running Mac Leopard,
>> and Python 2.5.
>> I have tested importing and actually connecting and using a MySQL
[EMAIL PROTECTED] schrieb:
> by changing temp = v[:] the code worked perfectly (although changing
> temp.insert(0,k) to temp = [k] + temp also worked fine... I didn't
> like that as I knew it was a workaround)
So the for body now looks like this?:
temp = v[:]
temp.insert(0, k)
finallist.
On Sat, 12 Apr 2008 03:43:28 +, David Cook wrote:
> On 2008-04-11, Gabriel Ibanez <[EMAIL PROTECTED]> wrote:
>
>> Why is nobody talking about pyGTK ? There are no limits with licenses
>> (I think)
>
> The OS X port is still pretty preliminary.
>
> Dave Cook
I often use pygtk for my *ix pro
On Tue, 15 Apr 2008 12:02:48 -0700 (PDT)
"Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> Hi there.
> Is there a way to force unittest to run test methods in the order they
> appear?
Since they run in alphabetical order why not just rename them to the
order you want them to run? Something like th
> You must be joking - better designed? C++ was a botch to an already poor
> language.
>
Although I'm relatively new to the concept that C++ is too difficult to
use, I would concede that with certain mindset and priorities Java may
be a valid choice. Not so if one is willing to expand know
[EMAIL PROTECTED] wrote:
> Thank you both, the assigning using slicing works perfectly (as I'm
> sure you knew it would)... It just didn't occur to me because it
> seemed a little nonintuitive... The specific application was
>
> def dicttolist (inputdict):
> finallist=[]
> for k, v in inpu
The fact that C# is a .NET language is also a major weakness, since you can
only use it on Windows.
- Original Message
From: Michael Torrie <[EMAIL PROTECTED]>
To: python-list@python.org
Sent: Tuesday, April 15, 2008 1:19:31 PM
Subject: Re: Java or C++?
egbert wrote:
> What is the role
Hi there.
Is there a way to force unittest to run test methods in the order they
appear?
I'll try to explain.
My test suite appears as something like this:
import unittest
from test.test_support import TestSkipped, run_unittest
class TestCase(unittest.TestCase):
def test_z(self):
..
Hello all,
Today I found myself once again defining two functions that I use all
the time: nsplit and iterable. These little helper functions of mine
get used all the time when I work. Im sick of having to define them
(but am very good at it these days, less than 1 typo per function!).
It leads m
or
import sys
from urllib2 import *
try:
r=urllib2.urlopen("http://un-know-n.com/";)
except URLError,e:
print str(e)
sys.exit(1)
print r.info()
se python scope and namespaces ..
--
http://mail.python.org/mailman/listinfo/python-list
I think the fundamental "disconnect" is this issue of mutability and
immutability that people talk about (mainly regarding tuples and
whether they should be thought of as static lists or not)
Coming from VBA I have a tendency to think of everything as an
array...
So when I create the following
t
http://effbot.org/zone/python-objects.htm still says it best.
mt
--
http://mail.python.org/mailman/listinfo/python-list
Thank you both, the assigning using slicing works perfectly (as I'm
sure you knew it would)... It just didn't occur to me because it
seemed a little nonintuitive... The specific application was
def dicttolist (inputdict):
finallist=[]
for k, v in inputdict.iteritems():
temp = v
On Apr 15, 6:23 pm, [EMAIL PROTECTED] wrote:
> As a relative new comer to Python, I haven't done a heck of a lot of
> hacking around with it. I had my first run in with Python's quirky (to
> me at least) tendency to assign by reference rather than by value (I'm
> coming from a VBA world so that's t
On Apr 15, 10:23 am, [EMAIL PROTECTED] wrote:
> As a relative new comer to Python, I haven't done a heck of a lot of
> hacking around with it. I had my first run in with Python's quirky (to
> me at least) tendency to assign by reference rather than by value (I'm
> coming from a VBA world so that's
[EMAIL PROTECTED] wrote:
> As a relative new comer to Python, I haven't done a heck of a lot of
> hacking around with it. I had my first run in with Python's quirky (to
> me at least) tendency to assign by reference rather than by value (I'm
> coming from a VBA world so that's the terminology I'm u
On Apr 15, 11:55 am, egbert <[EMAIL PROTECTED]> wrote:
> What is the role or position of C# in this context ?
> If I remember well, some people have said that C# is an improved
> C++ or Java.
C# is more similar to Java than C++. Neither is very similar to C++,
except in some cosmetic syntactic wa
On Apr 15, 3:07 am, Paul Anton Letnes <[EMAIL PROTECTED]>
wrote:
> but C bogs you down with administrative stuff (try converting an int
> to a string; I found myself googling for an hour!).
It took an hour to find sprintf()?
--
http://mail.python.org/mailman/listinfo/python-list
As a relative new comer to Python, I haven't done a heck of a lot of
hacking around with it. I had my first run in with Python's quirky (to
me at least) tendency to assign by reference rather than by value (I'm
coming from a VBA world so that's the terminology I'm using). I was
surprised that these
egbert wrote:
> What is the role or position of C# in this context ?
> If I remember well, some people have said that C# is an improved
> C++ or Java.
> e
I think C# is in a great position, and might be recommended. C# has the
added advantage of being able to very easily work with IronPython. Th
In article
<[EMAIL PROTECTED]>,
Sverker Nilsson <[EMAIL PROTECTED]> wrote:
> No one forces me, but sooner or later they will want a Python 3.0 and
> then a 3.1 whatever.
>
> I don't want that fuzz. As about the C versions, I am not that
> worried. What's your point?
>
> I just like want to wri
Aaron Watters <[EMAIL PROTECTED]> writes:
> Even with Btree's if you jump around in the tree the performance can
> be awful.
The Linux file cache really helps. The simplest approach is to just
"cat" the index files to /dev/null a few times an hour. Slightly
faster (what I do with Solr) is mmap
Chris McAloney wrote:
> *Have* you tried the 2to3 tool? It might help to lessen your
> concerns a bit. Yes, Python 3 is different from 2.x, but we've known
> that it was going to be for years and, as has already been pointed
> out, the devs are being very careful to minimize the pain that t
What is the role or position of C# in this context ?
If I remember well, some people have said that C# is an improved
C++ or Java.
e
--
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
--
http://mail.
On Apr 14, 11:18 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> However, that is for the OP to decide. The reason I don't like the
> sort of question I posed is it's presumptuous--maybe the OP already
> considered and rejected this, and has taken steps to ensure the in
> memory data structure won't
On 15 avr, 17:43, Robert Bossy <[EMAIL PROTECTED]> wrote:
> Reckoner wrote:
> > would it be possible to use one of an object's methods without
> > initializing the object?
>
> > In other words, if I have:
>
> > class Test:
> > def __init__(self):
> > print 'init'
> > def foo(self):
> >
It is published. On comp.lang.python. Google groups has it, so google
(search) will find it.
Cheers,
Cliff
On Tue, 2008-04-15 at 17:04 +0200, Victor Subervi wrote:
> Gabriel;
>
> That's really nice code you wrote. I will rewrite my app accordingly,
> after I catch a breather! Say, would you p
Reckoner wrote:
> would it be possible to use one of an object's methods without
> initializing the object?
>
> In other words, if I have:
>
> class Test:
> def __init__(self):
> print 'init'
> def foo(self):
> print 'foo'
>
> and I want to use the foo function without hitting the
>
On 15 avr, 17:27, Reckoner <[EMAIL PROTECTED]> wrote:
> would it be possible to use one of an object's methods without
> initializing the object?
>
> In other words, if I have:
>
> class Test:
> def __init__(self):
> print 'init'
> def foo(self):
> print 'foo'
>
> and I want to use
On 15-Apr-08, at 12:30 AM, Sverker Nilsson wrote:
> No one forces me, but sooner or later they will want a Python 3.0 and
> then a 3.1 whatever.
>
> I don't want that fuzz. As about the C versions, I am not that
> worried. What's your point?
>
> I just like want to write a program that will stay w
1 - 100 of 154 matches
Mail list logo