Re: [Tutor] Python Logo

2009-03-25 Thread Kent Johnson
On Tue, Mar 24, 2009 at 6:26 PM, wrote: > http://img99.imageshack.us/img99/5422/webpy.png That is the logo for web.py (a Python web framework), not for the Python language itself. http://luke.jottit.com/webpy_logo Kent ___ Tutor maillist - Tutor@pyt

Re: [Tutor] Difference between SimpleCookie and SmartCookie

2009-03-25 Thread Kent Johnson
On Wed, Mar 25, 2009 at 12:35 AM, Kumar wrote: > Thanks a lot for the reply Kent . > Could you please tell me If I will try to move from SmartCookie to > SimpleCokkie in out application, what precautions should I take care? Make sure that all the values in the Morsels are strings. Kent _

[Tutor] problem of windmill on ssl website

2009-03-25 Thread Coco Yeh
I have problem using windmill with a ssl website (https). The console output of looks like this: windmill ie https://www.example.org https://www.example.org is not a windmill argument. Sticking in functest registry. Server running... The browser does not go to the website, showing a tutor page

[Tutor] Question about Python.

2009-03-25 Thread T
Hi. I'm working on Paper, Rock, Scissors in Python. I need to make it a loop, and test the values (1, 2, 3, /Rock/Paper/Scissors) yet, but i'm kind of stuck. Could you help me? import random #Imports the random modual from the library. def main(): #First function. print 'Lets play Paper

Re: [Tutor] Question about Python.

2009-03-25 Thread A.T.Hofkamp
T wrote: Hi. I'm working on Paper, Rock, Scissors in Python. I need to make it a loop, and test the values (1, 2, 3, /Rock/Paper/Scissors) yet, but i'm kind of stuck. Could you help me? import random #Imports the random modual from the library. def main(): #First function. print 'Lets p

Re: [Tutor] Question about Python.

2009-03-25 Thread Alan Gauld
"T" wrote I'm working on Paper, Rock, Scissors in Python. I need to make it a loop, and test the values (1, 2, 3, /Rock/Paper/Scissors) yet, but i'm kind of stuck. Could you help me? What exactly puzzles you? You know you need a loop so you presumably realize that you need to repeat some

Re: [Tutor] problem of windmill on ssl website

2009-03-25 Thread Alan Gauld
"Coco Yeh" wrote I have problem using windmill with a ssl website (https). The browser does not go to the website, showing a tutor page instead. How can I resolve this? My initial response was to say "ask on a windmill list," but, not having heard of windmill, I googled and discovered

Re: [Tutor] Python Logo

2009-03-25 Thread Tim Johnson
On Wednesday 25 March 2009, you wrote: > On Tue, Mar 24, 2009 at 6:26 PM, wrote: > > http://img99.imageshack.us/img99/5422/webpy.png > > That is the logo for web.py (a Python web framework), not for the > Python language itself. > http://luke.jottit.com/webpy_logo All the same, I was glad to see

[Tutor] Using C in python

2009-03-25 Thread amit sethi
what are the ways in which i can use C in python programs . I know there is SWIG bindings are there any other . Also Could anyone explain how Swig bindings work? -- A-M-I-T S|S ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listi

Re: [Tutor] Using C in python

2009-03-25 Thread Kent Johnson
On Wed, Mar 25, 2009 at 5:13 PM, amit sethi wrote: > what are the ways in which i can use C in python programs . I know there is > SWIG bindings are there any other . Also Could anyone explain how Swig > bindings work? There are quite a few options: SIP, SWIG and ctypes (in the std lib) build wr

Re: [Tutor] Using C in python

2009-03-25 Thread Chris Fuller
There's a section in the Python docs just on this topic: http://docs.python.org/extending/index.html There's probably also some stuff in the wiki, although I'm not familiar with anything specific: http://wiki.python.org/moin/ The SWIG documentation is extensive, and while not the user-friendl

Re: [Tutor] Using C in python

2009-03-25 Thread Stefan Behnel
amit sethi wrote: > what are the ways in which i can use C in python programs . Here is a short example that uses Cython to call a couple of C functions in OpenGL and libc ("math.h"). The functions are declared in the "cdef extern" blocks at the top. http://misc.slowchop.com/misc/browser/muckarou

Re: [Tutor] Using C in python

2009-03-25 Thread Alan Gauld
"amit sethi" wrote what are the ways in which i can use C in python programs . You can't use C directly what you can do is access libraries written in C. In fact quite a few of the standard libraries are written that way. So it depends what you want to do. If you have C source code that yo

[Tutor] Posting to Tkinter NG in new.gmane.org

2009-03-25 Thread Wayne Watson
Title: Signature.html I'm not having any luck posting to Subject. I keep getting a message from Moz/SeaMonkey that says "The message could not be moved or copied to the folder "Drafts" because writing to the folder failed. To gain disk space, from the File menu, ...Empty Trash folder, then choo