sockets programming with python on mobile phones

2006-01-26 Thread al pacino
Hi everyone,

Is it possible to write applications using sockets for network
programming on MOBILE Phones( using Python on mobile phones such as
nokia 66* series )

actually i want my mobile to 'TALK' to my pc 'WIRELESSLY' so i can send
data between the two

I think it works over the GPRS stack.

PLEASE PLEASE help it is crucial for my major project and my guide dont
have much(actually any) idea on this

Thank You.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: sockets programming with python on mobile phones

2006-01-26 Thread al pacino
Thanks !
well..acutally this is siddharth dave i am a BIG al pacino fan ..(and
before joning this grp i had just watched 'scent of a woman") hence
this pun on myself!!

neways thanks for replying

ps: dear edwards watch 'scent of a woman' and u will forget 'doniie
brosco'..:-) AL pacino won an oscar for that.


Grant Edwards wrote:
> On 2006-01-26, al pacino <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to write applications using sockets for network
> > programming on MOBILE Phones( using Python on mobile phones
> > such as nokia 66* series )
> >
> > actually i want my mobile to 'TALK' to my pc 'WIRELESSLY' so i can send
> > data between the two
>
> Mr. Pacino,
>
> I just saw "Donnie Brasco" and thought you were brilliant.
> However, I must say that you're chewing the SCENERY here a bit
> with the semi-random SHOUTING.
>
> > I think it works over the GPRS stack.
> >
> > PLEASE PLEASE help it is crucial for my major project and my guide dont
> > have much(actually any) idea on this
>
> Pretty brave leaving acting and starting a new career at your
> age, but if you're determined to give it a go, try here:
>
>http://www.forum.nokia.com/python
>
> Amazing what you can find by googling for python+nokia, eh?
>
> --
> Grant Edwards   grante Yow!  In Newark the
>   at   laundromats are open 24
>visi.comhours a day!

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python vs C for a mail server

2006-01-28 Thread al pacino
>but i am not able to choose the language.Should i go for C(socket API)

Ravi is right
(>using sockets is more or less the same
from any language.)

..try JSP(java server pages), some guys in nit warangal implemented a
mail server
(foa  LAN though)for their minor project.

my contention is that using sockets(in c++) will improve your
understanding of the protocol
suite and improve your programming as well.




Ravi Teja wrote:
> >> Why don't you use an existing mail server?
>
> Probably because that was his homework assignment for a networking
> class. Not uncommon to be told to implement a server from the scratch
> from the RFC. Although that does not explain his concern about
> performance.
>
> Abhinav, if that is the case, using sockets is more or less the same
> from any language. Python as usual will be cleaner than C. You might
> want to look at Twisted Mail. Use SocketServer module in the standard
> library to implement the RFC. Other than that it is silly to try to
> write a Mail Server unless you have some extra ordinary need.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python vs C for a mail server

2006-01-28 Thread al pacino
jim you are probably right.

i have had exp. with this. i had to create a server(multipurpose such
as file sharing, games (pretty simple tho like tic tac toe..) we were
in 6th sem with learning OS and comp. n/w for the first time.

it seems like these jack ass jerks (proffs/instuctors) like to bully
students...
obviously we cud not complete the project as most of the time was spent
on
learning the stuff(like TCP, multithreading..) .

i don't know how things work out in the west, but i feel the faculty
really care about their students in american colleges..in contrast to
here (in inida, though things are little different in the IITs)


Jim Segrave wrote:
> In article <[EMAIL PROTECTED]>,
> Ravi Teja <[EMAIL PROTECTED]> wrote:
> >>> Why don't you use an existing mail server?
> >
> >Probably because that was his homework assignment for a networking
> >class. Not uncommon to be told to implement a server from the scratch
> >from the RFC. Although that does not explain his concern about
> >performance.
> >
> >Abhinav, if that is the case, using sockets is more or less the same
> >from any language. Python as usual will be cleaner than C. You might
> >want to look at Twisted Mail. Use SocketServer module in the standard
> >library to implement the RFC. Other than that it is silly to try to
> >write a Mail Server unless you have some extra ordinary need.
>
> Any lecturer assigning "write a mail server" as a class project is
> doing his/her students a true dis-service. Mail server RFC compliance is a
> nightmare to get right, performance issues and mail routeing are both
> material for at least a full year's university study.
>
> A student who tries to make an even vaguely RFC compliant mail server
> probably won't finish their project, as student who completes such a
> project might come away with the mistaken belief that they actually
> have done it correctly.
>
> The number of software products which use eail and do so incorrectly
> is astounding and depressing. There's a reason that the source for
> sendmail is about 120K lines, exim is nearly 270K lines. Doing it
> right is _hard_.
> 
> 
> 
> 
> 
> -- 
> Jim Segrave   ([EMAIL PROTECTED])

-- 
http://mail.python.org/mailman/listinfo/python-list


Tk.quit() now working!

2006-01-29 Thread al pacino
i have a weired problem with button widget in Tkinter
the callback function(Tk.quit()) for button widget is not working! when
i 'press' the button
the GUI hangs.
 code for displaying a 'button objec':
###
import Tkinter
top=Tkinter.Tk()
button=Tkinter.Button(top,text='press me',command=top.quit)#callback to
end the appllication
button.pack()
Tkinter.mainloop()
###
any comments?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Tk.quit() now working!

2006-01-30 Thread al pacino
>how do you run your Tkinter program ?

like? i was testing it in windows (interactive interpreter)

-- 
http://mail.python.org/mailman/listinfo/python-list


GDI in python>?

2006-02-17 Thread al pacino
hi,

is it possible to address the  'screen pixels' using python , like
analogous to older dos( functions that graphics.h provides') or win api
calls for gdi.

what i want is to display clusters (in differetn colours) on screen
using python.

thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: GDI in python>?

2006-02-18 Thread al pacino
Thanks claudio, that should work out fine.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Love :)

2006-03-12 Thread al pacino

Paddy wrote:
> Spread the love - tell your Java freinds :-)

well said paddy ! :-))

-- 
http://mail.python.org/mailman/listinfo/python-list