Re: After install python2.7.3 from source code, no module named array

2014-09-23 Thread vek . m1234
not quite sure what you mean.. python uses 'list' instead of the C/C++ array data type. there are __builtin__ and builtins module in 2.7 and 3.2 and a 'array' module. make install, copies files into the system dir-tree but you can run the interpreter from the build-dir and it should work. -- ht

Re: Love to get some feedback on my first python app!!!

2014-09-22 Thread vek . m1234
@CSmith Hi, I'm sorry, I wish I could acquiesce but I think it's better for me to stay clear. There's criticism, and there's name calling ('dim' 'troll'). Reiterating what I said earlier, if the OP wants clarification he can ask for it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Love to get some feedback on my first python app!!!

2014-09-22 Thread vek . m1234
@Chris, Hi, I don't like your style of posting - please kill file me. @Everybody else - I don't like Chris and his style of posting (overuse of the 'troll' word and perceived aggression). I shall be ignoring him for a year (barring an emergency). Good communication demands that I announce this.

Re: Love to get some feedback on my first python app!!!

2014-09-22 Thread vek . m1234
https://github.com/Veek/Python/blob/master/IRC/Hexchat/fake_ctcp.py that's not too bad as far as readability is concerned and it's bereft of all comments {:p -- https://mail.python.org/mailman/listinfo/python-list

Re: Love to get some feedback on my first python app!!!

2014-09-22 Thread vek . m1234
1. It's feedback not a mathematical proof. 2. I hope the OP tries what I suggested - it's all entirely optional. @OP I have no idea what that program does because it's well commented. You aren't using variable and function names to good effect and are resorting to excessive comments. Additional

Re: Python advice

2014-09-22 Thread vek . m1234
1. Python Essential Reference, Python Standard Library by Example/Dive into Python 2. C (K.N.King), C++(Eckel), Python, Make, GCC, Lex/Yacc/Bison, Some HTML/CSS/XML/Javascript/XLTS+Python 3. I don't like Java much - never tried it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Love to get some feedback on my first python app!!!

2014-09-22 Thread vek . m1234
One thing I noticed with that code was the size of your function, and excessive comments. It reminds me of my bubble_sort.c program in school/college - everything plonked into 'main'. Try writing it like this: 1. #!/usr/bin/python or #!/usr/bin/env python The leading #! is read by the kernel w

SOAPpy: Expected to find node type 'Element' with name 'CountriesFetchingRequest'; Found node type 'Element' with name 'FetchCountries'

2014-09-21 Thread vek . m1234
I'm messing with SOAP, trying to write a small library to handle stuff I buy from Aramex (shipper). I'm learning XML/SOAP and I'm familiar with RPC from C (Stevens) but no other relevant experience. If this is incredibly dumb just ignore it since I'll probably figure it out eventually. I'm tryi

Re: Beazley 4E P.E.R, Page29: Unicode

2013-07-14 Thread vek . m1234
Hello Steven, a 'thank you' sounds insufficient and largely disproportionate to to the time and energy you spent in drafting a thoroughly comprehensive answer to my question. I've cross posted both answers to stackoverflow (with some minor formatting changes). I'll try to do something nice on yo

Re: Beazley 4E P.E.R, Page29: Unicode

2013-07-14 Thread vek . m1234
thank you (both of you) I follow now :) -- http://mail.python.org/mailman/listinfo/python-list

Beazley 4E P.E.R, Page29: Unicode

2013-07-13 Thread vek . m1234
http://stackoverflow.com/questions/17632246/beazley-4e-p-e-r-page29-unicode "directly writing a raw UTF-8 encoded string such as 'Jalape\xc3\xb1o' simply produces a nine-character string U+004A, U+0061, U+006C, U+0061, U+0070, U+0065, U+00C3, U+00B1, U+006F, which is probably not what you intend