I've played around with Aspen.  Feel free to email me off-list if you like.
 If you have a module named "mylib.py" just put it in your $ROOT/.aspen
 directory, then in one of your aspen simplate files do:

import mylib

The .aspen directory is automatically pushed onto the PYTHONPATH for you.

But in general if you're new to Python I would try playing with a framework
with better docs.  Aspen has some clever ideas, but it's very young and not
well documented so it will probably be more difficult to get going with than
other options.

I would suggest Flask if you want something minimal, or Django if you don't.

http://flask.pocoo.org/
http://www.djangoproject.com/

cheers

-- James

On Sat, May 7, 2011 at 9:14 PM, Kevin LaTona <[email protected]> wrote:

> Hi All,
>
> Is anyone on the list working with a web framework like Aspen?
>
> I am stuck trying to learn how Python does imports in these kind of
> frameworks.
>
> Rather than bore every body crazy on the list  with it, we could take it
> off list just the same.
>
> I think it's pretty simple but I seem to be getting hung up in a Python
> syntax issues.
>
> Thanks
>
> -Kevin
>
>
>


-- 

James Cooper
Principal Consultant - Bitmechanic LLC
http://www.bitmechanic.com/

Reply via email to