Hi Andre,
On Tue, May 18, 2010 at 8:50 AM, Andre Smit freev...@gmail.com wrote:
Yep, don't know about you guys but I tend to learn more from the examples -
Same here. :)
so I second a listing in the documentation, perhaps with links that'll open the python. I'll generate an issue with missing examples and label it EasyToFix. About the script - I'm still learning :) I used the following as reference: http://pinard.progiciels-bpi.ca/notes/Away_from_os.path.walk.html
Same here too. Thanks for the article; it's a good discussion of the topic. I had forgotten about os.walk as well. In the end, I agree with the author's comments: "I did not time the above loops, but I'm pretty sure the improvement is more on the side of conceptual elegance." :)
also - usage counts could be the incentive to wrap up the examples.
+1
Best regards, Logan
On Tue, May 18, 2010 at 5:18 AM, Robert Cimrman cimr...@ntc.zcu.cz wrote:
On 05/18/10 05:38, Logan Sorenson wrote:
Hi Andre,
This is a really great idea! Probably you were thinking this already, but I could see adding this to the user's guide similar to how the term tables are automatically generated (see script/gen_term_tables.py).
... with total usage counts in the last row :)
Also, I'm not sure if it would be a more straightforward implementation, but it looks like you could use os.path.walk in place of your heap. Anyway, it's fine as is, IMHO. :)
Yes, os.path.walk is quite nice. There are other interesting functions in os.path...
Logan
On Mon, May 17, 2010 at 11:15 PM, Andre Smitfreev...@gmail.com wrote:
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
cheers, r.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- Andre
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.