No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
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 > … |
|
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 … |
|
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 … |
|
Re:
Hi, there Thank you so much for reading my question. I have apart of a text file with a structure as following: LOAD NAME=LIVE TYPE=UNIFORM ADD=110 UZ=-4500 ADD=113 UZ=-4500 ADD=114 UZ=-4500 ADD=120 UZ=-4500 ADD=121 UZ=-4500 NAME=SIDL TYPE=UNIFORM ADD=110 UZ=-850 ADD=113 UZ=-850 NAME=CLADDING TYPE=DISTRIBUTED SPAN ADD=15470 RD=0,1 UZ=-4500,-4500 ADD=15471 RD=0,1 UZ=-4500,-4500 … |
|
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:\..... … |
|
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 ???) |
|
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 … |
|
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 … |