Welcome to the new
py
Forum.org
.
A message board system written in pure python using the web2py framework.
pyForum is sporting a new, completely re-designed interface and back-end
Download pyForum from
https://bitbucket.org/speedbird/pyforum
Home
/
pyForum Help (Community)
/
A question
Back
A question
By:
user_201
Rank: Starfleet Ensign
Postings: 1
From:
Unknown
Posted
: Sun, 06 May, 2012 - 01:12 PM
Report as inappropriate
Can anyone answer this question?
doctor(name, phone, expertise)
where
name is a string of 40 characters,
phone is a string of 25 chars, and
expertise is a string of 300 characters,
complete the the following form:
Code Location
Complete the table definition statement: Indicate the name of the file in which the code
db.define_table( should be placed and the path to the file:
File name:
Path to the file:
web2py\
The file qry.py contains the following function: Complete the path to qry.py:
web2py\
def surgeon():
tuples=db(db.doctor.expertise
.contains(‘surgeon’))
.select(db.doctor.ALL)
return dict(tuples=tuples)
The view file surgeon.html has the following code: Complete the path to surgeon.html
{{=tuples}} web2py\
By:
awilliman01
Rank: Starfleet Ensign
Postings: 5
From:
Unknown
Posted
: Sat, 09 June, 2012 - 05:00 AM
Report as inappropriate
I'm not sure what the question is?
Are you getting errors with your code or are you asking where to start?
You can name your files anything you want in web2py. Model files go in the models folder, etc.
Have you read the web2py online book?
From: user_201
Can anyone answer this question?
doctor(name, phone, expertise)
where
name is a string of 40 characters,
phone is a string of 25 chars, and
expertise is a string of 300 characters,
complete the the following form:
Code Location
Complete the table definition statement: Indicate the name of the file in which the code
db.define_table( should be placed and the path to the file:
File name:
Path to the file:
web2py\
The file qry.py contains the following function: Complete the path to qry.py:
web2py\
def surgeon():
tuples=db(db.doctor.expertise
.contains(‘surgeon’))
.select(db.doctor.ALL)
return dict(tuples=tuples)
The view file surgeon.html has the following code: Complete the path to surgeon.html
{{=tuples}} web2py\
By:
awilliman01
Rank: Starfleet Ensign
Postings: 5
From:
Unknown
Posted
: Sat, 09 June, 2012 - 05:00 AM
Report as inappropriate
I'm not sure what the question is?
Are you getting errors with your code or are you asking where to start?
You can name your files anything you want in web2py. Model files go in the models folder, etc.
Have you read the web2py online book?
From: user_201
Can anyone answer this question?
doctor(name, phone, expertise)
where
name is a string of 40 characters,
phone is a string of 25 chars, and
expertise is a string of 300 characters,
complete the the following form:
Code Location
Complete the table definition statement: Indicate the name of the file in which the code
db.define_table( should be placed and the path to the file:
File name:
Path to the file:
web2py\
The file qry.py contains the following function: Complete the path to qry.py:
web2py\
def surgeon():
tuples=db(db.doctor.expertise
.contains(‘surgeon’))
.select(db.doctor.ALL)
return dict(tuples=tuples)
The view file surgeon.html has the following code: Complete the path to surgeon.html
{{=tuples}} web2py\
Welcome
·
Forum Home
·
Log In
·
Contact the Forum Administrator
Search:
System Announcements
· 30/11/11
Welcome to i-Track ..
· 21/11/11
pyForum 1.1 Released ..
· 24/03/11
QA-Stack Beta 4 Released ..
· 07/12/10
Welcome to pyForum ..
· 26/05/09
How to change the default foru ..
Latest Posts
· 05/05/13
Aspose Newsletter for May 2013 ..
· 09/04/13
Dell XPS 12 Akku Beschreibung ..
· 03/04/13
Download Selected or All Attac ..
· 01/04/13
Saaspose.Newsletter for April ..
· 27/03/13
Convert Presentations to Many ..
· 25/03/13
Saaspose.PDF SDK is now availa ..
· 24/03/13
Convert Locally Stored Files t ..
· 13/03/13
Read & Recognize Barcode fro ..
· 05/03/13
Set, Get or Remove Single or A ..
· 04/03/13
Saaspose Newsletter for March ..
· 03/03/13
C# and .Net code for selecting ..
· 27/02/13
Acheter Pointeur Laser 100mW P ..
· 26/02/13
Tips to maximise hp compaq lap ..
· 26/02/13
Batterij HP Pavilion dv6000 ..
· 26/02/13
help---How do I identify my ba ..
Support pyForum