Hi,
I'm trying to get a site's javascript to work with Mozilla Firefox. I'm trying to get JavaScript to correctly resize a div. The code is almost working, but the onMouseUp works differently for...
Type: Posts; User: Van_Gogh; Keyword(s):
Hi,
I'm trying to get a site's javascript to work with Mozilla Firefox. I'm trying to get JavaScript to correctly resize a div. The code is almost working, but the onMouseUp works differently for...
FWIW, That article is rather old, and I don't think that the plan currently is to include optional static typing in Python 3.0. Guido has a presentation on it (can be found on Google Video) and I...
Bump :)
Noone knows? Maybe it's simply a limitation of GNOME, and can't be done :-(
I posted this in desktop earlier, but received no help...Any takers?
""""""""""
Hi,
I program in Python, and to visually distinguish my Python files from my other text files, I'd like to have...
Having them in seperate dictionaries is a terrible idea, IMO: Is is in general always best to related data collected.
So, my approach would be lists of dictionaries, with the track list being a...
Nice trick :-)
Openoffice Base is not not much more than a graphical interface to a database type called HSQL. So, learn about HSQL and how you can interface with it from your programing language and you'll have...
This tutorial is probably even more basic, is somewhat more modern and is also very easy to follow.
It also has quite good a follw-up tutorial to show some advanced tree view/list stuff. Highly...
I've always been annoyed by the difference in Firefox bahaviour in windows and Ubutnu, so I think this is a really great tip.
Another small tip is that you can change it programatically too, if...
I found this tutorial which I think explains a lot. I think it solves your problem.
Me, I haven't yet found a way to set icons based on full mime-types rather than just partial mime type(i.e...
I'd be interested in this too.
Does this mean that this way you can decide yourself the icon type for each mime type? I've been trying to have a Python icon for all my python(*.py) files, but...
It's because Pythonistas think there are better/more readable ways :-D E.g. instead of
for(i=0;i<10;i++){
doSomething()
}
Pythonistas do
for i in range(10):
doSomething()
}
You could also check out the doc-string of the function/class/method you want to use. e.g. opening a file is done by the function open. So if you try
print open.__doc__
and you'll get some info...
I've used f2py and it was really great. However, if I remember correctly it doesn't support custom types, something which may or may not be a problem for your app.
I agree and disagree with JDD :), because it certainly is possible to do non-simplistic things with Python. And I agree with most of the guys here: Learn Python first, it's mush easier. Though you...
Python's my favourite here. It's just Very Nice and I love how you can get things done quickly but still in a very solid manner. And yes, this poll is woefully lacking some of the more popular...
Hi somenoob,
Stackless is not in any repository as I already said. I don't know why it isn't, but I think it's because it needs to overwrite some part of standard Python installation.
About...
Hi all,
After reading this tutorial, I've become really interested in trying out Stackless Python. However, it is not in any repository and only exists in source form for Linux, and basically I...
os.system is fine, but it is recommended actually to use the subprocess module instead, as os.system will deprecate in the future.
However, I will usually rather use os.system myself for most...
This to me seems the correct way to go about it, and I don't consider it a workaround either. However, I think function two should be defined before function one, as function one calls function two:...
Hmm, ok. I don't actually use pysh myself, it just gets bundled with the Windows version of ipython(THE interactive Python interpreter IMO). Pyshell does indeed look more mature.
Noone suggested Pysh yet...:-|
Ok, I've just meddled with Scribes for an hour and...I'm loving it! It's got all the features Gedit lacks, without being complex. It's Nice Stuff(t). Especially I like:
automatic parentesis and...
I've been a bit stuck on Windows because I haven't yet been able to find an editor on GNOME that could surpass the fantastic Windows-only Notepad++. However, judging from the Flash-animation, Cream...
try
print len(listVar)
My guess is your list is of length 972. This means as you try to access item 973, you're out of your list's range - just as the error message says...
A way to avoid...