Re: split long string in two code lines

2011-06-13 Thread Redcat
On Mon, 13 Jun 2011 23:31:29 +0200, Tracubik wrote: > 1 def foo(): > 2for index in ... > 3for plsdoit in ... > 4print "this is a very long string that i'm going to/ 5 > write here, it'll be for sure longer than 80 columns" If you're going to use the \ anyway, how about: >

Re: Looking for Coders or Testers for an Open Source File Organizer

2011-06-14 Thread Redcat
> The chief geek has given his nod of approval to publish Miranda through > how-to geek, and I can pitch any of your software to him, and write an > article about it - provided that the chief geek approve the software. I wouldn't mind contributing some time to this project. -- http://mail.python.

Re: what is the advantage of Django when comparing with LAMP and J2EE platform?

2011-08-02 Thread Redcat
On Wed, 03 Aug 2011 03:28:14 +0800, smith jack wrote: > There are so many choice to do the same thing, so is there any special > advantage Django brings to user? The ability to code in Python instead of Java is the biggest one to me. -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows No-Install Distribution?

2011-08-23 Thread Redcat
I haven't tried it myself yet, but might http://www.portablepython.com/ be what you're looking for? -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Redcat
On Wed, 11 May 2011 10:33:51 -0400, D'Arcy J.M. Cain wrote: > Non-programmers should be able to program? Wasn't that sort of the premise behind Visual Basic? I don't know if that was the intention, but it sure was the result in a lot of cases. -- http://mail.python.org/mailman/listinfo/python-l

Re: How best to convert a string "list" to a python list

2011-05-13 Thread Redcat
On Fri, 13 May 2011 10:15:29 -0700, noydb wrote: > I want some code to take the items in a semi-colon-delimted string > "list" and places each in a python list. I came up with below. In the > name of learning how to do things properly, do you experts have a better > way of doing it? How about t

Re: To start a simple server

2011-10-03 Thread Redcat
Are you running web.py on your computer, or is it running for example on a hosting company's computer? If it's not on your computer you have your port 8080 traffic blocked the hosting company's firewall. On Sun, 02 Oct 2011 20:59:40 -0700, sillyou su wrote: > i am learning webpy and I am follow

Re: To start a simple server

2011-10-03 Thread Redcat
On Mon, 03 Oct 2011 10:05:15 -0700, sillyou su wrote: > I am running web.py on my computer Does "netstat -nat | grep 8080" show anything listening on port 8080? (I'm assuming here that you're running on a Linux box) -- http://mail.python.org/mailman/listinfo/python-list

Re: help

2011-10-07 Thread Redcat
On Fri, 07 Oct 2011 15:59:55 +, X1 wrote: > I have this program that fails: > > $ vapt > Traceback (most recent call last): > File "/usr/local/bin/vapt", line 3, in > from vapt import vapt > File "/usr/lib/python2.6/site-packages/vapt/__init__.py", line 11, in > > __import__(nam

Re: help

2011-10-07 Thread Redcat
> Thanks, > I have the Tk module installed, but the program still fails. Probably it > is a problem of path? That would be my guess - that the Tk module is installed somewhere other than where OpenGL.Tk is looking for it. -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] Re: Benefit and belief

2011-10-20 Thread Redcat
On Wed, 19 Oct 2011 14:49:26 -0700, Westley Martínez wrote: >> I am a poly-illiterate. I can't read or write hundreds of languages. > > I think you need to speak German fluently to be a good programmer. No, just Dutch :) -- http://mail.python.org/mailman/listinfo/python-list

Re: my new project, is this the right way?

2011-11-14 Thread Redcat
> since i'm mostly a new-bye for as regard databases, my idea is to use > sqlite at the beginning. > > Is that ok? any other db to start with? (pls don't say mysql or similar, > they are too complex and i'll use this in a second step) I know it's a lot of work to learn initially, but I would reco

Re: platform issues?

2011-12-01 Thread Redcat
> Our servers have the same version of python and we're running the same > OS (Fedora 14). Can anyone think of what might be causing this problem, > or why it works on most (but not all) machines? > > Thanks Is the server able to resolve www.google.com properly? If so, are you POSITIVE that the

Re: platform issues?

2011-12-01 Thread Redcat
On Thu, 01 Dec 2011 13:43:38 -0500, Adrian Powell wrote: > Since I'm actually trying to write a twitter client, I was more focused > on the results from twitter. Since google and twitter are so huge and so > distributed, I'd bet neither are good tests for this, but they look > approximately right.