By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,812 Members | 1,650 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,812 IT Pros & Developers. It's quick & easy.

lowercase u before string in "python for windows"

P: n/a
why does this occur when using the python windows extensions? all
string are prefixed by a lowercase "u".
is there a newsgroup explicitly for python windows extensions?

example of output below.

SMBIOSBIOSVersion:u'A16'
SMBIOSMajorVersion:2
SMBIOSMinorVersion:3
SMBIOSPresent:True
SoftwareElementID:u'Phoenix ROM BIOS PLUS Version 1.10 A16'
SoftwareElementState:3
Status:u'OK'
TargetOperatingSystem:0
here is a snippet of the code:

if objItem.Status != None:
print "Status:" + ` objItem.Status`
if objItem.TargetOperatingSystem != None:
print "TargetOperatingSystem:" + `
objItem.TargetOperatingSystem`
if objItem.Version != None:
print "Version:" + ` objItem.Version`
Mar 10 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
why does this occur when using the python windows extensions? all
string are prefixed by a lowercase "u".
They are Unicode strings:

http://docs.python.org/ref/strings.html
is there a newsgroup explicitly for python windows extensions?
Not that I know of, other than what's described here:

https://sourceforge.net/mail/?group_id=78018

-tkc
Mar 10 '08 #2

P: n/a
On Mon, Mar 10, 2008 at 5:20 PM, davidj411 <da*******@gmail.comwrote:
why does this occur when using the python windows extensions?
There's nothing Windows specific about this - it just means that you
have unicode strings. See
<http://effbot.org/zone/unicode-objects.htm>,

--
Cheers,
Simon B.
si***@brunningonline.net
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues
Mar 10 '08 #3

P: n/a
>
is there a newsgroup explicitly for python windows extensions?

Not that I know of, other than what's described here:

https://sourceforge.net/mail/?group_id=78018

-tkc
There is a PyWin32 user's group:

http://mail.python.org/mailman/listinfo/python-win32

The maintainer of the project is a regular contributor to the list as
are a number of other very knowledgeable Windows guys.

Mike
Mar 10 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.