McBooCzech [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Newbie in Python.
I did copy the whole script form the web and save it as para1.py. I did
download pyparsing module and save it to
C:\\Python23\\Lib\\pyparsing122.
I did run following script:
import sys
Newbie in Python.
I did copy the whole script form the web and save it as para1.py. I did
download pyparsing module and save it to
C:\\Python23\\Lib\\pyparsing122.
I did run following script:
import sys
sys.path.append('C:\\Python23\\Lib\\pyparsing122')
from pyparsing import *
extraLineBreak =
You can download the code from the web directly now at:
http://homepage.mac.com/spkane/python/
Thanks for all the code suggestions. This is what I was hoping for, but
was honestly suprised to actually get it all, although I did get at
least one emotional blast, so I don't feel like Usenet has
I ported the old (and long since removed) game from the bsd-game
pacakge called, Paranoia, based on the old Paranoia role playing game
from C to Python as a simple exercise in learning the language and pure
late night boredom. Anyways, here it is for anyone looking for a few
minutes of
[EMAIL PROTECTED] wrote:
Aahz wrote:
Trust the computer, the computer is your friend.
However, the computer isn't a fuckin' mind reader.
If you're going to post source code on the usenet, don't
have lines longer than 72 characters. Otherwise you'll
find your code has wrapped lines. This not only
Lucas Raab wrote:
[EMAIL PROTECTED] wrote:
Aahz wrote:
Trust the computer, the computer is your friend.
However, the computer isn't a fuckin' mind reader.
If you're going to post source code on the usenet, don't
have lines longer than 72 characters. Otherwise you'll
find your
Terry Reedy wrote:
Never saw this specific game. Some suggestions on additional factoring out
of duplicate code.
def next_page(this_page):
print \n
if this_page == 0:
page = 0
return
The following elif switch can be replaced by calling a selection from a
list of functions:
[None,
Oh cool, I sort of remember that game from back in the day. I didn't
play it very much so never got very far in it. I'll have to try your
version.
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
In article [EMAIL PROTECTED],
Lucas Raab [EMAIL PROTECTED] wrote:
Sean P. Kane wrote:
I ported the old (and long since removed) game from the bsd-game pacakge
called, Paranoia, based on the old Paranoia role playing game from C to
Python as a simple exercise in learning the language
Aahz wrote:
Trust the computer, the computer is your friend.
However, the computer isn't a fuckin' mind reader.
If you're going to post source code on the usenet, don't
have lines longer than 72 characters. Otherwise you'll
find your code has wrapped lines. This not only causes
syntax errors
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Aahz wrote:
Trust the computer, the computer is your friend.
However, the computer isn't a fuckin' mind reader.
If you're going to post source code on the usenet, don't
have lines longer than 72 characters. Otherwise you'll
find
Paul McGuire wrote:
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Aahz wrote:
Trust the computer, the computer is your friend.
However, the computer isn't a fuckin' mind reader.
If you're going to post source code on the usenet, don't
have lines longer than 72
12 matches
Mail list logo