aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos.K <freedomrfox@gmail.com>2017-10-09 17:55:26 +0000
committerChristos.K <freedomrfox@gmail.com>2017-10-09 17:55:26 +0000
commit429afbe3e3177d310ecdabd473cbdff67bd56393 (patch)
tree3f573b4d4accb2369fa6d7d33cb935123bb716a2 /scripts/gpyfunctions/gseclass.py
parentRelocated (diff)
downloadGSE-429afbe3e3177d310ecdabd473cbdff67bd56393.tar.gz
GSE-429afbe3e3177d310ecdabd473cbdff67bd56393.tar.bz2
GSE-429afbe3e3177d310ecdabd473cbdff67bd56393.zip
New modules name
Diffstat (limited to 'scripts/gpyfunctions/gseclass.py')
-rwxr-xr-xscripts/gpyfunctions/gseclass.py18
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
+