Re: [Tutor] WHy use SOAPpy if we can do the things using httplibmoduleRe: How to connect to the SOAP server and make arequest..........

2006-11-29 Thread Simon Brunning
On 11/28/06, Andreas Kostyrka [EMAIL PROTECTED] wrote: Wimp! You can do it in binary machine code. Binary? You need ones *and* zeros? Loser. ;-) -- Cheers, Simon B [EMAIL PROTECTED] http://www.brunningonline.net/simon/blog/ ___ Tutor maillist -

Re: [Tutor] Angles

2006-11-29 Thread Roel Schroeven
Carlos schreef: I found a webpage that details the math behind this (http://www.usc.edu/dept/architecture/mbs/tools/vrsolar/Help/solar_concepts.html) , it was fairly trivial to translate this to python until I got to the azimuth equation. It looks like this: x_azm = sin(hour_R)

[Tutor] Use Python to learn kids (9 yr) to program

2006-11-29 Thread Anders Persson
Hi! I have looked around for som language to use to learn my 9 year son programming. There is a KPL - Kids Programming Language but my son diden't grasp the OO, GUI and everyting around this, maby becurse English is not his spoken language, and for a beginner i think the inviroment was to

Re: [Tutor] Use Python to learn kids (9 yr) to program

2006-11-29 Thread Andre Roberge
HI- I think Python is a great choice. You may want to have a look, as a first step, at rur-plehttp://rur-ple.sourceforge.net. Then, as a next step (although it might be a bit steep), you may want to have a look at livewires http://www.livewires.org.uk/python/. This will provide a good

Re: [Tutor] Python Linux Distro Anyone

2006-11-29 Thread Python
On Tue, 2006-11-28 at 22:45 -0500, Amadeo Bellotti wrote: I was thinking it would be really nice if i could make a Pocket Linux distro that of course fits on one or two floppies (outdated I no but still are amazing) thats just the Linux kernel, bash, and python. with of course a lot of tiny

Re: [Tutor] Angles

2006-11-29 Thread Carlos
Thanks Terry and Roel, I got it working now, the problem was a sign situation. I fixed it this way: from math import * def Az(Lat, Dec, H_Ang): lat_R = radians(Lat) decl_R = radians(Dec) hour_R = radians(H_Ang) x_azm = sin(hour_R) * cos(decl_R)

Re: [Tutor] Use Python to learn kids (9 yr) to program

2006-11-29 Thread Senthil_OR
Hi, Playing with Guido Van Robot http://gvr.sf.net is another good option to teach programming to young ones. Rurple is just another graphic representation of the gvr. -- Senthil From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andre

[Tutor] Sun Location System

2006-11-29 Thread Carlos
Hi Again, I have been working in a sun location system and it seems like is working now. But I have two issues that I hope you can help me solve. I have a number of functions in this script and I would like to know which is the best way to pass values among them? Here is the script so far:

Re: [Tutor] OT What's next

2006-11-29 Thread Terry Carroll
On Wed, 29 Nov 2006, Alan Gauld wrote: But for the Python programmer I'd consider Borland Delphi, based on Pascal. Pascal is much more readable and Pythonic than C and allows the same level of access to the underlying hardware (and assembler when needed). I'm going to apologize for taking

[Tutor] Beautiful Soup

2006-11-29 Thread Shitiz Bansal
Hi, I am using beautiful soup for extracting links from a web page. Most pages use relative links in their pages which is causing a problem. Is there any library to extract complete links or do i have to parse this myself? Thanks, Shitiz Terry Carroll [EMAIL PROTECTED] wrote: On Wed, 29 Nov

Re: [Tutor] Beautiful Soup

2006-11-29 Thread Akash
On 11/30/06, Shitiz Bansal [EMAIL PROTECTED] wrote: I am using beautiful soup for extracting links from a web page. Most pages use relative links in their pages which is causing a problem. Is there any library to extract complete links or do i have to parse this myself? Beautiful Soup can

Re: [Tutor] Beautiful Soup

2006-11-29 Thread Andreas Kostyrka
* Akash [EMAIL PROTECTED] [061129 20:54]: On 11/30/06, Shitiz Bansal [EMAIL PROTECTED] wrote: I am using beautiful soup for extracting links from a web page. Most pages use relative links in their pages which is causing a problem. Is there any library to extract complete links or do i have

Re: [Tutor] Beautiful Soup

2006-11-29 Thread Shitiz Bansal
Thanks, urlparse.urljoin did the trick. Akash- the problem with directly prefixing url to the link is that the url most of the times contains not just the page address but also parameters and fragments. Andreas Kostyrka [EMAIL PROTECTED] wrote: * Akash [061129 20:54]: On 11/30/06, Shitiz

Re: [Tutor] Use Python to learn kids (9 yr) to program

2006-11-29 Thread R. Alan Monroe
So my plan is to use Python, has anyone try to learn kids this way, and could giv som ide how-to. I witch way to introduce every part of the language,,, http://davidbau.com/archives/2005/07/29/haaarg_world.html Alan ___ Tutor maillist -

Re: [Tutor] Python Linux Distro Anyone

2006-11-29 Thread Amadeo Bellotti
Dave I looked at LAMP it really didn't have everything I need well more like want. I was thinking instead of Vi or emacs have a text editor written in python which would save a lot of space. Instead of lynx have one in python. On 11/29/06, Python [EMAIL PROTECTED] wrote: On Tue, 2006-11-28 at

Re: [Tutor] Use Python to learn kids (9 yr) to program

2006-11-29 Thread Senthil_OR
Andre Roberge wrote: On 11/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Playing with Guido Van Robot http://gvr.sf.net is another good option to teach programming to young ones. Rurple is just another graphic representation of the gvr. Not quite. GvR uses a