Skip to content

Commit

Permalink
added python script to run
Browse files Browse the repository at this point in the history
  • Loading branch information
amish0 committed Aug 29, 2024
1 parent 836fe38 commit 67851ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/event_type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ jobs:
- name: Install opencv
run: pip install opencv-python
- name: check python version
run: python --version
run: python --version
- name: run python script
run: python python_print.py
6 changes: 6 additions & 0 deletions python_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
print("Bye")
import numpy as np
print(np.random.rand(3,3))

def add(a,b):
return a+b

if __name__ == "__main__":
print(add(1,2))

0 comments on commit 67851ab

Please sign in to comment.