<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to execute .sh and .py file in the workspace? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-execute-sh-and-py-file-in-the-workspace/m-p/28995#M20752</link>
    <description>&lt;P&gt;I want to execute shell script which is running .py file. May I know how to run .sh file and .py files in Databricks workspace?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 18:53:28 GMT</pubDate>
    <dc:creator>jimnaik</dc:creator>
    <dc:date>2022-02-09T18:53:28Z</dc:date>
    <item>
      <title>How to execute .sh and .py file in the workspace?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-execute-sh-and-py-file-in-the-workspace/m-p/28995#M20752</link>
      <description>&lt;P&gt;I want to execute shell script which is running .py file. May I know how to run .sh file and .py files in Databricks workspace?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 18:53:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-execute-sh-and-py-file-in-the-workspace/m-p/28995#M20752</guid>
      <dc:creator>jimnaik</dc:creator>
      <dc:date>2022-02-09T18:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute .sh and .py file in the workspace?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-execute-sh-and-py-file-in-the-workspace/m-p/28996#M20753</link>
      <description>&lt;P&gt;Launch a cluster and then go to `Data` section of your workspace. Hit DBFS tab at the top and upload your script and python file into a DBFS location like `/mnt`. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, open a notebook and you can run a shell commands by using `%sh` in the cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sh
ls /dbfs/mnt/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 14:21:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-execute-sh-and-py-file-in-the-workspace/m-p/28996#M20753</guid>
      <dc:creator>AmanSehgal</dc:creator>
      <dc:date>2022-02-10T14:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute .sh and .py file in the workspace?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-execute-sh-and-py-file-in-the-workspace/m-p/28997#M20754</link>
      <description>&lt;P&gt;I tried executing like this and it worked: %sh /dbfs/***/***/***.sh &lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 16:45:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-execute-sh-and-py-file-in-the-workspace/m-p/28997#M20754</guid>
      <dc:creator>jimnaik</dc:creator>
      <dc:date>2022-02-14T16:45:58Z</dc:date>
    </item>
  </channel>
</rss>

