Basil Shubin wrote:
> Hi friends!
>
> I have read articles about MVC/MVP, but still can't get a clue to how
> implement it in really working application :-( Because I better
> understand with ready to use examples, can you provide link to free
> python+GUI application which implements MVC/MVP d
Basil Shubin schrieb:
> I have read articles about MVC/MVP, but still can't get a clue to how
> implement it in really working application :-( Because I better
> understand with ready to use examples, can you provide link to free
> python+GUI application which implements MVC/MVP design?
The MVC
"Basil Shubin" <[EMAIL PROTECTED]> wrote
> I have read articles about MVC/MVP, but still can't get a clue to
> how
> implement it in really working application
Look at TurboGears. It uses a model/view/controller setup.
In TG the views are implemented as kid templates
(a mixture of HTML and embe
I am working my way through 'wxPython in Action' by Noel Rappin and
Robin Dunn and came across this comment about data hiding in their
explanation of the MVC pattern:
".. the View... should never get to see the private internals of the
Model. Admittedly, this is difficult to enforce in Python,
Hi friends!
I have read articles about MVC/MVP, but still can't get a clue to how
implement it in really working application :-( Because I better
understand with ready to use examples, can you provide link to free
python+GUI application which implements MVC/MVP design?
Thanks!
___
* Stefan Heyne <[EMAIL PROTECTED]> [061218 09:51]:
> OK, thanksno I get the data into a file output..but I still am stuck
> with the formatting...
> 1) there are brackets around the data that are due to the necessary (??)
> conversion to a string
> 2) I cannot figure out how to insert a newli
OK, thanksno I get the data into a file output..but I still am stuck
with the formatting...
1) there are brackets around the data that are due to the necessary (??)
conversion to a string
2) I cannot figure out how to insert a newline command
Here's the code:
g=open('output.txt', 'w')
fo
> for x in range(1,226):
> # g=open('output', 'w')
> y1=m.extract('TEMP',32, 1131, component='1', cycle=x, subcycle=1)
> y2=m.extract('PRES',32, 1131, component='1', cycle=x, subcycle=1)
> # testout = (x,y1,y2,'\n')
> # line = str(testout)
> # g.write(line)
> print x,y1,y2
>
Hi there,
I am newby to python and have some problems getting data into a file
I am using python to extract data from a database but currently i only
get it to print the data on the screen so I have to copy/paste it into a
file later on.
There for sure is a way to do that but I couldn't figu