On Mar 3, 4:03 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Mar 3, 4:17 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>
> > Since Python doesn't support having two methods with the same name,
> > the usual solution is to provide alternative constructors using
> > classmethod():
>
> > @classm
I tested and tried a few XML validators but none of them is able to
successfully validate a string of xml (not a file just a string) to
programatically be able to validate messages of xml that flow in and
out of the different systems. The validators I used were XSV, oNVDL
and lxml, can we implemen
> > Hence (if I understand python convention), this can be
> > solved by adding
> > sqlx= copy.copy(sqlx)
> > before the looping. And in tests adding this step saved about 5-10% in
> > time.
>
> Now this I don;t really understand at all. What's the point of trying to
> replace sqlx with a copy of
On Mar 3, 7:12 pm, [EMAIL PROTECTED] wrote:
> What are metaclasses?
Depends on whether you want to be confused or not. If you do, look at
this old but still head bursting essay:
http://www.python.org/doc/essays/metaclasses/.
Basically, the metaclass of a (new-style) class is responsible for
crea
Hello Michael,
> I'm trying to print out text in color. As far as I know, curses is the
> only way to do that (or not?).
On unix, every XTerm compatible terminal will be able to display color
using escape sequence.
(Like the one you see in the output of 'grep --color')
See the shameless plug in h
mmm wrote:
>>> Hence (if I understand python convention), this can be
>>> solved by adding
>>> sqlx= copy.copy(sqlx)
>>> before the looping. And in tests adding this step saved about 5-10% in
>>> time.
>> Now this I don;t really understand at all. What's the point of trying to
>> replace sqlx with
"Tim Roberts" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Kay Schluehr <[EMAIL PROTECTED]> wrote:
| >"The master said so" isn't an entirely satisfying answer.
|
| Nevertheless, it IS the answer for many questions in the Python world.
But not for the questions about 2to3
Curren
Hey just wondering could anyone help me
Have script that runs through cron but seams to run but xen-create-image
goes to end but shoes up errors because some stuff it not being passed.
./grabJob.py
# RUN all the Create ENVIRONMNET commands here
run="/usr/bin/xen-create-image --
download students tutorials,ebooks,softwares here for Free
Download Softwares Ebooks Students tutorials Games Ring tones
Wallpapers and Lots of fun everything for FREE only at www.studentshangout.com
--
http://mail.python.org/mailman/listinfo/python-list
Hello Jim,
> I have some materials for a project that I am working on that I keep
> in a source code control system (svn now, but I'm experimenting with
> mercurial). I want to install these things from the repository, but
> not into site-packages/ as Distutils wants to do.
>
> For instance there
Today, We are earning upto Rs.20,000 every month from internet
without working hard and spending only 30 min daily in the internet.
This Income is keep on increasingday by day.We are not joking. We are
not making any false
statement. It's 100% true !
http://eanrfromyourhome.blogspot.com
--
ht
Mensanator wrote:
> While we're on the subject of English, the word "worthless"
> means "has no value". So, a program that doesn't work would
> generally be "worthless". One that not only doesn't work but
> creates side effects that cause other programs to not work
> (which don't have bugs) would
I am having some problems with command line arguments in Windows. The same
code under Linux works fine.
In Windows I only get one argument no matter how many arguments are passed
on the command line. I think there is some problem with the way the .py
files are associated causing this. I'm just
> If you run a python file, ie. just double clicking it the only
> argument you will have will be the filename of the script. If you
> create a shortcut to the script and in the target box add your
> arguments (if you have quotation marks place them after not inside)
> you will see your arguments
Miki wrote, on 03/03/2008 11:14 PM:
> Hello Michael,
>
>> I'm trying to print out text in color. As far as I know, curses is the
>> only way to do that (or not?).
> On unix, every XTerm compatible terminal will be able to display color
> using escape sequence.
> (Like the one you see in the output
On Mar 4, 7:12 am, "Mike Walker" <[EMAIL PROTECTED]> wrote:
> I am having some problems with command line arguments in Windows. The same
> code under Linux works fine.
>
> In Windows I only get one argument no matter how many arguments are passed
> on the command line. I think there is some problem
On Mar 3, 10:01 pm, Benjamin <[EMAIL PROTECTED]> wrote:
> On Mar 3, 7:12 pm, [EMAIL PROTECTED] wrote:
>
> > What are metaclasses?
>
> Depends on whether you want to be confused or not. If you do, look at
> this old but still head bursting
> essay:http://www.python.org/doc/essays/metaclasses/.
>
>
On Mar 3, 8:31 pm, [EMAIL PROTECTED] wrote:
> > All software has bugs.
> > Good software has bugs.
>
> Therefore, good software is software.
>
> > This makes sympy worse than worthless, as it f***s up other modules.
>
> What is it still good for?
Lots. The problem is when the total is less than th
Hi all,
I have a file which contains chinese characters. I just want to find out
all the places that these chinese characters occur.
The following script doesn't seem to work :(
**
class RemCh(object):
def __init__(self, fNam
On Mar 3, 11:58 pm, Erik Max Francis <[EMAIL PROTECTED]> wrote:
> Mensanator wrote:
> > While we're on the subject of English, the word "worthless"
> > means "has no value". So, a program that doesn't work would
> > generally be "worthless". One that not only doesn't work but
> > creates side effec
On Tue, 04 Mar 2008 10:49:54 +0530, Pradnyesh Sawant wrote:
> I have a file which contains chinese characters. I just want to find out
> all the places that these chinese characters occur.
>
> The following script doesn't seem to work :(
>
> **
On Mar 4, 6:31 am, [EMAIL PROTECTED] wrote:
> On Mar 3, 10:01 pm, Benjamin <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 3, 7:12 pm, [EMAIL PROTECTED] wrote:
>
> > > What are metaclasses?
>
> > Depends on whether you want to be confused or not. If you do, look at
> > this old but still head bursting
In article <[EMAIL PROTECTED]>,
George Sakkis <[EMAIL PROTECTED]> wrote:
>
>What's so complicated about "python setup.py install" ? Even that is
>not strictly necessary for pure python packages; a user may just
>unpack the archive, cd to the extracted directory and execute the
>appropriate .py fil
On Mar 3, 9:57 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I've seen several threads on this subject, but haven't (yet) run
> across one that answers my specific questions. This should be really
> easy for someone, so here goes:
>
> I'm running some numerical simulations under Ubuntu, and using Python
"Mike Walker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>> If you run a python file, ie. just double clicking it the only
>> argument you will have will be the filename of the script. If you
>> create a shortcut to the script and in the target box add your
>> arguments (if yo
"Marc 'BlackJack' Rintsch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 04 Mar 2008 10:49:54 +0530, Pradnyesh Sawant wrote:
>
>> I have a file which contains chinese characters. I just want to find out
>> all the places that these chinese characters occur.
>>
>> The follo
"Mark Tolonen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> From the command line, the 'ftype' and 'assoc' commands can be used
> view how an extension is handled:
>
> C:\>assoc .py
> .py=Python.File
>
> C:\>ftype Python.File
> Python.File="C:\Python25\python.exe" "%1" %
101 - 127 of 127 matches
Mail list logo