hoge.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- Python -*-
3 
4 hoge_spec = ["implementation_id", "hoge",
5  "type_name", "hoge",
6  "description", "hoge component",
7  "version", "1.0",
8  "vendor", "Shinji Kurihara",
9  "category", "example",
10  "activity_type", "DataFlowComponent",
11  "max_instance", "10",
12  "language", "Python",
13  "lang_type", "script",
14  ""]
15 
16 class HOGE:
17  def __init__(self):
18  pass
19 
20 def echo(*args):
21  print "hello HOGE"
22 
23 
24 
25 """
26 import sys
27 argv = sys.argv[1:]
28 for x in argv:
29  try:
30  f = open(x)
31  print"---",x,"---"
32  for i in range(15):
33  print i+1,f.readline(),
34  print "---",x,"---\n"
35  f.close()
36  except IOError:
37  print "Can't find file:", x
38 
39 """
40 
41 
def __init__(self)
Definition: hoge.py:17
def echo(args)
Definition: hoge.py:20


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Feb 28 2022 23:01:06