Diez, thanks for the reply, and I see your point. However, isn't this rather error-prone for most people? I used unix for about 8 years and never found out about that difference of copying with/without slash as you shown. I'd always do cp -r dir/* to copy its contents. I could be wrong, but this feels like it's going against python principle of doing things explicitly. Consider that when you go to a dir on a site without typing in a slash, it will work as a dir. If you type in a slash, it will work as a dir, too.
TG functions seemed to me to emulate directories, because, a) they don't have extensions, and b) you can pass parameters to them by giving them after a slash. I felt like having a slash at the end will have no difference, just like for directories in a url. And it does work with a trailing slash! In unix, you can't do this: [EMAIL PROTECTED]:~$ ls tpsettings.xml/ ls: tpsettings.xml/: Not a directory The difference only bites you when you least expect it, when other function, I suppose, sends you to a relative URL instead of absolute. I think it would be better if TG consistently treated functions as either urls or files, and without slash making magical difference, but I'm rather new to TG so I could be completely wrong and this might just be one of those good, practical trade-offs with minor downsides.. I really have no idea. Since nobody else ran into this, I guess that's the case. Thanks for your help, much appreciated! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

