Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python hello world template #15

Draft
wants to merge 1 commit into
base: rnpridgeon/pyhack
Choose a base branch
from

Conversation

LauraLangdon
Copy link

Splitting the plugin.py file we got from VMWare into index.py and lib.py.

TODO:

- fix `sdk` import
- fix comments
@LauraLangdon LauraLangdon requested a review from a team March 20, 2023 19:35
@LauraLangdon LauraLangdon self-assigned this Mar 20, 2023

def run_e(payload, ident):
"""Function for SE2"""
lib.log(f'Received payload "{payload}"', ident)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These calls definitely shouldn't be here, the only requirement index.py will/should have on lib.py structure that it exports a run() function, lib.log should not be here (that log function is more for debugging anyway, you can just remove it completely).

@LauraLangdon
Copy link
Author

It turned out Oscar wants to change this to a "hello world" situation anyway, so I'll change my PR to a draft.

@LauraLangdon LauraLangdon marked this pull request as draft March 21, 2023 17:21
@LauraLangdon LauraLangdon removed the request for review from a team March 21, 2023 17:21
@LauraLangdon LauraLangdon changed the title Python templates Python hello world template Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants