For using python ability, what should I do???

2014-08-17 Thread Jm Cho
Hello~ I'm Korean, and I register this groups just now. Thesedays, I'm studying Python 3.x version. I like Python. i read a book, python for kids a playful introduction to programming, it is very easy but very effective to me. so, I hope my python ability is higher... What should I do?? ps. In f

PNYIKOS DOWN AND UNDER!

2014-03-19 Thread THRINAXODON JM
=== >BREAKING NEWS === > RICHARD LEAKEY JUST DIED DUE TO HEART FAILURE! > THE REASONS DESCRIBED BY THE MEDICAL TEAM IS THAT HIS WORK WAS DISPROVEN, BY NONE OTHER THAN YOUR OWN BASTARD, THRINAXODON. > THIS CAUSED LEAKEY'S HEART TO EXPLODE! > THRINAXOD

Re: Getting a stable virtual env

2014-02-17 Thread JM
ested it. The question is, how do I protect myself from future package removal ? Do I absolutely need to run a local pypi server (I've seen some python package doing this), and mirror all the packages I'm interested in ? cheers, JM 2014-02-17 14:21 GMT+01:00 P J : > Hi ppl, > &g

tcp socket problem

2008-07-25 Thread jm . carp
I'm writing a tcp client that grabs data from a server at 32hz. But the connection drops exactly one minute after it's opened. I can get data from the server fine for the first 60s, and then the connection goes dead. What's going on? -- http://mail.python.org/mailman/listinfo/python-list

About getattr()

2007-02-11 Thread Jm lists
Hello, Since I can write the statement like: >>> print os.path.isdir.__doc__ Test whether a path is a directory Why do I still need the getattr() func as below? >>> print getattr(os.path,"isdir").__doc__ Test whether a path is a directory Thanks! -- http://mail.python.org/mailman/listinfo/pyt

Re: Does eval has the same features as Perl's?

2007-01-20 Thread Jm lists
Thank you.I'm just learning Python and want to make something clear to me.:) 2007/1/20, Steven D'Aprano <[EMAIL PROTECTED]>: > On Sat, 20 Jan 2007 17:30:24 +0800, Jm lists wrote: > > > Hello members, > > > > I want to know does the "eval" in pyt

Does eval has the same features as Perl's?

2007-01-20 Thread Jm lists
Hello members, I want to know does the "eval" in python have the same features as in Perl (capture errors)? For example,in perl I can wrote: $re = eval { 1 / 0 }; Though 1/0 is a fatal error but since it's in "eval" block so the perl interpreter doesn't get exit. Thanks again. -- http://mail.

Re: **argv can't work

2007-01-19 Thread Jm lists
Thanks for all the kind helps! 2007/1/20, Parthan SR <[EMAIL PROTECTED]>: > > > On 1/20/07, Jm lists <[EMAIL PROTECTED]> wrote: > > hello members, > > > > See my script piece below: > > > > def testB(shift,**argv): > > print "first

**argv can't work

2007-01-19 Thread Jm lists
hello members, See my script piece below: def testB(shift,**argv): print "first argument is %s" %shift print "all other arguments are:",argv testB('mails','Jen','[EMAIL PROTECTED]','Joe','[EMAIL PROTECTED]') It can't work at all.please help tell me the reasons.thanks. -- http://mail.py

Re: Why this script can work?

2007-01-19 Thread Jm lists
-e line 1, near "}else" Execution of -e aborted due to compilation errors. 2007/1/19, Diez B. Roggisch <[EMAIL PROTECTED]>: > Jm lists wrote: > > > Please help with this script: > > > > class ShortInputException(Exception): > >

Why this script can work?

2007-01-18 Thread Jm lists
Please help with this script: class ShortInputException(Exception): '''A user-defined exception class.''' def __init__(self,length,atleast): Exception.__init__(self) self.length=length self.atleast=atleast try: s=raw_input('E

Re: Access lotus notes using Python

2005-05-24 Thread jm
Lotus Domino Designer 6.5.1 Help (instaled by notesdesigner) see section LotusScript/COM/OLE Classes & LotusScript Classes A-Z -- http://mail.python.org/mailman/listinfo/python-list

Re: Access lotus notes using Python

2005-05-24 Thread jm
try this import win32com.client session = win32com.client.Dispatch('Lotus.NotesSession') session.Initialize(r'') db = session.GetDatabase('',r'.nsf') view = db.GetView(r'') doc = view.GetFirstDocument() print doc.GetFirstItem('ii').Values domino return string as unicod