Forum: Geeks' Lounge 2 Days Ago |
| Replies: 14 Views: 300 Guess I know whom you voted for. |
Forum: Geeks' Lounge 2 Days Ago |
| Replies: 13 Views: 650 This isn't really a problem, but if it were, it would be quite a nice one to have. |
Forum: Python 14 Days Ago |
| Replies: 2 Views: 150 Ooh. didn't notice you were already using the book that I recommended (Incidentally the one I learned Python with). Have you tried the official Python tutorial?
... |
Forum: Python 16 Days Ago |
| Replies: 12 Views: 344 Whoa hey I did not even notice that! Yeah dude, to make methods in python Classes, set self as the first argument of every routine. To call a method from any method within the same class, do... |
Forum: Python 16 Days Ago |
| Replies: 12 Views: 344 Well, it's bad OOP.
Not that I actually think that everything has to be OOP mind you (some small programs are just better off without it), but take for example your methods list. Why is your... |
Forum: Python 17 Days Ago |
| Replies: 12 Views: 310 Sure, C++ is difficult for a beginner, but I recommend you go with it first *if* it is the only one being offered at your school. You will have the benefit of face to face support from your... |
Forum: Python 23 Days Ago |
| Replies: 7 Views: 253 Convert them all to lower case before using ord: l = l.lower() |
Forum: Python 23 Days Ago |
| Replies: 6 Views: 257 Not really sure what exactly you're trying to do... |
Forum: Python 30 Days Ago |
| Replies: 7 Views: 265 locals_dict = locals()
for i in range(1, 10):
var_name = "POS" + str(i)
if i == POS:
locals_dict[var_name] = "->"
else:
locals_dict[var_name] = " "
discalimer:... |
Forum: Python 32 Days Ago |
| Replies: 4 Views: 311 If you a using a GUI/event-driven framework, then yes, it's possible. If you are using console python, then no. |
Forum: Geeks' Lounge 32 Days Ago |
| Replies: 179 Views: 8,361 I say just ignore the thing until it crawls back under the bridge. It cannot be reasoned with. |
Forum: Geeks' Lounge 33 Days Ago |
| Replies: 179 Views: 8,361 (emphasis mine)
I actually just read this. It might as well have been:
I'm pretty sure GM wasn't raking in billions (yes, that's a b) in profits 6 years ago.
But you'd love MS to fail... |
Forum: Geeks' Lounge 33 Days Ago |
| Replies: 179 Views: 8,361 Where to start, where to start...
You simply aren't going to fool anyone by claiming "most techies use Linux". Your own poll proves you wrong. Perhaps "most people who enjoy tinkering around in... |
Forum: Geeks' Lounge 33 Days Ago |
| Replies: 179 Views: 8,361 Okay, I didn't read much of what was said (I tend not to pay much attention to fanboys). But anybody who says things like "Anyone who has a good understanding of operating systems in addition to... |
Forum: Geeks' Lounge 34 Days Ago |
| Replies: 179 Views: 8,361 I can tell already that you won't have much luck with Linux. |
Forum: Python 34 Days Ago |
| Replies: 3 Views: 208 Huh? You've said what you've done, but not what you're trying to do... |
Forum: Python Sep 26th, 2009 |
| Replies: 4 Views: 357 Thanks for the suggestion. I've been able to use wisent for what I want. |
Forum: Python Sep 22nd, 2009 |
| Replies: 4 Views: 308 http://tronche.com/gui/x/xlib-tutorial/ |
Forum: Python Sep 22nd, 2009 |
| Replies: 7 Views: 457 |
Forum: Python Sep 22nd, 2009 |
| Replies: 4 Views: 308 You'd think that before trying to write a desktop environment, one would actually learn up a bit about xlib and how it works. I can answer your question, but I don't want to. Feels a bit like fanning... |
Forum: Python Sep 21st, 2009 |
| Replies: 4 Views: 357 I could use the intepreter to evaluate, but that's not what I want. I want to parse the expressions into data structures that I can easily inspect in code.
So... this question is still open. |
Forum: Python Sep 21st, 2009 |
| Replies: 4 Views: 357 Is there an open source (lgpl, bsd, mit) math parser/lexer library available out there? Has anybody ever written one by themselves (with support for variables, exponents, grouping) and have some... |
Forum: Python Sep 20th, 2009 |
| Replies: 13 Views: 578 I'd like to see you try to implement one of the existing encryption algos, much less to coming up with your own.
Thought so. |
Forum: Python Sep 20th, 2009 |
| Replies: 5 Views: 697 Where is the cTurtle website? Do they have a .tar.gz source distribution? If they do try downloading, untarring and running python setup.py install. Also, make sure that you are running the correct... |
Forum: Python Sep 12th, 2009 |
| Replies: 6 Views: 307 bytes, as they exist in Python 3.1 are conceptually new to Python (starting with version 3). This isn't to say that 8-bit strings didn't exist before in the form of regular text strings. Note the... |
Forum: Python Sep 12th, 2009 |
| Replies: 6 Views: 307 I happen to think this behavior is consistent (with indexing and slicing rules).
Here's why it makes sense:
bytes and str are not the same. They aren't even conceptually the same.
A bytes... |
Forum: Python Sep 11th, 2009 |
| Replies: 5 Views: 645 You actually think that is more exotic? Wow. |
Forum: Python Sep 11th, 2009 |
| Replies: 6 Views: 307 No. b'\x01\x02' Is a byte string in python. The expression bs[x] means that you want the byte at position x in the bytestring x, while bs[a:b] means that you want the part of the byte string from a... |
Forum: Python Sep 6th, 2009 |
| Replies: 3 Views: 555 Just a few of my no-gos/failed projects:
1. Implement an open hashing or encryption algorithm
2. Write an IM program that encrypts the messages that it sends. (HINT: each user has a public... |
Forum: Python Sep 6th, 2009 |
| Replies: 12 Views: 547 Sigh.
No, python doesn't have clear screen. |
Forum: Python Sep 6th, 2009 |
| Replies: 15 Views: 513 (emphasis mine)
No, they won't. You see, there's no good reason anybody would want to do that. I guarantee you that anybody wanting to do this has a totally different underlying problem to which... |
Forum: Python Sep 6th, 2009 |
| Replies: 12 Views: 547 Python.org supposedly loves spam anyway, so long as you include some eggs. |
Forum: Python Sep 6th, 2009 |
| Replies: 4 Views: 257 Look, not to be harsh or anything, but given you previous posts I think you would be better off reading a book or a wiki or even just a tutorial on Python OOP and maybe Python in general. Really. |
Forum: DaniWeb Community Feedback Sep 6th, 2009 |
| Replies: 74 Views: 4,229 Huh. Now I can see profiles again. |
Forum: Geeks' Lounge Sep 6th, 2009 |
| Replies: 46 Views: 3,049 Definition of "own" (http://www.google.com.vc/search?q=define%3A+own&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a)
Defintion of "use"... |
Forum: DaniWeb Community Feedback Sep 6th, 2009 |
| Replies: 74 Views: 4,229 Whenever I try to view anyone's profile I get: (see attachment) |
Forum: Python Sep 5th, 2009 |
| Replies: 15 Views: 513 Okay, I will, but first give me one reasonable use for this technique. |
Forum: Geeks' Lounge Sep 2nd, 2009 |
| Replies: 46 Views: 3,049 |
Forum: Python Sep 2nd, 2009 |
| Replies: 3 Views: 12,323 Somewhere out there a unicorn just got mauled by a puppy. |
Forum: Python Aug 27th, 2009 |
| Replies: 6 Views: 428 Well they actually really are dlls. It's just that the routines inside are built on the python C API.
To use them, just import them like any other module. |