I'm trying to learn Python. I'm going to eventually be using it at work, but I don't have an active project in it as of now. I've been reading through some documentation and would like to learn some basics, but I learn best when actually coding. So I'm thinking of attempting a small Python project just to sort of "get my feet wet" in Python.
While reading/asking around, I've often heard people say that if you need a Python project you should automate some task you do on your computer on a day-to-day basis. Maybe I'm not so imaginative, but I can't think of anything I'd like to automate... Does anyone have any ideas of something simple, fun, and not too time-consuming that someone can automate to get some basic experience in Python? Something that they would come out of feeling like they accomplished something fun and useful?
Rebol 2 VID was hugely missing Dropdownlist and Treeview, I have made a search on Rebol 3 on Google but couldn't find anything except a discussion. So what will Rebol 3 VID really include as new widgets ?
Hello,
I found great explanation about the new RTTI in Delphi,but I don't understand one important thing about all I have read so far - Where can I use that?
What is it supposed to replace?
Thanks in advance.
I'm using the new API to set the width of my jqGrid like this:
$('#grid').jqGrid('setGridWidth', $(window).width() * 0.98);
The problem is that in IE7 I'm getting this error:
'p.cellLayout' is null or not an object
This only happens in IE7 (IE8, Firefox and Chrome work fine). Has anybody else encounter this problem and fixed it?
I am trying to customize one field of a discussion forum in SharePoint, basically i want
to resize (maker bigger) the body Field.
I think this can be done applying a new css specific to that field but i am not sure how to do this, becuase it's seem that some other css are overlapping the one that i created and that’s why mine is not applied.
Any ideas on how to solve this issue?
How do websites send email when new answers is posted to question like if you answer this question, I will get automated email that my question has an answer?
There are two basic ways to subscribe to an event:
SomeEvent += new EventHandler<ArgType> (MyHandlerMethod);
SomeEvent += MyHandlerMethod;
What is the difference, and when should I chose one over the other?
Edit: If it is the same, then why does VS default to the long version, cluttering the code? That makes no sense at all to me.
My code looks like this:
if (firstCondition() &&
secondCondition()) {
// ... code
}
The default settings for the code formatter in NetBeans wants to put the && on a new line, like this:
if (firstCondition()
&& secondCondition()) {
// ... code
}
The formatter works well so I would just like to find the setting so it doesnt change the code to the latter. Whats the setting called?
Hi There
I have a named range like the following covering A2:D3
ITEM PRICE QTY SUBTOTAL
1 10 3 30
1 5 2 10
TOTAL: 40
I am looking for some VBA code to insert a new row into the range copying the formulas not values.
Any tips/links greatly appreciated.
I am trying to display a java table on particular event like, when I click button.
It makes a DB connection, gets data, puts it into the table, and shows the table in new window. But I want to display that table in my main form, i.e. itself button frame.
I have a time series of two indexes, with each row representing the closing price on the same day. I'd like to go to row 30 and lookback over the last 30 'days' and calculate the pearson correlation. And then store that value in a new vector. Then, repeat the calculation for the entire time series.
It is a trivial task in Excel, so I'm convinced it can be done in R. I don't know the method to use though.
Hi..
By setting the bellow properties we can create the setup file automatically uninstall existing setup and install new setupfile.
DetectNewerInstalledVersion:True
RemovePreviousVersion:True
But each and every setup file we need to change the version property of Setupfile. If it is, it won't through error while installing current setupfile otherwise
it throws error: already installed.
I am looking into how we can create the setup file without changing the version property of existing setupfile.
Thanks.
Very strange, I have a list of products. When a user clicks on an the image it opens up a new IE window.
Firefox doesn't do this.
What could be the reason for this?
the urls are:
http://website.example.com
and clicking on the image goes to (which is hosted on another server):
http://store.website.example.com
Could this be some internal security measure or ?
hi
when ever i use
window.location.href=//some url
it always open a new window, this only happens when the parent window is an dialog box. Any idea what i did wrong?
i tried using
window.open("http://asdf.com", "_self");
as suggested on this thread http://stackoverflow.com/questions/1678155/window-location-href-opens-another-window but it is still not working
thanks
While searching I came across this. It looks interesting but I have absolutely no idea of what it's for. I like it because you can compile to php, a language I don't enjoy a lot that's really useful. This could be a way I can use php without touching it. The language is odd looking, is there anyone out there who has tried it?
Thanks
My problem seems to be this: heap data allocated by one thread (that later dies) seems to die as well. As so:
Thread X: starts
Thread Y: starts
Thread X: ptr = new some bytes
Thread X: dies
Thread Y: tries to use ptr - and crashes!
So far, I've only seen this problem on Darwin (Mac OS 10.5 and 10.6), but haven't tried more other platforms than Windows and Linux (Ubuntu) where it works as expected. I've had this problem for some time, so any know-how or more information about this is highly appreciated!
Hi everyone, hope someone can help. just cannot get a new window to open in Firefox without address bars. IE works fine with below code
Blockquote
window.open('/pageaddress.html','winname',directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=no,resizable=no,width=400,height=350);
i need to make for all browser
I think all of us have a favourite programming language, and most of us want to add a certain feature to it.
My question is, if you were on the standards committee or were one of the language designers, what feature would you add to it?
Why is there a need to define a new method in RESTful controller, follow it up with a create method?
Google search didn't provide me the answer I was looking for. I understand the different, but need to know why they are used the way they are.
I try to load an image with:
ImageIcon imageIcon = new ImageIcon(url);
if I query the load status:
imageIcon.getImageLoadStatus();
it returns MediaTracker.ERRORED
Is there a way to get an error message saying what the problem was?
I have an html page which contains link to open pdf file. however this link opens in adobe reader when i click on it. I have set target property to blank. but it doesnt work either.
I want to open this pdf file in new tab in the same window.