No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Basically, I am trying to extract text between two strings within a loop as one of the two words changes after the information is extracted. so for example, the string is: string = alpha 111 bravo 222 alpha **somethingA** end, 333 bravo **somethingB** end 444 alpha 555 bravo So I … |
|
Re:
I need to read in a text file, replace selected words and write the changed text back out to a file. Is there an easy way with Python? |
|
Hi I am trying to do a simple thing but I am stuck :(. Basically, I have 4 texts. I want to compare text 2 with text 1 and text 4 with text 3, then save these differences into two different texts so that these differences can then be compared. … |
|
Hi, I am trying to do a simple task in Python but I keep getting error. I have a string stored in a variable and a simple GUI with a button (in 1st.py) which will call another function in a separate file (twond.py) which will split that string and store … |
|
Hi, I am new in Daniweb. I am trying to do a simple task in Python but cannot figure out how it works. Keeps getting it wrong. Basically, I have a main GUI class App which has 2 entry boxes where you fill two numbers, a listbox where the results … |