On Mar 25, 7:50 pm, Ondrej Certik <[email protected]> wrote: > On Fri, Mar 25, 2011 at 8:35 AM, weralwolf <[email protected]> wrote: > > On Mar 25, 2:41 pm, Vinzent Steinberg > > <[email protected]> wrote: > >> On 24 Mrz., 17:54, weralwolf <[email protected]> wrote: > > >> > On Mar 24, 6:53 pm, Vinzent Steinberg > > >> > <[email protected]> wrote: > >> > > Hi, > > >> > > On Mar 23, 6:04 pm, weralwolf <[email protected]> wrote: > > >> > > > Hello, where my simple example of calculations corrections due to > >> > > > perturbation theory for hole with infinite walls. I thinks I didn't > >> > > > use all SymPy features, so if it possible guide me. > >> > > > Source:http://pygments.org/demo/16998/ > > >> > > Nice, do you think this could be polished a bit and added to sympy's > >> > > examples? This could be your first patch. :) > > >> > > Vinzent > > >> > I guide your tip and after few minutes get > >> > this:http://pygments.org/demo/17051/ > >> > - could it be as good example? If yes, how I can submit it? > > >> Nice, this is exactly what I meant with polishing. About submitting > >> it, I think Ondrej answered your question. > > >> Why did you add all these semicolons? In Python there is no need for > >> them, a newline has the same effect as ';' (except for code inside > >> parentheses). > > >> Vinzent > > > All that semicolons are coming from my C++ coding style. I put it > > everywhere it just can be placed, in this way I fill some kind of > > order. I just really like it =) > > All code in sympy should conform to the Python coding guidelines: > > http://www.python.org/dev/peps/pep-0008/ > > so no semicolons, and also the names of the functions should be > lowercase_with_underscores. > > Ondrej
Thanks for tip, I've fix semicolons and etc. Anatolii -- You received this message because you are subscribed to the Google Groups "sympy" 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/sympy?hl=en.
