Thanks, you are correct of course. I need to just scrap this and start
over, but I understand it a lot better now.
On Sun, May 22, 2011 at 4:57 PM, Alan Gauld wrote:
> "Becky Mcquilling" wrote
>
> I'm doing a tutorial and was given a problem, using shelve.
>>
>
> Remember that a shelve is bas
On 2011-05-22 14:09:39 -0400, michael scott said:
I want to start getting into web site development. I already know basic
html and css, which will create a basic webpage. But my question is
what exactly does python bring to the web?
Are forums, blogs, flash sites, etc the results of web progr
On Mon, 23 May 2011 04:09:39 am michael scott wrote:
> I want to start getting into web site development. I already know
> basic html and css, which will create a basic webpage. But my
> question is what exactly does python bring to the web?
>
> Are forums, blogs, flash sites, etc the results of we
"Becky Mcquilling" wrote
I'm doing a tutorial and was given a problem, using shelve.
Remember that a shelve is basically a dictionary stored
in a file rather than in memory. So treat it like you would
a dictionary.
Here is what I have so far:
import shelve
def user_scores():
user_name =
"Tidal Espeon" wrote
I've been trying to make a text-based character creator program,
...chapter about learning lists and dictionaries, ...
I've been trying to think of how lists and dictionaries
can be useful ... but I fail to see any significant connection.
OK, Assuming your characters a
On 22 May 2011 21:29, Tidal Espeon wrote:
> I've been trying to make a text-based character creator program, and it was
> going pretty well. I was debugging it earlier, and I was well on my way. The
> problem is, that its something I have to do at the end of a python book's
> chapter about learni
> That's pretty much all you need to know to start using objects. There's
> a lot more though: inheritance, class methods and static methods (as
> opposed to ordinary methods), properties, descriptors (advanced!),
> slots, and more. But one step at a time.
>
> Any questions, don't hesitate to ask!
On Sun, May 22, 2011 at 11:11 PM, Becky Mcquilling
wrote:
> I realize this is a fairly generic type of question, but being new to
> programming, I'm not sure how best to approach it.
> I'm doing a tutorial and was given a problem, using shelve. It's taking a
> user name and then asking for scores
I realize this is a fairly generic type of question, but being new to
programming, I'm not sure how best to approach it.
I'm doing a tutorial and was given a problem, using shelve. It's taking a
user name and then asking for scores in a game, until you end the loop.
Whatever score is the high sc
I've been trying to make a text-based character creator program, and it was
going pretty well. I was debugging it earlier, and I was well on my way. The
problem is, that its something I have to do at the end of a python book's
chapter about learning lists and dictionaries, and I didn't use either i
Please see the Django framework and Google App Engine using Python.
I particularly recommend the GAE using Python to create a basic data driven
application. It will give answers to quite a few of your questions.
Regards
SWP
On Sun, May 22, 2011 at 11:39 PM, michael scott wrote:
> I want to start
"michael scott" wrote
I want to start getting into web site development. I already
know basic html and css, which will create a basic webpage.
But my question is what exactly does python bring to the web?
Action.
Your HTML/CSS web page cannot do anything it is just static
information. Using
I want to start getting into web site development. I already know basic html
and
css, which will create a basic webpage. But my question is what exactly does
python bring to the web?
Are forums, blogs, flash sites, etc the results of web programming or can they
all be achieved with standard ht
Robert...I am similarly where you are stuck, a beginner with little insight, so
my perspective might have some draw to it. Try this on for size - while
watching a friend stencil Christmas decorations on living room windows last
year, it dawned on me that a class is quite simply - a stencil.
Wh
Wow I did not see that, long day and night :) thanks a lot.
Regards Rayon
-Original Message-
From: tutor-bounces+evosweet=hotmail@python.org
[mailto:tutor-bounces+evosweet=hotmail@python.org] On Behalf Of Steven
D'Aprano
Sent: Sunday, May 22, 2011 8:23 AM
To: tutor@python.org
Subj
On Sun, 22 May 2011 09:51:44 pm Rayon wrote:
> I am trying to import lxml
>
> from lxml import etree
And that succeeds fine. Your problem lies elsewhere.
> bb = etree.Element(self.get_time)
> return str(bb)
In future, please copy and paste (do NOT retype, simplify or summarize)
the full tr
I am trying to import lxml
from lxml import etree
bb = etree.Element(self.get_time)
return str(bb)
and I get this error:
File "C:\Python26\lib\site-packages\lxml\apihelpers.pxi", line 1480, in
lxml.etree.__getNsTag (src/lxml/lxml.etree.c:23373)
File "C:\Python26\lib\site
17 matches
Mail list logo