Groups
Sign in
Groups
sarge
Conversations
About
Send feedback
Help
or in stdout=self.stdout or Capture(),
14 views
Skip to first unread message
maziar navahan
unread,
Jul 27, 2021, 12:27:58 PM
7/27/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sarge
Hi
i frequently see :
in call Run user for set stdout use
stdout
=
self
.
stdout
or
Capture
(),
i can not understand
OR
operator in
self
.
stdout
or
Capture
( ....
what do ?
Vinay Sajip
unread,
Jul 27, 2021, 12:57:58 PM
7/27/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sarge
Frequently? The use of "or" is standard Python usage, nothing to do with sarge. See for example
https://realpython.com/python-or-operator/
maziar navahan
unread,
Jul 31, 2021, 7:02:59 AM
7/31/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sarge
Hi
Thx, I come from c++ then confused It
Reply all
Reply to author
Forward
0 new messages