Opened 11 years ago

Closed 11 years ago

#1892 closed defect (fixed)

[with patch; positive review] notebook -- uploading a data file should give some help about the DATA variable

Reported by: was Owned by: boothby
Priority: major Milestone: sage-3.0.2
Component: notebook Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

> The other option which some students tried was the upload a file
> using Data.  It indeed uploads the file to a text cell, but we were
> unable to find out how one accesses it. 

Upload it then access it by typing

open(DATA + 'chapitre.1.txt').read()

This DATA variable is documented in line three if you click on the Help button
in the upper right of the worksheet.  It would also be good if it appeared any
time you upload a file in the confirmation message -- it doesn't right now.  I'll
make a ticket to add this (which will be very easy). 

Attachments (1)

sage-1892.patch (1.0 KB) - added by was 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by was

comment:1 Changed 11 years ago by was

  • Summary changed from notebook -- uploading a data file should give some help about the DATA variable to [with patch; needs review] notebook -- uploading a data file should give some help about the DATA variable

comment:2 Changed 11 years ago by mabshoff

  • Summary changed from [with patch; needs review] notebook -- uploading a data file should give some help about the DATA variable to [with patch; positive review] notebook -- uploading a data file should give some help about the DATA variable

Patch looks good to me. Positive review.

Cheers,

Michael

comment:3 Changed 11 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Merged in Sage 3.0.2.alpha1

Note: See TracTickets for help on using tickets.