Announcing Mii (My) Chat

2011-11-19 Thread Andrew Evans
for that matter. I am self taught and consider myself a hobbyist programmer. It would be great if some one could suggest a library for TCP Nat Traversal. As well I am open to any and all suggestions! I appreciate any feedback *cheers Andrew Evans Here is the link http://code.google.com/p/mii-chat

Cast to a method pointer in ctypes

2011-01-31 Thread Andrew Evans
How can I cast to a method pointer in ctypes. for example this in C int (*func)(); func = (int (*)()) expl; (int)(*func)(); How can I do this in ctypes using Python? I couldn't find the info I needed to be able to do this *cheers -- http://mail.python.org/mailman/listinfo/python-list

Unsupported Format Character '' (0x26)

2010-08-19 Thread Andrew Evans
I get an error message Unsupported Format Character '' (0x26) I narrowed it down to these two variables any idea how to fix it? SEARCH_URL_0 =

Python module Code returns empty list any ideas how to fix

2010-08-19 Thread Andrew Evans
Hello I am trying to modify Python xgoogle module to use yahoo I have hit a road block where I receive no error messages the code I use to test just returns an empty list. and I don't know how to trouble shoot it the module code is here http://pastebin.com/iTibRs1R and the code I am using to

Problem Creating NewLines in PDF

2010-08-18 Thread Andrew Evans
Hello I am generating a PDF in web2py but its ignoring my line breaks. randname = random.randrange(1, 10001) styles = getSampleStyleSheet() title = My Title doc = SimpleDocTemplate(primer.pdf) story = [] story.append(Paragraph(strftime(%a, %d %b %Y

Re: Problem Creating NewLines in PDF

2010-08-18 Thread Andrew Evans
Hello yes This line doesn't seem to want to accept a list for some strange reason story.append(Paragraph(str(result_list), para)) *cheers -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem Creating NewLines in PDF

2010-08-18 Thread Andrew Evans
Hello ty for the fast replies This is the string I am using for the PDF I was able to create new lines using the HTML br tag which is what I wanted a method to create new lines search_str=Position: (%d) - Keyword: (%s) - Domain (%s) br /br / % (idx+1, target_keyword, session.target_domain)

Re: Unsupported Format Character '' (0x26)

2010-08-18 Thread Andrew Evans
nvm I got it by adding s and d respectively after each value eg %(query)s thank you all On Wed, Aug 18, 2010 at 4:35 PM, Andrew Evans randra...@gmail.com wrote: I get an error message Unsupported Format Character '' (0x26) I narrowed it down to these two variables any idea how to fix