A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/066593.html below:

Newbie Question

Newbie Question Newbie QuestionGregory T. Weber angler at voicenet.com
Sun Apr 15 16:19:33 EDT 2001
I just started with the Learning Python book and was not able to get one
of the simplest programs working.  I suspect that the installation
is at fault and want to confirm before going any further.  Using Python 2.0 on Solaris 2.6.

The code is

#! /usr/bin/python

print 'First Program'

At the command line this works fine

> python first.py
First Program

After making first.py executable I figured I could do this

>first.py

but I get the error

print: Command not found.


Thanks,

Greg
More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4