First
|
Prev |
Next
|
Last
Pages: 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
Python and Ruby What are the arguments for choosing Python against Ruby for introductory programming ? Python has no provisions for tail recursion, Ruby is going to... So what ? Thanks, JG ... 10 Feb 2010 14:31
myths about python 3 Hi folks, I was going to write this post for a while because all sorts of myths periodically come up on this list about python 3. I don't think the posters mean to spread false information on purpose, they simply are not aware of the facts. My list is surely incomplete, please feel free to post your favorite ... 2 Feb 2010 15:04
Ad hoc lists vs ad hoc tuples One thing I ofter wonder is which is better when you just need a throwaway sequence: a list or a tuple? E.g.: if foo in ['some', 'random', 'strings']: ... if [bool1, bool2, boo3].count(True) != 1: ... (The last one only works with tuples since python 2.6) Is a list or tuple better or more efficient... 28 Jan 2010 03:08
Python or Ant gslindstrom(a)gmail.com wrote: My company is looking at creating a tool to allow us to define and manage a process for each job we run (a typical job may be look on a customers ftp site for a file, download it, decrypt it and load it into our database). We would like something which would allow us to glue ... 26 Jan 2010 16:38
PIL: Wiping out metadata on save only on progressive JPG's Hello, I've tested on PIL 1.16 and 1.17. Metadata(IPTC and EXIF) are saved fine when the jpg image is NOT progressive. But when the jpg is progressive, the metadata gets wiped out. Does anyone have any ideas on how to preserve? im = Image.open('progressive jpeg path') im.save('jpeg path') or im.save('jpeg ... 26 Jan 2010 09:48
announcement: expy release 0.5 Hi all, This is to announce expy release 0.5. expy is an express way to extend Python. For more information and tutorials on expy, see: http://expy.sf.net/ Cheers, Yingjie ... 26 Jan 2010 06:32
Authenticated encryption with PyCrypto Just got done reading this thread: http://groups.google.com/group/comp.lang.python/browse_thread/thread/b31a5b5f58084f12/0e09f5f5542812c3 and I'd appreciate feedback on this recipe: http://code.activestate.com/recipes/576980/ Of course, it does not meet all of the requirements set forth by the OP in the re... 26 Jan 2010 23:23
how can i know if a python object have a attribute such as'attr1'? 24-01-2010, 00:38:29 Terry Reedy <tjreedy(a)udel.edu> wrote: On 1/23/2010 10:56 AM, Arnaud Delobelle wrote: thinke365<thinke365(a)gmail.com> writes: for example, i may define a python class: class A: def sayHello(): print 'hello' a = A() a.attr1 = 'hello' ... 25 Jan 2010 16:12
Total maximal size of data I have a simple question to which I could not find an answer. What is the total maximal size of list including size of its elements? I do not like to look into python source. Here is a code example: import struct KB=1024 MB=KB*KB GB=MB*KB buf=[] bs=32*KB n=4*GB/bs print "N",n i=0 size=0L while i < n: ... 2 Feb 2010 14:58
CompIMAGE 2010: Call for Short Communications Dear Colleague, In the framework of the International Symposium CompIMAGE'10 “Computational Modeling of Objects Presented in Images: Fundamentals, Methods, and Applications,” May 5-7, 2010, Buffalo-Niagara, NY, USA (www.fe.up.pt/CompIMAGE), prospective authors are invited to submit short communications to be pub... 25 Jan 2010 11:38 |