John Salerno wrote:
> John Salerno wrote:
> > Hi guys. I tried naming my file with a .pyw extension, but the console
> > still shows up. Why doesn't this work? And is there another, more
> > programmatic way to suppress it?
> >
> > Thanks.
>
> I just noticed that the console that opens isn't the n
This is an automated response.
Thank you for contacting the Technical Support team at The MathWorks Ltd. A
technical support representative will be contacting you within 1 business day.
The following information will help us in responding to your request. If you
have already provided the info
On Mon, 2006-07-31 at 22:25 -0700, Luis M. González wrote:
> I don't have experience with Django or any other python framework, but
> I have used bare-bones mod_python and it rocks.
> I wouldn't use PSP though...
> It is not very polished, and they way it handles the "indentation
> problem" in pyth
I keep chatting with the tech support people at Earthlink, asking where
the location of the Python interpreter is. They don't seem to know where
it is. They don't know if Python is running on my server, either. I know
Perl is at /usr/local/bin/perl ...but when I use a similar address for
Python
gene tani wrote:
> IOANNIS MANOLOUDIS wrote:
> > I want to learn python.
> > I plan to buy a book. I always find printed material more convenient than
> > reading on-line tutorials.
> > I don't know PERL or any other scripting language. I only know some BASH
> > programming. I am looking for a book
northband wrote:
> Hi, I am interested in re-writing my website in Python vs PHP but have
> a few questions. Here are my specs, please advise as to which
> configuration would be best:
>
> 1.Dell Poweredge Server, w/IIS, currently Windows but considering
> FreeBSD
> 2. Site consists of result page
Pak (or Andrei, whichever is your first name),
My proposal below:
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups: comp.lang.python
To:
Sent: Sunday, July 30, 2006 8:52 PM
Subject: Re: Html character entity conversion
> danielx wrote:
> > [EMAIL PROTECTED] wrote:
> > >
Philippe,
I just wrote the code following the example you provided. The image
location can be controlled with the data from socket client. But only
one thing confuse me. When the image keeps moving to a new location,
the image at a "old" location is not deleted and is left behind in the
frame. Do
Hello,
how can I get the number of byte of the string in python?
with "len(string)", it doesn't work to get the size of the string in
bytes if I have the unicode string but just the length. (it only works
fine for ascii/latin1) In data structure, I have to store unicode
string for many languages
OriginalBrownster wrote:
> I am using a class called UploadedFile.
> I want to create a for loop to itterate through the objects within file
> name
>
> class UploadedFile(SQLObject):
> filename = StringCol(alternateID=True)
> abspath = StringCol()
> uniqueid = IntCol()
>
> I'll s
[EMAIL PROTECTED] wrote:
> northband wrote:
> >
[Specifications]
> > I am trying to have the fastest page loads, averaging 100 items per
> > result page. I have read about using Apache's mod_python so I could
> > use PSP. Any help or tips are appreciated.
>
> So if I'm reading this correctly: y
e.g. I use utf8 as encoding/decoding,
s = "ทดสอบ"
u = s.decode("utf-8")
how can I get size of u ?
[EMAIL PROTECTED] schrieb:
> Hello,
>
> how can I get the number of byte of the string in python?
> with "len(string)", it doesn't work to get the size of the string in
> bytes if I have the un
[EMAIL PROTECTED] wrote:
> how can I get the number of byte of the string in python?
> with "len(string)", it doesn't work to get the size of the string in
> bytes if I have the unicode string but just the length. (it only works
> fine for ascii/latin1) In data structure, I have to store unicode
wesley chun wrote:
> if you only know shell scripting, you should still be able to pick up
> much of the material in Core Python, esp. if you have done looping
> and/or conditionals in the shell language. it is a large book and is
> pretty comprehensive though, so if you're looking for a lighter i
Stefan Behnel wrote:
> [EMAIL PROTECTED] wrote:
>> how can I get the number of byte of the string in python?
>> with "len(string)", it doesn't work to get the size of the string in
>> bytes if I have the unicode string but just the length. (it only works
>> fine for ascii/latin1) In data structu
I've recently gone through a similar evaluation of my options for
persisting data. Object serialization to pickles or XML is a very easy,
quick way of persisting data but it does have drawbacks. I'm not a
professional developer, so if there are errors in my analysis, I'd love
to be corrected.
Sup
Jordan R McCoy wrote:
> For example, the Twisted framework uses this technique to allow global
> access to the installed reactor via import syntax, which works well
> within the framework. It did, however, throw me a bit when I first
> encountered it, and drove me to pour over the source to find
This is an automated response.
Thank you for contacting the Technical Support team at The MathWorks Ltd. A
technical support representative will be contacting you within 1 business day.
The following information will help us in responding to your request. If you
have already provided the info
I got the answer. What I need was so simple but I was blinded at that
moment.
Thanks for any suggestion!
f = open("test.csv", rb)
t1 = f.readline()
>>> t2 = t1.decode("iso-8859-9") # test with turkish
>>> t2
u'Dur-kalk trafi\u011fi, t\u0131kan\u0131kl\u0131k tehlikesi\n'
>>> print t2
Du
Diez B. Roggisch wrote
> Stefan Behnel wrote:
>
>> [EMAIL PROTECTED] wrote:
>>> how can I get the number of byte of the string in python?
>>> with "len(string)", it doesn't work to get the size of the string in
>>> bytes if I have the unicode string but just the length. (it only works
>>> fine f
I have the below code to get info about SOAP services at a wsdl url. It
gets the in parameters OK but does not seem to get out/return
parameters. Any idea why?
Ben
from SOAPpy import WSDL
import sys
wsdlfile = "http://www.xmethods.net/sd/2001/TemperatureService.wsdl";
server = WSDL.Proxy(wsdl
[EMAIL PROTECTED] wrote:
> Python and Ubuntu rock...go fot it.
That's nice. I've just burned myself a new Ubuntu f*ck-a-duck release
CD intending to rebuild a flakey old Deadrat box with it. Once it's
done I'd like to be running Python with some USB to Dallas one-wire
hardware on it, re-plugged
tobiah wrote:
> I am making a web app, made up of many modules
> that all need access to some important data, like
> the current session data, cookies, navigation history,
> post/get variables, etc.
>
> I decided to go with the 'Borg' idea, by assigning the
> __dict__ of an object to a class variab
Hi All,
Is anything wrong with the following code?
class Superclass(object):
def __new__(cls):
# Questioning the statement below
return super(Superclass, cls).__new__(Subclass)
class Subclass(Superclass):
pass
if __name__ == '__main__':
instance = Superclass()
print instance
It w
-Original Message-
From: Cliff Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 4:55 PM
To: Michael Yanowitz
Cc: python-list@python.org
Subject: Re: Static Variables in Python?
On Mon, 2006-07-31 at 15:21 -0400, Michael Yanowitz wrote:
> Is it possible to have a static vari
Awesome response, thanks. I am definitely interested in the MVC and am
looking into it now.
Yes, we are migrating to Python mainly because we want unicode support,
more stability, and faster performance than what we are getting now.
We were going to move to php but seem python is the better choic
wrote:
> Hi All,
>
> Is anything wrong with the following code?
>
> class Superclass(object):
> def __new__(cls):
> # Questioning the statement below
> return super(Superclass, cls).__new__(Subclass)
> class Subclass(Superclass):
> pass
> if __name__ == '__main__':
> instance = Su
Hi,
Still struggling with my GUI exercise -
I have the following lines of code in a routine that is bound at to
an instance of Entry :
self.disp.Amount_des = Label(self.disp, text = self.dis_string, fg =
'black', bg = 'yellow')
self.disp.Amount_des.grid(row = self.rownum, column
Hi all,
I'm using the Windows version of Python 2.4.3 and everything worked
okay until I installed PyGreSQL. Well, in fact the installation went
fine, but when I try to run my script from IDLE I get:
Traceback (most recent call last):
File "\main.py", line 3, in -toplevel-
import pgdb
Fil
Anthra Norell wrote:
import SE# Available at the Cheese Shop
I mean, that OP requested:
'How can I translate this using standard Python libraries??'
so it's just only not on topic.
Claudio Grondi
--
http://mail.python.org/mailman/listinfo/python-list
H J van Rooyen wrote:
> Hi,
>
> Still struggling with my GUI exercise -
>
> I have the following lines of code in a routine that is bound at
> to an instance of Entry :
>
> self.disp.Amount_des = Label(self.disp, text = self.dis_string, fg
> =
> 'black', bg = 'yellow')
>
I'd like to announce the initial release of LibYAML, a YAML parser and
emitter library written in C.
LibYAML homepage: http://pyyaml.org/wiki/LibYAML
TAR.GZ package: http://pyyaml.org/download/libyaml/yaml-0.0.1.tar.gz
SVN repository: http://svn.pyyaml.org/libyaml
Bug tracker:htt
On Tue, 01 Aug 2006 14:14:51 +0200, H J van Rooyen <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> Still struggling with my GUI exercise -
>
> I have the following lines of code in a routine that is bound at
> to
> an instance of Entry :
>
> self.disp.Amount_des = Label(self.disp, text = self.di
I'm using the InformixDB package, which has been a real lifesaver, but
I'm finding I can't get any data from the Informix LCHARVAR types.
They're coming in as empty strings.
The cursor._description for the field in question is:
('msg_text', 'lvarchar', 0, 0, None, None, 1)
Appreciate any help...
[EMAIL PROTECTED] wrote:
> How can I convert encoded string
>
> sEncodedHtmlText = 'привет
> питон'
>
> into human readable:
>
> sDecodedHtmlText == 'пÑÐ¸Ð²ÐµÑ Ð¿Ð¸Ñон'
How about:
>>> sEncodedHtmlText = 'text:
приветпитоl
5;'
>>> def unescape(m):
return unichr(int(m.group(0)[2:-1]
On Tue, 2006-08-01 at 09:02, [EMAIL PROTECTED] wrote:
> I'm using the InformixDB package, which has been a real lifesaver, but
> I'm finding I can't get any data from the Informix LCHARVAR types.
> They're coming in as empty strings.
>
> The cursor._description for the field in question is:
> ('ms
Carsten Haese wrote:
> What version are you using? I thought I fixed lvarchars a long time ago.
2.2, with Python 2.4 on Windows... I installed via
InformixDB-2.2.win32-py2.4.exe
I can see the data with other tools... it's multi-line, stuff like
stack traces, etc., and many start with newlines...
On 2006-07-31, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> Antoon Pardon wrote:
> (snip)
>> Sure it is usefull. It may be not 100% formally correct, but often
>> things that are not 100% formally correct can be better in bringing
>> an idea accross.
>
> hear hear...
>
> And yet you still fail
> So then the easiest thing to do is: take the maximum length of a unicode
> string you could possibly want to store, multiply it by 4 and make that
> the length of the DB field.
> However, I'm pretty convinced it is a bad idea to store Python unicode
> strings directly in a DB, especially as the
Cliff Wells wrote:
> On Mon, 2006-07-31 at 22:25 -0700, Luis M. González wrote:
> > I don't have experience with Django or any other python framework, but
> > I have used bare-bones mod_python and it rocks.
> > I wouldn't use PSP though...
> > It is not very polished, and they way it handles the "
On 2006-08-01 04:11:18, Cliff Wells wrote:
> You say that you haven't tried Django or any other Python framework.
> Perhaps you should. You seem to have at least the start of the right
> idea about web application organization, so I think you'd be pleasantly
> surprised with what you'll find alre
I want words between 2 nearby commas with a specific word in them.
For example,in the text blow:
"We the people of the United States, in order to form a more perfect union,
establish justice, insure domestic tranquility,.."
I want "justice" and the words between the 2 nearest commas, which i
On Tue, 2006-08-01 at 09:27, [EMAIL PROTECTED] wrote:
> Carsten Haese wrote:
> > What version are you using? I thought I fixed lvarchars a long time ago.
>
> 2.2, with Python 2.4 on Windows... I installed via
> InformixDB-2.2.win32-py2.4.exe
Hm, this certainly warrants further investigation. I do
Hi Guys,
I have a couple of questions (and some concerns) about embedded python within my application.
The application is a multi-threaded relatively complex c++ middleware
Solaris 9 based application. A decision was made some time ago to
provide some scripting capabilities and python was select
wesley chun wrote:
> if you want a large case study (tons of
> examples, i.e., everything *plus* the kitchen sink), look for Lutz'
> massive Programming Python.
which is also coming out in a new edition soon
--
http://mail.python.org/mailman/listinfo/python-list
¨ì©³¦b²Ö¤°»ò°Ú¡H wrote:
> I want "justice" and the words between the 2 nearest commas, which is
>
> establish justice
>
> All I can come up with is
>
> r",(.*?justice.*?),"
>
> but the result is
>
>in order to form a more perfect union, establish justice
>
> Apreciate any help.
",([^
Hi All,
I am reading a log file, and wondering what is the best way to read and
analize this.
I am think in two options:
1- Read the data and put all variables in a list
2- Read the data and put all the variables in dictionary?
the logs is in this format
xx
The separatio
How about
my_string = "We the people of the United States, in order to form a
more perfect union, establish justice, insure domestic
tranquility,.."
print (x for x in my_string.split(",") if "justice" in x).next()
This isn't a regular expression, but it gives what you're looking for.
THN
--
I'll be out of the office until approximately August 20th. If you have any
questions, please email [EMAIL PROTECTED]
-- David Wahler
--
http://mail.python.org/mailman/listinfo/python-list
I'll be out of the office until approximately August 20th. If you have any
questions, please email [EMAIL PROTECTED]
-- David Wahler
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
[EMAIL PROTECTED] schrieb:
> I am reading a log file, and wondering what is the best way to read and
> analize this.
Look at:
http://pyparsing.wikispaces.com/
There is also an example for parsing an apache log.
--
Servus, Gregor
http://www.gregor-horvath.com
--
http://mail.python.or
On 2006-07-31 23:52:07, danielx wrote:
>> You don't expect the "identity" of the variable b to change with a
>> simple assignment from a C/C++ point of view. You also don't expect the
>> "identity" of a and b to be the same after assigning one to the other.
>> You can create C++ classes that behav
On 2006-08-01, danielx <[EMAIL PROTECTED]> wrote:
> Gerhard Fiedler wrote:
>> On 2006-07-30 09:54:14, Antoon Pardon wrote:
>>
>> > Aren't you looking too much at implementation details now?
>>
>> Possibly, but at this point I'm still trying to understand how Python does
>> these things, and what th
Antoon Pardon wrote:
> Even this doesn't:
>
> def foo():
> if False:
> a = 1
> else:
> b = a
>
> a = 1
> foo()
>
> Yet seems to work (which I think is an error in the optimisation;
What definition of 'seems to work' are you using? It throws an
UnboundLocalError excep
hi all,
i have a big list of tuples like this:
[ (host, port, protocol, startime, endtime), .. ] etc
now i have another big(ger) list of tuples like this:
[(src_host, src_port, dest_src, dest_port, protocol, time), ... ] etc
now i need to find all the items in the second list where either
src_
Can someone PLEASE remove [EMAIL PROTECTED] from the subscriber
list???
--
http://mail.python.org/mailman/listinfo/python-list
Kevin Walzer <[EMAIL PROTECTED]> writes:
> I am trying to build a simple "hello.py" script with cx_freeze, but am
> not having any luck. Every time I run the FreezePython utility I get
> this error message:
>
> Traceback (most recent call last):
> File
> "/Users/kevin/Desktop/cx_Freeze-3.0.2/ini
"Guyon Morée" <[EMAIL PROTECTED]> writes:
> if (((src_host,src_port, protocol) in dict or (dest_host, dest_port,
> protocol) in dict) and starttime < time < endtime):
> print "we have a winner"
If you have enough memory to do it that way, what's the problem?
--
http://mail.python.org/mailman/li
Memory is no problem. It just needs to be as fast as possible, if
that's what this is, fine.
If not, I'd like to find out what is :)
thanx,
Guyon Moree
http://gumuz.looze.net
Paul Rubin schreef:
> "Guyon Morée" <[EMAIL PROTECTED]> writes:
> > if (((src_host,src_port, protocol) in dict or (de
John McMonagle wrote:
> On Mon, 2006-07-31 at 11:15 -0700, Al in Dallas wrote:
[example of "losing" a widget]
> Consider the following code run in the python shell:
>
> >>> from Tkinter import *
> >>> r = Tk()
> >>> b1 = Button(r, text='test')
> >>> b1.pack()
> >>> b2 = Button(r, text='test2')
>
Guyon Morée wrote:
> Memory is no problem. It just needs to be as fast as possible, if
> that's what this is, fine.
>
> If not, I'd like to find out what is :)
I'd say it is as fast as it can get - using hashing for lookups is O(n) in
most cases, where bisection or other order-based lookups have
That is important, but apparently Windows (at least XP) will work fine
with the forward slash that Linux uses. I just tried it in the command
prompt and it works. I'm sure other platforms use the forward slash
separator as well. You've just covered three major platforms (Mac OS X,
WinXP and Linux)
Paul> Can someone PLEASE remove [EMAIL PROTECTED] from the
Paul> subscriber list???
BTDT.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
It's been years since I've done this. I had a programmer working for me
who disappeared one day, and now I'm taking over his responsibilities. I
need to re-configure Apache for mod_python which means I have to rebuild
python. I'm working with the latest distro. I'm heavily dependent on
zope, so
On Aug 1, 2006, at 11:13 AM, Diez B. Roggisch wrote:
> Guyon Morée wrote:
>
>> Memory is no problem. It just needs to be as fast as possible, if
>> that's what this is, fine.
>>
>> If not, I'd like to find out what is :)
>
> I'd say it is as fast as it can get - using hashing for lookups is O
>
Given a class:
>>> class foo(object):
>>> pass
how can I find its name, such as:
>>> b = foo
>>> print something(b)
'foo'
I'm writing a trace() decorator for the sake of practice, and am trying to
print the name of the class that a traced method belongs to. This seems
like it should be eas
John Machin wrote:
> [EMAIL PROTECTED] wrote:
> > John Machin wrote:
> > > [EMAIL PROTECTED] wrote:
> > > > To turn BCD x to binary integer y,
> > > >
> > > > set y to zero
> > > > for each nibble n of x:
> > > > y = (((y shifted left 2) + y) shifted left 1) + n
> > >
> > > Yeah yeah yeah
Hello,
I want to jump over a method in the class hierarchy, that is: If I have
class A(object), clas B(A), class C(B) and in C, I want a method to do
exactly what A does but not what B does in its reimplementation, would it
be correct to do: super(A, super(B, self)).method() in C ?
Thank you.
--
Kirk Strauser wrote:
> Given a class:
>
class foo(object):
pass
>
> how can I find its name, such as:
>
b = foo
I suppose you mean b = foo() ?
print something(b)
> 'foo'
The name of a class is in the attribute '__name__' of the class. The
class of an object is in the a
Kirk Strauser wrote:
> Given a class:
>
class foo(object):
pass
>
> how can I find its name, such as:
>
b = foo
print something(b)
> 'foo'
>
> I'm writing a trace() decorator for the sake of practice, and am trying to
> print the name of the class that a traced method be
>> I'd say it is as fast as it can get - using hashing for lookups is O
>> (n) in
>
>
> I know you meant O(1) for hash lookups, but just in case anyone is
> confused, I figured I'd correct this.
Ooops. Thanks.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Carsten Haese wrote:
> Could you possibly send me a minimal test script that shows the problem?
> Also, in case it matters, I'd like to know which versions of IDS and
> CSDK or Informix Connect you're using.
Here's a sample script:
sql = '''select msg_tx from dev_log'''
import informixdb
conn =
Another thing...
> Output is:
> description is <('msg_tx', 'lvarchar', 0, 0, None, None, 1)>
The 0's worried me, as I could see where they could be used as parms to
allocate/trim things as necessary... just a thought.
--
http://mail.python.org/mailman/listinfo/python-list
class Foo(object):
> ... pass
> ...
b = Foo
b.__name__
> 'Foo'
While this is surely true, would somebody explain why I had such
trouble finding this?
help(dir)
> Help on built-in function dir in module __builtin__:
continuing from your example...
>>> dir(b)
['__class
Tim Chase wrote:
> While this is surely true, would somebody explain why I had such trouble
> finding this?
I think __name__ is an attribute of the class itself, not the instance:
>>> class Foo(object):
pass
>>> f = Foo()
>>> f.__name__
Traceback (most recent call last):
File ""
Hi Sean,
perhaps it may help if you try Python 2.4.3 instead of
2.4.2. The release notes (http://www.python.org/download/releases/2.4.3/NEWS.txt)
mention a lot of fixed bugs, including a segfault, that
is similar to yours. Also all defects, that the folks at coverty (http://scan.coverity.com/)
Larry Bates wrote:
> print print b.__class__.__name__ gives what you want
That doesn't seem to do it, though. Here's the result of importing a module
from my company's internally-developed library:
>>> from Daycos.TableCopier.copyfro import StateProcessor
>>> print StateProcessor.__class__.__n
John Salerno wrote:
> Tim Chase wrote:
>
>> While this is surely true, would somebody explain why I had such
>> trouble finding this?
>
> I think __name__ is an attribute of the class itself, not the instance:
On the other hand:
>>> class Foo(object):
pass
>>> dir(Foo)
['__class__',
>> While this is surely true, would somebody explain why I had such trouble
>> finding this?
>
> I think __name__ is an attribute of the class itself, not the instance:
That makes sense, but what doesn't make sense is why, when you do
a dir(Foo), you don't get '__name__' in the returned list of
John Salerno wrote:
> >>> class Foo(object):
> pass
>
> >>> dir(Foo)
> ['__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__',
> '__hash__', '__init__', '__module__', '__new__', '__reduce__',
> '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__']
>
> Hmm
Bruno Desthuilliers wrote:
> Kirk Strauser wrote:
> class foo(object):
> pass
>>
>> how can I find its name, such as:
>>
> b = foo
> I suppose you mean b = foo() ?
Actually, I meant 'b = foo' in this case - I want to find the name of the
class that b references, but the name o
Dan wrote:
> But taken out of that context, I'll challenge it. I was first exposed
> to Python about five or six years ago--my boss asked me to consider it.
> What I found was that the current version of Python was V2.2, but newest
> version (that I could find) that ran on VMS was V1.4. I decide
Guyon Morée wrote:
> i have a big list of tuples like this:
>
> [ (host, port, protocol, startime, endtime), .. ] etc
>
> now i have another big(ger) list of tuples like this:
>
> [(src_host, src_port, dest_src, dest_port, protocol, time), ... ] etc
>
> now i need to find all the items in the seco
Shane Hathaway wrote:
> Don't forget to file a bug.
I'm reluctant to call it a bug just yet. Here's more stuff below.
There's obviously a difference between old- and new-style classes. It
seems that as far as new-style is concerned, __name__ is an attribute of
__class__ (along with a bunch of
Pupeno írta:
> Hello,
> I want to jump over a method in the class hierarchy, that is: If I have
> class A(object), clas B(A), class C(B) and in C, I want a method to do
> exactly what A does but not what B does in its reimplementation, would it
> be correct to do: super(A, super(B, self)).method()
Kirk Strauser wrote:
[snip]
> OK, now for the good stuff. In the code below, how can I find the name of
> the class that 'bar' belongs to:
>
> >>> class Foo(object):
> ... def bar(self):
> ... pass
> ...
> >>> b = Foo.bar
>>> print b.im_class.__name__
Foo
But if you are writing
"Paul McGuire" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Instead of mimicking a browser to access this e-mail account through the
> web
> interface, see if there is a POP3 access to your free e-mail (I'd be
> surprised if there isn't).
To the contrary: Yahoo, for instance, c
On Tue, 2006-08-01 at 11:41, [EMAIL PROTECTED] wrote:
> Carsten Haese wrote:
> > Could you possibly send me a minimal test script that shows the problem?
> > Also, in case it matters, I'd like to know which versions of IDS and
> > CSDK or Informix Connect you're using.
>
>
> Here's a sample scrip
On Tue, 2006-08-01 at 11:47, [EMAIL PROTECTED] wrote:
> Another thing...
>
> > Output is:
> > description is <('msg_tx', 'lvarchar', 0, 0, None, None, 1)>
>
> The 0's worried me, as I could see where they could be used as parms to
> allocate/trim things as necessary... just a thought.
That is i
Back in the mid-90's, Kees Blom generated a set of railroad syntax diagrams
for Python
(http://python.project.cwi.nl/search/hypermail/python-1994q3/0286.html).
This pre-dates any Python awareness on my part, but I'm sure this would have
been version 1.3 or something.
For those who are not familiar
Brian you are right, but in my case (host, port, protocol) is unique.
[EMAIL PROTECTED] schreef:
> Guyon Morée wrote:
> > i have a big list of tuples like this:
> >
> > [ (host, port, protocol, startime, endtime), .. ] etc
> >
> > now i have another big(ger) list of tuples like this:
> >
> > [(s
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, crystalattice wrote:
>
> > On Mon, 31 Jul 2006 14:35:39 -1000, Simon Forman <[EMAIL PROTECTED]>
> > wrote:
> >
> >> What kind of trouble were you having with pickle?
> >
> > It's mostly a combination of things (I hope you can follow my logi
Hi everyone,
As shown in the code below (modified based on the Image.py in
wxpython demo), an image is created at location 1: (50,10) with
rotated angle 1.12. Now, suppose I got another set of new data, I want
to move the image to location 2: (166,400) with rotated angle 1.5.
case 1:
i
Simon Hibbs wrote:
> I've recently gone through a similar evaluation of my options for
> persisting data. Object serialization to pickles or XML is a very easy,
> quick way of persisting data but it does have drawbacks. I'm not a
> professional developer, so if there are errors in my analysis, I'd
Sorry for a simple question- but I don't understand how to parse this use of
a list comprehension.
The "or" clauses are odd to me.
It also seems like it is being overly clever (?) in using a lc expression as
a for loop to drive the recursion.
Thanks for any insight!
Gregory
---
beno wrote:
> It's been years since I've done this. I had a programmer working for me
> who disappeared one day, and now I'm taking over his responsibilities. I
> need to re-configure Apache for mod_python which means I have to rebuild
> python. I'm working with the latest distro. I'm heavily depen
Not exactly Wha I am looking, this seems to be a good project, but the
way to parse the file I already have done that.
I am looking in "desing pattern" advices, how to deal with the data.
Must I use dbm? Must I make all the statistics and save in a dmf file?
Any insights?
Gregor Horvath wrote:
> H
[EMAIL PROTECTED]:
> 1- Read the data and put all variables in a list
> 2- Read the data and put all the variables in dictionary?
> the logs is in this format
> xx
> The separation is by byte size like
> xxx three bytes for code x , bytes for hour, etc..
> I have two m
Paul McGuire <[EMAIL PROTECTED]> wrote:
> For those who are not familiar with railroad syntax diagrams, they
> show a grammar's syntax using arrows and blocks, instead of BNF
I've always liked railroad diagrams. Oracle used to use them (maybe
they still do?) in their SQL reference manuals. I fin
On 2006-08-01 13:41:47, Terry Reedy wrote:
>> Instead of mimicking a browser to access this e-mail account through the
>> web interface, see if there is a POP3 access to your free e-mail (I'd
>> be surprised if there isn't).
>
> To the contrary: Yahoo, for instance, charges for POP3 access; for '
1 - 100 of 180 matches
Mail list logo