Thanks for the tip!
Am Donnerstag, 13. August 2020 15:47:14 UTC+2 schrieb Dennis Bieber:
>
> Try replacing that line with
>
> sys.stdout.write("%4X " % AdcV[i])
>
> I've moved the space separator into the "..." format string.
>
> .write() doesn't add line terminators, they are all up to the
> coder to
> put in.
>
> Personally -- I'd probably replace all the "print" calls with
> equivalent sys.stdout.write() (inserting the proper line ending \n where
> needed). For "deliverable" packages I tend to save "print" for
> development/debug tracing information -- one can easily identify what is
> to
> be removed when delivering the package.
>
The target is not to create perfect python code!
The target is to get users started. And therefore I try to present similar
code in the syntax of three different programming languages.
Regards
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/e83e34b0-5427-4d37-aa93-1a189d9430dco%40googlegroups.com.