Issue 1196: improve our examples http://code.google.com/p/sympy/issues/detail?id=1196
Comment #7 by andy.terrel: Do we need she-bangs for the examples? We are depending on /usr/bin/env which does not always work, and I think it is confusing for a learner. Having to type python is not really all that difficult and we can depend on the user's documentation on using python to explain how to do that. Do we need the iam_sympy_example module? I assume this is to help someone run examples so they do not need to install sympy, but I don't know how reasonable this is. If it is to make the all script work well, I would suggest using a main function and then using the typical script caller. def main(*args, *kws): do stuff if __name__ == "__main__": main(*sys.argv[1:]) Then just calling each examples main, of course this might be a bit more confusing to a new user but I think its pretty well accepted and works everywhere python works. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en -~----------~----~----~----~------~----~------~--~---