Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 2, 2025

Remove the Python 3 syntax errors from two files.

  • print() is a function in Python 3.
  • Octal literals must start with 0o in Python 3.
uv tool run --python=3.12 --from=future futurize --stage1 --write \
  software/processdump/create_json.py \
  software/processdump/split_video.py

https://python-future.org/automatic_conversion.html#stage-1-safe-fixes

@cclauss cclauss force-pushed the python-futurize-stage1 branch from e8549ef to fca663e Compare February 2, 2025 11:00
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