Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Advanced Search
Search Results
Search Result
Collapse
Search Results:
1 result in 0.0039 seconds.
Keywords
Search in titles only
Members
Started posts only
Search
Tags
Search
cheetah
Sort By
Relevance
Title
Members
Date - started post
Date - last update
Replies
Reactions
Event Start
Trending
Order
Descending
Ascending
Rafael Justo
started a topic
Accessing class attribute
in
Python
Jul 2 '09, 03:28 PM
Accessing class attribute
Hi,
I'm new in python development (NEWBIE). While I was using Cheetah Templates I got a problem about accessing template variables.
I have an object like this (class Template):
Code:
>>> class A: ... x = 1 ... y = 2 ... z = 3
But I'm just going to know the attributes names "on the fly". How can I set/get this attributes if I have just...
See more
|
Go to post
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