Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~15.3K People Reached
Favorite Tags
Member Avatar for pythonbegin

Hi All I am working on a html parser 'selenium webdriver' and on one of the pages I found an image with text on it.The page contains other information as well. I tried to see the page source if I can extract the text on image using webdriver but I …

0
94
Member Avatar for pythonbegin

Hi All I have a matrix in matlab say [CODE] a b c mn 0 2 4 nn 1 2 3 nv 2 3 5 [/CODE] I want to convert this matrix into a list so that a, b, c in first coulmn, mn,nn,nv in second and values in third …

0
42
Member Avatar for pythonbegin

Hi All I have a query about Numpy randn() function to generate random samples from standard normal distribution. I want to add some random samples using this function to my data and I want these samples must be in a range of 1 and -1. I using this function y …

Member Avatar for pythonbegin
0
2K
Member Avatar for pythonbegin

Hi all I have a program that is written in java and have three different executables program.sh, program.bat, program.jar. i can starts the gui by using program.jar and then in gui i can enter parameters. but as i want to run it over several parameters and get the outputs. i …

Member Avatar for JamesCherrill
0
209
Member Avatar for pythonbegin

Hi All Hope everyones doing good. I have two \t files with 3 columns, file1 contains 600050 rows and file2 contains 11221133 rows. I am comparing file2 with file1 to match common entries in first two columns, if file1[0:2] in file2[0:2 ,] write file2[0:2]+column 3 else fil1[0:2] + 5. I …

Member Avatar for griswolf
0
1K
Member Avatar for pythonbegin

Hi everyone I am using subprocess module. I called external script by using module subprocess. Now I want to use the output of the external program back in python script. Can anyone help me on this? any good tutorial? I tried doug hellmans ([url]http://blog.doughellmann.com[/url]) blog small example would be great. …

Member Avatar for Gribouillis
0
168
Member Avatar for pythonbegin

Hi All I have just started using a subprocess.call()to call external commands. I want to call R from command line and that I can do it easily by subprocess.call('Rscript script.R') and it works fine. I want to pass the several arguments instead of using default arguments. I tried using Rscript …

Member Avatar for TrustyTony
0
5K
Member Avatar for pythonbegin

Hi All Hope you all are ok. I have a query on calculating frequency distribution. I have seven different files like the one I have attached which contains items as below in example. I want to know total how many times each pair occurs combining all these files. ex 208015_at …

Member Avatar for TrustyTony
0
186
Member Avatar for pythonbegin

Dear All I am working with a tab-delimeted files - first two columns are pairs of identifiers and third column is floating point number (0-1) denoting interaction strength between colmn1 and 2. sample file is also attached. eg- column1 column2 column3 john steve 0.67588 john matt 1.00 red blue 0.90 …

Member Avatar for TrustyTony
0
99
Member Avatar for pythonbegin

Dear all, I have two columns in a tab-delimited text file. I want to randomly generate a pair of entries from column1 and column2. Example - Want to randomise following pairs so that each value will have different partner after randomisation. Actually I have a very big file with 5000 …

Member Avatar for pythonbegin
0
1K
Member Avatar for pythonbegin

Dear all I have two text files. file1 with 42000 rows and 6 columns and file2 with 18 rows and 1 column. I want to match the entries in file2 with file1 either in column0 or in column 3. if the entry exist in any column. Write that line to …

Member Avatar for griswolf
0
134
Member Avatar for pythonbegin

Hi all How can I create a csv file with header. I have a text file with several number of blocks staring from "//" and ending a block with "//". I have attached a sample file. I want to use first column of this text as a header of csv …

Member Avatar for pythonbegin
0
1K
Member Avatar for pythonbegin

Hi all I am newbie in python. I have a csv file with two columns first as source and second as target. There are multiple values assigned to keys in successive rows such as follows 1 -->4 1 -->5 1 -->8 1 -->12 2 -->4 2 -->17 2 -->14 2 …

Member Avatar for Beat_Slayer
0
3K
Member Avatar for pythonbegin

Hi All I have two tab-delimited files. I want to compare first column of testfile1 to first column of testfile2 to find if items in file2 are in file1 and write it to the new file. I have a following code but not working!! :(. [CODE]f1 = open('testfile1.txt') #f2 = …

Member Avatar for TrustyTony
0
747