[Tutor] Looking for some direction

2019-05-11 Thread Cranky Frankie
if possible. 5) I'm really having trouble envisioning the GUI screens. How does one get a handle on that? Just draw the screens on paper, or what? Any ideas very much appreciated. -- Frank L. "Cranky Frankie" Palmeri, Risible Riding Raconteur & Writer "I never lose. I ei

Re: [Tutor] Running Python 3 on Linux Mint

2019-01-14 Thread Cranky Frankie
On Sun, Jan 13, 2019 at 2:04 PM Alan Gauld via Tutor wrote: > "You don't say which Mint version but assuming its 17 or > greater then you can just use the software manager > (or Synaptic) and install the python3 packages." > > Thanks so much, I'm all set now. --

[Tutor] Running Python 3 on Linux Mint

2019-01-13 Thread Cranky Frankie
I want to start developing an application in Python 3 on my main computer which runs Linux Mint with Python 2.7. What is the best way to work with Python 3 on this system? -- Frank L. "Cranky Frankie" Palmeri, Risible Riding Raconteur & Writer "If you have a garden and

Re: [Tutor] graphics library for teaching Python

2018-12-21 Thread Cranky Frankie
_____ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > -- Frank L. "Cranky Frankie" Palmeri, Risible Riding Raconteur & Writer "If you have a garden and a library, you have e

Re: [Tutor] Curious dictionary printing

2012-05-08 Thread Cranky Frankie
. At first, when I simply wanted to print one entry and it came out in what looked like a random order, this didn't occur to me. A normal dictionary is in fact ordered. Sorry for the disturbance. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “The problem with quotes

[Tutor] Curious dictionary printing

2012-05-07 Thread Cranky Frankie
': 'joe.nam...@gmail.com', 'stadium': 'Shea Stadium'} Why is it out of order? -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “The problem with quotes on the Internet is that it is often difficult to verify their authenticity.” - Abraham Lincoln

[Tutor] running an imported function

2012-04-27 Thread Cranky Frankie
()? -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “The problem with quotes on the Internet is that it is often difficult to verify their authenticity.” - Abraham Lincoln ___ Tutor maillist - Tutor@python.org To unsubscribe or change

[Tutor] New to Python programing

2012-04-03 Thread Cranky Frankie
vidoes there as well. Just something else to check out. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “The problem with quotes on the Internet is that it is often difficult to verify their authenticity.” - Abraham Lincoln ___ Tutor

Re: [Tutor] New to Python programing

2012-04-03 Thread Cranky Frankie
On Tue, Apr 3, 2012 at 10:09 AM, Christian Witts cwi...@compuscan.co.za wrote: Are you possibly thinking of the Khan Academy [1] ? [1] http://www.khanacademy.org/ Yes, that was it, thanks. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “The problem with quotes

[Tutor] New to this list ....

2012-03-30 Thread Cranky Frankie
and winds up with some nice games: http://www.amazon.com/Python-Programming-Absolute-Beginner-Edition/dp/1435455002/ref=sr_1_6?ie=UTF8qid=1333131438sr=8-6 -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “The problem with quotes on the Internet is that it is often difficult

[Tutor] roman to arabic

2012-02-27 Thread Cranky Frankie
or subroutines, depending on the language, to do big chunks of logic, so the main control flow is clean and easy to read, like structured programming in COBOL. Still, every language offers almost unlimted indentation, so it's up to the programmer to not use it? Frank L. Cranky Frankie Palmeri Risible

[Tutor] specific recommendation for a Python book, to move

2012-02-15 Thread Cranky Frankie
The book I recommend is Python Programming, Third Edition, for the Absolute Beginner, by Michael Dawson. It's Python 3 based. You go from knowing nothing to writing video games. I think it's great. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how

[Tutor] possibly a version error

2011-12-22 Thread Cranky Frankie
'urlopen' I'm wondering if this is because this is Python 2.x code? Can someone who has 2.x try to run this and let me know if that's the problem? Is there a way to get this to work in Python 3.2? -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist

[Tutor] possibly a version error

