The python tag has no wiki summary.
1
vote
1answer
83 views
Hex Representation in Mathematica and Python
I want to convert a code from Mathematica to Python.
I am using the following code to convert a code to hexadecimal, binary and so on:
...
1
vote
0answers
119 views
What's wrong with my code for finding primes?
From here I found a fast method to make prime list, the python version works well, but my Mathematica version does not. Obviously ,169 is not a prime number. What's ...
2
votes
0answers
76 views
3
votes
1answer
88 views
String encoding issue with Pythonika
I use Mathematica and Pythonika to run Python code inside it. And I'm not quite sure what causes my issue: all unicode Python objects look like this: ...
2
votes
1answer
126 views
Executing C programs within mathematica [duplicate]
I have a requirement for executing a C program within Mathematica. The user will provide the inputs and the expected results on a front end. Mathematica runs the C file, obtains the result for the ...
1
vote
0answers
74 views
Mathematica and Python integration? [duplicate]
Possible Duplicate:
Is there a way to run Python from within Mathematica?
I do see the latest version has R-link:
http://www.wolfram.co.uk/mathematica/new-in-9/built-in-integration-with-r/
...
3
votes
2answers
217 views
Pasting external PDF vector graphics without losing ability to export them
As in previous versions, Mathematica 9 on Mac OS X (10.7.5 here) still has a problem with pasted PDF graphics that were copied from external applications such as ...
4
votes
1answer
547 views
Is there a way to run Python from within Mathematica?
I know there is some support for running Mathematica from Python, but is there any way to do the reverse. For example, to import some Python classes and use them in Mathematica?
18
votes
3answers
3k views
How to use Mathematica functions in Python programs?
I'd like to know how can I call Mathematica functions from Python.
I appreciate a example, for example, using the Mathematica function Prime.
I had search about MathLink but how to use it in Python ...
19
votes
3answers
748 views
Calling IronPython code from Mathematica
I'd like to call some IronPython code from Mathematica using .NET/Link.
The problem is that the code lives in .py files, yet from Mathematica I can only load .NET assemblies which are DLLs.
So it ...