r
On Thursday, August 25, 2016 at 8:36:58 AM UTC+3, Dave S wrote:
>
>
>
> On Wednesday, August 24, 2016 at 10:29:09 PM UTC-7, Encompass solutions
> wrote:
>>
>> Does this seem sensible? It seems to work with my initial tests.
>>
>> latest_versions = db(
ct_id) &
(db.item_version.id > 0)
).select(db.item.ALL, db.item_version.ALL,
db.item_version.version_date.max(), groupby=db.item.id)
On Thursday, August 25, 2016 at 8:29:09 AM UTC+3, Encompass solutions wrote:
>
> Does this seem sensible?
d)
the .max() feature, at least what I found, was totally undocumented.
We should have an example database as part of the documentation with a
collection of examples around it so we can all relate better. :/
On Monday, August 22, 2016 at 10:52:55 AM UTC+3, Encompass solutions wrote:
>
>
August 22, 2016 at 10:52:55 AM UTC+3, Encompass solutions wrote:
>
> Consider the following pseudo model.
>
> item
> ->name = "string"
>
> version
> ->item_id = item.id
> ->version_date = "datetime"
>
>
> While I can easily create a
Consider the following pseudo model.
item
->name = "string"
version
->item_id = item.id
->version_date = "datetime"
While I can easily create a collection of the item with it's versions.
all_items = db((db.item.id > 0) & (db.version.item_id ==
db.item.id)).select(orderby=db.item.name | db.
Could someone test something similar to this out? Am I getting this wrong
with setting the default values in this field? It feels like a bug in
web2py.
On Wednesday, August 3, 2016 at 1:20:50 PM UTC+3, Encompass solutions wrote:
>
> It seems that my SQLFORM.factory won't popul
It seems that my SQLFORM.factory won't populate default values. Are you
guys getting similar or am I doing this wrong?
Here is what I am doing.
emails = []
for member in members:
emails.append(member.email)
form = SQLFORM.factory(Field("members", "list:string",
requires=IS_LIST_OF(IS_EM
The id field sequences like this so that any referencing items don't get
screwed up.
You would need to renumber the sequence, that's a bad thing. What is it
your wanting to do actually?
If you simply query the items they are sorted by id value.
On Thursday, June 23, 2016 at 12:22:57 PM UTC+3,
I was using this:
http://web2py.com/examples/static/web2py_cheatsheet.pdf
And was getting the request.http_host
After some research I found it was actually, request.env.http_host
Should we update the cheatsheet?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- htt
The application has to be in a png format, the application builders are
designers that use vector. And the system passes the png to a very simple
view that can only handle still images in png or jpg format, maybe one a
minute with web2py as the "Application framework".
Otherwise, yes, on every
Not much documentation about this, as far as I can find.
I want to count and group by the date without the time or day.
That is...
https://groups.google.com/forum/#!searchin/web2py/group$20and$20count$20by$20date/web2py/G6xRnfONnSo/bXaG4bhigwIJ
But with the date. Obviously .date() doesn't work her
and above the except line.
On Saturday, December 12, 2015 at 2:31:24 PM UTC+2, Encompass solutions
wrote:
>
> It seems that I have a block in my main layout but when I insert a block
> in the included view it print the text where it stands as well as replace
> the item in the block
It seems that I have a block in my main layout but when I insert a block in
the included view it print the text where it stands as well as replace the
item in the block.
What am I doing wrong, or is this a bug?
BR,
Jason Brower
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
I am not sure this exists yet, but it would be nice to take a string field
(or anything string like) and make it case insensitive. That way I don't
have to worry the j...@example.com is the same as j...@example.com
What do you guys think?
--
Resources:
- http://web2py.com
- http://web2py.com/b
I have been trying to understand web2py's builtins for some fun features I
am working on.
Basically I am trying to make a renderer for svg files and want to convert
escaped charactors like quot; back to there actual charactors.
This would encable me to create SVG's that can use the templating th
Sure, that probably works just fine too. :)
I just think we should start cleaning up that interface and make it more UX
friendly than now.
BR,
Jason Brower
On Sunday, October 11, 2015 at 10:34:26 AM UTC+3, AngeloC wrote:
>
> I Jason,
>
> 2015-10-11 9:24 GMT+02:00 Jason (spot) Brower >:
> > I
SERVER_SOFTWAREnginx/$nginx_version;
}
}
On Sunday, October 4, 2015 at 1:24:03 PM UTC+3, Encompass solutions wrote:
>
> I have setup uwsgi and I seem to be very close to having everything
> working.
> It just seems that my static data is not loaded now. (css, images, so
>
include uwsgi_params;
uwsgi_param UWSGI_SCHEME $scheme;
uwsgi_param SERVER_SOFTWAREnginx/$nginx_version;
}
On Sunday, October 4, 2015 at 1:24:03 PM UTC+3, Encompass solutions wrote:
>
> I have setup uwsgi and I seem to be very close
I have setup uwsgi and I seem to be very close to having everything working.
It just seems that my static data is not loaded now. (css, images, so forth)
This is my nginx file with the web2py applicaiton in it.
Any ideas into the issue? My web2py installation is located in
/var/www/web2py/.
# fil
It seems I have to use response.render with a file location. Is it
possible to use a string response? Sorry haven't tested but I assume it
can't because it's a string to string check. I really I hope to use this in
a new template system I am setting up. It will be pulling the templates
from t
Is there any progress with this issue?
I have lighttpd setup and it seems to still have the issue. Take a look at
this screenshot to see.
It's a real bummer as the NGINX has proven hard to install on centos 6.6.
At least for us. :)
On Sunday, March 1, 2015 at 10:38:37 AM UTC+2, Niphlod wrote
;] = 90210
>
> try:
> response =
> client.GetCityWeatherByZIP(**parameters)
> except SoapFault as e:
> response = "ERROR {0}: {1}".format(e.faultcode,
> e.faultstring)
>
>
> On Thursday, 25 June 2015 06:32
Found it. it's in the init.py file in gluon/contrib/pysimplesoap/
It's version 1.11 which is a little behind, but there are some regression
as of last year, we should check before bumping up the version.
On Wednesday, June 24, 2015 at 9:52:08 AM UTC+3, Encompass solutions wrote
-tenancy>
>
> or common filters
> <http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Common-filters>
>
> functionality.
>
> Anthony
>
> On Thursday, May 14, 2015 at 5:58:20 AM UTC-4, Encompass solutions wrote:
>>
>> I am bu
How do I submit a small change I have made the the Web2py source?
It's a small improvement. But when I try to git push I get a 403 error.
I also don't know much about pull requests, but I think those are involved
too.
BR,
Jason Brower
--
Resources:
- http://web2py.com
- http://web2py.com/book (
I understand. Gulp might be my ticket here. Let me learn more about it.
BR,
Jason Brower
On Sunday, September 7, 2014 9:30:34 PM UTC+3, Niphlod wrote:
>
> BTW: there's a reason why they're called PRE-processors. Because they are
> meant to "refresh" the dest just when the source is changed, no
I use templates from wrapbootstrap a lot. 3 times a month even.
Sadly however, it's getting harder and harder to use those templates with
web2py due to no support be it built-in or not, for SASS, LESS, and others
getting much more popular.
How can I make it so I code my css in SASS but to the cl
I have worked with 10s of python people and there transition to web2py was
easy. Ruby itself is hard to find, but python is much more popular.
On Sunday, August 10, 2014 8:20:43 PM UTC+3, Massimo Di Pierro wrote:
>
> In my opinion the server costs are negligible whichever way you go. Most
> Ro
I think about the easy of handing the server off to others to test and
setup. Web2py is much easier. BY FAR.
BR,
Jason
On Sunday, August 10, 2014 9:43:02 AM UTC+3, Suresh Mali wrote:
>
>
> I am trying to zero on web framework for our startup,
> requirements
> a. Security ( we are working on f
Hi,
Currently I am getting a 502 Bad Gateway Error when trying to access my
web2py server running on Raspberry Pi.
I first tried the setup with the script setup-web2py-nginx-ubuntu.sh as
it's nearly identical to the instructoins found here.
http://web2py.com/books/default/chapter/29/13#Nginx
Afte
Thanks!
On Saturday, March 29, 2014 2:50:42 PM UTC+2, Encompass solutions wrote:
>
> I would love to have a list set with strings but I am able to define if
> they should be of a certain string type.
> Does this already exist and I did it wrong, or would this be a good idea
&g
lidator, so
> you'll have to set the CRYPT validator explicitly.
>
> Anthony
>
> On Tuesday, March 18, 2014 1:04:54 PM UTC-4, Encompass solutions wrote:
>
>> I am trying to create a model with an encrypted key so it's harder for
>> someone to malicio
When I try to view an admin page in my Android desktop it shows the mobile
view. I have clicked the "Request desktop site." option and the admin
interface is still returned in the mobile view.
I don't like this view when I run in on my android desktop at III have
a full hd screen. Addi
.
The session way of holdding back votes seem to work for now. We will see
if people abuse it. So far, I don't think there is much point in it.
BR,
Jason Brower
On Tuesday, March 4, 2014 9:39:11 AM UTC+2, Encompass solutions wrote:
>
> I was thinking of a voting system without users, but
I was using the admin pages to add the value to the database. Interesting
to ssee that SQLFORM was not used in the admin panel.
BR,
Jason
On Tuesday, March 18, 2014 7:04:54 PM UTC+2, Encompass solutions wrote:
>
> I am trying to create a model with an encrypted key so it's
The issue was fixed. Sorry for not seeing the follow up. I switched to
NGIX and everything works perfectly. Haven't seen this issue since.
BR,
Jason Brower
On Sunday, February 2, 2014 8:14:21 PM UTC+2, Encompass solutions wrote:
>
> It seems that I have an issue I can't resolv
I am trying to create a model with an encrypted key so it's harder for
someone to maliciously screw over my customers.
I have the following snippet.
Field('public_gram', 'boolean', default=False),
Field('tag_name', 'list:string'),
Field('deletion_key', 'password')
)
You can see the
row))
)
db.melodigram_play.melodigram_id.requires = IS_NOT_EMPTY()
db.melodigram_play.when_opened.requires = IS_NOT_EMPTY()
---
Basically I just remove everything and returned a text object.
This sti
ve the already uploaded files yourself.
> autodete will not delete existing files until the records that point to
> them are deleted.
>
> On Monday, 10 February 2014 22:14:56 UTC-6, Encompass solutions wrote:
>>
>> I want to add autodelete and uploadseparate in production but I
Hi there. I am having similar errors, but don't know how to change those
settings.
Could I get a few more details on how this is done?
BR,
Jason Brower
On Wednesday, November 20, 2013 1:51:14 PM UTC+2, Niphlod wrote:
>
> raising the timeout isn't gonna solve the issue that some request are
> t
uest.body:
[Sun Feb 02 17:44:39 2014] [error] [client 83.145.241.129] File
"/home/www-data/web2py/gluon/globals.py", line 252, in body
[Sun Feb 02 17:44:39 2014] [error] [client 83.145.241.129] raise
HTTP(400, "Bad Request - HTTP body is incomplete")
[Sun Feb 02 17:44:39
I need a way to make downloads private/one time for the user.
What is the best practice for this?
* Should I need a special download script? My guess is yes.
* Should I have a special directory and how would I best do that?
* Is there a way to create one time downloads without authentication? Some
When I change some data in db.auth_user[auth.user.id].update(bla=bla)
I don't get the changes in auth.user.bla.
Is this the expected behavior? Kind of a bummer as I would have to quiry
the user quite often to make sure things are correct. In my application the
users data changes quite a bit. I
I personally use scribes. Bluefish, it's been ages since I have ever used
that beast. :) It's just interesting to see people coding online now and
that web2py is already kinda there. :)
BR,
J
On Thursday, January 31, 2013 2:26:45 PM UTC+2, Johann Spies wrote:
>
>
>
> On 31 January 2013 13:03,
e user and returns
> the user record.
>
> On Saturday, 19 January 2013 00:31:00 UTC-6, encompass wrote:
>>
>> The last link was the one I was looking at first. Before this post. But
>> """
>> login_bare returns user if the user exists and the pas
The last link was the one I was looking at first. Before this post. But
"""
login_bare returns user if the user exists and the password is valid, else
it returns False. username is the email if the "auth_user" table does not
have a "username" field.
"""
doesn't sound like I logged in a user.
t; different problem, no ?
>
> @encompass : are you using a custom auth instance ?
>
> On Tuesday, January 1, 2013 7:55:37 PM UTC+1, Alec Taylor wrote:
>>
>> Hey Jason,
>>
>> Reported this same issue a few days ago; I think they're working on it:
>> https:
I am getting an error when trying to view the database in the admin
AttributeError: 'Row' object has no attribute 'first_name'
How would I get around this as the database admin is pretty useful. :)
BR,
Jason Brower
--
I have this in my model.
db.define_table('site',
Field('location', 'string'),
Field('user', db.auth_user, readable=False, writable=False),
Field('typos', 'blob', readable=False, writable=False, default=None),
Field('status', 'string', readable=False, writable=False,
default='pendin
}
}
And let's assume this is sent data from the phone.
How would I build the controller to part this? The example here from the book
didn't tell me much. At least that I can see. :/
@service.jsonrpc
def getTasks():
todos = db(db.todo).select()
return [(t
The application on the mobile devices already exists and works. I need to
make many applications that work with the applications for testing and so
forth.
The application currently sends the JSON data to a webserver so I just want
to make web2py the server instead of the "other framework".
On
text
On Saturday, November 17, 2012 5:36:32 PM UTC+2, LightDot wrote:
>
> This is saved in a database field?
>
> So... which database and which field type? ;)
>
> Regards,
> Ales
>
>
> On Saturday, November 17, 2012 7:30:55 AM UTC+1, encompass wrote:
>>
>
They are queued and then sent later.
On Saturday, November 17, 2012 3:10:23 PM UTC+2, Niphlod wrote:
>
> how are you sending the email message ?
>
> On Saturday, November 17, 2012 7:30:55 AM UTC+1, encompass wrote:
>>
>> I was including the css I use in my emails a
ad()}}
> {{=open(os.path.join(request.folder,'static','css/style.css')).read()}}
>
>
> On Friday, 16 November 2012 13:47:10 UTC-6, encompass wrote:
>>
>> I want to include the text from static in my email templates. I
>> currently have this, but it doesn
_pshysical_file, attachment=True,
> filename=whatever.pdf)
> if you have a "virtual file" (e.g., StringIO)
> response.stream(virtual_file, attachment=True, filename=whatever.pdf)
>
> On Monday, October 22, 2012 9:33:21 PM UTC+2, encompass wrote:
>>
>> How do I retu
Actually it shoudl work just the same. It's just we don't say it is
supported. You use the same settings as MySQL. I made sure from Monty
himself. He created both MySQL and MariaDB both named after his daughters.
:)
BR,
Jason
On Friday, October 5, 2012 8:26:13 PM UTC+3, mikech wrote:
>
> Ma
To me, this is bad idea. You miss out on many of the nice things of
having the images in a table. For example, you can index and search the
images. The database and your server don't have to be hit so hard because
those images are on another server so your pages can load faster.
Attachment
The manual uploads didn't look like it would work as it is coming from the
local filesystem. My guess is your meaning I should just pull it from
request.vars with no form on my side. That just might work.
Thanks for the help.
On Thursday, May 10, 2012 1:28:46 PM UTC+3, Anthony wrote:
>
> Is t
permitted_tags... bingo that is what I was looking for. :)
BR,
Jason
On Tuesday, May 1, 2012 8:23:36 PM UTC+3, Anthony wrote:
>
> I am looking how to escape particular items in html and want to know what
>> is actually being escaped. Is there a list on this page somewhere to show
>> me this? I
http://web2py.com/books/default/chapter/29/3?search=escape
And search for markdown2 and you get a broken link.
With that outtadaway. :)
I am looking how to escape particular items in html and want to know what
is actually being escaped. Is there a list on this page somewhere to show
me this? Is
I think it is fun when we can say things like that. :)
BR,
J
On Tuesday, April 3, 2012 9:46:59 PM UTC+3, Anthony wrote:
>
> Quick question:
>> When do I need to have "powered by web2py" on the bottom of my page?
>>
>
> Never. This is not a requirement of the web2py license. If you'd like to
> pu
Yeah, I am sure there is a line between refactor, rebuild, and work
around.
But this talk was good. He made some good points.
BR,
Jason
On Mar 18, 4:13 pm, Alan Etkin wrote:
> About "refactor religiously", it's curious, an experienced python
> developer stated in PyConAr what I think is the oppo
For large deployments with various settings something like this could
come in rather handy.
What is your take on it?
http://code.disqus.com/code/projects/gargoyle.html
They pretty much are.
All your files should be in the applications folder. But there may be
a few exception most you don't have to worry about. At least I
haven't worried in the last 2 years or more. :D
When you create an application with the internal system you get all
the files as scaffolding fo
Yeah, we use haystack in Django here at my work for our search tool of
choice.
On Sep 20, 1:58 pm, Anthony wrote:
> On Tuesday, September 20, 2011 12:27:20 PM UTC-4, Massimo Di Pierro wrote:
>
> > I promised somebody geospatial features. That will probably come
> > before full text search but thi
Yup... he just might be. That or he works on the train. SMARTS! I
tried programming on my bike, but it's not very functional. :)
Congrats to Massimo, he has made a framework that works like a dream.
On Sep 11, 9:30 am, GoldenTiger wrote:
> In this community there's a rumor that he is a cyborg.
I should go! Didn't even know it was happening!
MASSIMO SHOULD GO TOO!!
Let's see if I can convince the family budget or my boss. :)
On Aug 23, 1:24 am, Kenneth Lundström
wrote:
> Anyone planing to visit the European Capital of Culture a.k.a. Turku on
> 17-18.10 and maybe visiting PyCon Turku at
I just wanted to start some discussion about it, as I am programming
in Django at my work and ran across the feature. I know 3 or 4 places
off hand that could use this feature in our current django project and
it makes the templates look a lot cleaner.
On Aug 17, 3:04 pm, Ross Peoples wrote:
>
I have something like this as a search engine parameter:
http://interestid.com/search.json/theSearch
And that returns the result for the search for "theSearch"
Sadly however, I forgot about foreign characters like ÖÄÅ. What is my best
solution for doing a search system like this?
Best Regards,
Jas
And just to be a bit precise:
def allow_generic(*types):
def _(f,types=types) :
for t in types:
response.generic_patterns.append(f.__name__+'.'+t)
return f
return _
It was missing a colon.
Fancy! Now that is a nice feature. I will be implementing this in many of
my sites.
BR, J
It's too bad we couldn't do it as a decorator or similar. That way we
could know which pages have the exceptions directly rather than
opening (or searching) for another file with the correct line.
On Aug 7, 10:13 am, Massimo Di Pierro
wrote:
> in models or controllers
>
> response.generic_patter
I installed the plugin wiki and when I try to access application_name/
plugin_wiki/ and login it tells me access denied. Did I do something
wrong?
I have a control function as follows:
def return_dis():
return " there "
Of course it returns it just fine except that I would like to escape
the < > and any other html stuff.
Is there something special in web2py for that or should I make my own
method for that?
I could make a blank page but
http://web2py.com/book/default/chapter/04#Cooperation
# Applications can call each other's actions locally using
exec_environment as discussed above.
# Applications can import each other's modules using the syntax:
# Applications can import any module in the PYTHONPATH search path,
sys.path.
Notice
I have web2py in a directory with spaces in it. It seems it parses
the directory location and stops at the space.
I can't tell exactly what it says but it is similar to this:
can't open file '/home/encompass/Programming/John' : [Errno 2] No such
file or directory
The directo
I see that the latest web2py pulls from ajax.googleapis.com.
This is a bad thing for me as I don't have external internet access.
Can we simply include these libraries?
BR,
Jason Brower
hortcuts are
> always welcome which is why I like the new Time widget :)
>
> -D
>
> On Nov 17, 12:35 pm, encompass wrote:
>
> > I have to deal with a lot of funky errors in my code and being a
> > developer I avoid the mouse as much as I can. I thought this migh
I have to deal with a lot of funky errors in my code and being a
developer I avoid the mouse as much as I can. I thought this might
come in handy...
I change line 40 in web2py/gluon/rewrite.py to the following:
p.error_message_ticket = \
'''
I suppose it was lost in the duscussions going on. I will bump it
again. :)
On May 4, 4:56 pm, Jason Brower wrote:
> I am not using any special view for the profile page...
> This is the relevent stuff in my model...
> db.define_table('users',
> SQLField('nickname', 'string', length=20),
o this using web2py cron task. This
> is a complicated issue and I need to know more to be of help. Perhaps
> chat could be a solution. Tomorrow?
>
> Massimo
>
> On Dec 17, 9:57 pm, encompass wrote:
>
> > With so many emails on this list I worry it was lost in the acti
With so many emails on this list I worry it was lost in the action.
Was a clear enough?
I just need to run a thread or something inthe background so that I
can keep the robot heart ticking while the user decides on an action.
BR,
Jason Brower
On Dec 17, 11:44 am, encompass wrote:
> Therobotd
on? My advice is merge the two apps into one app
> with two controllers (one for you and one for the robot), the use
> cache.ram to store information that needs to be passed between them.
>
> On Dec 17, 12:51 am, encompass wrote:
>
> > I am creating a robot interface in web2py.
&
I am creating a robot interface in web2py.
I am making great progress as I can send commands and other what not
to the robot and make it do it's thang, but I find problems in
monitoring signals from the device.
The robot sends "heartbeat" requests about ever 5 seconds, if it doesn
get a response fr
I am needing some extra tools integrated into my environment. I
assumed you just put them into the modules folder and they can be
pulled normally. But I guess I am doing something wrong. Any ideas?
I am trying...
from crc_algorithms import Crc
and it gives me the error...
ImportError: No module
Just as a side note, I wanted to inform you that web2py groups is now
on the ban list of my business. Just after I looked at this post with
my work computer. I am not blaming you, but I thought it was funny.
Regards,
Jason
On Oct 6, 7:17 am, Richard wrote:
> I've used the recaptcha built in to
I wish I could show you the code, but it's against company policy.
But I have some code that is accessing an sqlite database.
I am the only one accessing it right now.
But I have some session data.
session.equipment (Holds specific data pulled from xml and turned into
a dictionary. for example "a1
I am creating a file (pdf actually) that is being generating in
memory.
I could save it and then grab it, but we all know there has to be a
better way. How do I make a file like object downloadable with
web2py?
Regards,
Jason
--~--~-~--~~~---~--~~
You received this
Not sure if this one should be done unless you know what your doing.
---sudo apt-get dist-upgrade---
If I did it, it would ruin everything I have done.
Regards,
Jason Brower
On Sep 28, 3:44 am, suiato wrote:
> i run web2py on ubuntu 9.04.
>
> try
> sudo apt-get install python-tk
>
> i have li
I have this...
solution = db(db.solution.id == request.args[0]).select()
solution_solves = db((db.solution.id == db.solution_solves.solution) &
(db.issue.id == db.solution_solves.issue))
solved_issues = solution_solves(db.solution.id == solution
[0].id).select()
and I want to make it so that I ca
GOT IT.
I know it wouldn't be that hard!
I don't know what they are called or even if it is actually
documented. but on page 171 of the manual I found the line...
db.dog.owner.requires = IS_IN_DB(db, 'person.id', '%(name)s')
The last part is exactly what I needed to do to my IS_IN_DB feild
require
I
> did not know how to customize forms so I build my own forms manually.
> Before long I realized the code becomes unmaintainable quickly. So,
> come back before it is too late, let's do things in a web2pythonic
> way, pal.
>
> Regards,
> Iceberg
>
> On Sep17, 6:0
onic
> way, pal.
>
> Regards,
> Iceberg
>
> On Sep17, 6:00pm, encompass wrote:
>
> > I am trying to make a form...
> > ---
> > def solution_manager():
> > form = FORM('Solution Name:',
> > INPUT(_solution_name=
Silverlight is not cross platform. At least the last time I checked I
couldn't use it. I would rather use open standards, something we all
have control of.
I am sure someone could make tools that could be run inside of web2py
that can use silverlight. but if you go and make it a regular
practic
I am trying to make a form...
---
def solution_manager():
form = FORM('Solution Name:',
INPUT(_solution_name='solution', requires=IS_IN_DB
(db,'solution.id')), # IS_IN_DB(db,'solution.id'),
'Issue Name:',
INPUT(_issue_name='issue', requires=IS_IN
I have a link as follows:
123.123.123.123:8000/welcome/default/index
In a program I use that sends xml data to a computer...
The page works innitially except that it doesn't load any images, css
etc...
It is, infact trying to link from where it came from!
otherweb.com/welcome/default/static/etc...
uploader():
> import xml.etree.ElementTree
> mytree=xml.etree.ElementTree.parse(request.body.read())
> # do something with mytree. look into python docs about it
>
> On Sep 10, 9:22 am, encompass wrote:
>
> > I know how to work with xml code. I just wanted to make
I know how to work with xml code. I just wanted to make sure I do it
with all the built in libraries that are possible.
I have an existing tool that will be sending me an XML in a post
request. What is the best way for me to take that data and use it in
my Web2py Application? they are not Blogs
I like the orange one.
On Jun 20, 10:22 am, pk wrote:
> hi, i (better we) created the logo.
>
> We think the strong typo represent a strong framework. we like the
> typo, because for such a project would it
> be perfect, also it`s opensource. the number 2 symbolize a dot between
> web and py. th
GOT IT! Thanks to everyone that helped!
I knew I was close...
I changed my view to this...
{{import random}}
{{if len(tags) > 0:}}
{{count = 0}}
{{for tag in relatedTags.keys():}}
{{size=random.randint(1, 4)}}
100 matches
Mail list logo