Skip to content

Releases: xkdcc/kickcmd

0.1

28 Oct 05:10

Choose a tag to compare

Usage of 0.1 version

(kickcmd) 🙂 [ ~/brant/sandbox/kickcmd ]$ python
Python 3.7.0 (default, Aug 17 2018, 21:14:48)
[Clang 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import kickcmd.runcmd as runcmd
>>> runcmd.test("yo")
Hello, yo, I am kickcmd package.
>>>

Or:

(kickcmd)  🙂 [ ~/brant/sandbox/kickcmd ]$ python
Python 3.7.0 (default, Aug 17 2018, 21:14:48)
[Clang 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from kickcmd import runcmd
>>> runcmd.test('yo')
Hello, yo, I am kickcmd package.
>>>

Note

You can't call the method if import as below:

>>> import kickcmd.runcmd
>>> runcmd.test('yo')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'runcmd' is not defined