Re: [Tutor] Python Books...*

2010-11-18 Thread Kaushal Shriyan
On Thu, Nov 18, 2010 at 3:23 PM, Evans Anyokwu wrote: > > > On Thu, Nov 18, 2010 at 9:34 AM, Kaushal Shriyan > wrote: >> >> On Thu, Nov 18, 2010 at 2:39 PM, Alan Gauld >> wrote: >> > >> > "Srinidhi Rao" wrote >> > >>

Re: [Tutor] Python Books...*

2010-11-18 Thread Kaushal Shriyan
On Thu, Nov 18, 2010 at 2:39 PM, Alan Gauld wrote: > > "Srinidhi Rao" wrote > >> I am a beginner here want to explore python, > > Hi, are you a beginner to programming or just to Python? > There are many good books for those converting from other languages, > there are not so many for those start

[Tutor] perl or python

2010-10-05 Thread Kaushal Shriyan
Hi Is it better to learn Perl or Python since i can manage only writing simple bash shell scripts. Please suggest/guide. Thanks and Regards Kaushal ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.pyth

[Tutor] collectd application

2010-06-17 Thread Kaushal Shriyan
Hi, For example I do wget -O file.png "http://collectd.example.com/collectd/cgi-bin/collection.cgi?action=show_plugin;host=testdb;timespan=day;plugin=mysql"; for a single host "testdb" and plugin "mysql" I do /usr/bin/mime-construct --header 'Sender: mor_...@test.com' --header 'From: mor_...@tes

Re: [Tutor] New to Programming

2010-06-13 Thread Kaushal Shriyan
On Sun, Jun 13, 2010 at 1:33 AM, Alan Gauld wrote: > > "Kaushal Shriyan" wrote > >> I am absolutely new to programming language. Dont have any programming >> experience. Can some one guide me please. is python a good start for >> novice. > > Yes, it i

Re: [Tutor] New to Programming

2010-06-13 Thread Kaushal Shriyan
On Sat, Jun 12, 2010 at 4:04 PM, Dave Angel wrote: > Kaushal Shriyan wrote: >> >> Hi, >> >> I am absolutely new to programming language. Dont have any programming >> experience. Can some one guide me please. is python a good start for >> novice. >> &

[Tutor] New to Programming

2010-06-12 Thread Kaushal Shriyan
Hi, I am absolutely new to programming language. Dont have any programming experience. Can some one guide me please. is python a good start for novice. Thanks, Kaushal ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription option

Re: [Tutor] rsync python script

2008-03-21 Thread Kaushal Shriyan
On Fri, Mar 21, 2008 at 9:40 PM, Eric Walstad <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > > Hi > > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ > > > > If i put

[Tutor] rsync python script

2008-03-21 Thread Kaushal Shriyan
Hi [EMAIL PROTECTED] 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ If i put this two lines in crontab it will run correctly,My requirement was to create a python script, this python script should indicate success or failures and the reason for failure Any ideas Thanks and Rega

Re: [Tutor] self-learning Python

2008-03-12 Thread Kaushal Shriyan
On Wed, Mar 12, 2008 at 9:00 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > > I am a newbie with no programming experience. As Kent Johnson has > > already pointed here about the book "Python Programming for the > > absolute beginner"

Re: [Tutor] self-learning Python

2008-03-12 Thread Kaushal Shriyan
On Tue, Mar 11, 2008 at 1:11 AM, Ian Ozsvald <[EMAIL PROTECTED]> wrote: > Hi Enrique. I'll suggest my ShowMeDo for video tutorials - our 'beginner' > subsection for Python has 101 videos: > http://showmedo.com/videos/python?topic=beginner_programming > > Most of the videos are free (3 series -

Re: [Tutor] OOPs Concept

2006-04-19 Thread Kaushal Shriyan
; > x.capitalize() -> 'Hello' > x.swapcase() -> 'HELLO' > x.count('l') -> 2 > > This is just a very small example but I hope that my example can help > you understand what objects are what makes OOP different from procedural > programming

