Skip to content

Stam - #122

Open
kerenkay wants to merge 9 commits into
osherdp:masterfrom
kerenkay:stam
Open

Stam#122
kerenkay wants to merge 9 commits into
osherdp:masterfrom
kerenkay:stam

Conversation

@kerenkay

Copy link
Copy Markdown
Collaborator

stam exercise

@jhb1996jhb1996 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just a few small things. Other than that looks good.

Comment threadstam.py Outdated
Comment threadstam.py Outdated
Comment threadstam.py Outdated
Comment threadtest.txt Outdated
Comment threadstam.py Outdated
Comment threadstam.py Outdated
Comment threadstam.py
Comment threadATM.py Outdated
Comment threadtest.txt Outdated
Comment threadstam.py Outdated
Comment threadstam.py Outdated
Comment threadstam.py Outdated
Comment threadstam.py Outdated
Comment threadstam.py Outdated
Comment threadstam.py
Comment threadstam.py
@@ -0,0 +1,59 @@
"""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

See section 3.1 for the proper way to document modules https://github.com/osherdp/python-training/blob/master/Style_Guide.md

Comment threadstam.py
newfile.write(f"keren {line.strip()} kayrich\n")


def main():

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Follow the style guid for how to document functions (change the documentation of all of your functions to be inline with the style guide) https://github.com/osherdp/python-training/blob/master/Style_Guide.md

Comment threadstam.py
Comment on lines +1 to +2
"""The script adds firs and last name to the file's rows.
"""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

fix doc

Comment threadstam.py
Comment on lines +6 to +7
PATH_TO_ORIGINAL_FILE = 1
PATH_TO_NEW_FILE = 2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

  1. reorder
  2. those consts are not paths

Comment threadstam.py
Comment on lines +27 to +28
"""Adds name to the new file's rows.
"""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

fix doc (one liner)

Sign up for freeto 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.

4 participants

@kerenkay@rfire01@jhb1996@IgalKolihman