Re: can python make web applications?
On Sep 16, 7:02 pm, Paul Boddie wrote: > On 16 Sep, 18:31, lkcl wrote: > > > > >http://pyjs.org/examples/timesheet/output/TimeSheet.html > > I get this error dialogue message when visiting the above page: > > "TimeSheet undefined list assignment index out of range" > > Along with the following in-page error, once the data has been > imported: > > "JavaScript Error: uncaught exception: list assignment index out of > range at line number 0. Please inform webmaster." > > It looks quite nice, though. > > Paul DOH! someone assuming javascript-isms in lists, and the compiler's been improved to ban them :) ... self.date = None ... ... print 'setEntries:', entries try: #tt = time.localtime(time.time()) -tt = [] -tt[0] = int(self.date[:4]) -tt[1] = int(self.date[4:6]) -tt[2] = int(self.date[6:8]) +tt = [0] * 9 +if self.date: +tt[0] = int(self.date[:4]) +tt[1] = int(self.date[4:6]) +tt[2] = int(self.date[6:8]) tt[3] = 0 tt[4] = 0 tt[5] = 0 -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
On Sep 16, 7:02 pm, Paul Boddie wrote: > On 16 Sep, 18:31, lkcl wrote: > > > > >http://pyjs.org/examples/timesheet/output/TimeSheet.html > > I get this error dialogue message when visiting the above page: > > "TimeSheet undefined list assignment index out of range" ah well spotted, thanks paul. -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
On 16 Sep, 18:31, lkcl wrote: > > http://pyjs.org/examples/timesheet/output/TimeSheet.html I get this error dialogue message when visiting the above page: "TimeSheet undefined list assignment index out of range" Along with the following in-page error, once the data has been imported: "JavaScript Error: uncaught exception: list assignment index out of range at line number 0. Please inform webmaster." It looks quite nice, though. Paul -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
On Aug 23, 3:12 pm, Deep_Feelings wrote: > can python make powerfull database web applications that can replace > desktop database applications? e.g: entrprise accounting > programs,enterprise human resource management programs ...etc with pyjamas, as mark mentioned previously - but what mark perhaps wasn't aware of is that with pyjamas-desktop you can have _both_. you can have the _exact_ same python application _either_ be compiled to javascript, and be a web application, _or_ you can run it under pyjamas-desktop, as pure python. so you can have a pyjamas app do _both_ jobs. for some examples that look like the kinds of things that you would expect, see: http://pyjs.org/examples/timesheet/output/TimeSheet.html http://pyjs.org/examples/employeeadmin/output/EmployeeAdmin.html both of these use http://puremvc.org (python version, not javascript version). both of them work under pyjd. l. -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
Mark wrote: > On Sun, 23 Aug 2009 21:45:17 +0100, Goke Aruna wrote: > >http://www.openerp.com, all done is python. > > That does look impressive. Is that Django or Turbogears? Turbogears, according to the product's wikipedia page. -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
On Sun, 23 Aug 2009 21:45:17 +0100, Goke Aruna wrote: > A lot check this fantastic open source application, > http://www.openerp.com, all done is python. That does look impressive. Is that Django or Turbogears? -- Mark -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
Deep_Feelings wrote: can python make powerfull database web applications that can replace desktop database applications? e.g: entrprise accounting programs,enterprise human resource management programs ...etc As the other replies already mentioned that these already exists, I would like to add that with Pyjamas you can write 'webgui' programs relatively easily: http://pyjs.org/ -- MPH http://blog.dcuktec.com 'If consumed, best digested with added seasoning to own preference.' -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
A lot check this fantastic open source application, http://www.openerp.com, all done is python. On 8/23/09, Stefaan Himpe wrote: > Deep_Feelings wrote: >> can python make powerfull database web applications that can replace >> desktop database applications? e.g: entrprise accounting >> programs,enterprise human resource management programs ...etc > > In addition to the recommendations by other people, I'd like to > recommend the very easy to learn and use web2py. (www.web2py.com). > -- > http://mail.python.org/mailman/listinfo/python-list > -- Sent from my mobile device -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
Deep_Feelings wrote: can python make powerfull database web applications that can replace desktop database applications? e.g: entrprise accounting programs,enterprise human resource management programs ...etc In addition to the recommendations by other people, I'd like to recommend the very easy to learn and use web2py. (www.web2py.com). -- http://mail.python.org/mailman/listinfo/python-list
Re: can python make web applications?
On Aug 23, 8:12 pm, Deep_Feelings wrote: > can python make powerfull database web applications that can replace > desktop database applications? e.g: entrprise accounting > programs,enterprise human resource management programs ...etc Very much so. The web frameworks, Django & TurboGears are quite powerful and can be used to do what you just now mentioned. Check out Django - esp if the application is database centric. It has very good documentation and a free online book - djangobook. -- http://mail.python.org/mailman/listinfo/python-list