[Tutor] Smtp

2005-05-06 Thread Ali Polatel
Dear Friends, I tried to use the mailserver script in library reference to send mails but it gives an error:The script and the error are below.Why does it give this error?How can i fix? import smtplib def prompt(prompt): return raw_input(prompt).strip() fromaddr = prompt("From: ") to

[Tutor] Importing C,C++,Asm modules

2005-05-04 Thread Ali Polatel
Dear friends, Is there a way to import C,C++ or Asm modules to python scripts? If yes how? Thanks and regards, ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Bandwidth Tester

2005-04-23 Thread Ali Polatel
Hi Tutors, How can i write a simple bandwidth tester with Python? Regards, ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Programming challenge (C++ and Python)

2005-03-03 Thread Ali Polatel
e site ftp://ftp.chessclub.com/pub/icc/interface/blitzin2/plugins/ under the name PluginDevkit.zip Any kind of help is appreciated. Regards, Ali Polatel  Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'___ Tutor maillist

[Tutor] Proxy

2005-03-03 Thread Ali Polatel
is it possible to connect to somewhere through a proxy while using sockets module of Python to connect? If yes can you show me some basic examples? regards Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'___ Tutor maillist - Tutor@pyth

[Tutor] Programming Challenge C++ and Python

2005-02-01 Thread Ali Polatel
om/pub/icc/interface/blitzin2/plugins/ under the name PluginDevkit.zip Any kind of help is appreciated. Regards, Ali Polatel ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] on the way to find pi

2005-01-23 Thread Ali Polatel
dear friends , I found a code which calculates pi with an interesting algorithm the programme code is below: from sys import stdout def f((q,r,t,k)):    n = (3*q+r) / t    if (4*q+r) / t == n:    return (10*q,10*(r-n*t),t,k,n)    else:    return (q*k, q*(4*k+2)+r*(2*k+1),t*(2*k+1),k+1) # Ca

[Tutor] Python Scripting

2005-01-22 Thread Ali Polatel
   Hi all tutors,    I want to ask you something that I am really curious about.    Can I design web-pages with python or use py files to write html?    if the answer is yes and if I upload some scripts to the web-site with* .py    does someone have to ahve python interepreter in his computer to b