Re: python 3's adoption

2010-01-28 Thread Fencer
ed in the bioinformatic parts, I already know some python. I'll show my boss the link, thanks! - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I access what's in this module?

2010-01-08 Thread Fencer
x27;re welcome -- the advice on _methods is portable :-) I will look more closely at what other advice you write, I must confess I didn't actually do that because, as I mentioned, I no longer had any interest in accessing the module and I was busy (and still am) with another problem. Thanks John! - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I access what's in this module?

2010-01-07 Thread Fencer
nger want to access anything in there but I thank you for your information nontheless. HTH, John - Fencer -- http://mail.python.org/mailman/listinfo/python-list

How do I access what's in this module?

2010-01-07 Thread Fencer
ems that begin with an underscore if I get the import sorted? - Fencer -- http://mail.python.org/mailman/listinfo/python-list

suds problem

2010-01-07 Thread Fencer
t(url) print client - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Re: suds problem

2010-01-06 Thread Fencer
On 2010-01-06 20:02, Fencer wrote: On 2010-01-06 19:33, Fencer wrote: Hello, I just started using suds to use web services. First I tried suds with a very simple web service I had written and was running myself. That worked fine. Then I tried to use the web services provided by KEGG: http

Re: suds problem

2010-01-06 Thread Fencer
On 2010-01-06 19:33, Fencer wrote: Hello, I just started using suds to use web services. First I tried suds with a very simple web service I had written and was running myself. That worked fine. Then I tried to use the web services provided by KEGG: http://soap.genome.jp/KEGG.wsdl But I get a

What should I use for testing a web service?

2009-12-27 Thread Fencer
have (which is testing an already existing service)? - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Re: Sending email

2009-08-28 Thread Fencer
7stud wrote: [snip] Thanks for your reply. After consulting the sysadmins here I was able to get it to work. - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Sending email

2009-08-28 Thread Fencer
n the Thunderbird mail client and it's using SSL over port 465, so a bit different from how GMail's SMTP server is configured in Thunderbird. I altered my code slightly to account for this: mail_server = smtplib.SMTP_SSL() mail_server.connect('mysmtpserver.at.work', 465) Everythin

Re: Problem with join in__str__() in class (newbie)

2009-08-10 Thread Fencer
Piet van Oostrum wrote: [snip] Thanks for your detailed reply! - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with join in__str__() in class (newbie)

2009-08-09 Thread Fencer
solved. I guess I can't use a join to print the known experts as I described in my first post. - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with join in__str__() in class (newbie)

2009-08-09 Thread Fencer
rla Known topics: t5:Polemics only the first topic is printed. If topics only contain a single topic I get this error: Traceback (most recent call last): File "C:\Users\fencer\workspace\Find Expert\src\find_expert.py", line 57, in print experts[1] File "C:\Users\fencer\works

Problem with join in__str__() in class (newbie)

2009-08-09 Thread Fencer
expert_id and name? I can't use the normal __str__() method (the one I'm writing here) because it prints too much information. Does that mean a join is out of the question? Thanks for any replies! - Fencer -- http://mail.python.org/mailman/listinfo/python-list

Re: Keeping console window open

2009-06-07 Thread Fencer
Scott David Daniels wrote: To be a trifle more explicit, turn: ... if __name__ == '__main__': main() into: ... if __name__ == '__main__': try: main() except Exception, why: print 'Failed:', why import sys,

Keeping console window open

2009-06-07 Thread Fencer
can I trap errors encountered by the interpreter (if that is the right way to put it) in order to keep the console window open so one has a chance to see the error message? - Fencer -- http://mail.python.org/mailman/listinfo/python-list

create boolean

2009-03-06 Thread Fencer
- Fencer -- http://mail.python.org/mailman/listinfo/python-list

Restructure dictionary (Python 2.5)

2009-03-02 Thread Fencer
new_dict[val] = set([dkey]) print new_dict Which yields the output {'a': set(['xyz']), 'c': set(['xyz', 'baz']), 'b': set(['xyz']), 'd': set(['baz'])}, so it seems to work but I have a feeling this is a crappy solution that's underusing Python. Please enlighten me of a better way! - Fencer -- http://mail.python.org/mailman/listinfo/python-list