Hi,
Pls tell me whats going on in the code snippet below:
>>> n = 10
>>> statstr = "N = ",n
>>> type(statstr) #case1
>>> print statstr
('N = ', 10)
>>> print "N = ",n #case 2
N = 10
In the first case the result is printed as a tuple
kaushal wrote:
> Hi
>
> How do i start Learning Python,is there any reference material which I
> can refer since I dont have
> any programming experience
>
> Thanks and Regards
>
> Kaushal
Hi kaushal,
Look into http://diveintopython.org. Dive into python is a really
readable ebook...enjoy
--
h
IloChab wrote:
> Sorry I wasn't able to be more specific on my topic but I really do not
> know how to classify my problem, I mean that I can't understand if it's
> a python
> or a twisted
> or a Qt4
> problem
> I'm trying to run a simple application with Twisted and Qt4.
> To do this I downloade
Fabian Braennstroem wrote:
> Hi,
>
> * ArdPy <[EMAIL PROTECTED]> wrote:
> >
> > Fabian Braennstroem wrote:
> >> Hi,
> >>
> >> I am looking for a small python script, which starts a small
> >> web server with python cgi support on a li
Fabian Braennstroem wrote:
> Hi,
>
> I am looking for a small python script, which starts a small
> web server with python cgi support on a linux machine.
>
> I tried:
>
>
> #!/usr/bin/env python
> import sys
> from CGIHTTPServer import CGIHTTPRequestHandler
> import BaseHTTPServer
>
> c
elderic wrote:
> Hi there,
>
> are there other ways than the ones below to check for
> in a python script?
> (partly inspired by wrapping Tkinter :P)
>
> def f():
>print "This is f(). Godspeed!"
>
> 1.: --> sort of clumsy and discouraged by the docs as far as I read
> import types
> type(f) i
Renato wrote:
> Dear all,
>
> I found this nifty article on how to record your favourite radio show
> using cron and mplayer:
> http://grimthing.com/archives/2004/05/20/recording-streaming-audio-with-mplayer/
>
> Because I couldn't get the date in the filename (and was too lazy to
> look into sh/b
[EMAIL PROTECTED] wrote:
> ArdPy wrote:
> > There is an error in the syntax the star must prefix the variable name
> > not suffix it.
> > Then the items variable will accept the parameter value as a tuple.
>
> Hmm, tuples are immutable, right? I need something mutabl
Hi there, these days I am desperately searching everywhere on the
Internet for part time python jobs. The reason is I want to get
actively involved with python programming and get some practical
exposure. Please help me in whatever way you can.
--
http://mail.python.org/mailman/listinfo/python-li
[EMAIL PROTECTED] wrote:
> I have the argument items in my class room.
>
> class room:
> def __init__(self, name, description, items*):
>
> I thought I remembered from a tutorial I read once, and I've read so
> many I feel like an expert of them, that putting a little star* above
> an item m
Most of the other modules have an accompanying python source file. But
that is not the case with __builtin__. What might be the reason? Isn't
__builtin__ written in python?
--
http://mail.python.org/mailman/listinfo/python-list
I am not sure whether this group is the best place to post my thought.
I will ask neverthless:
Is it possible to hack through the code written by Guido van Rossum
that makes the python interpreter. If yes please let me know how to
begin. If its not then pardon me.
--
http://mail.python.org/mailm
12 matches
Mail list logo