2011-12-22 Thread Cranky Frankie
: On Thu, Dec 22, 2011 at 5:33 PM, Cranky Frankie cranky.fran...@gmail.com wrote: On the bottom of this web page: http://developer.yahoo.com/python/python-xml.html is a program that reads an RSS feed for the weather and then parses the XML to show weather data by a zip code you input. I'm trying

[Tutor] possibly a version error

2011-12-22 Thread Cranky Frankie
{ 'current_condition': ycondition.getAttribute('text'), 'current_temp': ycondition.getAttribute('temp'), 'forecasts': forecasts, 'title': dom.getElementsByTagName('title')[0].firstChild.data } pprint(weather_for_zip(12303)) -- Frank L. Cranky Frankie Palmeri

[Tutor] pygame blinking text

2011-12-12 Thread Cranky Frankie
, bu: games.screen.delete(ty_message) doesn't work - delete is not a valid method. Is there any way to get blinking text with pygame? This is not a deal breaker, but I thought the blinking text would be neat. -- Frank L. Cranky Frankie Palmeri ___ Tutor

[Tutor] best book for OOP

2011-12-11 Thread Cranky Frankie
this book helpful. I just finished reading it for the second time! -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist - Tutor

[Tutor] What style do you call Python programming?

2011-12-09 Thread Cranky Frankie
to be with Python the whole thing is creating functions and then using loops, with an occasional BREAK or CONTINUE, to control program flow. I know it's Structured, but it's not like COBOL structured, if you know what I mean. I hope this is clear enough. -- Frank L. Cranky Frankie Palmeri

[Tutor] What style do you call Python programming?

2011-12-09 Thread Cranky Frankie
numbers, etc. I'd also be interested in reading the Python history file. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist

[Tutor] What style do you call Python programming?

2011-12-09 Thread Cranky Frankie
me. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options

[Tutor] tkinter message button questions

2011-11-30 Thread Cranky Frankie
I'd really like to know about it. Thanks again Peter, Wayne, and everyone else on the tutor list, you guys are great. -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http

[Tutor] problem with msg widget button

2011-11-29 Thread Cranky Frankie
that, it puts out *another* msg-widget! That is not what I want at all. I just want the next quote button to put the next quote in the box. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room

[Tutor] problem with msg widget button

2011-11-29 Thread Cranky Frankie
, no matter what size string is in it. Thanks Peter! -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist - Tutor

[Tutor] tkinter message button questions

2011-11-29 Thread Cranky Frankie
that a lot of the information on the message widget does not work in Python 3.1 - for example, the height parameter does not work in 3.1. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room

[Tutor] tkinter message button questions

2011-11-28 Thread Cranky Frankie
give it 100, so the program looks the same every time it's invoked. Is there a way to make a default sized message widget? -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http

[Tutor] sensing EOF in Python 3.1

2011-11-25 Thread Cranky Frankie
. In this case, you are reading the first and only pickled object, which happens to be a dict. You are of course, correct, thanks. I'll be fixing that. Steven thanks for your comments about comments, I'll be doing them over for sure. -- Frank L. Cranky Frankie Palmeri

[Tutor] Python 3 dictionary questions

2011-11-23 Thread Cranky Frankie
duplicates and the results are interesting, to say the least. 2) Is there a way to print out the actual value of the key, like Montana would be 0, Tarkington would be 1, etc? -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist - Tutor@python.org

[Tutor] sensing EOF in Python 3.1

2011-11-23 Thread Cranky Frankie
= pickle.load(pickle_file)# read the next record in the input file File D:\Python31\lib\pickle.py, line 1365, in load encoding=encoding, errors=errors).load() EOFError -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist - Tutor

[Tutor] sensing EOF in Python 3.1

2011-11-23 Thread Cranky Frankie
the pickled file pickle_file.close() # close the pickled file -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo

[Tutor] basic class loading question

2011-11-22 Thread Cranky Frankie
, but I'm having trouble getting it to work. -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] basic class loading question

2011-11-22 Thread Cranky Frankie
(quarterbacks.last_name(2)) -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription

Re: [Tutor] basic class loading question

2011-11-22 Thread Cranky Frankie
' object does not support indexing -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist - Tutor@python.org To unsubscribe

