Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121937445
event.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 14, 23:25
Size
1 KB
Mime Type
text/x-python
Expires
Wed, Jul 16, 23:25 (2 d)
Engine
blob
Format
Raw Data
Handle
27415801
Attached To
R2010 molecular_data_processing
event.py
View Options
#!/usr/bin/env python
# -*- coding: utf-8 -*-
" module containing class Event"
##########################################################################
##########################################################################
class
Event
(
object
):
"""
class Event: this class of object is used to store information about special events that occured during the experiment
"""
# ------------------------------------------------------------------ #
# Constructors/Destructors #
# ------------------------------------------------------------------ #
def
__init__
(
self
,
date
,
description
):
"""__init__: each event is initialized with a date and a description as members """
# Members ---------------------- #
# string event_date
self
.
event_date
=
date
# string event_description
self
.
event_description
=
description
pass
def
__del__
(
self
):
"""__del__: not implemented """
pass
##########################################################################
if
__name__
==
'__main__'
:
test
=
Event
(
'01_02_2017'
,
'pH a plus de 11 dans le reacteur RA durant une heure'
)
Event Timeline
Log In to Comment