Re: [Tutor] Python cms

2012-08-19 Thread Steven D'Aprano
On 19/08/12 15:05, Douglas Kuo wrote: Hi all, I am mainly a php/drupal developer totally new to python.. Any experienced python especially in term of cms developers out there can tell me what are the benefits of python cms over php cms? This might upset you, but the biggest advantage is that t

Re: [Tutor] Python cms

2012-08-19 Thread James Reynolds
I agree with Steven. You will notice efficiency gains by moving to python. I'm a django developer myself, but some of the other frameworks work well also. That said the django community is fairly large, and there is an active cms project called django-cms. https://www.django-cms.org/ Sent f

[Tutor] (no subject)

2012-08-19 Thread Selby Rowley Cannon
OK, I have some code, and it uses glob.glob('*.py') to find all the python files in the current directory. Just thought i'd ask, would: glob.glob('C:\*.py') (Windows), or glob.glob('/*.py') (*nix) find all the python files on the system? Thanks ___ T

Re: [Tutor] (no subject)

2012-08-19 Thread Dave Angel
On 08/19/2012 03:29 PM, Selby Rowley Cannon wrote: > OK, I have some code, and it uses glob.glob('*.py') to find all the > python files in the current directory. > Just thought i'd ask, would: > > glob.glob('C:\*.py') (Windows), or > > glob.glob('/*.py') (*nix) > > find all the python files on the

Re: [Tutor] (no subject)- finding/deleting files

2012-08-19 Thread akleider
> On 08/19/2012 03:29 PM, Selby Rowley Cannon wrote: >> OK, I have some code, and it uses glob.glob('*.py') to find all the >> python files in the current directory. >> Just thought i'd ask, would: >> >> glob.glob('C:\*.py') (Windows), or >> >> glob.glob('/*.py') (*nix) >> >> find all the python fi

Re: [Tutor] (no subject)

2012-08-19 Thread Steven D'Aprano
On Sun, Aug 19, 2012 at 08:29:22PM +0100, Selby Rowley Cannon wrote: > OK, I have some code, and it uses glob.glob('*.py') to find all the > python files in the current directory. That works because if you don't specify an absolute directory, the current directory is used. It does not look insid