[Tutor] basic class loading question

2011-11-22 Thread Cranky Frankie
the original list of lists -- Frank L. Cranky Frankie Palmeri ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] command=F.quit not closing the sample TK program in Vista

2011-11-19 Thread Cranky Frankie
programs? Python just hangs, and Vista says it's not responding. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist - Tutor

[Tutor] command=F.quit not closing the sample TK program in Vista

2011-11-19 Thread Cranky Frankie
really confused:) -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer “How you do anything is how you do everything.” - from Alabama Crimson Tide training room ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription

[Tutor] Thank you!

2011-11-16 Thread Cranky Frankie
programming style (O-O, sturctured, etc.) I'm going to be doing a presentation on Python programming for database administrators. This script will help a lot to explain some of the basic concepts. Thanks again very much for your help. Python rocks! -- Frank L. Cranky Frankie Palmeri Risible Riding

[Tutor] interesting behaviour with postional output

2011-11-14 Thread Cranky Frankie
-proportional font to see it. I was hoping to not have the font be an issue. Very interesting. -- Frank L. Cranky Frankie Palmeri, Guilderland, NY, USA              Risible Riding Raconteur Writer Don't sweat the petty things, and don't pet the sweaty things

[Tutor] positional output

2011-11-11 Thread Cranky Frankie
to do it I'm all ears. I don't have my script available at the moment but I could send it if it would be helpful. -- Frank L. Cranky Frankie Palmeri, Guilderland, NY, USA              Risible Riding Raconteur Writer Don't sweat the petty things, and don't pet the sweaty things

[Tutor] positional output

2011-11-10 Thread Cranky Frankie
would be greatly appreciated. -- Frank L. Cranky Frankie Palmeri, Guilderland, NY, USA              Risible Riding Raconteur Writer Don't sweat the petty things, and don't pet the sweaty things. ___ Tutor maillist - Tutor@python.org To unsubscribe

[Tutor] string split function - how to tell how many splits

2011-11-08 Thread Cranky Frankie
of splits will be. How can I find out before trying to access an out of range index? -- Frank L. Cranky Frankie Palmeri, Guilderland, NY, USA              Risible Riding Raconteur Writer Don't sweat the petty things, and don't pet the sweaty things

[Tutor] Quote of the Day version 1.0

2011-08-31 Thread Cranky Frankie
to overcome himself. ) numAuthors = len(author) printAuthor = random.randrange(numAuthors) print(quotation[printAuthor]) print(by , author[printAuthor]) input(\nPress the enter key to exit.) -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer . . . and the extended forecast

[Tutor] fortune-like utility

2011-08-30 Thread Cranky Frankie
. snip Thanks Martin for the excellent suggestions. I read in the book that you have to use escape like /n when you want to span lines. I don't want to have to do that to each of my quotes, many of which span several lines, so I will look into your suggestions. Thanks again. -- Frank L. Cranky

[Tutor] Intro

2011-08-29 Thread Cranky Frankie
language. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer . . . and the extended forecast, until you come back to me, baby, is high tonight, low tomorrow, and precipitation is expected. - Tom Waits, Emotional Weather Report

Re: [Tutor] Tutor Digest, Vol 90, Issue 97

2011-08-29 Thread Cranky Frankie
IMHO. Alan seems to use address books (anyhow initially). Now I can see the point in that. I'm sorry you were offended by my posts. If others were as well let me know and I'll unsubscribe immediately. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer

Re: [Tutor] Intro

2011-08-29 Thread Cranky Frankie
-- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer . . . and the extended forecast, until you come back to me, baby, is high tonight, low tomorrow, and precipitation is expected. - Tom Waits, Emotional Weather Report ___ Tutor maillist

Re: [Tutor] Tutor Digest, Vol 90, Issue 98

2011-08-29 Thread Cranky Frankie
be a nice, simple way to get started with Python. -- Frank L. Cranky Frankie Palmeri Risible Riding Raconteur Writer . . . and the extended forecast, until you come back to me, baby, is high tonight, low tomorrow, and precipitation is expected. - Tom Waits, Emotional Weather Report