IRC log of #zope for Wednesday, 2011-07-27

*** TresEquis has left #zope00:03
*** sashav has joined #zope00:38
*** Wu has joined #zope00:43
*** d2m has quit IRC00:45
*** ajsmith has quit IRC01:00
*** ccomb has quit IRC01:00
*** d2m has joined #zope01:01
*** ajsmith has joined #zope01:01
*** ajsmith has quit IRC01:05
*** evilbungle has joined #zope01:07
*** srichter has quit IRC01:11
*** menesis has quit IRC01:13
*** nun has joined #zope01:16
*** allisterb has quit IRC01:17
*** evilbungle has quit IRC01:20
*** Wu has quit IRC01:48
*** J1m_ has quit IRC01:54
*** MrTango has quit IRC01:56
*** m8 has quit IRC02:00
*** srichter has joined #zope02:02
*** srichter has quit IRC02:12
*** srichter has joined #zope02:14
*** hever has quit IRC02:17
*** srichter has quit IRC02:36
*** srichter has joined #zope02:36
*** tiwula has quit IRC02:51
*** daMaestro has quit IRC03:07
*** hever has joined #zope03:09
*** sm_ has quit IRC03:12
*** mr_jolly has quit IRC03:14
*** davisagli has quit IRC03:15
*** davisagli has joined #zope03:15
*** d2m has quit IRC03:17
*** Spanktar has quit IRC04:30
*** Arfrever has quit IRC04:44
*** hever has quit IRC05:02
*** srichter has quit IRC05:10
*** dayne has joined #zope06:21
*** huajie has joined #zope06:27
*** davisagli has quit IRC06:29
*** davisagli has joined #zope06:29
*** davisagli has quit IRC07:22
*** davisagli has joined #zope07:24
*** nun has quit IRC07:43
*** do3cc has joined #zope08:15
*** huajie has quit IRC08:18
*** Taggnostr has quit IRC08:25
*** dayne has quit IRC08:27
*** sm_ has joined #zope08:37
*** Taggnostr has joined #zope08:43
*** sm_ has quit IRC08:51
*** zagy has joined #zope08:56
*** zagy has quit IRC09:00
*** __mac__ has joined #zope09:00
*** __mac__1 has joined #zope09:02
*** __mac__ has quit IRC09:04
*** zagy has joined #zope09:05
*** redir_ has quit IRC09:27
*** hever has joined #zope09:34
*** mr_jolly has joined #zope09:53
*** agroszer has joined #zope10:01
*** mr_jolly has quit IRC10:03
*** goschtl has joined #zope10:03
*** alexpilz1 has quit IRC10:07
*** planetzopebot has quit IRC10:08
*** planetzopebot has joined #zope10:08
*** avoinea has joined #zope10:11
*** zagy has quit IRC10:19
*** zagy has joined #zope10:19
*** goschtl has quit IRC10:19
*** evilbungle has joined #zope10:27
*** evilbungle has quit IRC10:29
*** alexpilz has joined #zope10:47
*** menesis has joined #zope11:01
*** evilbungle has joined #zope11:02
*** evilbungle has quit IRC11:04
*** f10w has quit IRC11:05
*** nun has joined #zope11:05
*** Wu has joined #zope11:09
*** nun has quit IRC11:17
*** mitchell`off is now known as mitchell`11:28
*** evilbungle has joined #zope11:28
*** d2m has joined #zope11:33
*** evilbungle has quit IRC11:36
*** sunew has joined #zope11:42
*** mr_jolly has joined #zope11:43
*** MrTango has joined #zope11:44
*** evilbungle has joined #zope12:12
*** d2m has left #zope12:17
*** hever has quit IRC12:27
*** TomBlockley has joined #zope12:29
*** teix has joined #zope12:39
*** sashav has quit IRC12:39
*** Wu has quit IRC12:43
*** Wu has joined #zope12:46
*** Wu has quit IRC12:49
*** d2m has joined #zope12:51
*** do3cc has quit IRC12:52
*** hever has joined #zope12:59
*** agspathis has joined #zope13:29
*** agspathis has left #zope13:29
*** __mac__1 is now known as __mac__13:31
*** povbot has joined #zope14:37
betabugwhich you don't need to "allow" or anything14:37
betabugand does all the same stuff (sometimes slightly differently, it's older than python's datetime)14:38
betabugso I would not bother with enabling python's datetime14:38
betabugthe api for DateTime is in the ZMI "help" system14:41
bigkevmcdbetabug: you radical thinker! :-)14:42
betabugbigkevmcd: haha14:42
*** do3cc has left #zope14:42
betabugbigkevmcd: how's life?14:42
*** do3cc has joined #zope14:43
*** do3cc has left #zope14:44
*** do3cc has joined #zope14:44
*** do3cc has left #zope14:44
*** do3cc has joined #zope14:45
hariombetabug: On the command prompt of the python install with zope (i.e. python 2.4), when I access DateTime, It says that no module DateTime14:45
betabugyeah14:45
betabugyou'd have to import lots of stuff on the command prompt14:46
betabugbut Zope's restricted python doesn't work like that14:46
betabugyou try out your scripts in the ZMI14:46
*** goschtl has quit IRC14:48
*** ccomb has joined #zope14:51
hariombetabug: basically I am validating the entered date of birthday to check if the person is >= 18 or not14:51
hariomThis simple task which is just 3 lines in normal python command line is getting difficult in Zope application14:52
betabugDateTime() gives you the current date and time14:52
betabugDateTime("some date that can be parsed") gives you a specific time and date14:52
betabugyou can substract them14:52
*** menesis has quit IRC14:52
hariombetabug: But how to use DateTime() in a python script? Should I simply import DateTime? and do something like:  birthdate = DateTime(int(birthyear), int(birthmonth), int(birthday)) and then subtract it from today?14:53
hariombetabug: and how to get today's date?14:55
betabugjust use it14:55
*** yvl has quit IRC14:59
hariomhow to get today's date using DateTime ?15:09
betabugDateTime()15:15
betabugas said before15:15
betabuglook it up in the API in the ZMI help system15:15
*** srichter has joined #zope15:31
*** J1m_ has joined #zope15:43
*** f10w has joined #zope15:46
*** hariom has quit IRC15:49
*** menesis has joined #zope15:59
*** dayne has joined #zope15:59
*** m8 has quit IRC16:00
*** dayne has quit IRC16:13
*** dayne has joined #zope16:14
*** hever has quit IRC16:14
*** ajsmith has joined #zope16:18
*** nun has quit IRC16:23
*** yvl has joined #zope16:27
*** do3cc has quit IRC16:50
*** do3cc has joined #zope16:50
*** zenwryly has quit IRC16:51
*** goschtl has joined #zope17:01
*** d2m has quit IRC17:07
*** d2m has joined #zope17:22
*** alexpilz has quit IRC17:37
*** sm_ has joined #zope17:39
*** Wu has joined #zope17:42
*** redir has joined #zope17:48
*** mgedmin has joined #zope17:52
*** sm_ is now known as sm17:52
*** goschtl has quit IRC17:59
*** goschtl has joined #zope18:04
*** sunew has quit IRC18:08
*** yvl has quit IRC18:09
*** mitchell` is now known as mitchell`off18:14
*** goschtl has quit IRC18:15
*** dayne has quit IRC18:19
*** mcdonc has quit IRC18:29
*** davisagli has quit IRC18:36
*** davisagli has joined #zope18:36
*** agroszer has quit IRC18:36
*** __mac__ has quit IRC18:41
*** daMaestro has joined #zope18:48
*** sunew has joined #zope18:51
*** zagy has quit IRC19:03
*** rbanffy has joined #zope19:04
*** tiwula has joined #zope19:05
*** mcdonc has joined #zope19:06
*** dayne has joined #zope19:08
*** sunew has quit IRC19:29
*** Wu has quit IRC19:32
*** cwarner has joined #zope19:48
*** TomBlockley has quit IRC20:00
*** dayne has quit IRC20:02
*** zenwryly has joined #zope20:04
*** dayne has joined #zope20:20
*** rbanffy has quit IRC20:22
*** evilbungle has quit IRC20:30
*** dayne has quit IRC20:31
*** do3cc has quit IRC20:38
koshhail freaks20:39
*** hever has joined #zope20:40
*** rbanffy has joined #zope20:43
*** rbanffy has quit IRC20:45
*** rbanffy has joined #zope20:45
*** hever has quit IRC20:46
*** rbanffy has quit IRC20:47
*** TresEquis has joined #zope20:50
*** rbanffy has joined #zope20:51
*** dayne has joined #zope20:53
*** sunew has joined #zope20:55
*** teix has quit IRC21:03
*** avoinea has quit IRC21:17
*** avoinea has joined #zope21:17
*** menesis has quit IRC21:18
*** avoinea has quit IRC21:24
*** zenwryly has quit IRC21:25
*** zagy has joined #zope21:25
*** zenwryly has joined #zope21:26
*** ccomb has quit IRC21:27
*** zagy has quit IRC21:30
*** zagy has joined #zope21:35
*** zagy1 has joined #zope21:36
*** zagy has quit IRC21:36
*** zagy1 has quit IRC21:37
*** zagy has joined #zope21:37
*** alexpilz has joined #zope21:48
*** evilbungle has joined #zope22:01
*** evilbungle has quit IRC22:01
*** zagy has quit IRC22:06
*** zagy has joined #zope22:07
*** srichter has quit IRC22:10
*** zagy has quit IRC22:18
*** sunew has quit IRC22:22
*** do3cc has joined #zope22:35
*** runyaga has joined #zope22:46
*** runyaga has quit IRC22:46
*** runyaga has joined #zope22:46
*** davisagli has quit IRC23:03
*** davisagli has joined #zope23:04
*** srichter has joined #zope23:07
*** TresEquis_ has joined #zope23:14
*** hever has joined #zope23:33
*** sunew has joined #zope23:43
*** alexpilz1 has joined #zope23:45
*** alexpilz has quit IRC23:47
*** TresEquis has quit IRC23:53
*** TresEquis_ has quit IRC23:53
*** TresEquis has joined #zope23:53

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!