Droopy problems with python 3 Programming Software Development by maofree ….readlines()] File "/bin/droopy", line 692, in <listcomp> for line in f.readlines()] AttributeError: 'str' object has… Re: Sorting a large dictionary Programming Software Development by djidjadji …x[index]) for v in korvatunturi.values()] def listcomp(): dummy = [v[50] for v in test_dict… t = Timer("listcomp()", "from __main__ import listcomp") print "listcomp()", t.timeit(count…88505606159 sort_listcomp() 2.8512302139 generator() 1.80397921625 listcomp() 1.5282277765 [/CODE] A clear for-… Re: Converting input into a list Programming Software Development by silence02 …\Documents\Python Prog\histo.py", line 4, in <listcomp> numList2=[float(i) for i in numList] TypeError: float… Re: Python 3.2.2 Problem Programming Software Development by computerchip …?")))] File "hw3c.py", line 11, in <listcomp> for count in range(int(input("How many… Re: Droopy problems with python 3 Programming Software Development by Gribouillis Why do you need to run it with python 3 ? Doesn't your linux system have a python 2 version ? Re: Droopy problems with python 3 Programming Software Development by maofree Hi Gribouillis thanks for your intervention (I saw your answer just now, guilt spam) I use Archlinux is a very up to date distro, and it's use python 3.1.2-2 . It's too difficult to find a solution of this problem? Or do you know others similar script, without using apache (with php, it's not possible to upload files up 2GB and out of webroot), for… Re: Droopy problems with python 3 Programming Software Development by Gribouillis [QUOTE=maofree;1390288]Hi Gribouillis thanks for your intervention (I saw your answer just now, guilt spam) I use Archlinux is a very up to date distro, and it's use python 3.1.2-2 . It's too difficult to find a solution of this problem? Or do you know others similar script, without using apache (with php, it's not possible to upload files up … Re: Droopy problems with python 3 Programming Software Development by maofree Hi Gribouillis I've solved with your suggestion [CODE]$ python2 /usr/bin/droopy[/CODE] I didn't know that it's possible to have several versions of python on the same system. Thanks Gribouillis bye