Jeroen Ruigrok van der Werven 写道:
(My Mandarin is not very good.)
-On [20080413 09:24], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
Python这种语言有前途吗?在下想学他一学.
Python indeed does have a good future.
I am not quite sure with 在下想学他一学 if you are asking for someone to
teach to you or if you want to
At 09:30 PM 4/22/2008, Mensanator wrote:
First, find the shortcut that lauches IDLE.
On my Vista system it's in
C:\Program Data\Microsoft\Windows\Start Menu\Programs\Python 2.5
XP will be different, I think there're start menu directories under
each user and a default one.
Anyway, once you hav
Roy Smith wrote:
In article <[EMAIL PROTECTED]>,
Steve Holden <[EMAIL PROTECTED]> wrote:
Challenge him to a dual with dead kippers at twenty paces.
You gotta be careful about stuff like this. You might slap him with a dead
kipper only to discover he's got a dead camel in his pocket.
Of c
Designer Louis Vuitton Taiga Computer Case Odessa - Green M30834 Green
Handbags, Replica, Fake
Our Louis Vuitton Taiga Computer Case Odessa - Green M30834 Green is a
vibrant mix of style and pleasure, offering you exact copies of the
original handbags. If you need a cool and most welcomed change t
En Wed, 23 Apr 2008 01:30:47 -0300, Mensanator <[EMAIL PROTECTED]>
escribió:
On Apr 22, 7:42�pm, Dick Moores <[EMAIL PROTECTED]> wrote:
I have IDLE 1.2.1, on Win XP, Python 2.5.1.
The first time I use File | Open to open a script, the Open dialogue
box always opens at E:\Python25\Lib\idlelib.
Haven't seen anyone mention this book, it is a "Soul of a New Machine"-
style record of the Chandler project. Since Chandler uses Python and
Twisted, and employed a few Python celebs, I thought folks on this
list might have already read the hardcover version. I just picked up
the paperback at B&N
En Tue, 22 Apr 2008 21:39:41 -0300, Filip Gruszczyński
<[EMAIL PROTECTED]> escribió:
Hello everyone!
It is my first message on this list, therefore I would like to say
hello to everyone. I am fourth year student of CS on the Univeristy of
Warsaw and recently I have become very interested in d
On Apr 22, 10:50 pm, [EMAIL PROTECTED] wrote:
> How can python execute in browser?
>
> Mukul
Depends on the browser and which compilers/postprocessors you're
willing to use. The Grail browser supports python natively, there are
python plugins for some other browsers, and there are C# plugins for
o
In article <[EMAIL PROTECTED]>,
Steve Holden <[EMAIL PROTECTED]> wrote:
> Challenge him to a dual with dead kippers at twenty paces.
You gotta be careful about stuff like this. You might slap him with a dead
kipper only to discover he's got a dead camel in his pocket.
Of course, there's alway
Ben Finney wrote:
Steve Holden <[EMAIL PROTECTED]> writes:
Challenge him to a dual with dead kippers at twenty paces.
Please, have some dignity!
Challenge him to a duel with live kippers. Live, *rabid* kippers. With
frickin' laser beams on their heads.
I like your style.
Though considerin
Steve Holden <[EMAIL PROTECTED]> writes:
> Challenge him to a dual with dead kippers at twenty paces.
Please, have some dignity!
Challenge him to a duel with live kippers. Live, *rabid* kippers. With
frickin' laser beams on their heads.
--
\ "A man's only as old as the woman he feels."
Nikita the Spider wrote:
In article
<[EMAIL PROTECTED]>,
azrael <[EMAIL PROTECTED]> wrote:
Which big aplications are written in python. I see its development,
But i can't come up with a big name. I know that there are a lot of
companys using python, but is there anythong big written only in
p
On Apr 22, 7:42�pm, Dick Moores <[EMAIL PROTECTED]> wrote:
> I have IDLE 1.2.1, on Win XP, Python 2.5.1.
>
> The first time I use File | Open to open a script, the Open dialogue
> box always opens at E:\Python25\Lib\idlelib. Most of the scripts I
> want to access are in E:\PythonWork. There doesn't
azrael wrote:
Hy guys,
A friend of mine i a proud PERL developer which always keeps making
jokes on python's cost.
Please give me any arguments to cut him down about his commnets
like :"keep programing i python. maybe, one day, you will be able to
program in VisualBasic"
This hurts. Please give
On Tue, 22 Apr 2008 14:41:33 -0700 (PDT), "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said
:
> alexa
I was shocked at the detailed information Alexa (owned by Amzon.com)_
had about my website. I wrote them and asked how they got it. They
said volunteers
Gerry Ford wrote:
"Paul McGuire" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Apr 22, 4:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
In February, i spent few hours researching the popularity of some
computer language websites.
I seem to recall this exact same post f
On Apr 22, 7:50 pm, [EMAIL PROTECTED] wrote:
> How can python execute in browser?
>
> Mukul
Very carefully.
Alternately, applets/Jython.
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
Mike Driscoll wrote:
Well you could always do something like this:
output = ';'.join(roadList)
Which will put single quotes on the ends.
No, it doesn't. You are conflating foo and repr(foo).
I suppose if you want to be
silly, you could do this:
output = '"%s"' % ';'.j
On Wednesday 23 Apr 2008 08:27:01 Heikki Toivonen wrote:
> At OSAF we used a slightly modified killableprocess module with a
> wrapper to deal with complexities of various redirections in
> cross-platform way. I actually blogged about this a week ago so rather
> than rehash the issues I'll point yo
[EMAIL PROTECTED] wrote:
How can python execute in browser?
Mukul
--
http://mail.python.org/mailman/listinfo/python-list
Check out IronPython, which you can use with Silverlight or Mono. Or you
could look at any of the cool Python Web Frameworks, such as TurboGears,
Pylons, CherryPy, or Dj
2008/4/22, Dick Moores <[EMAIL PROTECTED]>:
> I have IDLE 1.2.1, on Win XP, Python 2.5.1.
>
> The first time I use File | Open to open a script, the Open dialogue box
> always opens at E:\Python25\Lib\idlelib.
Here on Linux it opens at the directory from where idle was executed,
so I can't exactl
Designer Versace V Bag - Khaki 6532 Khaki Handbags, Replica, Fake
Our Versace V Bag - Khaki 6532 Khaki is a vibrant mix of style and
pleasure, offering you exact copies of the original handbags. If you
need a cool and most welcomed change to your style, a change you
certainly deserve, choose one o
On Wednesday 23 Apr 2008 02:25:14 Christian Heimes wrote:
> Nick Craig-Wood schrieb:
> > Nothing apart from the fact it doesn't work on windows. The buffering
> > will cause you grief too. If you want to do this properly under unix
> > use pexpect not subprocess.
> >
> > http://www.noah.org/wik
"Paul McGuire" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Apr 22, 4:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> In February, i spent few hours researching the popularity of some
> computer language websites.
>
I seem to recall this exact same post from *last* Febru
"Filip Gruszczyński" <[EMAIL PROTECTED]> writes:
> I have become very interested in dynamically typed languages,
> especially Python.
Good to know. Welcome to the group.
> I would like to ask, whether there is any way of explicitly
> declaring variables used in a function?
Declaring what about
Harishankar wrote:
> Sorry to start off on a negative note in the list, but I feel that the Python
> subprocess module is sorely deficient because it lacks a mechanism to:
At OSAF we used a slightly modified killableprocess module with a
wrapper to deal with complexities of various redirections i
How can python execute in browser?
Mukul
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 22, 7:39 pm, "Filip Gruszczyński" <[EMAIL PROTECTED]> wrote:
> Hello everyone!
>
> It is my first message on this list, therefore I would like to say
> hello to everyone. I am fourth year student of CS on the Univeristy of
> Warsaw and recently I have become very interested in dynamically ty
On Apr 22, 7:39 pm, "Filip Gruszczyński" <[EMAIL PROTECTED]> wrote:
> Hello everyone!
>
> It is my first message on this list, therefore I would like to say
> hello to everyone. I am fourth year student of CS on the Univeristy of
> Warsaw and recently I have become very interested in dynamically ty
On Apr 22, 4:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> In February, i spent few hours researching the popularity of some
> computer language websites.
>
I seem to recall this exact same post from *last* February.
> I'll be doing some research sometimes soon on this.
>
... and no "res
On Tue, 22 Apr 2008 14:54:37 -0700 (PDT), [EMAIL PROTECTED] wrote:
Hi all,
I feel that my python script is leaking memory. And this is a test I
have:
[snip]
The test doesn't demonstrate any leaks. It does demonstrate that memory
usage can remain at or near peak memory usage even after the o
Hello everyone!
It is my first message on this list, therefore I would like to say
hello to everyone. I am fourth year student of CS on the Univeristy of
Warsaw and recently I have become very interested in dynamically typed
languages, especially Python.
I would like to ask, whether there is any
Thanks for the response. The user I'm connecting as should have full
access but I'll double check tomorrow.
This is the LDAP error that is returned when I leave out the OU:
{'info': ': LdapErr: DSID-0C090627, comment: In order to
perform this operation a successful bind must be completed
I have IDLE 1.2.1, on Win XP, Python 2.5.1.
The first time I use File | Open to open a script, the Open dialogue
box always opens at E:\Python25\Lib\idlelib. Most of the scripts I
want to access are in E:\PythonWork. There doesn't seem to be a way
to change the default folder to E:\PythonWork,
John Salerno wrote:
Steve Holden wrote:
Assignment to a list *element* rebinds the single element to the
assigned value.
Ok, I understand that.
Assignment to a list *slice* has to be of a list [or iterable, as per
Duncan], and it
replaces the elements in the slice by assigned elements.
John Salerno wrote:
>> replaces the elements in the slice by assigned elements.
>
>
> I don't understand the second part of that sentence. I'm assuming "it"
> refers to the list being assigned, "replaces the elements" is
> self-evident, but what does "by assigned elements" refer to? It seems
> wh
Steve Holden wrote:
Assignment to a list *element* rebinds the single element to the
assigned value.
Ok, I understand that.
Assignment to a list *slice* has to be of a list [or iterable, as per
Duncan], and it
replaces the elements in the slice by assigned elements.
I don't understand t
[EMAIL PROTECTED] schrieb:
> The version of my python is:
> Python 2.4.4 Stackless 3.1b3 060516 (#71, Oct 31 2007, 14:22:28) [MSC
^
This is the wrong list to ask for memory leaks of Stackless ;)
Christian
--
http://mail.python.org/mailman/listinfo/python-list
http://code.google.com/appengine/docs/whatisgoogleappengine.html
2008/4/22 Ivan Illarionov <[EMAIL PROTECTED]>:
> On 22 апр, 14:25, azrael <[EMAIL PROTECTED]> wrote:
> []
>
> > This hurts. Please give me informations about realy famous
> > aplications.
>
> What do you mean by "really famous
Some entity, AKA "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote this
mindboggling stuff:
(selectively-snipped)
> My website is now actually ranked higher than PaulGraham.com !
well well, so your site is more popular.
You can make it even more popular, you know.
Just rename some lame article about
Mike Driscoll wrote:
Well you could always do something like this:
output = ';'.join(roadList)
Which will put single quotes on the ends.
No, it doesn't. You are conflating foo and repr(foo).
I suppose if you want to be
silly, you could do this:
output = '"%s"' % ';'.join(roadList)
*IF*
Hi all,
I feel that my python script is leaking memory. And this is a test I
have:
log.write("[" + timestamp() + "] " + "test() ... memory usage: " +
" ".join(repr(i/(1024*1024)) for i in getMemInfo()) + "\n")
m = {}
i = 1000*1000
while i > 0:
i = i - 1
m.setdefaul
Joe Riopel wrote:
On Tue, Apr 22, 2008 at 4:55 PM, DataSmash <[EMAIL PROTECTED]> wrote:
Hello,
I have a list that looks like this:
roadList = ["Motorways","Local","Arterial"]
I want to apply some code so that the output looks like this:
"Motorways;Local;Arterial"
How can this be done with
In February, i spent few hours researching the popularity of some
computer language websites.
(The message can be found here:
http://xahlee.org/lang_traf/lang_sites.html
http://community.livejournal.com/lisp/42778.html
http://groups.google.com/group/comp.lang.perl.misc/msg/59c87899c2668f4c
)
> I think the best solution would be to port Pexpect to windows which
> wouldn't be that difficult according to my reading of the code. If
> only I had more free time!
Sage ( http://www.sagemath.org ) uses pexpect fairly extensively to
interface with all sorts of other systems. We recently recei
Get free 2GB online web drive.
Get a secure 2GB free online storage solution. Forget the hassles of
CDs, floppies and tape drives for your data storage.
Whether it is your tax return, music collection or irreplaceable
digital photographs, you have the piece of mind that your data is
stored in our h
Joe & Mike,
Thanks for your input!
R.D.
--
http://mail.python.org/mailman/listinfo/python-list
hotani wrote:
I am attempting to pull info from an LDAP server (Active Directory),
but cannot specify an OU. In other words, I need to search users in
all OU's, not a specific one.
If the user you're binding with has the right in AD to search the whole
subtree you can start searching at the do
On Tue, 22 Apr 2008 13:45:32 -0700
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Tue, 22 Apr 2008 13:25:07 -0400, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
> > I think that there are two things that you need to wrap your head
> > around before u
Martin v. Löwis schrieb:
>> 2. Kill the subprocess in a platform independent manner (i.e. no third party
>> modules and no hacks).
>
> What's wrong with the .terminate method of the Popen object?
It's brand new ;)
Christian
--
http://mail.python.org/mailman/listinfo/python-list
2008/4/22, DataSmash <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have a list that looks like this:
> roadList = ["Motorways","Local","Arterial"]
>
> I want to apply some code so that the output looks like this:
> "Motorways;Local;Arterial"
>
> ...in other words, I want each item in the list separated by
On Apr 22, 3:55 pm, DataSmash <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a list that looks like this:
> roadList = ["Motorways","Local","Arterial"]
>
> I want to apply some code so that the output looks like this:
> "Motorways;Local;Arterial"
>
> ...in other words, I want each item in the list
> 2. Kill the subprocess in a platform independent manner (i.e. no third party
> modules and no hacks).
What's wrong with the .terminate method of the Popen object?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Apr 22, 2008 at 4:55 PM, DataSmash <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a list that looks like this:
> roadList = ["Motorways","Local","Arterial"]
>
> I want to apply some code so that the output looks like this:
> "Motorways;Local;Arterial"
> How can this be done with the LE
On 22 апр, 14:25, azrael <[EMAIL PROTECTED]> wrote:
[]
> This hurts. Please give me informations about realy famous
> aplications.
What do you mean by "really famous"?
Information is here:
http://www.python.org/about/quotes/
Are YouTube and Google famous enough?
--
Ivan
--
http://mail.pytho
Hello,
I have a list that looks like this:
roadList = ["Motorways","Local","Arterial"]
I want to apply some code so that the output looks like this:
"Motorways;Local;Arterial"
...in other words, I want each item in the list separated by a ';' and
then the whole thing surrounded by quotes.
How c
Nick Craig-Wood schrieb:
> Nothing apart from the fact it doesn't work on windows. The buffering
> will cause you grief too. If you want to do this properly under unix
> use pexpect not subprocess.
>
> http://www.noah.org/wiki/Pexpect
>
> Proper non blocking IO is an absolute nightmare under
On Apr 22, 12:57 pm, Miki <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
> > So far so good. In the relevant applications, the code looks something
> > like this:
> > logging.config.fileConfig('log.ini')
> > logger = logging.getLogger('log.regular') logger =
> > logging.getLogger('log.daemonic')
> > ..
Harishankar schrieb:
> 2. Kill the subprocess in a platform independent manner (i.e. no third party
> modules and no hacks).
I've added the feature to the Popen class a few days ago. The new
methods are kill(), terminate() and send_signal(sig). On Windows all
methods just fall back to _subprocess
Mark Wooding <[EMAIL PROTECTED]> wrote:
> Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> > Harishankar <[EMAIL PROTECTED]> wrote:
> >> 1. Create non-blocking pipes which can be read in a separate thread
> >> [...]
> >
> > You are correct on both of those points.
>
> I must be missing something.
On Apr 22, 3:25 am, azrael <[EMAIL PROTECTED]> wrote:
> Hy guys,
> A friend of mine i a proud PERL developer which always keeps making
> jokes on python's cost.
>
> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
On 21 Apr, 07:31, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Mon, 21 Apr 2008 00:57:38 -0300, globalrev <[EMAIL PROTECTED]> escribió:
>
>
>
> > On 21 Apr, 04:26, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> >> En Sun, 20 Apr 2008 20:24:04 -0300, globalrev <[EMAIL PROTECTED]> escribió:
Hello,
> So far so good. In the relevant applications, the code looks something
> like this:
> logging.config.fileConfig('log.ini')
> logger = logging.getLogger('log.regular') logger =
> logging.getLogger('log.daemonic')
> .. and start logging.
>
> The thorn in my side is that after the fileConfi
On Tue, Apr 22, 2008 at 6:21 PM, sophie_newbie <[EMAIL PROTECTED]> wrote:
> Does anyone know how to do this? I can't seem to make it work.
>
> I'm using:
>
> c = Cookie.SimpleCookie()
> c['data'] = "unamepwordwhatever"
> c.expires = time.time() + 300
> print c
>
>
> This doesn't seem to work,
En Tue, 22 Apr 2008 13:50:54 -0300, Jérémy Wagner <[EMAIL PROTECTED]> escribió:
> Sure. Python is more readable than Perl, though I have found Python
> to have a weird behavior regarding this little issue :
>
> How can you explain that Python doesn't support the ++ opeator,
> whereas at the same t
Larry Bates schrieb:
sophie_newbie wrote:
On Apr 22, 4:41 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote:
On Tue, 22 Apr 2008 07:10:07 -0700 (PDT)
sophie_newbie<[EMAIL PROTECTED]> wrote:
import threading
class MyThread ( threading.Thread ):
def run ( self ):
myLong
Kenneth McDonald <[EMAIL PROTECTED]> wrote:
> Sadly.
python-beautifulsoup is a Debian package, so
ftp://ftp.debian.org/debian/pool/main/b/beautifulsoup/beautifulsoup_3.0.4.orig.tar.gz
should be a copy of the (unmodified) upstream source.
-- [mdw]
--
http://mail.python.org/mailman/listinfo/p
On Tue, Apr 22, 2008 at 8:36 PM, Kenneth McDonald
<[EMAIL PROTECTED]> wrote:
> Sadly.
>
> Thanks,
> Ken
> --
I checked, it's up now.
You can also download packaged versions from Linux distros. eg:
http://packages.debian.org/sid/web/python-beautifulsoup (there's a
link to the tar.gz on the rig
Kenneth McDonald wrote:
Sadly.
Thanks,
Ken
easy_install BeautifulSoup worked for me a couple of days ago.
Of course you ahve to have easy_install running, but that is
quite easy and makes installation of other modules quite easy.
-Larry
--
http://mail.python.org/mailman/listinfo/python-list
Hey,
I have a sort of petty-neurotic question, I'm kinda pedantic and like
to keep my log directories clean, and this thing is bothering me to
the point of actually posting a question (couldn't find any post about
this..).
My application has two types of components: daemons and regular ones
that
I think that there are two things that you need to wrap your head
around before understanding what is happening here. First, threads are
NOT pre-emptive. Unless your thread gives up the processor it will run
forever. The sleep call is one way to give up the processor.
That is not correct, at
[EMAIL PROTECTED] wrote:
> Dear All,
>
> I have some functions written in C++, which I try to approach from
> python using swig. In the C++ functions I use std::cout to print stuff
> to output. Everything works fine, but the only problem that I have is
> that when I start IDLE and use the functio
En Tue, 22 Apr 2008 11:24:20 -0300, Miguel Beltran R. <[EMAIL PROTECTED]>
escribió:
> Using this script for connect to Zope I have this error
>
> ---script:
> import urllib2
>
> protocolo='http://'
> servidor='10.28.1.239/'
> pagina='manage'
> fullurl=protocolo+servidor+pagina
>
> aut=urllib2.HTT
On Apr 22, 12:50 pm, Jérémy Wagner <[EMAIL PROTECTED]> wrote:
> Sure. Python is more readable than Perl, though I have found Python
> to have a weird behavior regarding this little issue :
>
> How can you explain that Python doesn't support the ++ opeator,
> whereas at the same time it does support
Rob Wolfe <[EMAIL PROTECTED]> writes:
>> ---script:
>> import urllib2
>>
>> protocolo='http://'
>> servidor='10.28.1.239/'
>> pagina='manage'
>> fullurl=protocolo+servidor+pagina
>>
>> aut=urllib2.HTTPBasicAuthHandler()
>> aut.add_password(realm=None,
>> uri=servidor,
>>
Sadly.
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
"Miguel Beltran R." <[EMAIL PROTECTED]> writes:
> Using this script for connect to Zope I have this error
You forgot to add the authentication handler to the list of handlers.
See below.
>
> ---script:
> import urllib2
>
> protocolo='http://'
> servidor='10.28.1.239/'
> pagina='manage'
> fullur
>>> In py3k string%dictionary is going away.
>> Why do you say that? It's not going away in Python 3.0.
>
> I also got the impression that it was going away. PEP 3101's abstract
> says:
>
> This PEP proposes a new system for built-in string formatting
> operations, intended as a replacem
> test test_mmap crashed -- : [Errno
> 22] Invalid argument
You should run this with -v. This is too little detail to know what
exactly failed.
> self.assertEqual(spid, cpid)
> AssertionError: 0 != 6840386
>
> What do these failures indicate?
That suggests a bug in wait4: apparently, it fa
On Apr 22, 5:50 pm, Jérémy Wagner <[EMAIL PROTECTED]> wrote:
> Sure. Python is more readable than Perl, though I have found Python
> to have a weird behavior regarding this little issue :
>
> How can you explain that Python doesn't support the ++ opeator,
> whereas at the same time it does support
sophie_newbie wrote:
On Apr 22, 4:41 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote:
On Tue, 22 Apr 2008 07:10:07 -0700 (PDT)
sophie_newbie<[EMAIL PROTECTED]> wrote:
import threading
class MyThread ( threading.Thread ):
def run ( self ):
myLongCommand()...
import ti
On Tue, 22 Apr 2008 11:13:43 -0600, Jeffrey Barish wrote:
> By the way, I have simplified somewhat the code in the explanation.
Please simplify the code to a minimal example that still has the problem
and *show it to us*. It's hard to spot errors in code that nobody except
you knows.
--
http://m
On Gentoo, SQLite can be turned on or off via the sqlite USE flag for Python
2.5+ during installation. There's also a separate pysqlite package, and the
python-updater script doesn't seem to take Python2.5's build into account
when (re)building all of the Python2.4 modules for Python2.5...it break
On Apr 22, 12:52 pm, Harishankar <[EMAIL PROTECTED]> wrote:
> Sorry to start off on a negative note in the list, but I feel that the Python
> subprocess module is sorely deficient because it lacks a mechanism to
Have you looked at the processing module in cheese shop?
--
http://mail.python.org/m
> > I have the need to occasionally translate a single word
> > programatically. Would anyone have a Python script that
> > would let me do this using Google (or another) translation
> > service?
As a matter of fact, yes, I do! This happens to be my most favourite piece of
Python code I've ever
Steve Holden <[EMAIL PROTECTED]> wrote:
> Assignment to a list *element* rebinds the single element to the
> assigned value. Assignment to a list *slice* has to be of a list, and it
> replaces the elements in the slice by assigned elements.
>
Assignment to a list *slice* just has use an iterabl
I am attempting to pull info from an LDAP server (Active Directory),
but cannot specify an OU. In other words, I need to search users in
all OU's, not a specific one.
Here is what works:
con = ldap.initialize("ldap://server.local";)
con.simple_bind_s('[EMAIL PROTECTED]', pass)
result = con.search
Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> Harishankar <[EMAIL PROTECTED]> wrote:
>> 1. Create non-blocking pipes which can be read in a separate thread
>> [...]
>
> You are correct on both of those points.
I must be missing something. What's wrong with spawning the subprocess
with subprocess
Whether a Python installation includes the SQLite 3 bindings typically
depends on:
1. Python version: core support for the SQLite 3 bindings (i.e. the
"sqlite3" module) was added in Python 2.5. Earlier versions of Python
may also have a 3rd-party package/module that adds SQLite bindings, of
c
En Tue, 22 Apr 2008 13:32:38 -0300, sophie_newbie <[EMAIL PROTECTED]> escribió:
> On Apr 22, 4:41 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote:
>> On Tue, 22 Apr 2008 07:10:07 -0700 (PDT)
>> sophie_newbie<[EMAIL PROTECTED]> wrote:
>> > import threading
>> > class MyThread ( threading.Thread ):
On Tue, 22 Apr 2008 09:32:38 -0700 (PDT)
sophie_newbie <[EMAIL PROTECTED]> wrote:
> On Apr 22, 4:41 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote:
> > We know that your main routine gives up the processor but without a
> > full definition of MyThread how do we know that it ever does? I
> > susp
(Pdb) myclass
MyClass( 0, 0, 'A string', 123.45)
(Pdb) copy.copy(myclass)
*** TypeError: TypeError('__new__() takes at least 4 arguments (2 given)',)
I see 4 arguments (actually, 5 because Python is passing cls invisibly to
__new__). Does anyone have an idea what is going on here?
I have not def
On Mon, 21 Apr 2008 17:09:57 -0700 (PDT)
sturlamolden <[EMAIL PROTECTED]> wrote:
> Albeit not having looked at your code in detail, I'm wiling to bet you
> have one of the refcounts wrong.
It turns out you are correct. I forgot to increment the refcount on the
value extracted from the dict (since
Carl Banks schrieb:
On Apr 22, 11:10 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
2. Java interfaces solve a different problem than MI (used properly)
does: interfaces are there to make types polymorphic, whereas
inheritance's main use is to share behavior.
But the *goal* of the polymorphy
Sure. Python is more readable than Perl, though I have found Python
to have a weird behavior regarding this little issue :
How can you explain that Python doesn't support the ++ opeator,
whereas at the same time it does support the += operator ???
No python developer I know has been able to answ
On Apr 20, 10:17 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> I recommend you disable compilation of ctypes (by removing the call
> to detect_ctypes from setup.py). It's fairly unlikely that you can
> manage to make ctypes work on your system.
Martin, Thanks again. I'm much closer now. Her
On 22 Apr, 16:02, Ben Finney <[EMAIL PROTECTED]>
wrote:
>
> What lesson is it intended to teach, other than that "Fuck you" is
> somehow a "retort"? I can't see that improving too many situations.
It isn't supposed to teach anything: it's a joke! It'd be more
relevant (yet somewhat surreal if deta
On Apr 22, 4:41 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote:
> On Tue, 22 Apr 2008 07:10:07 -0700 (PDT)
>
>
>
> sophie_newbie<[EMAIL PROTECTED]> wrote:
> > import threading
> > class MyThread ( threading.Thread ):
> > def run ( self ):
> > myLongCommand()...
>
> > impor
On Apr 22, 5:25 am, azrael <[EMAIL PROTECTED]> wrote:
> Hy guys,
> A friend of mine i a proud PERL developer which always keeps making
> jokes on python's cost.
>
> Please give me any arguments to cut him down about his commnets
> like :"keep programing i python. maybe, one day, you will be able to
On Apr 22, 11:10 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> > 2. Java interfaces solve a different problem than MI (used properly)
> > does: interfaces are there to make types polymorphic, whereas
> > inheritance's main use is to share behavior.
>
> But the *goal* of the polymorphy is main
1 - 100 of 195 matches
Mail list logo