[BangPypers] Bridging in ubuntu,

2010-11-01 Thread Anirudh Asokan
Hey,
  This question is probably off topic by miles in this mail list..
Apologies in advance.

I couldnt find the solution to this problem on google(yes, its possible!).
So I thought you guys might know the solution.

The background -
1) I run Ubuntu linix (Karmic Koala)
2) I got bsnl internet, I use UTStarcom router (model no:WA3002G4)
3) I got apache2 installed. I got bridge-utils also installed

Im currently connected to internet using pppoe protocol(username and
password are stored in the router itself.) Here, when i run my ip address(11
7.192.x.x) in the address bar of my browser, it lands me in my router login
page.

I want my localhost page to appear when i run by ip address in my browser.
This way i can use my computer as a server for hosting my python programs. I
was told this was only possible if i connect to internet using bridge
protocol(here we login to the router from pc every time). I managed to do in
Win xp but not in Ubuntu.

Any help will be deeply appreciated



-- 
Cheers,
Anirudh Asokan
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Access xml file form python script

2010-11-01 Thread Dhananjay Nene
On Sun, Oct 31, 2010 at 5:12 PM, Avinash TM  wrote:

> Hi All,
>
> I have created a simple xml document i.e., preferences.xml as follows
>
> 
> 
>  
>   Cricket
>   
>
> 
>   
>  
> 
>
>
> My favourite light weight tool for xml is minidom
http://docs.python.org/library/xml.dom.minidom.html

http://www.boddie.org.uk/python/XML_intro.html

If you are needing simple xml parsing capabilities - it might just suffice
your needs and is built into python.



> Now i want to access the above data from a python script.
> I gone through some websites. But not getting actual idea.
> Should i use any data structures ( Lists, Dictionary, Tuples) in my python
> script.
> Can anybody help me
>
> Thanks & Regards
> Avinash
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 

blog: http://blog.dhananjaynene.com
twitter: http://twitter.com/dnene
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers