<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Is it possible to merge languages such as python and CSS together?]]></title><description><![CDATA[<p dir="auto">I'm thinking of designing a CSS web interface to run a python script I made. But I'm left wondering whether it'd be possible to add a user interface to a python script using CSS. Cos its another problem to learn python native web development programmes like flask and Django</p>
]]></description><link>https://lankadevelopers.lk/topic/134/is-it-possible-to-merge-languages-such-as-python-and-css-together</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 06:54:36 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/134.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Feb 2019 19:09:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is it possible to merge languages such as python and CSS together? on Sat, 02 Feb 2019 12:11:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/2">@dev_lak</a>  Thank you very much for letting me know.</p>
]]></description><link>https://lankadevelopers.lk/post/888</link><guid isPermaLink="true">https://lankadevelopers.lk/post/888</guid><dc:creator><![CDATA[firewalker]]></dc:creator><pubDate>Sat, 02 Feb 2019 12:11:14 GMT</pubDate></item><item><title><![CDATA[Reply to Is it possible to merge languages such as python and CSS together? on Sat, 02 Feb 2019 11:58:16 GMT]]></title><description><![CDATA[<p dir="auto">Well, this question is too board 😐<br />
But suggest you to check some frameworks line electronJs. You can run python script using a child process. Also check <a href="https://github.com/cztomczak/cefpython" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/cztomczak/cefpython</a> don't know anything about it.<br />
At the end of the day you must know most of HTML, CSS and Javascript including xml or json.</p>
]]></description><link>https://lankadevelopers.lk/post/886</link><guid isPermaLink="true">https://lankadevelopers.lk/post/886</guid><dc:creator><![CDATA[the_inspired_dev]]></dc:creator><pubDate>Sat, 02 Feb 2019 11:58:16 GMT</pubDate></item><item><title><![CDATA[Reply to Is it possible to merge languages such as python and CSS together? on Sat, 02 Feb 2019 04:05:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/730">@firewalker</a> you can run a python script in PHP like below -</p>
<pre><code>&lt;?php 

$command = escapeshellcmd('/usr/python/myscript.py');
$output = shell_exec($command);
echo $output;

?&gt;
</code></pre>
<p dir="auto">Remember to add below line to top of <code>myscript.py</code></p>
<pre><code>#!/usr/bin/env python
</code></pre>
<p dir="auto">Also python script needs correct priviliges and execution permission, and all the commands in python script needs correct priviliges. (For ubuntu server)</p>
]]></description><link>https://lankadevelopers.lk/post/883</link><guid isPermaLink="true">https://lankadevelopers.lk/post/883</guid><dc:creator><![CDATA[dev_lak]]></dc:creator><pubDate>Sat, 02 Feb 2019 04:05:57 GMT</pubDate></item></channel></rss>