annotation:
the project time is very short, i have no time to learn python perfect
in this short time.
when i will have more time than i read the book or the docu.
thanks peter

On 10 Mai, 20:41, pk <[email protected]> wrote:
> hi,
> i am usual not a coder, i am a designer.
> and i normally using not python or web2py, but now we have a project.
> thats the reason why i need help. and if nobody has time to help, it´s
> also ok,
> but i think a mailing list is also a possibilty to help others (also
> beginners, in my case).
> and i only ask to help me....
>
> On 10 Mai, 20:09, Iceberg <[email protected]> wrote:
>
>
>
> > Hi peter, since you are a beginner of web2py even python, why not just
> > come back to learn Python [1] and then web2py [2]? Don't expect to
> > learn their "syntax" on a maillist. Please, cherish your time, as well
> > as others. If, after your syntax learning, you have some design
> > question or puzzles, feel free to come back and lots of people will be
> > glad to help you. By the way, you join this maillist one year ago and
> > sent 100+ posts. Didn't you learn some python and web2py since then?
>
> > [1]http://docs.python.org/tutorial/
> > [2]http://www.web2py.com/book
>
> > On May11, 12:21am, pk <[email protected]> wrote:
>
> > > ok thank you very much,
> > > but i am a beginner of web2py and python.
> > > what i have to do into a controller, what into the view?
> > > how is the syntax?
>
> > > peter
>
> > > On 10 Mai, 18:17, Vasile Ermicioi <[email protected]> wrote:
>
> > > > here is a sketch:
>
> > > > db.define_table('what_to_see',  Field('html_code', 'text'))
> > > > db.define_table('what_to_see_queue',  Field('user', db.users),
> > > > Field('when_allowed_to_see', 'datetime'))
>
> > > > if user_not_in_queue:
> > > >     if last_user_allowed_time + 5minutes < time_now:
> > > >      when_allowed_to_see = time_now
> > > >     else:
> > > > when_allowed_to_see = time_now
> > > >     add_user_to_queue_with_his_time
> > > > if when_allowed_to_see > time_now:
> > > >   display_refresh_in (when_allowed_to_see - time_now)
> > > >   and_a_script_to_refresh_page_after_a_period_of_time
> > > > else:
> > > >   display_html_code
> > > >   delete_user_from_queue

Reply via email to