[Tutor] OOPs Concept

2006-04-19 Thread Kaushal Shriyan
Hi All I wanted to understand about OOPs Concept in Python in a easy way, Please explain me with an example I have been reading http://www.freenetpages.co.uk/hp/alan.gauld/tutclass.htm but at the moment still the concept is not clear Thanks in Advance Regards Kaushal __

[Tutor] Stack Diagrams

2006-04-17 Thread Kaushal Shriyan
Hi All I am referring to Stack Diagrams from http://www.ibiblio.org/obp/thinkCSpy/chap03.htm#11 I did not understood this, please explain me with an example Thanks in Advance Regards Kaushal ___ Tutor maillist - Tutor@python.org http://mail.python.

[Tutor] Explanation of Lists data Type

2006-04-12 Thread Kaushal Shriyan
Hi All I am referring to http://www.ibiblio.org/obp/thinkCSpy/chap08.htm 8.7 List slices >>> list = ['a', 'b', 'c', 'd', 'e', 'f'] >>> list[1:3] ['b', 'c'] -> I understood this >>> list[:4] --> Does this mean its list[0:4] ['a', 'b', 'c', 'd']

[Tutor] Tuples

2006-04-11 Thread Kaushal Shriyan
Hi All I am referring to http://www.ibiblio.org/obp/thinkCSpy/chap09.htm I did not understood the below Section at all :( 9.3 Tuples as return values Functions can return tuples as return values. For example, we could write a function that swaps two parameters: def swap(x, y): return y, x T

[Tutor] Database Connectivity

2006-04-11 Thread Kaushal Shriyan
Hi ALL How do i connect my python program to MySQL DB or Oracle DB or can you please specify the URL which gives a detailed explanation on this. Thanks in Advance Regards Kaushal ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/l

[Tutor] comp.lang.python newsgroup

2006-04-11 Thread Kaushal Shriyan
Hi All I went to a http://www.python.org/community/lists.html and found the below newsgroup How do i use this news group and access the information I need comp.lang.python newsgroup Thanks in Advance Regards Kaushal ___ Tutor maillist - Tutor@pyth

[Tutor] Tuple (Section 9.3)

2006-04-11 Thread Kaushal Shriyan
Hi All I am reading this http://www.ibiblio.org/obp/thinkCSpy/chap09.htm and did not understood the Section 9.3 at all, Please explain me with an example so the idea become clear and understood 9.3 Tuples as return values Func

[Tutor] Emailid

2006-04-11 Thread Kaushal Shriyan
Hi All I am a ardent fan of python can I have email address for me I mean For example for me it would be [EMAIL PROTECTED] Regards Kaushal ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Tuple

2006-04-11 Thread Kaushal Shriyan
On 4/11/06, Noufal Ibrahim <[EMAIL PROTECTED]> wrote: > > On Tue, April 11, 2006 2:49 pm, Kaushal Shriyan wrote: > > Hi All > > > > I am referring to http://www.ibiblio.org/obp/thinkCSpy/chap09.htm > > > >>>> tuple = ('a', 'b&

[Tutor] Tuple

2006-04-11 Thread Kaushal Shriyan
Hi All I am referring to http://www.ibiblio.org/obp/thinkCSpy/chap09.htm >>> tuple = ('a', 'b', 'c', 'd', 'e') >>> tuple[0] 'a' And the slice operator selects a range of elements. >>> tuple[1:3] ('b', 'c') But if we try to modify one of the elements of the tuple, we get a error: >>> tuple[0

[Tutor] Logical Operaor

2006-04-06 Thread Kaushal Shriyan
Hi I am referring to http://www.ibiblio.org/obp/thinkCSpy/chap04.htm about Logical operators I didnot understood >>> x = 5 >>> x and 1 1 >>> y = 0 >>> y and 1 0 How 5 and 1 means 1 and 0 and 1 means 0 Thanks Regards Kaushal ___ Tutor maillist

