<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Python Hello World Example: How To Write and Execute Python Program on Unix OS</title>
	<atom:link href="http://www.thegeekstuff.com/2009/09/python-hello-world-example-how-to-write-and-execute-python-program-on-unix-os/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2009/09/python-hello-world-example-how-to-write-and-execute-python-program-on-unix-os/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:04:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: oj</title>
		<link>http://www.thegeekstuff.com/2009/09/python-hello-world-example-how-to-write-and-execute-python-program-on-unix-os/comment-page-1/#comment-130384</link>
		<dc:creator>oj</dc:creator>
		<pubDate>Thu, 06 Oct 2011 05:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2122#comment-130384</guid>
		<description>it works fine I used nano editor</description>
		<content:encoded><![CDATA[<p>it works fine I used nano editor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.thegeekstuff.com/2009/09/python-hello-world-example-how-to-write-and-execute-python-program-on-unix-os/comment-page-1/#comment-38061</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 06 Mar 2010 19:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2122#comment-38061</guid>
		<description>Richard,
    It sounds like your helloworld.py file is not in your desktop directory.  You need to be in the directory where your python file is located currently in order for the author&#039;s instructions to work.  In a terminal do an &#039;ls&#039; without quotes.  If you&#039;re helloworld.py file is not listed, you&#039;re probably not in the right directory (a.k.a. &quot;folder&quot;).  You can use the cd .. command to the parent directory of your desktop, or cd  to go to a subdirectory.</description>
		<content:encoded><![CDATA[<p>Richard,<br />
    It sounds like your helloworld.py file is not in your desktop directory.  You need to be in the directory where your python file is located currently in order for the author&#8217;s instructions to work.  In a terminal do an &#8216;ls&#8217; without quotes.  If you&#8217;re helloworld.py file is not listed, you&#8217;re probably not in the right directory (a.k.a. &#8220;folder&#8221;).  You can use the cd .. command to the parent directory of your desktop, or cd  to go to a subdirectory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.thegeekstuff.com/2009/09/python-hello-world-example-how-to-write-and-execute-python-program-on-unix-os/comment-page-1/#comment-31929</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 01 Feb 2010 13:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2122#comment-31929</guid>
		<description>I decided to try the text editor approach. 
Step one I saved as helloworld.py  . 
Step two in my terminal showed what it shows in step two here.
Step three in my terminal didn&#039;t go so well:

a1@a1-desktop:~$ ./helloworld.py
bash: ./helloworld.py: No such file or directory

a1@a1-desktop:~$ python helloworld.py
python: can&#039;t open file &#039;helloworld.py&#039;: [Errno 2] No such file or directory

a1@a1-desktop:~$ chmod u+x helloworld.py
chmod: cannot access `helloworld.py&#039;: No such file or directory

This worked.
a1@a1-desktop:~$ python -c &#039;print &quot;hello world!&quot;&#039;
hello world!

What have I not done correctly here?</description>
		<content:encoded><![CDATA[<p>I decided to try the text editor approach.<br />
Step one I saved as helloworld.py  .<br />
Step two in my terminal showed what it shows in step two here.<br />
Step three in my terminal didn&#8217;t go so well:</p>
<p>a1@a1-desktop:~$ ./helloworld.py<br />
bash: ./helloworld.py: No such file or directory</p>
<p>a1@a1-desktop:~$ python helloworld.py<br />
python: can&#8217;t open file &#8216;helloworld.py&#8217;: [Errno 2] No such file or directory</p>
<p>a1@a1-desktop:~$ chmod u+x helloworld.py<br />
chmod: cannot access `helloworld.py&#8217;: No such file or directory</p>
<p>This worked.<br />
a1@a1-desktop:~$ python -c &#8216;print &#8220;hello world!&#8221;&#8216;<br />
hello world!</p>
<p>What have I not done correctly here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.thegeekstuff.com/2009/09/python-hello-world-example-how-to-write-and-execute-python-program-on-unix-os/comment-page-1/#comment-31927</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Mon, 01 Feb 2010 12:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2122#comment-31927</guid>
		<description>Are you typing Step 1 into the terminal, or are you using a text-editor program (or similar program)?  And if the latter, are you saving it, for example: &quot;HelloWorld.py&quot;  ?
I appreciate your help.
-Richard</description>
		<content:encoded><![CDATA[<p>Are you typing Step 1 into the terminal, or are you using a text-editor program (or similar program)?  And if the latter, are you saving it, for example: &#8220;HelloWorld.py&#8221;  ?<br />
I appreciate your help.<br />
-Richard</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 16:10:53 -->
