On May 29, 2014 1:02 PM, "leif" <not.rea...@online.de> wrote: > > William Stein wrote: >> >> On Thu, May 29, 2014 at 11:04 AM, Stephen Kauffman >> <strangerl...@gmail.com> wrote: >>> >>> Willian Stein responded saying it the question wasn't specific to >>> SageMathCloud anyway the answer was os.path.abspath('.') >> >> >> Yes -- as people may have noticed, SageMathCloud is resulting in some >> new Sage users. When people ask questions (like the above) which >> actually aren't SMC specific, they still often mention they are using >> Sage in the context of SMC. It's probably useful to interpret this >> as "in Ubuntu 14.04 with most optional packages pre-installed". > > > I don't get how this question wasn't SMC-specific. > > In contrast, if he'd asked "how do I get the current working directory" we probably would have sent him to #python, stackoverflow, or whatever. > >
His question was really: "how in python do I find the absolute path to a file?". Answer: ps.path.abspath. That is not SMC-specific. > -leif > > > >>> On Wednesday, May 28, 2014 9:17:23 AM UTC-4, Dima Pasechnik wrote: >>>> >>>> On Wednesday, 28 May 2014 14:15:23 UTC+1, Dima Pasechnik wrote: >>>>> >>>>> >>>>> this is not the right group for the Sage Cloud related questions, IMHO. >>>>> Try the one I cc to. >>>> >>>> >>>> should have mentioned it explicitly: sage-...@googlegroups.com >>>>> >>>>> >>>>> On Wednesday, 28 May 2014 12:13:00 UTC+1, Stephen Kauffman wrote: >>>>>> >>>>>> >>>>>> What is /path/to/file.sage when stored in cloud folder under project? >>>>>> For load('file.sage') ? This is for sagemathcloud worksheet and project. >>>>>> Thanks > > > -- > () The ASCII Ribbon Campaign > /\ Help Cure HTML E-Mail > > > -- > You received this message because you are subscribed to the Google Groups "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.