Re: [Tutor] [Baypiggies] Egnyte: hiring

2009-07-27 Thread mobiledreamers
Seems interesting http://fotoroll.com/searchvideo?q=vineet%20jain,%20ceo%20of%20egnyte&id=0&type=video On Mon, Jul 27, 2009 at 7:46 PM, Aahz wrote: > My new company (I just started today) closed a big venture

[Tutor] unified way or cookbook to access cheetah from other frameworks django/webpy/pylons

2009-06-05 Thread mobiledreamers
can you or tavis or one of the cheetah masters please show us how to use cheetah from webpy the only useful thing webpy cheetah.py does is replace the #include with the content of the files Can you share a simple snippet/cookbook example on how to hook up cheetah from other frameworks such as djan

[Tutor] problems with Cheetah base class being in templates directory

2009-05-28 Thread mobiledreamers
*How do we setup Cheetah so it runs with all templates in the templates directory and all code in the .. directory code.py* production=True if not production: try:web.render('mafbase.tmpl', None, True, 'mafbase') except:pass else: from templates import mafbase templates/mafbase.tmpl

[Tutor] How do you serve Cheetah in production? webpy+cheetah

2009-05-28 Thread mobiledreamers
How do you serve *Cheetah* in *production*? Guys can you share the setup on how to precompile and serve cheetah in production Since we dont compile templates in webpy it is getting upstream time out errors. If you could share a good best practise it would help * Jeremy jeremy.ja...@gmail.com wr

Re: [Tutor] cheetah is extremely hard to debug - error messages are non indicative TypeError: cannot concatenate 'str' and 'int' objects

2009-05-14 Thread mobiledreamers
Cheetah is usually not run from ipython! On Thu, May 14, 2009 at 12:40 PM, Kent Johnson wrote: > On Thu, May 14, 2009 at 3:20 PM, wrote: > > How do i find which variable has error in these error messages? > > Generally by looking at the last source line in the traceback you can > figure it out

[Tutor] cheetah is extremely hard to debug - error messages are non indicative TypeError: cannot concatenate 'str' and 'int' objects

2009-05-14 Thread mobiledreamers
How do i find which variable has error in these error messages? *Nonetype object is unsubscriptable* else:return web.render('searchesnew.html') File "/home/mark/work/common/web/cheetah.py", line 103, in render return str(compiled_tmpl) File "/usr/lib/python2.5/site-packages/Cheetah-2.0.1

Re: [Tutor] Python Logo

2009-03-24 Thread mobiledreamers
http://img99.imageshack.us/img99/5422/webpy.png -- Bidegg worlds best auction site http://bidegg.com On Tue, Mar 24, 2009 at 2:30 PM, Kent Johnson wrote: > On Tue, Mar 24, 2009 at 4:45 PM, Tim Johnson wrote: > > Hi Folks: > > My company is setting up a new website, like to have a python logo >

Re: [Tutor] text editor and debugger for python

2009-03-24 Thread mobiledreamers
editor:Emacs, vi, Debugger: ipython -- Bidegg worlds best auction site http://bidegg.com On Tue, Mar 24, 2009 at 3:21 PM, Dave Kuhlman wrote: > On Tue, Mar 24, 2009 at 10:08:51AM +0100, Bala subramanian wrote: > > Friends, > > > > I do the scripting in Linux. I use vi editor to code. It is not

Re: [Tutor] Accessing callers context from callee method

2009-02-25 Thread mobiledreamers
i found the solution This is my first attempt at memcaching html page using cheetah since cheetah render needs locals() i use getCallerInfo() to get the locals() and send to memcached let me know if it is possible to better do this *notice getCallerInfo * *utils.py* @log_time_func def renderpage(k

Re: [Tutor] Accessing callers context from callee method

2009-02-25 Thread mobiledreamers
i found the solution This is my first attempt at memcaching html page using cheetah since cheetah render needs locals() i use getCallerInfo() to get the locals() and send to memcached let me know if it is possible to better do this *notice getCallerInfo * *utils.py* @log_time_func def renderpage(k

[Tutor] Accessing callers context from callee method

2009-02-24 Thread mobiledreamers
when i call a method foo from another method func. can i access func context variables or locals() from foo so def func(): i=10 foo() in foo, can i access func's local variables on in this case i Thanks a lot -- Bidegg worlds best auction site http://bidegg.com ___

Re: [Tutor] Recieving emails in python

2008-01-13 Thread mobiledreamers
ok i dont want to write an mta i want to use another mta to recieve emails on say - [EMAIL PROTECTED] so can i start reading the emails to python from that mta How to set this up to read messages from the mta sending out email we are using sendmail so we ll continue using that for now thanks It

[Tutor] Recieving emails in python

2008-01-13 Thread mobiledreamers
I m trying to create something simple a mailing list similar to yahoo groups I m stumbling at the part where the python recieves messages via say [EMAIL PROTECTED] how to make python recieve emails and process it after that it is straight forward processing in python inserting in db etc __

Re: [Tutor] Pyflakes pre-commit hook in subversion

2008-01-08 Thread mobiledreamers
yes the link is broken and hence i sent it in since it is a conf file for svn pre-commit hook so pyflakes is run of your tree and it emits an error if python files have any error preventing bad commits poisoning svn tree so dev can fix the bug and recommit On Jan 8, 2008 8:08 PM, Kent Johnson <[EM

[Tutor] Spaces and tabs messing up code

2008-01-08 Thread mobiledreamers
my friend uses vim and i use xemacs so our shared python code is a mix of tabs and spaces and it is hard for him to edit it in vim any idea on how to make it clean convert it all to 4 spaces? Thanks ___ Tutor maillist - Tutor@python.org http://mail.p

[Tutor] image rendering in python

2007-11-25 Thread mobiledreamers
http://cdnll.i.imagechef.com/ic/templimg2/Shaved%20Head.jpg Do u know how to make such images using PIL or other tools in python thanks a lot for your kind help ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Sending email from windows python

2006-12-25 Thread mobiledreamers
indigo is paid do u know free windows smtp servers On 12/25/06, ALAN GAULD <[EMAIL PROTECTED]> wrote: > How do we run sendmail from windows Searching Google for 'sendmail windows' gave me this: http://www.indigostar.com/sendmail.htm as the first link... > I found Xmail > > http://www.xmai

Re: [Tutor] Sending email from windows python

2006-12-25 Thread mobiledreamers
How do we run sendmail from windows I found Xmail http://www.xmailserver.org/ On 12/25/06, Alan Gauld <[EMAIL PROTECTED]> wrote: > how do we use sendmail to send mail from windows > smtplib works in unix flawlessly It should work in windows too provided you have an SMTP server such as sendm

[Tutor] Pointers on accessing request object in python webprogramming frameworks

2006-12-24 Thread mobiledreamers
Regarding sessions set by a different application say yahoo mail or MYSPACE Session set by a different app say yahoo mail api Hi guys One app i m developing needs integrating with the client site and get their users, so I need to use their login to log the users in and once they are in they shoul