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.

0 Endorsements
Ranked #4K

8 Posted Topics

Member Avatar for JeyC

I use ubuntu netbook edition on a Samnsung N150. Used to work fine. * But network manager does not appear at startup anymorw. * Under preferences > I have the following enabled ... nm-applet --sm-enable Because this is ubuntu netbook edition I don't have the standard menu to access > …

Member Avatar for andrewll2
0
363
Member Avatar for JeyC

In the following program, I am defining two global arrays A and B of length 3 each. In my program, I am outputting the first A[0], A[1], A[2] and A[3]. Note . A[3] does not exist, so I expected the program to output an error or say 1e291 or something …

Member Avatar for dusktreader
0
85
Member Avatar for JeyC

I Have a code that fails abruptly after going through several hundred times around a for loop. (The loop is not over yet . I can see that from my printed output) Pinpointing the exact location (line number) and variables at that point of failure can provide me with useful …

Member Avatar for jonsca
0
117
Member Avatar for ning2009

This should do part one. f=open(textFile) lines=f.readlines() f.close() a=len(lines) i=0 while i < a: p = re.compile(searchText, re.MULTILINE) m = p.search(lines[i]) if(m): LineNumber = p.tell() i=i+1 don't quite understand part 2 of ypur question

Member Avatar for ning2009
0
227
Member Avatar for JeyC

All, I am using a python script (v2.0) to call a batch file. 1. The python script should wait until the batch file is finished. (So that rules out os.startfile, os.popen etc.) 2. For unknown reason, os.system does not work ... So I am using os.spawnv(os.P_WAIT,BatchFile, BatchFile) where Batchfile =r"E:\..... …

Member Avatar for woooee
0
125
Member Avatar for JeyC

Are there python commands to achieve the following : 1. Create new text files 2. Write certain text to these file (similar to DOS Echo> command ???)

Member Avatar for Arrorn
0
146
Member Avatar for JeyC

I am writing a batch file to automate and carry out a list of tasks. One part of my work is to add certain repetitive lines to a text file. However each time the line must be accompanied by a number running from 0001 to 7000. (I need 0001 as …

Member Avatar for cguan_77
0
136
Member Avatar for JeyC

What is the easiest way to search a text file for a particular string? I have text files resembling the following : FILE A HAS 2266 LINES OF WHICH 951 WERE IGNORED FILE B HAS 2193 LINES OF WHICH 878 WERE IGNORED THERE WERE 2 DIFFERENCES Can anyone help me …

Member Avatar for JeyC
0
128

The End.