Skip to content

Little code improvements #1

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Lampe2020
Copy link

@Lampe2020 Lampe2020 commented Apr 14, 2023

→ Changed loop in createFd() to generator expression
→ Replace str.format() calls with f-strings
→ Replace double quotes with single quotes
→ Change printed messages so all of them contain an indicator if they are good ([+] ) or bad ([-] ) or neutral ( )
→ Change shebang to be more universal (#!/usr/bin/python3 → #!/usr/bin/env python3)

→ Changed loop in createFd() to generator expression
→ Replace loop in creadeFd() with generator expression
@Lampe2020 Lampe2020 changed the title Update exec_elf_in_memory.py Replace string gen loop with generator expression Apr 14, 2023
@Lampe2020 Lampe2020 marked this pull request as ready for review April 14, 2023 09:17
→ Replace str.format() calls with f-strings   
→ Replace double quotes with single quotes   
→ Change printed messages so all of them contain an indicator if they are good ([+] ) or bad ([-] ) or neutral (    )
→ Replace str.format() calls with f-strings   
→ Replace double quotes with single quotes   
→ Change printed messages so all of them contain an indicator if they are good ([+] ) or bad ([-] ) or neutral (    )
@Lampe2020 Lampe2020 changed the title Replace string gen loop with generator expression Little code improvements Apr 14, 2023
→ I had missed that one message...
→ I had missed that one message...
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.

1 participant