Hey Moos/Denis/Kent,
Thanks a lot for your replies and suggestions.
Actually the value which I had given was separated by \n\r.
I now realized that this cannot be done with one regular expression as there
is one limit in negative look behind that it requires fixed width. I guess
This limit is the
Steve Lyskawa wrote:
> I am not a programmer by trade but I've been using Python for 10+ years,
> usually for text file conversion and protocol analysis. I'm having a
> problem with Beautiful Soup. I can get it to scrape off all the href links
> on a web page but I am having problems selecting sp
Dear All,
Greetings
I have developed an application in Python 2.4.2, TurboGears 1.0, cherryPy 2.3.1.
Now, I have to develop a server, which listens to a specific port (104) and
save the file to a specific location (/tmp/myDir) on RHEL 4/5.
Guide me how to do that. what all packages I
Thanks, not sure how I missed that one.
-Scott
On Thu, Apr 9, 2009 at 7:25 PM, Emile van Sebille wrote:
> Scott Newton wrote:
>
>> I'm very new to python, and my google-fu has failed to locate an answer to
>> the following:
>>
>> How can I find all of the (ipv4) addresses that are currently up
Title: Signature.html
See . It seems to a set of forum
for a lot of software, including Python. I don't see any explanation of
Dani and how it formed.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
On Thu, Apr 9, 2009 at 7:27 PM, Steve Lyskawa wrote:
> I'm having a
> problem with Beautiful Soup. I can get it to scrape off all the href links
> on a web page but I am having problems selecting specific URI's from the
> output supplied by Beautiful Soup.
> What exactly is it returning to me and
I am not a programmer by trade but I've been using Python for 10+ years,
usually for text file conversion and protocol analysis. I'm having a
problem with Beautiful Soup. I can get it to scrape off all the href links
on a web page but I am having problems selecting specific URI's from the
output
Scott Newton wrote:
I'm very new to python, and my google-fu has failed to locate an answer
to the following:
How can I find all of the (ipv4) addresses that are currently up on a host?
In google I searched for "python what's my ip" and about the fourth
entry down found a link that led me t
I'm very new to python, and my google-fu has failed to locate an answer to
the following:
How can I find all of the (ipv4) addresses that are currently up on a host?
I realize I can call ifconfig and then munge the output with awk, but that
seems messy, and before I tried that I though I would as
Alexander Daychilde (Gmail) wrote:
class TestObject:
def __init__(self):
# options and arguments from commandline-->OptionParser
self.opt = ""
here, self.opt is initialized as a string...
self.args = []
def load_cfg(self):
# read+parse commandlnie
Le Thu, 9 Apr 2009 08:47:59 -0700,
"Alexander Daychilde (Gmail)" s'exprima ainsi:
> The error I get when running the above code:
>
> Traceback (most recent call last):
>
> File "listinclass.py", line 34, in
>
> test.load_ini()
>
> File "listinclass.py", line 17, in load_ini
>
>
With the small font size and lots of blank lines I find this hard to read!
When I look at the optparse documentation I guess you want
print self.opt.inifile
Alexander Daychilde (Gmail) wrote:
I feel like I’m missing something simple, but I have now spent hours
googling for an answer. I think
I feel like I'm missing something simple, but I have now spent hours
googling for an answer. I think I must not be searching for the right terms,
or else this is something I'm not supposed to be doing - but it seems
straightforward to me.
Here's my test code (condensed from the actual much long
"Alan Gauld" wrote
user input topic and on checking the web site it said Easygui was
compatible with Python v3. However after downloading and installing
I get a "No module named StringIO" error under Python v3.
OK, Not much digging required.
StringIO has moved to io.StringIO in v3
So chan
I'm currently updating my tutorial to cover Python V3.
I thought it miight be good to include some stuff on EasyGUI for the
user input topic and on checking the web site it said Easygui was
compatible with Python v3. However after downloading and installing
I get a "No module named StringIO" e
15 matches
Mail list logo