Post Reply 
complex numbers in Python
10-12-2024, 05:51 PM
Post: #3
RE: complex numbers in Python
(10-12-2024 02:25 PM)komame Wrote:  I'm not sure what your exact requirements are, but there are other methods to achieve the same result.

I'm trying to pass arguments from PPL to Python via the argv[] array of strings.

(10-12-2024 02:25 PM)komame Wrote:  If the input has to be a string, you can use eval:
Code:
eval("1.2+3.4j")

Say, that will work nicely. Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
complex numbers in Python - Wes Loewer - 10-12-2024, 01:18 PM
RE: complex numbers in Python - komame - 10-12-2024, 02:25 PM
RE: complex numbers in Python - Wes Loewer - 10-12-2024 05:51 PM
RE: complex numbers in Python - Wes Loewer - 10-12-2024, 06:04 PM
RE: complex numbers in Python - Wes Loewer - 10-12-2024, 06:34 PM



User(s) browsing this thread: 2 Guest(s)