ensure that the
programs that I write are completely portable.
Thanks again,
Katt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
As I am a beginner I am constantly assimilating new python code and vocabulary
associated with it.
Could someone please explain to me what a super class is, its importance and
what level of python programming it is(beginner,intermediate,advanced
programming technique)?
This would greatly help
,
Katt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hello all,
Numerous times I see the following as the first line of a python program:
#! /usr/bin/python
What is this for or do for the program?
Thanks in advance,
Katt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription
From: "Mark K. Zanfardino"
To: Katt
Cc: tutor@python.org
Subject: Re: [Tutor] First line of a python program
In computing, a shebang (also called a hashbang, hashpling, pound bang,
or crunchbang) refers to the characters "#!" when they are the first two
characters in a
From: Steve Willoughby
To: Katt
The name is a humorous reference to the "cursor" on the screen which this
package controls for the application, moving it around (and curses even
Now I understand. Makes sense. If "Curses" is for UNIX what would I use on
a Windows XP
Hello All,
Is it possible to change text color on a WinXP system by just using the Ansi
escape codes. I have tried, but it just shows the start and end text of the
code, but it doesn't change the color.
I have tried placing the following before and aft the variable I wish to
change:
print
Message: 2
Date: Tue, 13 Oct 2009 06:24:42 -0400
From: Dave Angel
To: Alan Gauld
Cc: tutor@python.org, Katt
Subject: Re: [Tutor] Shebang (#!) in the first line of a python script
Message-ID: <4ad4556a.2020...@ieee.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Alan
Message: 3
Date: Tue, 13 Oct 2009 11:34:15 +0100
From: Tim Golden
Cc: tutor@python.org
Subject: Re: [Tutor] Changing text colors on WinXP py2.6.2
Message-ID: <4ad457a7.5030...@timgolden.me.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Katt wrote:
Is it possible to
on 3: If the above 2 are correct is it just a matter of doing the
following:
print "The remaining number of apples is: "RGB(red),number_apples
The above print statement would yield just the number_apples variable in
red text.
Thanks in advance,
Katt
__
Hello All,
Message: 4
Date: Wed, 14 Oct 2009 18:38:31 +0100
From: "Alan Gauld"
To: tutor@python.org
Subject: Re: [Tutor] PyWin32 - Library of functions to interact with
windows?
"Katt" wrote
Now I find myself scratching my head and saying to myself: "now what?"
Date: Thu, 15 Oct 2009 08:11:11 +0100
From: "Alan Gauld"
To: tutor@python.org
Subject: Re: [Tutor] Changing the color of text in the windows shell
(WinXP/python 2.6.2)
Message-ID:
"Katt" wrote
lucky). So I will pursue all three types of changing color.
First I will
Message: 4
Date: Thu, 15 Oct 2009 09:35:30 +0100
From: Tim Golden
Cc: tutor@python.org
Subject: Re: [Tutor] PyWin32 - Library of functions to interact with
windows?
Message-ID: <4ad6ded2.5040...@timgolden.me.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Katt wrote:
Hel
t. Could you not just put choice =
int(raw_input(prompt)) instead of using two different statements? Or is it
that my example will return as string?
The third is the "try" statement. How is this different from the "for" loop
or "if" loop?
The fourth is exce
he WConio module.
The fourth line puzzles me though. I think it says that when the textcolor
returns the zero that it doesn't print the None? I am not sure though.
Could you let me know if I have the right idea?
Thanks in advance,
Katt
___
Message: 7
Date: Fri, 16 Oct 2009 13:54:37 +0100
From: "Alan Gauld"
To: tutor@python.org
Subject: Re: [Tutor] PyWin32 - Library of functions to interact with
windows
Message-ID:
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=response
&quo
python knowledge preventing me from seeing the meaning of
the question?
Thanks in advance,
Katt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
s():
print "\nReading text file into program: reminders.txt"
text_file = open("important", "r")
dates = text_file.readlines()
text_file.close()
important_dates = dates.split()
print dates
print important_dates
#
read_important_dates()
---
me why my read_reminders function retrieves the
information, but cannot process that information?
When I try and run the program I get the following error message:
Reading text file into program: reminders.txt
[['Reminder1,2010_10_15'], ['Reminder2,2010_11_01'],
['Reminder3,2010_11_15']]
Traceback (most recent call last):
File "reminders.py", line 182, in
print reminders
NameError: name 'reminders' is not defined
Thanks in advance for your help,
Katt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
?
When I try and run the program I get the following error message:
Reading text file into program: reminders.txt
[['Reminder1,2010_10_15'], ['Reminder2,2010_11_01'],
['Reminder3,2010_11_15']]
Traceback (most recent call last):
File "reminders.py",
the "cyear" in stead of just the
"c".
All input is appreciated.
Thanks in advance,
Katt
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
am getting the posts in
a Digest manner. Let me know if you have any suggestions.
Now back to message at hand:
Message: 3
Date: Thu, 5 Nov 2009 21:34:31 -0600
From: Wayne Werner
To: Katt
Cc: tutor
Subject: Re: [Tutor] Change a text string from a list and change it
into an integer number
22 matches
Mail list logo