[Tutor] I need a good resource for python Django

2013-08-17 Thread Arun Kumar
Hi, Can anyone suggest me a good resource for python Django. I've gone through the official website of Django but it is of limited use to me. Any help on this would be highly appreciated. Regards, Arun Kumar http://clicknscroll.blogspot.com ___

Re: [Tutor] Tutor Digest, Vol 95, Issue 80

2012-01-30 Thread Arun Kumar
gt; An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/tutor/attachments/20120130/fec2e0a2/attachment-0001.html > > > > -- > > Message: 7 > Date: Mon, 30 Jan 2012 00:51:58 -0600 > From: Chris Fuller > To: tutor@python.org > Subject: Re: [Tutor] Help Glade Tutorial. > Message-ID: <20120

[Tutor] splitting the large file into small pieces and download

2012-01-26 Thread Arun Kumar
Hi all, I want to build a small download accelerator program. I want to know how to split the file to be downloaded into small pieces and assign the each small piece to a thread for downloading. -- Thanks & Regards, Arun Kumar http://clicknscroll.blogspot

Re: [Tutor] Tutor Digest, Vol 88, Issue 83

2011-06-21 Thread arun kumar
> 5. Socket Programming issue (aditya) > 6. Re: Socket Programming issue (Alan Gauld) > > > -- > > Message: 1 > Date: Mon, 20 Jun 2011 18:58:56 +0200 > From: Timo > To: tutor@python.org > Subject: Re: [Tutor] html files to pdf document > Messag

[Tutor] html files to pdf document

2011-06-20 Thread arun kumar
HI, i have a some 100 plus html individual files.I want to convert them to a single pdf document programatically. How to convert them in python. Are there any functions,modules or libraries for python to achieve this. -- Thank you Arun Kumar http://clicknscroll.blogspot.com

Re: [Tutor] Importing packages

2011-01-21 Thread arun kumar
the files in the 31 directories of the gdata. On 1/21/11, Pacific Morrowind wrote: > Hi; > > On 21/01/2011 1:10 AM, arun kumar wrote: >> Hi, >> >> I'm trying to program with gdata >> (http://code.google.com/p/gdata-python-client/) using python >>

[Tutor] Importing packages

2011-01-21 Thread arun kumar
his folder contains some folders and as well as some files with the .py extension. Also each of the folders contain a __init__.py file. I want to use the classes and functions of the gdata and its inner folders' classes and functions. please tell me how write the import statements -- Thank

Re: [Tutor] about import statement

2011-01-11 Thread arun kumar
I'm trying to program with google api i downloaded the libraries provided by the google. http://code.google.com/apis/gdata/docs/client-libraries.html In oder to write program with google api, i need to write some import statements. But i'm unable to understand the hierarchy of the modules,packages

[Tutor] about import statement

2011-01-10 Thread arun kumar
Hi Friends, I'm Arun Kumar from India, Just a month ago i started learning programming .learned some basics of python. I'm really enjoying programming in python. I have some doubts in python. When we write programs,we write some import statements at the beginning of the code. how to kn

Re: [Tutor] Web crawling!

2009-07-29 Thread Arun Tomar
e links and search for the keywords on those pages. If the keyword is occurs more than the specified limit then it's a useful link and store it in the database or else leave it. -- Regards, Arun Tomar blog: http://linuxguy.in website: http://www.solutionenterprises.co.in __

Re: [Tutor] installation of scipy

2009-03-30 Thread Arun Tomar
use the suggested packages in the deprecation warning. > Thanks, > Bala > > ___ > Tutor maillist  -  tu...@python.org > http://mail.python.org/mailman/listinfo/tutor > > -- Regards, Arun

Re: [Tutor] how to instantiate a class

2009-02-25 Thread Arun Tomar
It's one of the best available resources for learning python. http://docs.python.org/ > ___ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > -- Regards, Arun Tomar blog: http://linuxguy.in website: http:

Re: [Tutor] lists

2009-01-20 Thread Arun Tomar
]: print ', '.join(media_list) > upper_b.wav, upper_a.wav > > In [3]: print ', '.join(repr(x) for x in media_list) > 'upper_b.wav', 'upper_a.wav' > > Kent may be you want to do it this way: In [10]: for x in media_list: : print "%s" % x : : upper_b.wav upper_a.wav -- Regards, Arun Tomar blog: http://linuxguy.in website: http://www.solutionenterprises.co.in ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] faulty code (maths)

2008-11-23 Thread Arun Tomar
= 2 > from math import sqrt > q = sqrt(b*b - 4*a*c) > x1 = (-b + q)/2*a > x2 = (-b - q)/2*a > print x1, x2 > > > Many thanks for a pointer! > > David > ___ > Tutor maillist - Tutor@pytho

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Arun Tomar
hi! On Sat, Oct 18, 2008 at 10:42 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > "Arun Tomar" <[EMAIL PROTECTED]> wrote >> >> if i give the command for epydoc to generate the documentation it >> gives the below mentioned errors: >> >> epydoc

