diff options
author | Christos.K <freedomrfox@gmail.com> | 2017-10-09 17:55:26 +0000 |
---|---|---|
committer | Christos.K <freedomrfox@gmail.com> | 2017-10-09 17:55:26 +0000 |
commit | 429afbe3e3177d310ecdabd473cbdff67bd56393 (patch) | |
tree | 3f573b4d4accb2369fa6d7d33cb935123bb716a2 /scripts/gpyfunctions/gseclass.py | |
parent | Relocated (diff) | |
download | GSE-429afbe3e3177d310ecdabd473cbdff67bd56393.tar.gz GSE-429afbe3e3177d310ecdabd473cbdff67bd56393.tar.bz2 GSE-429afbe3e3177d310ecdabd473cbdff67bd56393.zip |
New modules name
Diffstat (limited to 'scripts/gpyfunctions/gseclass.py')
-rwxr-xr-x | scripts/gpyfunctions/gseclass.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/gpyfunctions/gseclass.py b/scripts/gpyfunctions/gseclass.py new file mode 100755 index 0000000..4a86d4a --- /dev/null +++ b/scripts/gpyfunctions/gseclass.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3.6 + +# Images +class image(object): + # Image products, with type + + # Attributes: + # name: A string with the image's name + # date: A string with the image's creation date + + def __init__(img, name): + # Return the image's name + img.name = name + + def set_date(img, date): + # Return the image's date of creation + img.date = date + |