|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
NTLM authenticationHi, If any one know how to do NTLM authentication from IronPython, please send me the procedure or share the code if you have it. Thanks. Regards, Aloysius Jegan E.A. _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
|||||||||||
|
|
Re: NTLM authentication2009/10/6 Aloysius Jegan <Aloysius.Jegan@...>:
> If any one know how to do NTLM authentication from IronPython, please send > me the procedure or share the code if you have it. In IronPython you have a choice of doing it like Python or like .NET. For Python, this library provides NTLM authentication for urllib2. http://code.google.com/p/python-ntlm/ -- Seo Sanghyeon _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
|||||||||||
|
|
Re: NTLM authenticationThanks for the info -Aloysius Jegan
2009/10/6 Aloysius Jegan <Aloysius.Jegan@...>: > If any one know how to do NTLM authentication from IronPython, please send > me the procedure or share the code if you have it. In IronPython you have a choice of doing it like Python or like .NET. For Python, this library provides NTLM authentication for urllib2. http://code.google.com/p/python-ntlm/ -- Seo Sanghyeon _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
|||||||||||
|
|
Ctrl + AHi, How to give Ctrl+A as a start of string in Ironpython? My requirement is like this, I have to send one command to my device assume the command is "SWITCH ON 01 02 03" before sending this command through serial port, I have to press Ctrl+A as start of command. I don't know how to add Ctrl+A along with the command string. -Regards Aloysius Jegan _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
|||||||||||
|
|
Re: Ctrl + AThe ASCII code for the Ctrl+A character is 01, so I would try something like this:
cmd = chr(01) + " SWITCH ON 01 02" Then send the cmd string. If you need to convert a single-character string back to an ASCII code, you would use the ord function. On Tue, Oct 6, 2009 at 11:12 PM, Aloysius Jegan <Aloysius.Jegan@...> wrote:
_______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
|||||||||||
|
|
Re: Ctrl + AThanks david.... It is working
The ASCII code for the Ctrl+A character is 01, so I would try something like this: cmd = chr(01) + " SWITCH ON 01 02" Then send the cmd string. If you need to convert a single-character string back to an ASCII code, you would use the ord function. On Tue, Oct 6, 2009 at 11:12 PM, Aloysius Jegan <Aloysius.Jegan@...> wrote: Hi, How to give Ctrl+A as a start of string in Ironpython? My requirement is like this, I have to send one command to my device assume the command is "SWITCH ON 01 02 03" before sending this command through serial port, I have to press Ctrl+A as start of command. I don't know how to add Ctrl+A along with the command string. -Regards Aloysius Jegan _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
| Free embeddable forum powered by Nabble | Forum Help |