This is all coming from the fact that I'm pretty new to front-end
development.
Thanks anyway.
OK,
so let's say I need my template to call some JAR and get back from it some
/path/file.ext, mean real file that I wanna show in this template.
Than how with Django+Satchmo can I achieve this please?
regards,
--vs
On Monday, June 11, 2012 11:25:00 AM UTC-4, Tomas Neme wrote:
>
>
> > what the difference between calling Python based API with some
> functionality
> > instead of calling bash script with Popen if both will do the same
> > functional work?
> > Try to Explain your point of view instead of using f... words., cause
> THAT
> > is definitely unprofessional, cheers.
>
> easier to debug, cleaner code, more cross-platform... I wanted to do that
> too, once, but I also came to the conclusion it wasn't a good idea.
>
> And.. while you're right, "ugly" is a perfectly good reason for not doing
> something, it's in the very first line of the Zen of Python:
>
> lacrymology@Roller:boilerplate$ python -c 'import this'
> The Zen of Python, by Tim Peters
>
> Beautiful is better than ugly.
> Explicit is better than implicit.
> Simple is better than complex.
> Complex is better than complicated.
> Flat is better than nested.
> Sparse is better than dense.
> Readability counts.
> Special cases aren't special enough to break the rules.
> Although practicality beats purity.
> Errors should never pass silently.
> Unless explicitly silenced.
> In the face of ambiguity, refuse the temptation to guess.
> There should be one-- and preferably only one --obvious way to do it.
> Although that way may not be obvious at first unless you're Dutch.
> Now is better than never.
> Although never is often better than *right* now.
> If the implementation is hard to explain, it's a bad idea.
> If the implementation is easy to explain, it may be a good idea.
> Namespaces are one honking great idea -- let's do more of those!
>
> ******
>
> with that out of the way, also, whatever it is you want to do, it sounds
> blocking and time-consuming, which is something you probably don't want in
> a template.
>
> I recommend you explain what you need to do, and you'll get a
> recommendation on how to do it in a more pythonic way
>
> --
> "The whole of Japan is pure invention. There is no such country, there are
> no such people" --Oscar Wilde
>
> |_|0|_|
> |_|_|0|
> |0|0|0|
>
> (\__/)
> (='.'=)This is Bunny. Copy and paste bunny
> (")_(") to help him gain world domination.
>
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/satchmo-users/-/nlJf0vQt_u0J.
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/satchmo-users?hl=en.