Thanks mikrom for your help , I was able to solve it using Iterator.
But now I am having error again after returning to the calling program. I am trying to assign the return value(List) of the called program but it is giving me this error.
Error:
Exception in thread "AWT-EventQueue-0"...
Hi
Need some help with my java program. I'm trying to write a java code related to bank transactions (e.g. payment) . My problem is that when a new transaction is entered the account is not updated after making for example payment. It seems problem with indexing (cannot be located or ..).
Any...
Thanks for the tip.
I was able to manage with sed.
#Replace "T" with ',' in column 1
sed -i 's/T/,/1' subok.csv
sed -i 's/+01:00,/,/1' subok.csv
sed -i 's/ime/time/1' subok.csv
#sort column 1 with column 2
sort -t\; -k 1 -k 2 subok.csv
my only problem now, is to sort skipping the first row...
Hi,
I've been struggling to write a simple script to manipulate a column in a large csv file but i can't get any further.
Any help is greatly appreciated!
csv file
2013-12-6T02:05:08+01:00,0,0,0,0,0,258,0,0,0,0,0,258,0,0,0,0,0,258,0,0,0,0,0,258,false...
Hi Feherke,
sorry my bad. I did not know how to start earlier but i tried.
what i have now, is i'm able to extract the data i want in the xml file but i'm stuck in formatting it the way i want.
Thanks a lot for any help or advice.
import xml.sax
collection = []
class HandleCollection...
[tt]Hi,
I trying to write a script in python to parse an xml file.
The xml file contains, measurements taken every 5 minutes. I need a script to parse the xml file and convert it to a csv formatted text.
Any help would highly appreciated :
example input file, i need to parse and take the...
Hi,
I was wondering if somebody can help.
I'm writing a python script to make a remote command but requires a sudo password. I got the following script but the password is not sendout it seems
thanks in advance for any assistance
import paramiko
import SocketServer
import socket
import...
Thanks Annihilannic,
the last feedback gave me hint, i forgot that my cvs is actually semi-colon separated.
after changing in the split function /,/ with /;/... it worked!!
Kr,
Richard
Thanks.
I have inserted your proposal accoring to my need but i'm getting to following error when running it.
/**
Use of uninitialized value in string eq at T:\script\test3.pl line 44, <FILE> line 98
Use of uninitialized value in string eq at T:\script\test3.pl line 45, <FILE> line 98
/**
The...
Thanks Annihilannic,
I modifed it a little a bit to adapt the according to my need and it is working perfectly now, below is code.
But I have one more favor to ask, these copied file are in CSV format and the filenames can be any, I need to search a particular string in line.
For example ...
...retrieve the value of numOctetsSentPerAssoc & numOctetsReceivedPerAssoc and take the ratio.
Need to run the script using Active-Perl for Windows
/**** file.txt *********
HEADER;all30MinSignallingLinkDurationData;5;V15; ;0;SCANNER...
Hi Feherke,
I thought it would be more practical to open a new thread because the goal is different though the files to be process is the same. I'm also a bit desperate because i'm running out of time to deliver have the scripts running.
my apologies.
subok
I need to parse a 2 csv files copied to a directory every X minutes.
Then calculate the ratio of the column "numOctetsReceived" and "numOctetsSent"
Depending on the result ratio, i have to execute a ms-dos batch file (e.g. low.bat or high.bat)
HEADER;UtilizationData;10;V16SG; ;0;SCANNER...
Hi,
Any help to a newbie will greatly appreciated.
I'm trying to write a script to check the 4 latest file in a directoty containing several subdirectories.
d:\subok
\10
\20
\30
\40
\50
New can come and stored in any of the sub-dir (10,20,...). Goal is to copy the 4 newest file to a new...
Hi,
Any help to a newbie will greatly appreciated.
I'm trying to write MS DOS batch file to check the 4 latest file in a directoty containing several subdirectories.
d:\subok
\10
\20
\30
\40
\50
New can come and stored in any of the sub-dir (10,20,...). Goal is to copy...
Hi,
I need small help on perl scripting
I have files that is copied on a regular basis and i need to check
the contents to calculate the ratio. depending on the result.
( e.g. .50) it will call another script low.pl
( e.g. .99) it will call another script high.pl
The file is a csv file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.