« first day (3664 days earlier)      last day (438 days later) » 

2:59 AM
var foo = {
bar: "hello"
};

var foo2 = foo;
does modifying foo2.bar change foo.bar
 
1 message moved from JavaScript
 
 
7 hours later…
9:56 AM
0
Q: Adding new column to CSV using 'awk'

rubenskxI am trying to use the 'awk' command to add a new column in a csv file, that depends on the value of another column. This was the command that I used: awk -F "," '{$3=$2+0.5; print $1, $2, $3}' OFS="," This makes my original first column concatenate with the new column to be shown as second colum...

 
 
3 hours later…
1:09 PM
-1
Q: Why is it that only once i am able to use file_object.readlines() and file_object.read() ? After that it is empty

MOHAMMED ASIF KHANCode: f = open("file.txt") print(f.readlines()) print(f.readlines()) #NOT ABLE TO USE .READLINES TWICE Output: ['The Gods and the Titans fought over the ruins of Athens.\n', 'The Earthling sufferend from these battles.\n', "And the French didn't came to help."] [] Why is it that after using ...

 
 
2 hours later…
 
8 hours later…

« first day (3664 days earlier)      last day (438 days later) »