On Feb 20, 3:42 am, richie <[EMAIL PROTECTED]> wrote:
> On Feb 20, 9:35 am, icarus <[EMAIL PROTECTED]> wrote:
>
>
>
> > > To the original poster what environment are you running this in?
>
> > Linux. Xubuntu if that matters.
>
> > > When I put your program in notepad and run it fro
> Are people really writing pure HTML snippets in docstrings to document
> each module/class/method? For anything other than a toy project?
>
> One of the main reasons I'm considering moving to epydoc + reST is
> precisely because it's very un-HTML.
>
> Mind you I want to be able to produce HTM
In my C++ program ,python is embeded . I import One module(py file)
and execute some functions .Then I modify py files in order to modify
func parameters when process is still running .I import the module and
execute functions again.But I find the result is same as before
--
http://mail.python.or
On Feb 15, 10:59 am, Preston Landers <[EMAIL PROTECTED]> wrote:
> Hey guys and gals. What are all the cool kids using these days to
> document their code? My goal is to create in-line documentation of
> each package/module/class/method and create some semi-nice looking (or
> at least usable) pac
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Does VM = interpreter?
I think it means the bytecode interpreter.
--
http://mail.python.org/mailman/listinfo/python-list
Sam Peterson wrote:
> I've been googling for a while now and cannot find a good way to deal
> with this.
>
> I have a slightly messy python program I wrote that I've historically
> just run from the extracted source folder. I have pictures and sound
> files in this folder that this program uses.
On Feb 20, 9:12 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> > Are people really writing pure HTML snippets in docstrings to document
> > each module/class/method? For anything other than a toy project?
>
> > One of the main reasons I'm considering moving to epydoc + reST is
> > precisely b
> > Then again, what's stopping us just using a single leading underscore?
> > Nobody calls their own private methods _init or _add
>
> You must be looking at different code from the rest of us. A single
> leading underscore on the name *is* the convention for "this attribute
> is not part of the
I tend to make a lot of mistakes of misspelled variable names.
Is it possible to make python warn me about those at "compile time"?
Very few times I use dynamic variable initialization. I can live with
getting a warning for those as well.
--
Best Regards,
Med Venlig Hilsen,
Thomas
--
http://m
Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes:
> I tend to make a lot of mistakes of misspelled variable names.
You would greatly benefit from using tools like 'pyflakes', 'pylint',
and a unit test suite for your code. They're very good for finding
such simple bugs in your code.
> Is it possibl
Please preserve attribution lines on the quoted material, so we can
see who wrote what at each level.
benhoyt <[EMAIL PROTECTED]> writes:
> > > Then again, what's stopping us just using a single leading
> > > underscore? Nobody calls their own private methods _init or _add
> >
> > You must be loo
On Tue, 2008-02-19 at 13:48 -0800, [EMAIL PROTECTED] wrote:
> OH YEAH. Color me absent-minded. File under "No, they're not
> compiled."
I'd ask what you're trying to say here if I had any hope of
understanding the answer. It is becoming clear to me that I am not
worthy of communicating with you.
Searching for FF automation but still no luck.
Any other idea on how to locate the cache directory and then read the
directory ?
regards,
Subeen
http://love-python.blogspot.com/
On Feb 20, 3:20 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
>
> Search for "firefox automation"
>
> --
> Gabrie
zaley wrote:
> In my C++ program ,python is embeded . I import One module(py file)
> and execute some functions .Then I modify py files in order to modify
> func parameters when process is still running .I import the module and
> execute functions again.But I find the result is same as before
'im
[EMAIL PROTECTED] a écrit :
>
> Paul Boddie wrote:
>> The whole CNR stuff and the
>> proprietary software slant of Linspire obscures the solution, in my
>> opinion.
>
> Thanks for all your help, Paul.
>
> CNR, which is now free, is absolutely marvelous when it's got what you
> need. If Python2.5
[EMAIL PROTECTED] wrote:
> On Feb 18, 9:37 am, Stefan Behnel <[EMAIL PROTECTED]> wrote:
>> samuraisam wrote:
>>> Has anyone done any recent testing as to which current python
>>> implementation is the quickest?
>> Search for a recent thread on CPython and IronPython.
>>
>>> Perhaps for Django devel
On Feb 19, 1:19 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> Perhaps you could put a link to the source on the Windows instalL page?
> I don't mind being a second-class citizen, but it's annoying to have to
> jump around like that.
It is an open wiki, but I changed it. I am a bit reluctant as t
icarus a écrit :
> Hi all, i'm new to python. Learning on my own how to ask a user to
> finish a loop or not.
> For some reason, it behaves as infinite loop although I changed its
> condition. Please tell me what I'm doing wrong. Thanks in advance.
Problem mostly solved, so I'll just comment a b
Wolfgang Strobl mystrobl.de> writes:
>
> Steve Holden holdenweb.com> wrote:
>
> >RTFM: the web site instructions clearly state that setup.py doesn't
> >currently work with Windows.
>
> Do they? http://photobatch.stani.be/ doesn't, following "documentation"
> http://photobatch.stani.be/ does
Sergio Correia wrote:
> I don't get this thread. At all. I want my 15 minutes back.
I think it's a sort of Turing test, to fine-tune some spammer's text
generating algorithm.
--
http://mail.python.org/mailman/listinfo/python-list
Fred Pacquier fredp.lautre.net> writes:
>
> Steve Holden holdenweb.com> said :
>
> > Perhaps you could put a link to the source on the Windows instalL page?
> > I don't mind being a second-class citizen, but it's annoying to have to
> > jump around like that.
>
> I'm interested too, and was
Ivan Illarionov wrote:
> I would like to see something like %init or &init to be converted to
> __init__ behind the scenes. And $something to be converted to
> self.something. But, unfortunately, most Python people would consider
> this ugly just because Perl uses too much syntactic sugar and anyt
On Tue, 19 Feb 2008 16:37:23 -0800, Preston Landers wrote:
> On Feb 19, 4:31 pm, [EMAIL PROTECTED] wrote:
>
> But after reading some of your other recent posts on other topics, I'm
> not confident that it was intended to make sense at all.
Have a little bit patience, the bot is still in its ear
Jason a écrit :
(snip)
> Hmm. I must be the only person who doesn't think the double
> underscores are ugly.
As far as I'm concerned, I just don't care if they are "ugly" or not -
FWIW, I never ever think of them in terms of "beauty" or "ugliness".
What I do care about is that they simply and
benhoyt a écrit :
(snip)
> Then again, what's stopping us just using a single leading underscore?
> Nobody calls their own private methods _init or _add
I do.
--
http://mail.python.org/mailman/listinfo/python-list
benhoyt a écrit :
>>> Then again, what's stopping us just using a single leading underscore?
>>> Nobody calls their own private methods _init or _add
>> You must be looking at different code from the rest of us. A single
>> leading underscore on the name *is* the convention for "this attribute
>> i
On 20/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> My point was, that if someone is trying to make
> friends, and either failing or forgetting success, then call a social
> worker. Or, reach out.
That's the reason why you are often ignored, Castironpi. That point
has no place on this
Hi,
Is there a python library or bindings to a library in some other language
for automating GUI interaction (the kind of functionality provided by Autoit
for instance).
What I need to do is very simple GUI automation : moving the mouse cursor to
and from specified screen coordinates, clicking, et
On 20/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Feb 19, 5:31 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> > > May I insist? By the criteria you've mentioned so far, nothing rules
> > > out 'ext'. If it's still a bad idea, there's a reason. What is it?
> >
> > You impl
So people's problem with __word__ is that it is not very readable?
How so, it stands out on page, it clearly is different from other
objects and doesn't abuse other symbols that generally have a meaning
based on their use.
I haven't seen a single alternative that really stands out as much as
__wo
> On Behalf Of jorma kala
> Is there a python library or bindings to a library in some
> other language for automating GUI interaction (the kind of
> functionality provided by Autoit for instance).
> What I need to do is very simple GUI automation : moving the
> mouse cursor to and from specifie
help others or
guide others or
love others .
**
http://cellbiologystructural.blogspot.com/
**
--
http://mail.python.org/mailman/listinfo/python-list
Jeff Schwab wrote:
> What's "the Intel architecture?" Do you mean the x86_64 architecture
> that was actually developed by AMD, or x86 for x > some number, or do
> you actually mean IA64?
I mean chips of the family that goes back to the 8086 and 8088 chips,
chips that support the REPZ prefix to
[EMAIL PROTECTED] writes:
> I mean chips of the family that goes back to the 8086 and 8088 chips,
> chips that support the REPZ prefix to the MOVSW instruction.
repz movsw is a pretty lame way to copy data on current x86's.
Use XMM instead.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] writes:
> So people's problem with __word__ is that it is not very readable?
No, the complaint seems to be that it's "ugly".
--
\ "[T]he speed of response of the internet will re-introduce us |
`\to that from which our political systems have separated us for |
_o_
This is part of a series examining the strengths and weaknesses of
various scripting languages, with particular attention to enterprise
(read: big company) use.
You Used Python to Write WHAT?
Python is a powerful, easy-to-use scripting language suitable for use
in the enterprise, although it is no
On Wed, 20 Feb 2008 03:12:39 -0800, cokofreedom wrote:
> So people's problem with __word__ is that it is not very readable?
>
> How so, it stands out on page, it clearly is different from other
> objects and doesn't abuse other symbols that generally have a meaning
> based on their use.
>
> I ha
hi
i want to create fast n efficient http server which serve multiple
client concurrently .. so i thought of threading the http server using
class HTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
pass:
as this creates an threaded version of http server ... but i re
Paul Rubin wrote:
> repz movsw is a pretty lame way to copy data on current x86's.
> Use XMM instead.
Thank you, Paul. I'm pretty sure you meant MMX, Multi-Media
eXtensions.
Paul's just told me to upgrade my 32-bit thinking to use newer 64-bit
registers, even on a 32-bit cpu. Please divide my p
On 20/02/2008, Marco Mariani <[EMAIL PROTECTED]> wrote:
> Sergio Correia wrote:
>
> > I don't get this thread. At all. I want my 15 minutes back.
>
>
> I think it's a sort of Turing test, to fine-tune some spammer's text
> generating algorithm.
You mean this:
http://science.slashdot.org/article.
Steve Holden wrote:
> You have a strange idea of "nearly free" ...
>
> Extending an integer array from 100 to 150 items is a pretty puny
> operation when you compare it with the amount of data that might need to
> be moved during a compactifying garbage collection of a 20MB Python
> program image
On 20/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm going to start marking my subjective comments with a star, so it's
> clear what is emperically verifiable, and what is not.
An ascii star? You do realize that email is a text medium, no?
> It's a bad sign. If you aren't keeping
On Tue, 19 Feb 2008 21:50:33 -0800, Ivan Illarionov wrote:
> I would like to see something like %init or &init to be converted to
> __init__ behind the scenes.
Unfortunately -- or perhaps fortunately -- % clashes with the already
established uses of % as the modulus operator for numbers and the
On 20 Feb, 09:32, Paul McGuire <[EMAIL PROTECTED]> wrote:
>
> I use epydoc for pyparsing, and I really like the results. Just make
> sure that importing your modules doesn't really do anything
> substantial (like connect to db's, or run unit tests that run for
> hours); epydoc imports your code an
I need a data structure that will let me do:
- attribute access (or index)
- maintain the order (for iter and print)
- be mutable.
in case there isn't one. I was thinking having a base class like Bunch
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308 and on
top of that keeping a list
Jorge Vargas napisał(a):
> - attribute access (or index)
> - maintain the order (for iter and print)
> - be mutable.
These are all attributes of standard Python lists.
> in case there isn't one. I was thinking having a base class like Bunch
> http://aspn.activestate.com/ASPN/Cookbook/Python/Reci
bharath venkatesh wrote:
> hi
>i want to create fast n efficient http server which serve multiple
> client concurrently .. so i thought of threading the http server using
>
> class HTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
> pass:
>
> as this creates an t
[EMAIL PROTECTED] writes:
> > Use XMM instead.
>
> Thank you, Paul. I'm pretty sure you meant MMX, Multi-Media eXtensions.
MMX is the obsolete 64 bit predecessor to XMM. XMM encompasses 128
bit wide MMX-like integer instructions and several generations of SSE
floating point ops. Main thing abou
2008/2/20 Jarek Zgoda <[EMAIL PROTECTED]>:
> Jorge Vargas napisał(a):
>
> > - attribute access (or index)
> > - maintain the order (for iter and print)
> > - be mutable.
>
> These are all attributes of standard Python lists.
probably I confused you with the "or index" part. I want to be able to
do
subeen:
> I think you should go for 'dictionary' that is a built-in data
> structure of Python.
The OP asks this too:
> maintain the order (for iter and print)
So I think an "ordered dict" is fitter, the op can search for an odict
implementation, in the cookbook too (I too have written one, but i
I think you should go for 'dictionary' that is a built-in data
structure of Python.
regards,
Subeen
http://love-python.blogspot.com/
On Feb 20, 7:32 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> 2008/2/20 Jarek Zgoda <[EMAIL PROTECTED]>:> Jorge Vargas napisa³(a):
>
> > > - attribute access (o
dict doesn't maintains order.
>>> a=[(3,2),(2,2)]
>>> dict(a).items()
[(2, 2), (3, 2)]
>>> a=[(3,2),(2,2)]
>>> assert dict(a).items()==a
Traceback (most recent call last):
File "", line 1, in
AssertionError
>>> dict(a).items()
[(2, 2), (3, 2)]
On Feb 20, 2008 7:50 AM, subeen <[EMAIL PROTECTED
Jorge Vargas wrote:
> I need a data structure that will let me do:
>
> - attribute access (or index)
> - maintain the order (for iter and print)
> - be mutable.
>
> in case there isn't one. I was thinking having a base class like Bunch
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/523
Adam W. wrote:
> I am trying to handle a Unicode error but its acting like the except
> clause is not even there. Here is the offending code:
>
> def characters(self, string):
> if self.initem:
> try:
> self.data.append(string.encode())
>
bharath venkatesh wrote:
> hi
>i want to create fast n efficient http server which serve multiple
> client concurrently .. so i thought of threading the http server using
Threads ain't efficient for IO bound problems like a HTTP server. Most
OSs have far better ways to deal with IO bound app
> You Used Python to Write WHAT?
> http://www.cio.com/article/185350
"""
Furthermore, the power and expressivity that Python offers means
that it may require more skilled developers.
[...down to the summary...]
Python may not be an appropriate choice if you:
[...]
* Rely on teams of less-experie
"Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> I was thinking having a base class like Bunch
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308 and on
> top of that keeping a list of the keys and pop/push to the list when
> adding/deleting items. I don't like this idea because I'll have
On Feb 20, 5:37 am, "Ryan Ginstrom" <[EMAIL PROTECTED]> wrote:
> > On Behalf Of jorma kala
> > Is there a python library or bindings to a library in some
> > other language for automating GUI interaction (the kind of
> > functionality provided by Autoit for instance).
> > What I need to do is very
On 2008-02-20, Marco Mariani <[EMAIL PROTECTED]> wrote:
> Sergio Correia wrote:
>
>> I don't get this thread. At all. I want my 15 minutes back.
>
> I think it's a sort of Turing test,
You're probably right, and I think I failed the test.
--
Grant Edwards grante Yow
Hello,
at the moment my program sends mail with smtplib. Is there a chance to
sign and/or encode/cipher this mails with GnuPG?
If yes, does anyone have some sample code?
Regards
Bernd
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 20, 7:32 am, "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> > What is your objective? From the description of this recipe I cann't get
> > your use case.
>
> I got an xml object which feed me in data. in a simple format
>
> foo
> bar
> baz
> bal
>
If it is XML why not use ElementTree or some
On Feb 20, 2008 8:15 AM, Larry Bates <[EMAIL PROTECTED]> wrote:
> Jorge Vargas wrote:
> > I need a data structure that will let me do:
> >
> > - attribute access (or index)
> > - maintain the order (for iter and print)
> > - be mutable.
> >
> > in case there isn't one. I was thinking having a base
On Feb 19, 11:22 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On Feb 19, 9:49 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
>
> > Building a
> > Python VM in a high level language is certainly not harder than
> > creating a Scheme interpreter.
>
> Does VM = interpreter?
> Are you saying imple
I have a db table that holds a list of ports. There is a column
in_use that is used as a flag for whether the port is currently in
use. When choosing a port the table is read and the first available
port with in_use = 0 is used, updated to in_use = 1, used, then
updated to in_use = 0. I am using
To the best of my knowledge, GNUPG acts upon the body of the message.
If you think about it you should realize that the header of the message
cannot be encrypted, as it will be handled by mail servers that have no
knowledge of GNUPG or your encryption keys. I am further emboldened to
make this as
On 2008-02-20 16:24, breal wrote:
> I have a db table that holds a list of ports. There is a column
> in_use that is used as a flag for whether the port is currently in
> use. When choosing a port the table is read and the first available
> port with in_use = 0 is used, updated to in_use = 1, use
On Feb 19, 7:19 pm, [EMAIL PROTECTED] wrote:
> If not, how about these:
>
> - It doesn't match the rest of the language
> - It's too cutting edge
> - It is too hard to handle
> - It would get out of hand really quickly
> - I can't control you anymore after I let it in
> - The functionality already
On Feb 20, 2:32 am, Paul McGuire <[EMAIL PROTECTED]> wrote:
> I use epydoc for pyparsing, and I really like the results. Just make
> sure that importing your modules doesn't really do anything
> substantial (like connect to db's, or run unit tests that run for
> hours); epydoc imports your code a
<[EMAIL PROTECTED]> wrote:
>20 MBs = 5 M 32-bit words = 1.25 millis to move half of them on a
>2GHz machine. Don't know how much a milli costs where you live.
A 2GHz machine doesn't have 20Mb of 2GHz memory. You made the mistake
of measuring the speed of processor's cache, rather than the RAM.
hi,
will this twisted,turbo gear etc help me to create a http server that can
serve multiple clients concurrently
and also the http server which i want to create in my project will not be
doing any IO (it is not like frontend and backend ).. but it will act as a
image_proxy_server i.e when a c
[EMAIL PROTECTED] schrieb:
> On Feb 19, 8:06 am, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>> Any suggestions?
>
> If you don't mind trying out some beta quality software, you can try
> my pg_proboscis driver. It has a DBAPI2 interface, but for you to use
> COPY, you'll need to use the GreenTrunk
I am working on a PEP and would appreciate comment. The proposal is
available at
http://python.timehorse.com/PEP_-_Application_Priority.reST
and is repeated below:
-
:PEP:
:Title: Adding Priority Scheduling feature to the subprocess module
:Version: $Rev: 93 $
:Last Modified: $Date: 2
On Feb 20, 8:05 am, "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote:
> On 2008-02-20 16:24, breal wrote:
>
> > I have a db table that holds a list of ports. There is a column
> > in_use that is used as a flag for whether the port is currently in
> > use. When choosing a port the table is read and the f
oh .. thanks for explaining since this is my first ever project i
don't know much ... can u give me a basic idea of how it(image_proxy_server)
can be done efficiently .. like serving many clients concurrently
On Feb 20, 2008 9:01 AM, Christian Heimes <[EMAIL PROTECTED]> wrote:
> bharath ve
bharath venkatesh wrote:
> hi,
> will this twisted,turbo gear etc help me to create a http server that can
> serve multiple clients concurrently
> and also the http server which i want to create in my project will not be
> doing any IO (it is not like frontend and backend ).. but it will act a
breal wrote:
> On Feb 20, 8:05 am, "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote:
>> On 2008-02-20 16:24, breal wrote:
>>
>>> I have a db table that holds a list of ports. There is a column
>>> in_use that is used as a flag for whether the port is currently in
>>> use. When choosing a port the table
Dotan Cohen wrote:
>> French and Spanish have impersonal pronouns: "on" and "se",
>> respectively. In English, they often come out as, "we", "they", and
>> "you" a lot, on occasion a "one", and sometimes, even, I.
>
> In Hebrew, we have 8 different words for "you". That does not affect
> my En
On Feb 20, 3:32 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> On Feb 20, 2008 8:15 AM, Larry Bates <[EMAIL PROTECTED]> wrote:
>
> > Jorge Vargas wrote:
> > > I need a data structure that will let me do:
>
> > > - attribute access (or index)
> > > - maintain the order (for iter and print)
> > > -
from Tkinter import * # get widget classes
from tkMessageBox import askokcancel # get canned std dialog
class Quitter(Frame): # subclass our GUI
def __init__(self, parent=None): # constructor method
Frame.__init__(se
"richie" schrieb
> > > That code works. Maybe you fixed it while
> > > you were mailing it =)
> >
> > This is weird mate.
> > I'm using eclipse 3.2 with the pydev plugin.
> > There it loops forever - from the eclipse console.
> > Two hours of trying, changing the code...finally gave up.
> >
> >
Hi
I wonder if python has a function to pack things back into regexp,
that has group names.
e.g:
exp = ([a-z]+)
compiledexp = re.compile(exp)
Now, I have a dictionary "mytable = {"a" : "myname"}
Is there a way in re module, or elsewhere, where I can have it match
the contents from dictionary to
On 19 Feb., 04:14, [EMAIL PROTECTED] wrote:
> The printing press, rail, automobiles, and Python, were not in
> prevalent use before their invention.
True but automobiles fuelled with newspapers and driven by Pythons
still aren't. Right?
Not entirely sure what you are after but it sounds much lik
Amit Gupta wrote:
> Hi
>
> I wonder if python has a function to pack things back into regexp,
> that has group names.
>
> e.g:
> exp = ([a-z]+)
> compiledexp = re.compile(exp)
>
> Now, I have a dictionary "mytable = {"a" : "myname"}
>
> Is there a way in re module, or elsewhere, where I can have it
On Feb 19, 2008 3:15 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Does this have to be true? Beneath the more complex syntax are there
> a few core design principles/objects/relationships to help in grokking
> the whole thing? Got any related links?
Take a look at a simpler implementation,
Hello,
the results of the following code boggle me. i would have expected
that y.data is not affected by setting z.data.
Regards Jan
--code-
class Test:
def __init__(self, x={}):
self.data = x
#end def
#end class Test
y = Test()
z = Test()
p
Before I read the message: I screwed up.
Let me write again
>> x = re.compile("CL(?P[a-z]+)")
# group name "name1" is attached to the match of lowercase string of
alphabet
# Now I have a dictionary saying {"name1", "iamgood"}
# I would like a function, that takes x and my dictionary and return
"C
Hello python-list,
This is my first post and yes I am a python newbie :-)
I've been trying to figure out how to convert an old database dump into a
form that can be imported into Postgresql. The file (dealing with one
table) looks something like this:
create table table1 (id int, name char(20),
> mytable = {"a" : "myname"}
>>> re.SomeNewFunc(compilexp, mytable)
> "myname"
how does SomeNewFunc know to pull "a" as opposed to any other key?
>>> mytable = {"a" : "1"}
>>> re.SomeNewFunc(compileexp, mytable)
> ERROR
You could do something like one of the following 3 functions:
import re
Hi
I have a unitest file: If I do
python testname.py : the unitests runs as usual and I get the
following results:
--
Ran 2 tests in 0.024s
OK
However, if I d
icarus wrote:
> Opened up a regular console and executed it
> from there.
> And voilait works! Well, after this I'm going back to the old
> trusty shell.
+1 QOTW
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 20, 12:07 pm, thebjorn <[EMAIL PROTECTED]>
wrote:
> On Feb 20, 3:32 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 20, 2008 8:15 AM, Larry Bates <[EMAIL PROTECTED]> wrote:
>
> > > Jorge Vargas wrote:
> > > > I need a data structure that will let me do:
>
> > > > - attribute a
asit wrote:
> from Tkinter import * # get widget classes
> from tkMessageBox import askokcancel # get canned std dialog
>
> class Quitter(Frame): # subclass our GUI
> def __init__(self, parent=None): # constructor method
>
On Feb 19, 4:04 pm, 7stud <[EMAIL PROTECTED]> wrote:
> schweet1 wrote:
> > Greetings,
>
> > I am attempting to use python to submit a query to the following URL:
>
> >https://ramps.uspto.gov/eram/patentMaintFees.do
>
> > The page looks simple enough - it requires submitting a number into 2
> > form
Stani <[EMAIL PROTECTED]> said :
> Even without python-pyexiv2 Phatch features read-only EXIF support
> thanks to PIL. So you can name your files or write data stamps (date,
> aperature, velocity, ...) based on EXIF information.
Oh, that's good. I hadn't looked at PIL for a long while and wasn't
On Feb 19, 7:52 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Tue, 19 Feb 2008 23:19:29 -0200, <[EMAIL PROTECTED]> escribió:
>
> > But 'ext' is actually good.
>
> Even if it were, that alone doesn't mean it should be included in the
> stdlib.
>
> Start writting a recipe in the Python Co
Hi
I am executing following commands.
>>> test = os.path.isfile('c:\\src\\kasjdfl.txt')
>>> print test
True
working fine but for below statement it is giving syntax
error.
>>> if (os.path.isfile('c:\\src\\kasjdfl.txt'))
SyntaxError: invalid syntax
any idea what is incorrect in my synt
On Feb 20, 2:03 pm, Lalit <[EMAIL PROTECTED]> wrote:
> Hi
> I am executing following commands.>>> test =
> os.path.isfile('c:\\src\\kasjdfl.txt')
> >>> print test
>
> True
> working fine but for below statement it is giving syntax
> error.
>
> >>> if (os.path.isfile('c:\\src\\kasjdfl.t
On Tue, Feb 19, 2008 at 5:31 PM, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> >
> > May I insist? By the criteria you've mentioned so far, nothing rules
> > out 'ext'. If it's still a bad idea, there's a reason. What is it?
>
> You imply that just because something is somehow working and eve
ANNOUNCING: Allmydata.org "Tahoe" version 0.8
We are pleased to announce the release of version 0.8 of allmydata.org
"Tahoe".
Allmydata.org "Tahoe" is a secure, decentralized, fault-tolerant
filesystem. All of the source code is available under a Free
Software, Open Source licence (or two).
Thi
bharath venkatesh wrote:
> hi,
> will this twisted,turbo gear etc help me to create a http server that
> can serve multiple clients concurrently
Yes. Google for the projects and do some reading, they are all serving
large web sites with sometimes havy demand.
> and also the http server whic
1 - 100 of 138 matches
Mail list logo