Re: [Tutor] automatically generate python/pylons documentation

2008-10-18 Thread Arun Tomar
hi! On Sat, Oct 18, 2008 at 5:17 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2008 at 10:18 AM, Arun Tomar <[EMAIL PROTECTED]> wrote: >> hi! >> >> I'm trying to generate documentation for my pylons web application. > >> 2. epydoc

[Tutor] automatically generate python/pylons documentation

2008-10-17 Thread Arun Tomar
there. 3. sphinx: i've read a little about it. haven't tried it yet. my objective is to automatically generate documentation for my entire pylons webapp or any other python application. regds, arun. ___ Tutor maillist - Tutor@python.org ht

[Tutor] list to csv

2008-09-30 Thread Arun Tomar
hi! I've a list new_array = ['n1', 'm1', 'p1', 'n2', 'm2', 'p2', 'n3', 'm3', 'p3'] I am trying to convert this to a csv in 3 columns so that the final o

Re: [Tutor] vim python debugging

2008-09-28 Thread Arun Tomar
On Sun, 2008-09-28 at 22:12 -0600, Alec Henriksen wrote: > It would be very helpful to include the error message you received... I > can't help you, but just a thought. > > On Mon, 2008-09-29 at 09:39 +0530, Arun Tomar wrote: > > hi! > > > > I"m trying to

[Tutor] vim python debugging

2008-09-28 Thread Arun Tomar
hi! I"m trying to setup vim for python debugging mode. But it gives me error. Has anyone succeeded in doing so. link: http://code.google.com/p/vimpdb/ ideally I'm trying to evaluate vim & emacs as command line editors & debugging

Re: [Tutor] python regex help

2008-09-28 Thread Arun Tomar
On Sun, 2008-09-28 at 17:26 +0100, Alan Gauld wrote: > "Arun Tomar" <[EMAIL PROTECTED]> wrote > > > I've been using shell scripting & using sed & pipes i've solved it, > > but with python, i need to practice more ;). ok, i got it. here is the c

Re: [Tutor] python regex help

2008-09-28 Thread Arun Tomar
On Sun, 2008-09-28 at 17:26 +0100, Alan Gauld wrote: > "Arun Tomar" <[EMAIL PROTECTED]> wrote > > > I've been using shell scripting & using sed & pipes i've solved it, > > but with python, i need to practice more ;). > > Can you show u

[Tutor] python regex help

2008-09-28 Thread Arun Tomar
7;ve been using shell scripting & using sed & pipes i've solved it, but with python, i need to practice more ;). regds, arun. signature.asc Description: This is a digitally signed message part ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Binary chop function - this works, but I'm not sure why

2008-02-14 Thread Arun Srinivasan
On Thu, Feb 14, 2008 at 11:41 AM, Arun Srinivasan <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 14, 2008 at 5:27 AM, bob gailer <[EMAIL PROTECTED]> wrote: > > > > Arun Srinivasan wrote: > > > I'm trying to learn Python, and I decided to try kata 2 from

Re: [Tutor] Binary chop function - this works, but I'm not sure why

2008-02-14 Thread Arun Srinivasan
On Thu, Feb 14, 2008 at 5:27 AM, bob gailer <[EMAIL PROTECTED]> wrote: > > Arun Srinivasan wrote: > > I'm trying to learn Python, and I decided to try kata 2 from the > > CodeKate website. It's basically just a challenge to implement a > > binary sear

[Tutor] Binary chop function - this works, but I'm not sure why

2008-02-13 Thread Arun Srinivasan
I'm trying to learn Python, and I decided to try kata 2 from the CodeKate website. It's basically just a challenge to implement a binary search in different ways. I wrote an implementation that works, but I'm confused as to why. def chop(search_int, sorted_list): if len(sorted_list) == 1 or

[Tutor] time.mktime(time.gmtime(time tuple from any timezone)) always will be the same ?

