Forum: Python Nov 19th, 2008 |
| Replies: 4 Views: 471 Thanks, this helps a lot. I'm ever so slowly learning to actually like working with python, and every little stupid question answered is a step in that direction. |
Forum: Python Nov 18th, 2008 |
| Replies: 6 Views: 595 I should have posted this a long time ago, but anyway:
Thanks for the help, this cleared up a lot. |
Forum: Python Nov 18th, 2008 |
| Replies: 4 Views: 471 I'm trying to get to grips with using files, particurlarly saving a set of inputs from the user into a file and then load it all back up again.
I have a program which, through a little object... |
Forum: Python Oct 23rd, 2008 |
| Replies: 6 Views: 595 Ah, sub-christ, that hurt. Well, I'm learning, I'm learning. Thanks!
Right, so with your assistance I've managed to get the program I'm working on functional. Just one little detail, which is... |
Forum: Python Oct 23rd, 2008 |
| Replies: 6 Views: 595 Haha, great forum - write a dumb question, wait an hour, get a good answer. That seems to be what I'm after, but of course I always have a few more dumb questions.
So if I write the whole program... |
Forum: Python Oct 23rd, 2008 |
| Replies: 6 Views: 595 I've gotten a little bit furter in understanding the general workings of python, and currently I'm fidgeting with classes and objects. I was thinking of the possibilities of having a program with a... |
Forum: Python Oct 20th, 2008 |
| Replies: 1 Views: 423 Here I go with yet another of my don't-get-the-syntax-problems. For some reason I tend to get a lot more from putting a question here than reading through a few dozen pages of documentation, which I... |
Forum: Python Oct 20th, 2008 |
| Replies: 6 Views: 470 Well, I got something working, looks like this:
word = input("Enter word to look up: ")
selection = [item for item in tuplelist if item[0] == word]
if selection:
a... |
Forum: Python Oct 20th, 2008 |
| Replies: 6 Views: 470 It would, this is just a matter of me wanting to understand this completely; the way I see it, you don't get good at things by ignoring the parts you don't grasp immediately.
Still, though, there... |
Forum: Python Oct 19th, 2008 |
| Replies: 6 Views: 470 Thanks for the quick reply, now at least I understand that much more. Just one more of those staring-at-semantics-error-not-getting-what-the-syntax-wants-problems:
As far as I understand, the... |
Forum: Python Oct 19th, 2008 |
| Replies: 6 Views: 470 The comments are running willy-nilly, but at least in the pre-view mode it helps to click "Toggle Plain Text".
if wish == 1: #Menu option
word =... |
Forum: Python Oct 12th, 2008 |
| Replies: 3 Views: 423 Yea, I realise using lists for this purpose isn't exactly the optimal way of going about it, but it was part of a task a while back and it just got me thinking in those tracks... how does this work,... |
Forum: Python Oct 12th, 2008 |
| Replies: 3 Views: 423 A real simple one, just a question of understanding the python syntax I suppose. I won't waste your time by throwing the whole program at you, I think my question can be boiled down to this:
a =... |