[web2py] Re: I am trying to build a page to display video files list with thumbnail like youtube do.

2014-03-20 Thread Ravi
How to generate thumbnail for video files automatically? On Wednesday, March 19, 2014 12:29:44 PM UTC+5:30, Ravi wrote: > > > Hi ! I am new to web2py and python and trying to build a page to display > video files list with thumbnail like youtube do. I am using Expose to > di

[web2py] I am trying to build a page to display video files list with thumbnail like youtube do.

2014-03-19 Thread Ravi
i need to add to get my desired display. this is my code.. from gluon.tools import Expose def myfolder(): return dict(files=Expose('/home/ravi/Videos')) help is appreciated. Thanx in advance. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://

[web2py] when i write folloing code and run i got error. i am new to web2py plz tell me where i am wrong

2014-03-06 Thread Ravi
import datetime now=datetime.datetime.now() dbu.define_table('files', Field('title', "string", unique=False), Field('file', 'upload', autodelete=True), Field('datecreated','datetime',default=now,readable=False))

[web2py] Re: Problem uploading on GAE

2010-07-09 Thread Ravi
yes sir i am using the command python2.5 On Jul 9, 7:14 pm, mdipierro wrote: > Are you sure you are using python 2.5? > > On 9 Lug, 09:06, Ravi wrote: > > > ok > > now its giving me this- > > Traceback (most recent call last): > >   File "appcfg.py

[web2py] Re: Problem uploading on GAE

2010-07-09 Thread Ravi
ok now its giving me this- Traceback (most recent call last): File "appcfg.py", line 68, in run_file(__file__, globals()) File "appcfg.py", line 64, in run_file execfile(script_path, globals_) File "/home/ravi/Desktop/google_appengine/google/appengine/tools

[web2py] Re: Problem uploading on GAE

2010-07-09 Thread Ravi
no python 3.1 plz. help On Jul 9, 2:28 am, mdipierro wrote: > Strange appcfg.py is aGAEfile. Are you using python 2.5? > > On 8 Lug, 11:47, Ravi wrote: > > > on running appconfig.py it is showing this error- > > > Traceback (most recent call last): > >

[web2py] Problem uploading on GAE

2010-07-08 Thread Ravi
on running appconfig.py it is showing this error- Traceback (most recent call last): File "appcfg.py", line 68, in run_file(__file__, globals()) File "appcfg.py", line 64, in run_file execfile(script_path, globals_) NameError: global name 'execfile' is not defined what shud i do