MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Pythonika: Python in Mathematica


Murray Eisenberg schrieb:
> I'm having trouble getting Pythonica to start with Mathematica 5.2 on 
> Windows XP.
> 
> I'm using the supplied notebook Pythonika.nb.  I begin by evaluating the 
> cell
> 
>    app = "d:\Language\pythonika\bin\Windows\Pythonika.exe";
>    Install[app];
> 
> where app indeed gives the correct path to Pythonika.exe.  I get a 
> pop-up window asking, "Choose a MathLink program to launch".
> 
> Should I be selecting MathKernel.exe?  If I do, then the cell I 
> evaluated just keeps running (thickened cell bracket, and nothing 
> returned), and I cannot even get evaluation of the next cell --
> 
>    Links[app]
> 
> to return a result.
> 
> What am I doing wrong?
> 

Use double backslashes (as usual in Mathematica for Windows) or use ToFileName[]:

app = "D:\\Programme\\pythonika-1.0\\bin\\Windows\\Python2.4\\Pythonika.exe";
Install[app];


works for my installation of Pythonika.

P²


  • Prev by Date: Re: pattern matching: rules that stop other rules?
  • Next by Date: Re: pattern matching: rules that stop other rules?
  • Previous by thread: Re: Pythonika: Python in Mathematica
  • Next by thread: Subscript assignment incompatibility??