<?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 Help with Python script in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-with-python-script/m-p/305999#M2124</link>
    <description>&lt;P&gt;Hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying with basic python script for Operational cmd. However getting syntax error&amp;nbsp; for print statement :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from pandevice import base&lt;BR /&gt;from pandevice import firewall&lt;BR /&gt;from pandevice import policies&lt;BR /&gt;from pandevice import objects&lt;BR /&gt;from pandevice import network&lt;BR /&gt;from pandevice import device&lt;/P&gt;&lt;P&gt;fw = firewall.Firewall('x.x.x.x', '#######', '1#######')&lt;BR /&gt;print fw.op("show system info")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me on this&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 15:45:43 GMT</pubDate>
    <dc:creator>deepak12</dc:creator>
    <dc:date>2020-01-08T15:45:43Z</dc:date>
    <item>
      <title>Help with Python script</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-with-python-script/m-p/305999#M2124</link>
      <description>&lt;P&gt;Hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying with basic python script for Operational cmd. However getting syntax error&amp;nbsp; for print statement :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from pandevice import base&lt;BR /&gt;from pandevice import firewall&lt;BR /&gt;from pandevice import policies&lt;BR /&gt;from pandevice import objects&lt;BR /&gt;from pandevice import network&lt;BR /&gt;from pandevice import device&lt;/P&gt;&lt;P&gt;fw = firewall.Firewall('x.x.x.x', '#######', '1#######')&lt;BR /&gt;print fw.op("show system info")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me on this&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 15:45:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-with-python-script/m-p/305999#M2124</guid>
      <dc:creator>deepak12</dc:creator>
      <dc:date>2020-01-08T15:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Python script</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-with-python-script/m-p/306013#M2125</link>
      <description>&lt;P&gt;if you are using python3, then the print command is print(...)&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 16:40:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-with-python-script/m-p/306013#M2125</guid>
      <dc:creator>JoergSchuetter</dc:creator>
      <dc:date>2020-01-08T16:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Python script</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-with-python-script/m-p/306693#M2133</link>
      <description>&lt;P&gt;Thanks , its working now .&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 18:51:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/help-with-python-script/m-p/306693#M2133</guid>
      <dc:creator>deepak12</dc:creator>
      <dc:date>2020-01-14T18:51:39Z</dc:date>
    </item>
  </channel>
</rss>

