John Reese <[EMAIL PROTECTED]> wrote:
>
>Mozilla, Firefox, Thunderbird, and so forth use this awful format
>called MORK to store all kinds of things: which messages you've read
>in a newsgroup, headers and indexes into the mbox file of messages in
>a mail folder, and address books.
Yes. What a cr
On 21.01.2005 01:16, Nelson Minar wrote:
Peter Schaefer <[EMAIL PROTECTED]> writes:
SOAPy hasn't been maintained in awhile. The two contemporary options
are ZSI or SOAPpy, both at
http://pywebsvcs.sourceforge.net/
ZSI seems to have more serious development now, but neither is perfect.
You should
The Dejavu Object-Relational Mapper (version 1.3) is now available and
in the public domain. Get it at svn://casadeamor.com/dejavu/trunk
or http://www.aminus.org/rbre/python/.
Dejavu is an Object-Relational Mapper for Python applications. It is
designed to provide the "Model" third of an MVC appli
John Hunter wrote:
>>>del locals()['x']
The locals() dictionary will only modify values in a module's top-level
code (i.e. when the expression "locals() is globals()" is true).
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 20 Jan 2005 21:06:31 -0800, Eric Pederson wrote:
> Here the sort of thing (seek, then read) I think I want:
>
IDV2=open(("http://musicsite.com/song453.mp3","rb";)[:-128])
>
song453.tags=IDV2.read()
>
len(song453.tags)
>
> 128
>
>
> But it's not a Python problem. :-(
O
Drummmachine wrote:
http://www.freeiPods.com/?r=14249501
just go here to get started. It's very easy and very real. This is no scam.
Complete an offer, get 5 others to do the same and you'll receive a free Ipod
of your choice.
thanks for your time. Free ipods are real.
As are pyramid scams.
-
Paul Rubin wrote:
Steve Holden <[EMAIL PROTECTED]> writes:
[Paul proves his superior Lisp knowledge]
Perhaps because we don't all have your psychic powers?
You snipped out the examples I gave, like [x*x for x in range(5)]
leaving unnecessary residue in the name space. Was it not obvious
from the
"neutrino" <[EMAIL PROTECTED]> writes:
> I have a binary file and wish to see the "raw" content of it. So I open
> it in binary mode, and read one byte at a time to a variable, which
> will be of the string type. Now the problem is how to print the binary
> format of that charater to the standard o
I have been looking through the previous posts - but with my lack of
knowledge on the whole tkinter subject - I have no clue what to look
for ...
SO - can anyone please help with this ...?
I have a python server that when it gets a connection from a client -
it sends data back - quite a bit of it
andy <[EMAIL PROTECTED]> writes:
> Anybody like to comment on which editor they use for python web app
> development -
Emacs
For both discrete and mixed python and html code, and why?
There's no reason to use anything else.
--
http://mail.python.org/mailman/listinfo/python-list
Reinhold Birkenfeld <[EMAIL PROTECTED]> writes:
> For those of you who don't know what YAML is: visit http://yaml.org/!
> You will be amazed, and never think of XML again. Well, almost.
Oh please no, not another one of these. We really really don't need it.
--
http://mail.python.org/mailman/list
Steve Holden <[EMAIL PROTECTED]> writes:
> But how, in Lisp, would you transliterate the Python list [1, 2, 3, 4]?
With a vector.
> Clearly the Python list *is* different, and the tradeoff was to
> obtain speed of random access, presumably (I wasn't taking an interest
> in Python in its early day
This is a question only relevant to Mac OS X. Could someone offer a
simple example how to use Carbon.File module (perhaps
Alias.FSResolveAlias()?) to resolve an alias? Basically I'd like to
load in an alias file and find out which file/directory the alias
points to.
Thanks a lot!
--
http://mail.
Quoth Derek Basch <[EMAIL PROTECTED]>:
| *First question*
|
| If the syntax of spawnl is:
|
| spawnl(mode, path, ...)
|
| Why does everyone write it like:
|
| os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')
|
| or:
|
| os.spawnl(os.P_WAIT, "/var/www/db/smm/smm_train", "smm_train",
| "
On 20 Jan 2005 17:21:42 -0800, "neutrino" <[EMAIL PROTECTED]> wrote:
>Mmm, the output format that I want is like:
>00011100
>
>I tried your code on Cygwin under Windows 2000, and on Linux, but it
>prints out ASCII characters.
>
You can make a 256-length list t
Hi all,
Thanks for the help. numarray doesn't provide what I look for either. e.g.
a = array( [[1,2,3],[4,5,6]] )
I sometimes what this: a[ [1,0], :], or even
a[ [1,0], [0,1] ] , which should give me
[[4, 5], [1,2]]
Because I don't really care about arrays with dimension >2, I did a
little h
Jeremy responds:
[kind enough not to mention I must have had only 10% of my brain cells
functioning when I posted]
> And note that with the possible exception of that last one, there is no
> relationship between these two questions.
Right, I just want there to be.
> There is no argument yo
francisl wrote:
I have a problem when I declare global variable.
If it is string, dict, array or tuple, everything goes fine, but with
int, I get an "used before declaration" error.
here a sample :
vardict = {'un':1, 'deux':2}
def print_value():
print vardict['un']
# ok, that works
--
http://www.freeiPods.com/?r=14249501
just go here to get started. It's very easy and very real. This is no scam.
Complete an offer, get 5 others to do the same and you'll receive a free Ipod
of your choice.
thanks for your time. Free ipods are real.
--
http://mail.python.org/mailman/listinf
Hi!
Is there a way to automate the unbinding of multiple variables? Say I
have a list of the names of all variables in the current scope via
dir(). Is there a command using del or something like that that will
iterate the list and unbind each of the variables?
Thanks much! (If anyone posts an
Johnny Lin wrote:
> Hi!
>
> Is there a way to automate the unbinding of multiple variables? Say
I
> have a list of the names of all variables in the current scope via
> dir(). Is there a command using del or something like that that will
> iterate the list and unbind each of the variables?
Yes.
> "Yun" == Yun Mao <[EMAIL PROTECTED]> writes:
Yun> 2. Is there a way to do Matlab style slicing? e.g. if I have
Yun> i = array([0, 2]) x = array([1.1, 2.2, 3.3, 4.4]) I wish y =
Yun> x(i) would give me [1.1, 3.3] Now I'm using map, but it gets
Yun> a little annoying when there
[Bryan]
> can anyone tell me how the talks work? there are between 9
> and 12 talks for each time slot. do all talks start at the same
> time? or are there just four talks at a time and the columns show
> what talks are in a given room?
The web page needs better formatting. In general, there ar
PyScript is a python module for producing high quality postscript
graphics. Rather than use a GUI to draw a picture, the picture is
programmed using python and the PyScript objects.
Some of the key features are:
* All scripting is done in python, which is a high level, easy to
learn, wel
> "Johnny" == Johnny Lin <[EMAIL PROTECTED]> writes:
Johnny> Hi! Is there a way to automate the unbinding of multiple
Johnny> variables? Say I have a list of the names of all
Johnny> variables in the current scope via dir(). Is there a
Johnny> command using del or something
On 20 Jan 2005 19:24:43 -0800, Johnny Lin <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Is there a way to automate the unbinding of multiple variables? Say I
> have a list of the names of all variables in the current scope via
> dir(). Is there a command using del or something like that that will
> itera
how about editplus ?
imho it's excelent
On Thu, 20 Jan 2005 18:47:53 +, andy <[EMAIL PROTECTED]> wrote:
> Anybody like to comment on which editor they use for python web app
> development - for both discrete and mixed python and html code, and why?
>
> I'm comfortable with IDLE (used it for
can anyone tell me how the talks work? there are between 9 and 12 talks for
each time slot. do all talks start at the same time? or are there just four
talks at a time and the columns show what talks are in a given room? is it easy
to go to the talks you want?
thanks,
bryan
--
http://mail.py
John Reese wrote:
Mozilla, Firefox, Thunderbird, and so forth use this awful format
called MORK to store all kinds of things: which messages you've read
[ snip ]
I was searching on a similar question (about accessing the history)
when I came across a nifty little bookmarklet. It dumps FF history in
On Fri, 21 Jan 2005 01:54:34 GMT, Kartic
<[EMAIL PROTECTED]> wrote:
> neutrino said the following on 1/20/2005 8:21 PM:
> > Mmm, the output format that I want is like:
> > 00011100
> >
> > I tried your code on Cygwin under Windows 2000, and on Linux, but it
> > p
Yun Mao wrote:
>I have some questions when I'm using python numeric:
>1. When I do v = u[:, :], it seems u and v still point to the same
>memory. e.g. When I do v[1,1]=0, u[1,1] will be zero out as well.
>What's the right way to duplicate an array? Now I have to do v =
>dot(u, identity(N)), which
Mmm, the output format that I want is like:
00011100
I tried your code on Cygwin under Windows 2000, and on Linux, but it
prints out ASCII characters.
--
http://mail.python.org/mailman/listinfo/python-list
neutrino wrote:
Mmm, the output format that I want is like:
00011100
I tried your code on Cygwin under Windows 2000, and on Linux, but it
prints out ASCII characters.
Generally speaking, trying to work with binary like that
will drive you mad. Most people find t
Derek Basch wrote:
If the syntax of spawnl is:
spawnl(mode, path, ...)
Why does everyone write it like:
os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')
or:
os.spawnl(os.P_WAIT, "/var/www/db/smm/smm_train", "smm_train",
"SMMTrainInput.xml")
How is the first 'cp' a path to a file? why do
neutrino said the following on 1/20/2005 8:21 PM:
Mmm, the output format that I want is like:
00011100
I tried your code on Cygwin under Windows 2000, and on Linux, but it
prints out ASCII characters.
Aha..I guess I posted too soon.
You might want to take a look
Yun Mao wrote:
Hi python gurus,
I have some questions when I'm using python numeric:
1. When I do v = u[:, :], it seems u and v still point to the same
memory. e.g. When I do v[1,1]=0, u[1,1] will be zero out as well.
What's the right way to duplicate an array? Now I have to do v =
dot(u, identi
neutrino said the following on 1/20/2005 7:53 PM:
Greetings to the Python gurus,
I have a binary file and wish to see the "raw" content of it. So I open
it in binary mode, and read one byte at a time to a variable, which
will be of the string type. Now the problem is how to print the binary
format
Hi python gurus,
I have some questions when I'm using python numeric:
1. When I do v = u[:, :], it seems u and v still point to the same
memory. e.g. When I do v[1,1]=0, u[1,1] will be zero out as well.
What's the right way to duplicate an array? Now I have to do v =
dot(u, identity(N)), which
Erik Max Francis wrote:
> You would be funnier if you weren't so incompetent.
No, even if he was more competent, he'd still be a vicious, pointless
asshole:
"By the way, the pussy sex accuse us and hate us virile sex for
undiscrimination and hunger for humping. But look at their ugliness,
hogging
neutrino wrote:
Greetings to the Python gurus,
I have a binary file and wish to see the "raw" content of it. So I open
it in binary mode, and read one byte at a time to a variable, which
will be of the string type. Now the problem is how to print the binary
format of that charater to the standard o
Greetings to the Python gurus,
I have a binary file and wish to see the "raw" content of it. So I open
it in binary mode, and read one byte at a time to a variable, which
will be of the string type. Now the problem is how to print the binary
format of that charater to the standard output. It seems
Tim Peters wrote:
> [josh]
> > Why can't timedelta arithmetic be done on time objects?
>
> Obviously, because it's not implemented .
>
> > (e.g. datetime.time(5)-datetime.timedelta(microseconds=3)
> >
> > Nonzero "days" of the timedelta could either be ignored, or
> > trigger an exception.
>
> And
Hello,
*First question*
If the syntax of spawnl is:
spawnl(mode, path, ...)
Why does everyone write it like:
os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')
or:
os.spawnl(os.P_WAIT, "/var/www/db/smm/smm_train", "smm_train",
"SMMTrainInput.xml")
How is the first 'cp' a path to a
Mozilla, Firefox, Thunderbird, and so forth use this awful format
called MORK to store all kinds of things: which messages you've read
in a newsgroup, headers and indexes into the mbox file of messages in
a mail folder, and address books. It's documented to some extent
here:
http://www.mozilla.org
Peter Schaefer <[EMAIL PROTECTED]> writes:
> Is SOAPy still the way to go, or are there better methods?
SOAPy hasn't been maintained in awhile. The two contemporary options
are ZSI or SOAPpy, both at
http://pywebsvcs.sourceforge.net/
ZSI seems to have more serious development now, but neither is
On 20 Jan 2005 14:07:57 GMT, Antoon Pardon <[EMAIL PROTECTED]> wrote:
>Op 2005-01-20, Nick Coghlan schreef <[EMAIL PROTECTED]>:
>> Antoon Pardon wrote:
>>> I missed that you would use it with the idiom: dct[x.frozen()]
>>
>> The list itself isn't hashable with this approach, so you don't have much
Dear Python Colleague:
You will be happy to know that the PyCon Program
Committee, after lengthy deliberations, has now
finalized the program for PyCon DC 2005. I can tell
you that the decision-making was very difficult, as
the standard of submissions was even higher than
last year.
You can see
On Thu, 20 Jan 2005 21:54:30 +0100, Martin v. LÃwis wrote:
> Luis P. Mendes wrote:
>> When I access the url via the Firefox browser and look into the source
>> code, I also get:
>>
>> > xmlns="http"> ~
>> ~439 ~
>>
>
On Thu, 20 Jan 2005 18:21:17 -0500, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>
> Instead of a __getattr__ solution, I recommend subclassing from a mixin:
>
> class RichMap(SomePartialMapping, UserDict.DictMixin): pass
>
> class RichFile(SomePartialFileClass, Mixins.FileMixin): pass
Anyone have any idea why this is failing with the following error
class _IndexFile:
"""An _IndexFile is an implementation class that presents a
Sequence and Dictionary interface to a sorted index file."""
def __init__(self, pos, filenameroot):
self.pos = pos
self.file = open(_indexFilePathname(fi
"Martin v. LÃwis" <[EMAIL PROTECTED]> writes:
> > Some countries have laws about cryptography software (against some
> > combination of export, import, or use). The Python maintainers didn't
> > want to deal with imagined legal hassles that might develop from
> > including good crypto functions in
Hi All,
A question about embedding:
If I take the example code on embedding (Section 5.3 of Extending and
Embedding the Python Interpreter 2.4) and add the lines:
PyRun_SimpleString("import sys");
PyRun_SimpleString("print globals()");
Just after the part where the code loads the module, and th
Hi,
I am a teaching assistant for an introductory course at Georgia Tech
which uses Python, and I have a student who has been unable to start
IDLE on her Windows XP Home Edition machine. Clicking on the shortcut
(or the program executable) causes the hourglass to appear momentarily
(and the process
Hello!
I'd like to write a SOAP client and a SOAP server
in Python.
Is SOAPy still the way to go, or are there better
methods?
Regards,
Peter
--
Meine E-Mail Adresse enthält keine Zahlen.
My email address doesn't contain numbers.
--
http://mail.python.org/mailman/listinfo/python-list
Tim Golden wrote:
[Samantha]
| The printer is on LPT1, but I sure can't get the temp file to
| print for some
| reason.
| I am using Windows XP SP2.
| S
i'm afraid I have to step out here (metaphorically speaking):
I'm using Win2K and have no access to XP boxes. The technique
works fine here; it
Martin v. LÃwis wrote:
Jarek Zgoda wrote:
So why are there non-UNICODE versions of wxPython??? To save memory or
something???
Robin Dunn has an explanation here:
http://wiki.wxpython.org/index.cgi/UnicodeBuild
... which is the first hit from a Google search on
"wxpython unicode build".
Also, from t
Ah, right. The light turns on...
datetime is immutable so overriding the constructor doesn't change the
constructed object. You have to override __new__ instead.
http://www.python.org/2.2.1/descrintro.html#__new__
Ahhh! Thanks a bunch, now this makes things much clearer.
Thanks again!
cu Martin
--
Thanks for the URL. I finally am able to print the temp file. Not exactly
what I wanted, but it will work. The code I used to print was this:
os.system ("start /min notepad /P temp.txt")
Thanks ALL!
S
"Kristian Zoerhoff" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu,
Jarek Zgoda wrote:
So why are there non-UNICODE versions of wxPython??? To save memory or
something???
Win95, Win98, WinME have problems with unicode.
This problem can be solved - on W9x, wxPython would have to
pass all Unicode strings to WideCharToMultiByte, using
CP_ACP, and then pass the resul
Luis P. Mendes wrote:
When I access the url via the Firefox browser and look into the source
code, I also get:
~
~439
~
Please do try to understand what you are seeing. This is crucial for
understanding what happens.
You may have the
The second alpha release of version 2 of the Python Computer Graphics
Kit is available at http://cgkit.sourceforge.net
What is it?
---
The Python Computer Graphics Kit is a generic 3D package written in
C++ and Python that can be used for a variety of domains such as
scientific visualiza
> "jean" == jean rossier <[EMAIL PROTECTED]> writes:
jean> Hello All, I am facing a problem while importing pylab
jean> library(in a .py program file) via web browser however the
jean> same program works when I execute it from the command
jean> prompt.
jean> Error message
On Mon, 17 Jan 2005 08:08:46 +0100, "Alexander 'boesi' Bösecke"
<[EMAIL PROTECTED]> wrote:
>> 1. There is PyMedia (http://pymedia.org/)
>
>Is this library able to extract single images from a video? AFAICS it
>can only convert videos from one format to another. But I didn't try it,
>I've looked onl
Paul McGuire wrote:
"Kent Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Martin Häcker wrote:
Hi there,
I just tried to run this code and failed miserably - though I dunno
why. Could any of you please enlighten me why this doesn't work?
Here is a simpler test case. I'm mystif
Erik Bethke wrote:
So why are there non-UNICODE versions of wxPython??? To save memory or
something???
Win95, Win98, WinME have problems with unicode. GTK1 does not support
unicode at all.
--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
--
http://mail.python.org/mailman/listinfo/
Steve Holden wrote:
> Ola Natvig wrote:
>
> > [EMAIL PROTECTED] wrote:
> >
> >> Does anyone know
> >> how to lanch a webbrowser ( from Python) without menu and
toolbars?
> >> Thanks for help
> >> Lad
> >>
> >
> > You've got the webbrowser module which lauches the OS's standard
browser
> >
> > from
On Thu, Jan 20, 2005 at 08:38:35PM +0100, Jelle Feringa // EZCT / Paris wrote:
> Have been trying to build python extensions from the C libs ming & mathlink.
> Same thing goes for Ming (c lib for compiling flas .swf files), such a pity
> no disutils script is included in this very powerful library!
"Kent Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Martin Häcker wrote:
> >
> >> Hi there,
> >>
> >> I just tried to run this code and failed miserably - though I dunno
> >> why. Could any of you please enlighten me why this doesn't work?
>
> Here is a simpler test case.
Jelle Feringa wrote:
> What struck me while trying to compile is that instead of the Active Python
> 2.4 version I was running I downloaded and installed the python.org version
> (as recommended by Fletcher), and while launching it, I stated
>
> ActivePython 2.4 Build 243 (ActiveState Corp.) based
Thanks Scott,
Not wasting any paper yet. I can't seem to get the file to print at all yet.
S
"Scott David Daniels" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Tim Golden wrote:
>> [Samantha]
>> | I am new to Python and I am having considerable trouble | trying to
>> print | (usi
I only use Windows and I only ever use Textpad. It gives nice syntax
highlighting, indentation and you can run your script with it too.
andy wrote:
Anybody like to comment on which editor they use for python web app
development - for both discrete and mixed python and html code, and why?
I'm c
Have been trying to build python extensions from the C libs ming
& mathlink.
I have been able to produce a .pyd
object after studying Mike Fletchers excellent:
http://www.vrplumber.com/programming/mstoolkit/
which is a
terrific tutorial for anyone trying to compile .pyd
on win32!
Wow !
Now, this is serious. I tried all sort of things but can't solve the problem.
I'm mystified too and forget my last reply.
I'm curious to see the answers.
Francis Girard
Le jeudi 20 Janvier 2005 19:59, Kent Johnson a écrit :
> > Martin Häcker wrote:
> >> Hi there,
> >>
> >> I just tried to run
Can't seem to hit the site right now. I'll have to try back later. From what I
can tell, there aren't any mirrors set up, either. Two quick recommendations is
promising, though.
Thanks for the recommendations.
-Pete
"Roger Binns" <[EMAIL PROTECTED]> wrote:
>
> "Peter A. Schott" <[EMAIL PROT
On Thu, 20 Jan 2005 19:14:10 -, Tim Golden
<[EMAIL PROTECTED]> wrote:
> [Kristian Zoerhoff]
> |
> | On Thu, 20 Jan 2005 18:58:25 -, Tim Golden
> | <[EMAIL PROTECTED]> wrote:
> | >
> | > Can anyone else try a "PRINT blah" or a "COPY blah LPT1:"
> | > on XP SP2?
> |
> | The printer is probabl
Gurpreet Sachdeva wrote:
> Is there any problem in library files?? Do I need to install anything
> I have installed MySQL-shared-3.23.54a-1.i386.rpm,
> MySQL-devel-5.0.2-0.i386.rpm, MySQL-client-5.0.2-0.i386.rpm,
> MySQL-server-5.0.2-0.i386.rpm
You should recheck those version numbers carefully.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I would like to thank everyone for your answers, but I'm not seeing the
light yet!
When I access the url via the Firefox browser and look into the source
code, I also get:
~
~439
~
should
Hi,
It looks like the assertEquals use the != operator which had not been defined
to compare instances of your time class and instances of the datetime class.
In such a case, the operator ends up in comparing the references to instances,
i.e. the "id" of the objects, i.e. their physical memory ad
Martin Häcker wrote:
Hi there,
I just tried to run this code and failed miserably - though I dunno
why. Could any of you please enlighten me why this doesn't work?
Here is a simpler test case. I'm mystified too:
from datetime import datetime
class time (datetime):
def __init__(self, hours=0, min
[Samantha]
| The printer is on LPT1, but I sure can't get the temp file to
| print for some
| reason.
| I am using Windows XP SP2.
| S
i'm afraid I have to step out here (metaphorically speaking):
I'm using Win2K and have no access to XP boxes. The technique
works fine here; it may be that eithe
You didn't mention platform, but I'm guessing from the mention of Screem that
you're using a Linux platform. On Linux I like kwrite and kate (both
similar, kate includes some other features like a built in terminal where you
can run some commands, ability to support projects, open multiple file
Martin Häcker wrote:
Hi there,
I just tried to run this code and failed miserably - though I dunno why.
Could any of you please enlighten me why this doesn't work?
Thanks a bunch.
--- snip ---
import unittest
from datetime import datetime
class time (datetime):
def __init__(self, hours=0, minut
You didn't mention platform, but I'm guessing from the mention of Screem that
you're using a Linux platform. On Linux I like kwrite and kate (both
similar, kate includes some other features like a built in terminal where you
can run some commands, ability to support projects, open multiple file
Try to use Eclipse + pydev
On Thu, 20 Jan 2005 18:47:53 +, andy <[EMAIL PROTECTED]> wrote:
> Anybody like to comment on which editor they use for python web app
> development - for both discrete and mixed python and html code, and why?
>
> I'm comfortable with IDLE (used it for years) but o
Title: RE: RuntimeError: dictionary changed size during iteration
[Terry Reedy]
#- You must be having a bad day ;-). From Lib Ref 2.1 Built-in
Well, that's actually true, :(
#- corresponding to the object's symbol table. The returned
#- dictionary should
#- not be modified: the effe
The printer is on LPT1, but I sure can't get the temp file to print for some
reason.
I am using Windows XP SP2.
S
"Tim Golden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [Samantha]
>
> [... snip my explanation of PRINT / COPY LPTx: ...]
>
> | Thanks Tim,
> | That is exactly wha
Anybody like to comment on which editor they use for python web app
development - for both discrete and mixed python and html code, and why?
I'm comfortable with IDLE (used it for years) but of course it lacks ftp
or webDAV abilities, obviously because it's not intended for that type
of use.
RE: RuntimeError: dictionary changed size during iteration
"Batista, Facundo" <[EMAIL PROTECTED]> wrote
[Robert Brewer]
#- But not unexpected, since vars() returns a dictionary, and
#- binding 'e'
#- changes that dictionary while you are iterating over it.
>For me, the point is: vars() returns th
Irmen de Jong wrote:
Usually, but not in this case. If you have a text that looks like
XML, and you want to put it into an XML element, the XML file uses
< and >. The XML parser unescapes that as < and >. However, it
does not then consider the < and > as markup, and it shouldn't.
That's also what
On Thu, 20 Jan 2005, Batista, Facundo wrote:
>For me, the point is: vars() returns the local variables as a list or is a
>generator?
>
>In the docs don't say nothing about this.
>
>If it returns a list, it should NOT raise an error; if it's a generator, the
>error is fine.
>
>.Facundo
>
Prob
Hi there,
I just tried to run this code and failed miserably - though I dunno why.
Could any of you please enlighten me why this doesn't work?
Thanks a bunch.
--- snip ---
import unittest
from datetime import datetime
class time (datetime):
def __init__(self, hours=0, minutes=0, seconds=0, micr
Istvan Albert wrote:
XML with elementtree is what makes me never have think about XML again.
+1 QOTW
-Irmen
--
http://mail.python.org/mailman/listinfo/python-list
Martin v. Löwis wrote:
Irmen de Jong wrote:
The unescaping is usually done for you by the xml parser that you use.
Usually, but not in this case. If you have a text that looks like
XML, and you want to put it into an XML element, the XML file uses
< and >. The XML parser unescapes that as < and >.
"Robert Brewer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
http://naeblis.cx/rtomayko/2005/01/20/getters-setters-fuxors
"...Many people coming to Python can't believe no one uses IDEs. The
automatic assumption is that Python is for old grey beards who are
comfortable with vi and
Irmen de Jong wrote:
The unescaping is usually done for you by the xml parser that you use.
Usually, but not in this case. If you have a text that looks like
XML, and you want to put it into an XML element, the XML file uses
< and >. The XML parser unescapes that as < and >. However, it
does not th
Luis P. Mendes wrote:
with:DataSetNode = stringNode.childNodes[0]
print DataSetNode.toxml()
I get:
~
~439
~
___-
so far so good, but when I issue the command:
print D
Reinhold Birkenfeld wrote:
You will be amazed, and never think of XML again.
XML with elementtree is what makes me never have think about XML again.
Istvan.
--
http://mail.python.org/mailman/listinfo/python-list
Irmen de Jong wrote:
Kent Johnson wrote:
[...]
This is an XML document containing a single tag, , whose
content is text containing entity-escaped XML.
This is *not* an XML document containing tags , ,
, etc.
All the behaviour you are seeing is a consequence of this. You need to
unescape the co
Paul Rubin wrote:
Some countries have laws about cryptography software (against some
combination of export, import, or use). The Python maintainers didn't
want to deal with imagined legal hassles that might develop from
including good crypto functions in the distribution. Then it became
obvious t
Diez B. Roggisch wrote:
> I first used yaml, tried to migrate to syck. What I like about
> syck is that it is faster and doesn't try to create objects but
> only dicts - but it crashed if the number of yaml objects grew
> larger. So I still use yaml.
Hmm.. I've never had any problems with syck.
1 - 100 of 159 matches
Mail list logo