2007-07-13 Thread Arun Kumar PG
Guys, May be a dumb question but I am a bit confused (may be coz working over 24 hours for the last couple days:)). so the question is: No matter which timezone I am in if i say time.gmtime(time.mktime(( datetime.date().timetuple( I will always get the same value. - right ? thx for answer

Re: [Tutor] threading.currentThread() always same across request ?

2007-04-14 Thread Arun Kumar PG
Thx guys. now quick question on the usage of thread local storage. In my case I have the below object model: class Base(object):' def __init__(self): self.__service = None def _GetService(): if not hasattr(threading.currentThread(), 'service'): threading.currentThread().service = S

[Tutor] threading.currentThread() always same across request ?

2007-04-13 Thread Arun Kumar PG
Guys, I have a web application and I want to store an object per request so thta that is available across all classes till end of request. I am planning to write the below code in my entry program which is executed as soon as a request comes: entry.py import threading th = threading.current

Re: [Tutor] Any Good book for python

2007-01-04 Thread Arun Kumar PG
"Python in a nutshell" is a good one. Also Python docs are the all time favorite. On 1/4/07, deepak shingan <[EMAIL PROTECTED]> wrote: Hi Folks, I am new in Python area and want to know Python concepts with more deatils. Please suggest some good books on python. Thanks in Advance -Deepak

Re: [Tutor] Writing serialized objects from BaseHTTPServer

2006-10-24 Thread Arun Kumar PG
any replies for the below ? On 10/19/06, Arun Kumar PG <[EMAIL PROTECTED]> wrote: Hi Guys,I wrote a simple server using sockets ,the traditional whille True: scoket.accept() approach. This server reads some pickled parameters sent by the client using the cPickle module -> do some processi

[Tutor] Writing serialized objects from BaseHTTPServer

2006-10-19 Thread Arun Kumar PG
Hi Guys,I wrote a simple server using sockets ,the traditional whille True: scoket.accept() approach. This server reads some pickled parameters sent by the client using the cPickle module -> do some processing -> and finally writes a list of tuples, objects using cPickle back to the client output s

Re: [Tutor] Tkinter and python

2006-10-08 Thread Arun Kumar PG
TECTED]> wrote: On Sun, Oct 08, 2006 at 08:36:31PM +0530, Arun Kumar PG wrote:> Hi,>> You can try:>> >>import sys> >>sys.path.append('')> >>import < module.py>>> Or else you can append the path to global PYTHONPATH environment variab

Re: [Tutor] Tkinter and python

2006-10-08 Thread Arun Kumar PG
Hi,You can try:>> import sys>> sys.path.append('')>> import Or else you can append the path to global PYTHONPATH environment variable and whenever you will type: python on the command prompt/bash shell the script gets executed.Hope that helps.Thanks,- Arun On 10/8

Re: [Tutor] Suggestions required on Gaming

2006-10-04 Thread Arun Kumar PG
Thanks Luke! This is helpful :)- ArunOn 10/4/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Arun Kumar PG wrote:> Thanks Luke.>> I want to make a 3-D car race game between two players. And yes its > gonna  be a networked game where each user will be using his/her own> PC an

Re: [Tutor] Suggestions required on Gaming

2006-10-04 Thread Arun Kumar PG
Also, my idea is to have a centralised Python server which acts as a dispachter to send the coordinate and other information to the gaming clients.On 10/4/06, Arun Kumar PG <[EMAIL PROTECTED]> wrote: Thanks Luke.I want to make a 3-D car race game between two players. And yes its gonna

Re: [Tutor] Suggestions required on Gaming

2006-10-04 Thread Arun Kumar PG
Thanks Luke.I want to make a 3-D car race game between two players. And yes its gonna  be a networked game where each user will be using his/her own PC and playing.- Arun On 10/4/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Arun Kumar PG wrote:> Hi All Python lovers!>>> I wan

[Tutor] Suggestions required on Gaming

2006-10-04 Thread Arun Kumar PG
- RenderMan- What else ?I will really appreciate if you guys could please let me know the right set of tools and APIs as per your experience.Thanks, - Arun ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Invoking Excel Macro

2006-04-24 Thread arun
ter option : )  )   Thanx  and Regards, arun  On 4/21/06, Mike Hansen <[EMAIL PROTECTED]> wrote: In the macro, you might try Application.DisplayAlerts = False  and reset it to True after you save. I think it might be trying to display a dialog box before it saves.   Mike From: [EMAIL PROTECTED]

Re: [Tutor] Invoking Excel Macro

2006-04-21 Thread arun
I'm sorry , there is something realy wrong with 'Run-time error 1004':. I have fixed it now but still it throws an error while trying to save the workbook. On 4/21/06, arun <[EMAIL PROTECTED]> wrote: Hi, I tried invoking a macro from my python script and  It is  throwing 

[Tutor] Invoking Excel Macro

2006-04-21 Thread arun
me =  Myexcel.xls Workbooks("sample.xls").SaveAs Filename "   Can somebody help me with this issue : (     Thanx arun        ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] saving .csv file as an xl worksheet

2006-03-06 Thread arun
Hi ,   Can i save a file with a desired extension?? for ex:  I have a .csv file (test.csv) and i want to save this file as test.xls from a python script.   Thanx in advance ac ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listi