Difference between revisions of "Using Python in Lazarus on Windows/Linux"

From Free Pascal wiki
Jump to navigationJump to search
(Created page with "= Intro = I need to make app, cross platform, Win/Linux, which embeds Python engine. I tried Python4delphi, but it doesn't compile and work on Linux x64")
 
Line 1: Line 1:
 
= Intro =
 
= Intro =
  
I need to make app, cross platform, Win/Linux, which embeds Python engine. I tried Python4delphi, but it doesn't compile and work on Linux x64
+
I need to make app, cross platform, Win/Linux, which embeds Python engine.  
 +
I tried Python4Delphi, but it doesn't compile and work on Linux x64. Same app must run on Win and Linux, must use portable Python 3 on Win and system Python 3 on Linux.
 +
 
 +
= Result =
 +
 
 +
Links
 +
 
 +
* [https://github.com/Alexey-T/Python-for-Lazarus modified Python4Delphi]
 +
* [https://github.com/Alexey-T/SynLite app]
 +
 
 +
Work on Ubuntu x64
 +
 
 +
[[File:Python app Linux.png]]
 +
 
 +
Work on Windows7
 +
 
 +
[[File:Python app Windows.png]]

Revision as of 22:21, 8 February 2015

Intro

I need to make app, cross platform, Win/Linux, which embeds Python engine. I tried Python4Delphi, but it doesn't compile and work on Linux x64. Same app must run on Win and Linux, must use portable Python 3 on Win and system Python 3 on Linux.

Result

Links

Work on Ubuntu x64

Python app Linux.png

Work on Windows7

Python app Windows.png