Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70019 > unrolled thread

Re: Plotting the integer-and-fraction remainder of a function value modulo 360

Started byBen Finney <ben+python@benfinney.id.au>
First post2014-04-10 17:13 +1000
Last post2014-04-10 17:13 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Plotting the integer-and-fraction remainder of a function value modulo 360 Ben Finney <ben+python@benfinney.id.au> - 2014-04-10 17:13 +1000

#70019 — Re: Plotting the integer-and-fraction remainder of a function value modulo 360

FromBen Finney <ben+python@benfinney.id.au>
Date2014-04-10 17:13 +1000
SubjectRe: Plotting the integer-and-fraction remainder of a function value modulo 360
Message-ID<mailman.9121.1397114053.18130.python-list@python.org>
Kim Plofker <kim_plofker@yahoo.com> writes:

> This produces the following error message:

Thank you for providing an actual code example (though not one I can
run, since it isn't a complete Python program).

Particularly, thank you for providing the *actual* error output; this
makes it much clearer what is happening.

It's always best to show the complete error output since usually there
are details in the output that narrow down the problem.

> ...
> TypeError: unsupported operand type(s) for %:
> 'sage.symbolic.expression.Expression' and
> 'sage.symbolic.expression.Expression'

This is indeed a problem specific to the types defined by Sage. You'll
need to start a discussion in a Sage-specific discussion forum.

> Many thanks again for any help.

You will likely still need assistance with Python to continue with this.
Once you have a better idea what part is Sage-specific and what part is
general Python, feel free to ask here.

Or if you prefer, there is a beginner-level Python discussion forum at
<URL:https://mail.python.org/mailman/listinfo/tutor>.

-- 
 \       “Know what I hate most? Rhetorical questions.” —Henry N. Camp |
  `\                                                                   |
_o__)                                                                  |
Ben Finney

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web