I tried but it's not work. Vào 12:02:56 UTC+7 Thứ hai, ngày 01 tháng mười năm 2012, Takashi Matsuo (Google) đã viết: > > import os > size = os.stat(filename).st_size > # or > size = os.path.getsize(filename) > > Does one of these work for you? > > > On Mon, Oct 1, 2012 at 1:39 PM, Phát Trần <phat...@gmail.com <javascript:> > > wrote: > >> So use we use read file. And how can we know its size >> >> Vào 10:58:48 UTC+7 Thứ hai, ngày 01 tháng mười năm 2012, gops đã viết: >>> >>> It prohibits "writing". It allows reading anyway you want. >>> >>> On Mon, Oct 1, 2012 at 9:02 AM, GregF <gr...@vig.co.nz> wrote: >>> >>>> Appengine does not give you access to the filesystem. You will need to >>>> use either the datastore or the blobstore to store local information. >>>> >>>> Cheers! >>>> Greg. >>>> >>>> >>>> On Saturday, 29 September 2012 22:05:42 UTC+12, Phát Trần wrote: >>>>> >>>>> I try to get file size with os.path("asd.txt") >>>>> But I cann't. Don't know why. Any help? >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/google-appengine/-/**Q1UPQlf3YBsJ<https://groups.google.com/d/msg/google-appengine/-/Q1UPQlf3YBsJ> >>>> . >>>> >>>> To post to this group, send email to google-a...@googlegroups.**com. >>>> To unsubscribe from this group, send email to google-appengi...@** >>>> googlegroups.com. >>>> >>>> For more options, visit this group at http://groups.google.com/** >>>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en> >>>> . >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-appengine/-/l__keJOGOxkJ. >> >> To post to this group, send email to >> google-a...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> google-appengi...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine?hl=en. >> > > > > -- > Takashi Matsuo | Developers Advocate | tma...@google.com <javascript:> > >
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/4y5qVGqh900J. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.