pass parameters to connect via py3270

112 views
Skip to first unread message

Viktoria K

unread,
Jan 17, 2022, 9:20:19 AM1/17/22
to BlazeLibs
hi there!

i'm trying to establish a connection via py3270 but have an issue with passing parameters.

for basic connection via terminal I use the following command:
wc3270 -noverifycert L:xxx.xxx.xxx:nnnn

I need to connect in the same way but with py3270 and don't know how to pass '-noverifycert' parameter, L prefix and a specific port.

I've tried something like that, but it was not successful:
em = Emulator(visible=True, args=["-noverifycert"])
em.connect('L:xxx.xxx.xxx:nnnn')


Please share if you have any ideas on that. Thanks :)

Kind regards,
Viktoryia
Reply all
Reply to author
Forward
0 new messages