First  |  Prev |  Next  |  Last
Pages: 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
IOError and Try Again to loop the loop.
Heya, I'm running a py script that simply grabs an image, creates a thumbnail and uploads it to s3. I'm simply logging into ssh and running the script through Terminal. It works fine, but gives me an IOError every now and then. I was wondering if I can catch this error and just get the script to start again? ... 12 Jul 2010 00:52
Problems running VirtualEnv under Windows.
Hello, After reading 'Practical Django Projects' I decided that I want to implement the VirtualEnv tip suggested in order to properly segregate code/modules in different projects. I am however having problems with my django installations not using site-packages within the virtualenv but rather attempting to use ... 12 Jul 2010 15:09
Errno 9] Bad file descriptor
I get sometimes a Errno 9 Bad file descriptor the code is too long to show it here but what are the circumstances this could happen? A web search showed nothing. I have especially the feeling Python 2.6 has some problems with Unicode ... and might not find the file. Is that possible? ... 15 Jul 2010 20:54
Why doesn't python's list append() method return the listitself?
On Sun, 11 Jul 2010 08:59:06 -0700, dhruvbird wrote: Why doesn't python's list append() method return the list itself? For that matter, even the reverse() and sort() methods? I found this link (http://code.google.com/edu/languages/google-python- class/lists.html) which suggests that this is done to make s... 11 Jul 2010 20:27
Getting started with python on macintosh snow leopard with mysql - need help
I have been going round and round trying to configure python 2.6 running on osx 10.6.x to work with mySQL 5.1.44. Python seems to work ... i have an installation of mysql 5.1.44 running and have used it in conjunction for other php/apache projects. I want to learn python and think i need a better database then my... 11 Jul 2010 23:47
Easy questions from a python beginner
I'm an old Perl-hacker, and am trying to Dive in Python. I have some easy issues (Python 2.6) which probably can be answered in two seconds: 1.  Why is it that I cannot use print in booleans??  e.g.: True and print "It is true!" I found a nice work-around using eval(compile(.....,"<string>","exec"))... S... 6 Aug 2010 15:58
Why doesn't python's list append() method return the list itself?
Why doesn't python's list append() method return the list itself? For that matter, even the reverse() and sort() methods? I found this link (http://code.google.com/edu/languages/google-python- class/lists.html) which suggests that this is done to make sure that the programmer understands that the list is being modi... 16 Jul 2010 14:20
I wish for a tool named "2to6".
Folks: I have been (I admit it) a Python 3 skeptic. I even speculated that the Python 3 backward-incompatibility would lead to the obsolescence of Python: http://pubgrid.tahoe-lafs.org/uri/URI:DIR2-RO:ixqhc4kdbjxc7o65xjnveoewym:5x6lwoxghrd5rxhwunzavft2qygfkt27oj3fbxlq4c6p45z5uneq/blog.html However, things ar... 11 Jul 2010 11:33
how to determine whether pathname1 is below bathname2
Hi, I wanted to figure out whether a given path name is below another path name. Surprisingly this turned out to be more difficult than initially anticipated: Let's assume I want to find out, whether path1 is below path2 First I thought about checking whether path1 starts with path2 For this I had to... 11 Jul 2010 11:33
getting the variable type
hi. i need to know the type of variable i'm dealing with. take this list: files = [ "lib/jquery/jquery-1.4.2.source.js", "lib/jquery-ui-1.8.1/development-bundle/ui/jquery-ui-1.8.1.custom.js", "lib/jquery-ui-1.8.1/development-bundle/ui/jquery.ui.tabs.js", "lib/jquery/jquery.scrollTo-min.js", "lib/jque... 11 Jul 2010 10:28
First  |  Prev |  Next  |  Last
Pages: 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58