singh91digvijay / google-app-engine-samples

Automatically exported from code.google.com/p/google-app-engine-samples
0 stars 0 forks source link

'from datetime.datetime import datetime,timedelta' or 'import datetime'? #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. integrate two where one uses import datetime and nr 2 uses from datetime
import datetime, timedelta
2. conflict
3. choose one way and stay consistent

What is the expected output? 
mixing the two could work

What do you see instead?
type object 'datetime.datetime' has no attribute 'datetime'

What version of the product are you using? On what operating system?
latest crowdguru svn version gae 

Please provide any additional information below.
http://groups.google.com/group/comp.lang.python/browse_thread/thread/5a8b82a19fd
6445e/c57bfab03bce76f6#c57bfab03bce76f6

Original issue reported on code.google.com by nikla...@gmail.com on 10 Oct 2009 at 9:57