[Tutor] Logical Operators

2006-04-06 Thread Kaushal Shriyan
Hi I am referring to http://www.ibiblio.org/obp/thinkCSpy/chap04.htm about Logical operators I didnot understood >>> x = 5 >>> x and 1 1 >>> y = 0 >>> y and 1 0 How 5 and 1 means 1 and 0 and 1 means 0 Thanks Regards Kaushal ___ Tutor maillist

[Tutor] Hi

2006-04-03 Thread Kaushal Shriyan
Hi ALL A simple query is that the python mailing List is python powered What does "python powered" means thanks Regards Kaushal ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] How does it function

2006-03-29 Thread Kaushal Shriyan
Hi ALL Just wanted to know the detailed explanation about the below statement if __name__ == "__main__": Thanks Regards Kaushal ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Python Code

2006-03-29 Thread Kaushal Shriyan
Hi I am unable to execute the below code, I have put this in test.py file and made it executable, when I run this I see no output, Please explain me as what is exactly going on with the below code The below code is from http://www.ibiblio.org/obp/thinkCSpy/chap11.htm def copyFile(oldFile, newFil

Re: [Tutor] ASCII

2006-03-29 Thread Kaushal Shriyan
On 3/29/06, Pujo Aji <[EMAIL PROTECTED]> wrote: > > Hi Kaushal, > > Please clarify the problem more specific. > Or you can tell us that you have a problem and want to use python to solve > it? > > Sincerely Yours, > pujo > > > On 3/29/06, Kaushal Shriy

[Tutor] ASCII

2006-03-28 Thread Kaushal Shriyan
Hi All How do i use this ASCII values in my day to day activities, I am going through learning python, Please illustrate with examples Thanks in Advance Regards Kaushal ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/t

Re: [Tutor] Object Oriented Programmin

2006-03-28 Thread Kaushal Shriyan
On 3/28/06, Kent Johnson <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > > Hi ALL > > > > I have gone through the object oriented programming in Python, I am > > not able to understand OOP concept in python, > > Both Alan Gauld's tutorial and A By

[Tutor] Object Oriented Programmin

2006-03-27 Thread Kaushal Shriyan
Hi ALL I have gone through the object oriented programming in Python, I am not able to understand OOP concept in python, is there a methodical way to understand it and simplfy things Thanks in Advance Regards Kaushal ___ Tutor maillist - Tutor@pyth

Re: [Tutor] Learning Python

2006-03-27 Thread Kaushal Shriyan
On 3/27/06, Noufal Ibrahim <[EMAIL PROTECTED]> wrote: > > On Mon, March 27, 2006 4:39 pm, Kaushal Shriyan wrote: > > Hi > > > > I am a novice in Python, Which is the best source of learning python > > for a beginner > > If you're already a &

[Tutor] Learning Python

2006-03-27 Thread Kaushal Shriyan
Hi I am a novice in Python, Which is the best source of learning python for a beginner Regards Kaushal ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Hi

2006-03-22 Thread Kaushal Shriyan
On 3/22/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > > I got this, Lets say if its mystring[n:m] where n may be another > > number and m may be another number so how will it work in that case, > > so this becomes general and makes more clear > > > n is the index of the first character and m is the i

Re: [Tutor] Hi

2006-03-21 Thread Kaushal Shriyan
On 3/22/06, Danny Yoo <[EMAIL PROTECTED]> wrote: > > > I am new to python and I am going through the URL > > http://www.ibiblio.org/obp/thinkCSpy/index.htm, At the moment I am going > > through the Chapter 7 Strings, I am stuck with understanding slice which > > is a part of a String, I am not able

[Tutor] Hi

2006-03-21 Thread Kaushal Shriyan
Hi I am new to python and I am going through the URL http://www.ibiblio.org/obp/thinkCSpy/index.htm, At the moment I am going through the Chapter 7 Strings, I am stuck with understanding slice which is a part of a String, I am not able to understand how it functions Awaiting your earnest reply T