On Apr 13, 9:38 pm, "Ann" <[EMAIL PROTECTED]> wrote:
> If you have something good and want to show or share it with
> eachother ,what would you do then?
> Send it one by one ?It's so slow and boring that you will be tired and
> have no interested to do that again.The buoyant you will be lost,are
On 14 avr, 06:14, "Jia Lu" <[EMAIL PROTECTED]> wrote:
> Hello all
>
> I donot want to use a real DB like MySQL ... But I need something to
> save about more than 1000 articles.
> Is there any good ways?
>
Hi,
For small sets of data PyDbLite is a good alternative to full-blown db
engines
>>> im
"Donn Cave" <[EMAIL PROTECTED]> wrote:
>
> Well, yes - consider for example the "tm" tuple returned
> from time.localtime() - it's all integers, but heterogeneous
> as could be - tm[0] is Year, tm[1] is Month, etc., and it
> turns out that not one of them is alike. The point is exactly
> that w
Michael Bentley wrote:
>
> On Apr 14, 2007, at 12:39 AM, Tina I wrote:
>
>> Say I have the following dictionary:
>>
>> ListDict = {
>> 'one' : ['oneone' , 'onetwo' , 'onethree'],
>> 'two' : ['twoone' , 'twotwo', 'twothree'],
>> 'three' : ['threeone' , 'threetwo', threethree']}
>>
>> Now I want to
Paul Rubin wrote:
> Tina I <[EMAIL PROTECTED]> writes:
>> ListDict = {
>> 'one' : ['oneone' , 'onetwo' , 'onethree'],
>> 'two' : ['twoone' , 'twotwo', 'twothree'],
>> 'three' : ['threeone' , 'threetwo', threethree']}
>>
>> Now I want to append 'twofour' to the list of the 'two' key but I
>> can't f
"Carsten Haese" <[EMAIL PROTECTED]> wrote:
8<
> sense in its context. Nobody seems to be complaining about "+" behaving
> "inconsistently" depending on whether you're adding numbers or
> sequences.
I would If I thought it would do some good - the plus sign as a joiner
was, I think,
On Apr 14, 2007, at 12:51 AM, Paul Rubin wrote:
> Is this a class exercise? Hint:
> 1) figure out how to access the list of the 'two' key
> 2) append 'twofour' to it.
damn.
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 13, 11:39 pm, Tina I <[EMAIL PROTECTED]> wrote:
> Hello group,
>
> Say I have the following dictionary:
>
> ListDict = {
> 'one' : ['oneone' , 'onetwo' , 'onethree'],
> 'two' : ['twoone' , 'twotwo', 'twothree'],
> 'three' : ['threeone' , 'threetwo', threethree']}
>
> Now I want to append 'tw
Tina I <[EMAIL PROTECTED]> writes:
> ListDict = {
> 'one' : ['oneone' , 'onetwo' , 'onethree'],
> 'two' : ['twoone' , 'twotwo', 'twothree'],
> 'three' : ['threeone' , 'threetwo', threethree']}
>
> Now I want to append 'twofour' to the list of the 'two' key but I
> can't figure out how to that?
Is
On Apr 14, 2007, at 12:39 AM, Tina I wrote:
> Say I have the following dictionary:
>
> ListDict = {
> 'one' : ['oneone' , 'onetwo' , 'onethree'],
> 'two' : ['twoone' , 'twotwo', 'twothree'],
> 'three' : ['threeone' , 'threetwo', threethree']}
>
> Now I want to append 'twofour' to the list of the
> I don't know. On I was just asking. On unixoid systems I sort of assume
> you could add tests to the configure script to detect what worked. If
> converting the strings works you're done. If not, maybe Robert Kern's numpy
> code could be run in the configure script to generate constants for N
Hello group,
Say I have the following dictionary:
ListDict = {
'one' : ['oneone' , 'onetwo' , 'onethree'],
'two' : ['twoone' , 'twotwo', 'twothree'],
'three' : ['threeone' , 'threetwo', threethree']}
Now I want to append 'twofour' to the list of the 'two' key but I can't
figure out how to that?
"Rhamphoryncus" <[EMAIL PROTECTED]> writes:
> > i = s.index(e) => s[i] = e
> > Then this algorithm is no longer guaranteed to work with strings.
> It never worked correctly on unicode strings anyway (which becomes the
> canonical string in python 3.0).
What?! Are you sure? That sounds broken
On Apr 13, 2007, at 11:49 PM, [EMAIL PROTECTED] wrote:
> Hi,
>
> I have a list of url names like this, and I am trying to strip out the
> domain name using the following code:
>
> http://www.cnn.com
> www.yahoo.com
> http://www.ebay.co.uk
>
> pattern = re.compile("http:(.*)\.(.*)", re.S)
> ma
On Apr 13, 9:14 pm, "Jia Lu" <[EMAIL PROTECTED]> wrote:
> I do not want to use a real DB like MySQL ...
> But I need something to save about more than
> 1000 articles. Is there any good ways?
The latest version of Dejavu includes a filesystem backend. See
"Folders" at http://projects.amor.org/docs
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a list of url names like this, and I am trying to strip out the
> domain name using the following code:
>
> http://www.cnn.com
> www.yahoo.com
> http://www.ebay.co.uk
>
> pattern = re.compile("http:(.*)\.(.*)", re.S)
> match = re.findall(pattern,
Jia Lu wrote:
> I donot want to use a real DB like MySQL ... But I need something to
> save about more than 1000 articles.
> Is there any good ways?
import anydbm
Richard
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have a list of url names like this, and I am trying to strip out the
domain name using the following code:
http://www.cnn.com
www.yahoo.com
http://www.ebay.co.uk
pattern = re.compile("http:(.*)\.(.*)", re.S)
match = re.findall(pattern, line)
if (match):
s1, s2 = match[0]
That's a good one. I got to find out what's special with Emacs :)
> I'll let you in on a little secret. We all use Emacs. Those who claim to
> use vim are just trying to prevent you from ever becoming a successful
> Python programmer, and therefore reduce competition.
> --
> Michael Hoffman
>>
>> Everybody uses vim.
>>
> Except for real programmers...
Who instead use emacs ;-)
--
http://mail.python.org/mailman/listinfo/python-list
Mike C. Fletcher wrote:
> IronPython is a native implementation of Python on the Microsoft .NET
> platform. The implementation is from Microsoft and the language is well
> supported by the Visual Studio development environment which has always
> been one of the Microsoft platform's strengths.
Jia Lu wrote:
> I donot want to use a real DB like MySQL ... But I need something to
> save about more than 1000 articles.
> Is there any good ways?
(in Python 2.5):
#-- begin
import sqlite3.dbapi2 as sqlite
con = sqlite.connect("path/to/new/filename.db")
cur = con.cursor()
cur.executescript("
Michael Hoffman <[EMAIL PROTECTED]> writes:
> Jack wrote:
> > I wonder what everybody uses for Python editor/IDE on Linux?
>
> I'll let you in on a little secret. We all use Emacs. Those who
> claim to use vim are just trying to prevent you from ever becoming a
> successful Python programmer, and
"azrael" <[EMAIL PROTECTED]> writes:
> Some time ago I posted a question about the favourite IDE. I finally
> found it.
I presume you mean "the favourite IDE of me, azrael". The threads that
result, if they show anything, show that there is no one favourite
IDE.
--
\ "You've got to think
Hello all
I donot want to use a real DB like MySQL ... But I need something to
save about more than 1000 articles.
Is there any good ways?
Thanx
Jia Lu
--
http://mail.python.org/mailman/listinfo/python-list
OMG, all of you forgot IDLE ? http://www.python.org/idle/
It is very good for the starters and it looks simple.
There are also Eric http://www.die-offenbachs.de/detlev/eric.html and SPE
IDE http://pythonide.stani.be/
And there is always the uber cool editor (aka OS), Emacs :)
--
With Regards
If you have something good and want to show or share it with
eachother ,what would you do then?
Send it one by one ?It's so slow and boring that you will be tired and
have no interested to do that again.The buoyant you will be lost,are
you ?
http://www.forumgogo.com this is the place where can pr
Free Unlimited Storage
Free Unlimited Bandwidth
Free Free Subdomain
Free More Skins
Free No annoying pop-ups
Free 99% Uptime
Free Daily Backups
Free Fast, Friendly Tech Support
So,what's that?
That's our free forum named http://www.forumgogo.com.
We have the human_based management also provide yo
Hello!
I wrote next code.
I intended to insert class object to Pool list.
==
import random,copy
class Particle:
Dimension = 2
CurrentPosition = {}
def __init__(self, dimension):
self.Dimension = dimension
for i in range(self.Dimensi
Steve Holden <[EMAIL PROTECTED]> writes:
> This is just a bald restatement of the same argument you feel makes it
> desirable to add an index() method to tuples. If taken to its logical
> (and ridiculous) extreme there should only be one sequence type in
> Python.
That doesn't sound ridiculous giv
I'm new to xml mongering so forgive me if there's an obvious
well-known answer to this. It's not real obvious from the library
documentation I've looked at so far. Basically I have to munch of a
bunch of xml files which contain character entities like ú
which are apparently nonstandard. They ap
On 4/13/07, Jack <[EMAIL PROTECTED]> wrote:
> I wonder what everybody uses for Python editor/IDE on Linux?
> I use PyScripter on Windows, which is very good. Not sure if
> there's something handy like that on Linux. I need to do some
> development work on Linux and the distro I am using is Xubuntu.
Jack wrote:
> I wonder what everybody uses for Python editor/IDE on Linux?
I'll let you in on a little secret. We all use Emacs. Those who claim to
use vim are just trying to prevent you from ever becoming a successful
Python programmer, and therefore reduce competition.
--
Michael Hoffman
--
On Apr 13, 8:44 pm, Ron Garret <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Ron Garret <[EMAIL PROTECTED]> wrote:
>
> > Does
> > anyone know of a straightforward way to get Apache to "forward" requests
> > to a given path to another HTTP server running on a different port?
>
> Ne
Michael Hoffman wrote:
> [EMAIL PROTECTED] wrote:
>> >> (Note the absence of a demonstration on Windows.) Can't the
>> above be
>> >> blessed as the One True Way and wormed around in floatmodule.c for
>> >> those platforms where float'ing "NaN" or "Inf" doesn't currently
>> >> wor
Main Menu Search Basket Content Checkout Customer Service Order
Tracking AddFavorite
Member Login
Login Name:
Password:
Register
Forget your password?
Categories
Nike Shoes
Air Force I
Air Jordan 1-10
Air Jordan 11-22
Air Max TN
Air Max 95
[EMAIL PROTECTED] wrote:
> >> (Note the absence of a demonstration on Windows.) Can't the above be
> >> blessed as the One True Way and wormed around in floatmodule.c for
> >> those platforms where float'ing "NaN" or "Inf" doesn't currently
> >> work?
>
> Martin> How would you
"Alan G Isaac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Pardon the vocab question;
| I'm not a computer science type.
| According to the Reference Manual,
| a class defintion has the structure::
|
| classdef ::= "class" classname [inheritance] ":" suite
|
| What is
Jan Danielsson wrote:
[---]
Never mind. Cookie objects have a "value" attribute -- that's what I
was doing wrong.
--
Kind regards,
Jan Danielsson
And now a word from our sponsor --
Want to have instant messaging, and chat rooms, and discussion
groups for your loca
In article <[EMAIL PROTECTED]>,
Ron Garret <[EMAIL PROTECTED]> wrote:
> Does
> anyone know of a straightforward way to get Apache to "forward" requests
> to a given path to another HTTP server running on a different port?
Never mind, I think I figured it out. Apparently what I need is the
Pr
I have a fairly large web app written in Python as a CGI fairly
elaborate CGI. All of the requests go through a single CGI script which
does authentication and session management and then dispatches to one of
a number of handlers that generate the various pages.
There is one page that is a per
>> (Note the absence of a demonstration on Windows.) Can't the above be
>> blessed as the One True Way and wormed around in floatmodule.c for
>> those platforms where float'ing "NaN" or "Inf" doesn't currently
>> work?
Martin> How would you do the worming-around?
I don't kno
Hello all,
I'm sure I'm not using this right, but I don't understand what I'm
doing wrong. What I want is to get all the cookies from the request,
then extract the 'sessId' cookie. I'm using this code:
-
from mod_python import Cookie
[---]
def index(req, sessId = None):
c
> (Note the absence of a demonstration on Windows.) Can't the above be
> blessed as the One True Way and wormed around in floatmodule.c for those
> platforms where float'ing "NaN" or "Inf" doesn't currently work?
How would you do the worming-around?
Regards,
Martin
--
http://mail.python.org/ma
Michael> What's the best way to portably generate binary floating point
Michael> infinity and NaNs?
I take it this isn't portable even though it works on Mac, Linux and Solaris
across a number of different Python versions and a couple GCC versions:
% python
Python 2.4.2 (#1, Feb
Bruno Desthuilliers a écrit :
> pierre-yves guido a écrit :
>
>> hello (I hope my english is not so bad),
>
>
> De ce point de vue là, ça peut aller...
>
Oh, yes, while we're at it, I forgot to mention: there's also a french
Python newsgroup, fr.comp.lang.python. It's far from being as active
James Stroud:
> Probably best is to code the parameters as
> a set of tuples and iterate over them.
I agree. Before:
def _create_3D_xhatches(...pass more parameters here...):
for x in xrange(-axis_length, axis_length + 1):
if x == 0:
continue
visual.cylinder(pos=(x
Greg Donald a écrit :
> On 4/13/07, Bruno Desthuilliers
> <[EMAIL PROTECTED]> wrote:
>
>> Except for real programmers...
>
> That's correct. We use:
>
> # dd if=/dev/tty of=/dev/hda1
>
> and such.
>
Hear hear !-)
--
http://mail.python.org/mailman/listinfo/python-list
> And that's a really sideways way to take a swipe at someone while
> pretending to be too high-minded to do it (plus see James's comments about
> other possible explanations). If you kiddies would take this fight out
> into the playground perhaps the rest of the class can continue.
It wasn't m
Bruno Desthuilliers wrote:
> John Salerno a écrit :
> > Setting aside, for the moment, the utility of this method or even if
> > there's a better way, I'm wondering if this is an efficient way to do
> > it. I admit, there was some copying and pasting, which is what prompts
> > me to ask the questio
James Stroud wrote:
> Alan G Isaac wrote:
>> According to the Reference Manual,
>> a class defintion has the structure::
>>
>> classdef ::= "class" classname [inheritance] ":" suite
>>
>> What is the entire part before the suite called?
>> (Just pointing to a reference is fine & helpful,
Steven Bethard a écrit :
> Bruno Desthuilliers wrote:
>
>> Alan G Isaac a écrit :
>>
>>> Pardon the vocab question;
>>> I'm not a computer science type.
>>> According to the Reference Manual,
>>> a class defintion has the structure::
>>>
>>> classdef ::= "class" classname [inheritance] "
John Salerno a écrit :
> Setting aside, for the moment, the utility of this method or even if
> there's a better way, I'm wondering if this is an efficient way to do
> it. I admit, there was some copying and pasting, which is what prompts
> me to ask the question. Here's the method. (I hope it l
Jack napisał(a):
>> pida because it embeds the 'vim' editor which I love and adds useful
>> features without really getting in my way. And it's the only IDE I found
>> that supports bazaar-ng (bzr) repositories.
>
> pida screenshots look neat. It's not in xubuntu's repository though. Not
> even
I experiment with Ubuntu nowadays, and i find my Windows combination a
realy win also there,
Eclipse and PyDev.
--
http://mail.python.org/mailman/listinfo/python-list
Alan G Isaac wrote:
> Pardon the vocab question;
> I'm not a computer science type.
> According to the Reference Manual,
> a class defintion has the structure::
>
> classdef ::= "class" classname [inheritance] ":" suite
>
> What is the entire part before the suite called?
> (Just pointi
John Salerno wrote:
> Setting aside, for the moment, the utility of this method or even if
> there's a better way, I'm wondering if this is an efficient way to do
> it. I admit, there was some copying and pasting, which is what prompts
> me to ask the question. Here's the method. (I hope it look
On Apr 13, 10:14 am, [EMAIL PROTECTED] wrote:
> what is the
> meaning of 'None'?
>
It's a value just like any other python value: 2, 7.5, "red", and it
evaluates to false in a conditional:
my_var = None
if not my_var:
print "bad data"
--
http://mail.python.org/mailman/listinfo/python-list
Steven Bethard wrote:
> As far as I
> know, there's no official term for the first four elements of a class
> statement. I'd probably call it the class statement header.
That will have to do for now.
Thanks!
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
On 4/13/07, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> Except for real programmers...
That's correct. We use:
# dd if=/dev/tty of=/dev/hda1
and such.
--
Greg Donald
http://destiney.com/
--
http://mail.python.org/mailman/listinfo/python-list
Greg Donald napisał(a):
>> Thanks God
>
> No problem.
>
>> , there's no "PIDA for Emacs".
>
> Pet Industry Distributors Association ?
Pfscking Ifscking Dfscking Afscking beste Editor unter die Sun ist der Vim!
(they would try to convince you die PIDA means something mehr enjoyable,
aber it's
pierre-yves guido a écrit :
> hello (I hope my english is not so bad),
De ce point de vue là, ça peut aller...
> I'm doing a training course and I'm a newbie in Python. My problem :
> I have a form,
HTML form ? GUI form ? In both cases, using which
environment/libs/framework ?
> and when I cl
> We should do a weekly poll. :) Seriously - this question is coming up
> very frequently and everybody has their preference.
Maybe a web page, something like pythonidepoll.com :)
I apologize for bringing up this FAQ once again ;-p
> My (current) favorite:
> pida (exists as a ready package on D
7stud a écrit :
> Jack wrote:
>
>>I wonder what everybody uses for Python editor/IDE on Linux?
>>I use PyScripter on Windows, which is very good. Not sure if
>>there's something handy like that on Linux. I need to do some
>>development work on Linux and the distro I am using is Xubuntu.
>
>
> Ev
Paul McGuire wrote:
> If I see farther, it is because I stand on the shoulders of an
> infinite number of monkeys.
If I ever get around to writing a book on numerical methods/computational
science/whatever, this will be the chapter quote for my chapter on Monte Carlo
algorithms.
--
Robert Kern
Jack a écrit :
> I wonder what everybody uses for Python editor/IDE on Linux?
Strange as it might be, not everybody's using the same editor.
> I use PyScripter on Windows, which is very good. Not sure if
> there's something handy like that on Linux.
Oh yes ? Why so ?
The best code editor ever i
Setting aside, for the moment, the utility of this method or even if
there's a better way, I'm wondering if this is an efficient way to do
it. I admit, there was some copying and pasting, which is what prompts
me to ask the question. Here's the method. (I hope it looks ok, because
it looks real
On 4/13/07, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Thanks God
No problem.
> , there's no "PIDA for Emacs".
Pet Industry Distributors Association ?
--
Greg Donald
http://destiney.com/
--
http://mail.python.org/mailman/listinfo/python-list
"7stud" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jack wrote:
> > I wonder what everybody uses for Python editor/IDE on Linux?
> > I use PyScripter on Windows, which is very good. Not sure if
> > there's something handy like that on Linux. I need to do some
> > development work
Carl K a écrit :
> Is there a more elegant way of coding this:
>
> x=o.p # save .p
> o.p=0
> o.m()
> o.p=x # restore .p
>
> seems very push/pop to me - like there should be a way that doesn't need
> a var (x) or the save/set lines should be done in one command.
>
> (personally I think .m woul
Thanks but...I'm looking for something free :)
> try wing ide. i tried it and i love it. it's available for windows as
> well for linux
--
http://mail.python.org/mailman/listinfo/python-list
Bruno Desthuilliers wrote:
> Alan G Isaac a écrit :
>> Pardon the vocab question;
>> I'm not a computer science type.
>> According to the Reference Manual,
>> a class defintion has the structure::
>>
>> classdef ::= "class" classname [inheritance] ":" suite
>>
>> What is the entire part b
Greg Donald napisał(a):
>> try wing ide. i tried it and i love it. it's available for windows as
>> well for linux
>
> Good thing those are the only two operating system out there.. err..
> I meant, good thing there's Emacs.
Thanks God, there's no "PIDA for Emacs".
--
Jarek Zgoda
http://jpa.b
Alan G Isaac a écrit :
> Pardon the vocab question;
> I'm not a computer science type.
> According to the Reference Manual,
> a class defintion has the structure::
>
> classdef ::= "class" classname [inheritance] ":" suite
>
> What is the entire part before the suite called?
A statemen
7stud napisał(a):
>> I wonder what everybody uses for Python editor/IDE on Linux?
>> I use PyScripter on Windows, which is very good. Not sure if
>> there's something handy like that on Linux. I need to do some
>> development work on Linux and the distro I am using is Xubuntu.
>
> Everybody uses
Jorgen Grahn a écrit :
> On Thu, 12 Apr 2007 00:24:12 +0200, Bruno Desthuilliers <[EMAIL PROTECTED]>
> wrote:
>
>>Chris Lasher a écrit :
>>
>>>Should a Python module not intended to be executed have shebang/
>>>hashbang (e.g., "#!/usr/bin/env python") or not?
>>
>>The shebang is only useful for f
On 13 Apr 2007 12:54:08 -0700, azrael <[EMAIL PROTECTED]> wrote:
> try wing ide. i tried it and i love it. it's available for windows as
> well for linux
Good thing those are the only two operating system out there.. err..
I meant, good thing there's Emacs.
--
Greg Donald
http://destiney.com/
Are you maybe trying to create a rainbow table, or a very big
dictionary
--
http://mail.python.org/mailman/listinfo/python-list
try wing ide. i tried it and i love it. it's available for windows as
well for linux
On Apr 13, 9:11 pm, Christoph Haas <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 13, 2007 at 11:20:23AM -0700, Jack wrote:
> > I wonder what everybody uses for Python editor/IDE on Linux?
> > I use PyScripter on Wind
Steven Bethard wrote:
> Carl K wrote:
>> Is there a more elegant way of coding this:
>>
>> x=o.p # save .p
>> o.p=0
>> o.m()
>> o.p=x # restore .p
>>
>> seems very push/pop to me - like there should be a way that doesn't
>> need a var (x) or the save/set lines should be done in one command.
>
>
On Fri, 2007-04-13 at 14:08 -0500, Carl K wrote:
> Is there a more elegant way of coding this:
>
> x=o.p # save .p
> o.p=0
> o.m()
> o.p=x # restore .p
In Python 2.5, you could leverage the new "with" statement with a
properly crafted context manager along these lines:
"""
from __future__ impo
Carl K wrote:
> Is there a more elegant way of coding this:
>
> x=o.p # save .p
> o.p=0
> o.m()
> o.p=x # restore .p
>
> seems very push/pop to me - like there should be a way that doesn't need
> a var (x) or the save/set lines should be done in one command.
With the appropriate context mange
On Apr 13, 2:06 pm, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> Pardon the vocab question;
> I'm not a computer science type.
> According to the Reference Manual,
> a class defintion has the structure::
>
> classdef ::= "class" classname [inheritance] ":" suite
>
> What is the entire part
7stud wrote:
> On Apr 13, 10:27Â am, Kevin Walzer <[EMAIL PROTECTED]> wrote:
>> 7stud wrote:
>>> Hi,
>>> In the IDLE, I can't get most shortcut keys that are listed next to
>>> the menu items to work. Â For instance, under the Format menu item only
>>> the shortcuts for "indent region" and "undent
On Fri, Apr 13, 2007 at 11:20:23AM -0700, Jack wrote:
> I wonder what everybody uses for Python editor/IDE on Linux?
> I use PyScripter on Windows, which is very good. Not sure if
> there's something handy like that on Linux. I need to do some
> development work on Linux and the distro I am using i
Is there a more elegant way of coding this:
x=o.p # save .p
o.p=0
o.m()
o.p=x # restore .p
seems very push/pop to me - like there should be a way that doesn't need a var
(x) or the save/set lines should be done in one command.
(personally I think .m would better be implemented by passing in a
I am only guessing as I have never done python code before, but i have had
another look at the code and was wondering if anyone knew if the below code
needs a for loop to look through members in plone and email out members with
a certain permission like Manager instead of just emailing 1 member li
On Apr 13, 7:27 pm, "7stud" <[EMAIL PROTECTED]> wrote:
> Jack wrote:
> > I wonder what everybody uses for Python editor/IDE on Linux?
> > I use PyScripter on Windows, which is very good. Not sure if
> > there's something handy like that on Linux. I need to do some
> > development work on Linux and
On Apr 13, 1:32 am, Antoon Pardon <[EMAIL PROTECTED]> wrote:
> Suppose someone writes a function that acts on a sequence.
> The algorithm used depending on the following invariant.
>
> i = s.index(e) => s[i] = e
>
> Then this algorithm is no longer guaranteed to work with strings.
It never worke
On Apr 13, 10:14 am, [EMAIL PROTECTED] wrote:
> I have a confusion when I do some practice, the code and output are as
> following,
>
> >>> def fun():
>
> print 'In fun()'
>
> >>> testfun = fun()
> In fun()
> >>> print testfun
> None
> >>> testfun2 = fun
> >>> print testfun2
>
> >>>
On Apr 13, 10:27 am, Kevin Walzer <[EMAIL PROTECTED]> wrote:
> 7stud wrote:
> > Hi,
>
> > In the IDLE, I can't get most shortcut keys that are listed next to
> > the menu items to work. For instance, under the Format menu item only
> > the shortcuts for "indent region" and "undent region" work.
Jack wrote:
> I wonder what everybody uses for Python editor/IDE on Linux?
> I use PyScripter on Windows, which is very good. Not sure if
> there's something handy like that on Linux. I need to do some
> development work on Linux and the distro I am using is Xubuntu.
Everybody uses vim.
--
http:
I wonder what everybody uses for Python editor/IDE on Linux?
I use PyScripter on Windows, which is very good. Not sure if
there's something handy like that on Linux. I need to do some
development work on Linux and the distro I am using is Xubuntu.
--
http://mail.python.org/mailman/listinfo/pyth
I'm getting a wierd error from urllib2 when opening certain
URLs. The code works for most sites, but not all of them.
Here's the traceback:
[Thread-2] InfoSitePage EXCEPTION while processing page
"http://www.fourmilab.ch": Problem with page "http://www.fourmilab.ch": HTTP
error -1 - ..
Tra
Pardon the vocab question;
I'm not a computer science type.
According to the Reference Manual,
a class defintion has the structure::
classdef ::= "class" classname [inheritance] ":" suite
What is the entire part before the suite called?
(Just pointing to a reference is fine & helpful,
Alessandra Ambrosio
www.alphasearch.gr--
http://mail.python.org/mailman/listinfo/python-list
Paul McGuire wrote:
> On Apr 13, 8:53 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>> I'm pretty sure you could give a separate name to each atom ont he known
>> universe with a scheme like this. Do you really need 20-byte strings?
>>
>
> Steve,
>
> Based on the Wikipedia article's estimate of 10
Laszlo Nagy wrote:
> > Any ideas why I don't get the same result from the python script as I
> > do from a web browser? This problem seems to be a recent
> > development. The scripts I wrote like this worked fine for a while
> > and then stopped working within the past couple of weeks.
> >
> May
On Apr 13, 10:41 am, "Paul McGuire" <[EMAIL PROTECTED]> wrote:
> On Apr 13, 10:22 am, Michael Bentley <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > On Apr 13, 2007, at 9:19 AM, Paul McGuire wrote:
>
> > > If you just expand the length to five million* or so, one of those
> > > strings will contain all
Robert Rawlins - Think Blue wrote:
> For instance, in my application I have a configuration bean which
> contains all the applications configuration information. Now in one of
> other classes I need access to those configuration settings. What I
> would have done in my ColdFusion/JAVA type appli
1 - 100 of 196 matches
Mail list logo