but
I'd like to have a nice class diagram 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
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 se
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
thoughts would be appreciated.
>
> Mike
> ___
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
--
Frank L. "Cranky Frankie" Palmeri,
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
when I print it:
print(Namath)
I get:
{'phone': '212-222-', 'first_name': 'Joe', 'last_name': 'Namath',
'email': 'joe.nam...@gmail.com', 'stadium': 'Shea Stadium'}
Why is it out of
a way I can import clr.py and then run clr()?
--
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
___
On Tue, Apr 3, 2012 at 10:09 AM, Christian Witts 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
here are many Python specific 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 thei
and winds up with some nice games:
http://www.amazon.com/Python-Programming-Absolute-Beginner-Edition/dp/1435455002/ref=sr_1_6?ie=UTF8&qid=1333131438&sr=8-6
--
Frank L. "Cranky Frankie" Palmeri
Risible Riding Raconteur & Writer
“The problem with quotes on the Internet i
ot; 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 Riding Raconteur & Writer
“How you do anything is how you do everythin
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
“Ho
ute('text')
})
ycondition = dom.getElementsByTagNameNS(WEATHER_NS, 'condition')[0]
return {
'current_condition': ycondition.getAttribute('text'),
'current_temp': ycondition.getAttribute('temp'),
'
2011 at 5:33 PM, Cranky Frankie
> 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 i
7; object has no attribute '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" Palme
y = games.screen.height/2,
n_repeats = 0,
repeat_interval = 50)
games.screen.add(screen_refresh)
games.screen.mainloop()
--
Frank L. "Cranky Frankie" Palmeri
___
Tutor maillist
ssage and
readd it, over and over in a loop with a delay, 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 tex
sense
(simple video games). I really found 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 Alabam
From: Dave Angel
<>
Probably because I work in a shop that still heavily uses older
languages like COBOL and CULPRIT where you still deal with labels,
branching, goto, etc. The fact that it is possible to code
"structured" that way AND the Python way amazes me.
--
Frank L.
even with
line 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
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. &quo
y 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://mail.python.org/mailman/listinfo/tutor
find 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
7;s a grid manager as well. I'll have to try that. All I want is
the msg_widget to display the same size each time, no matter what size
string is in it.
Thanks Peter!
--
Frank L. "Cranky Frankie" Palmeri
Risible Riding Raconteur & Writer
“H
when I do
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 Alaba
bove to
display as a box capable of storing, say, 1,000 characters, even if I
only 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
___
time.
<>
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 maillist - Tutor@pyth
e.close()
#
# pickle_in.py
# program to read in a pickled file
#
# Frank L. Palmeri
#
import pickle # import the pickle
module
pickle_file = open("d:/Work/pickle_file", "rb") # open the pickled file
read_list = pickle.load(pickle_file)# read the first pickled row
print(read_list)# print the input row from
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
hon\pickle_in.py", line 21, in
read_file = 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"
ann...@gmail.com",
"Louisiana Superdome"],
"Staubach": ["Roger","214-765-8989", "roger.staub...@gmail.com",
"Cowboy Stadium"]}
print(Qb_Dict["Elway"],"\n") # print a dictionary
ce of class Qb called "nq"
#and populate each field
quarterbacks.append(nq) # Append an instance of object
"nq" into object list "quarterbacks"
i = i + 1 # Iterate for each row in "Qb_
quarterbacks[2].last_name)
TypeError: 'Qb' 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
__
uot;],
["Archie", "Manning", "504-888-1234", "archie.mann...@gmail.com",
"Louisiana Superdome"],
["Roger", "Staubach", "214-765-8989", "roger.staub...@gmail.com",
"Cowboy Stadium"]]
len_Qb_list
ai.com", "Mile
High Stadium"],
["Archie", "Manning", "504-888-1234", "archie.mann...@gmail.com",
"Louisiana Superdome"],
["Roger", "Staubach", "214-765-8989", "roger.staub...@gmail.com&quo
w I'm 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
roblem with the sample 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
e program
- it can work in any 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. &quo
41st postion - but
you have to use a non-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
e the way to go. If there's
an easyier way 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
An example 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 -
t know what the number 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 p
ot;I have made a ceaseless effort not to ridicule, not to bewail,
not to scorn human actions, but to understand them.",
"In the depth of winter I finally learned there was in me an
invincible summer.",
"Who has a harder fight than he who is striving to overcome himself.&
;
> I would suggest starting with the data/format.
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 in
rted 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"
___
> swift...@swiftone.org
>
--
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 Repor
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
" . . . and the extended forecast,
until you come back to me, baby
tes a space invaders type game using some game modules - and this
in a beginner book! Amazing.
This is a great book about a great language.
--
Frank L. "Cranky Frankie" Palmeri
Risible Riding Raconteur & Writer
" . . . and the extended
47 matches
Mail list logo