Re: [Tutor] list mail formatting

2011-12-22 Thread Jamie Paul Griffin
On Wed, Dec 21, 2011 at 11:51:46PM +, Alan Gauld wrote: > On 21/12/11 11:49, Jamie Paul Griffin wrote: > >Is there not a requirement to use plain text as with > > most other technical mailing lists? > > No, because many of the users of this list are non technical > beginners who understand r

Re: [Tutor] list mail formatting

2011-12-22 Thread Alan Gauld
On 22/12/11 03:34, Alexander wrote: We request, and advise where possible, on setting up email in plain text, but we do not insist It's a frustration to most folks who were brought up on plain-text email. I'm glad I came across this thread. I've been following a few posts here and there, a

Re: [Tutor] list mail formatting

2011-12-22 Thread Alan Gauld
On 22/12/11 08:59, Jamie Paul Griffin wrote: I can understand that and it's a fair point. > So, perhaps my suggestion of putting some filtering/reformatting > software on the list server could help with this? Maybe, but I'm a list moderator and I have absolutely no access to the list server in

Re: [Tutor] list mail formatting

2011-12-22 Thread Alexander Etter
On Dec 22, 2011, at 4:10, Alan Gauld wrote: > On 22/12/11 03:34, Alexander wrote: > >>> We request, and advise where possible, on setting up email >>> in plain text, but we do not insist > >>> It's a frustration to most folks who were brought up on >>> plain-text email. >> >> I'm glad I came

Re: [Tutor] list mail formatting

2011-12-22 Thread Jamie Paul Griffin
On Thu, Dec 22, 2011 at 09:14:57AM +, Alan Gauld wrote: > On 22/12/11 08:59, Jamie Paul Griffin wrote: > > >I can understand that and it's a fair point. > > So, perhaps my suggestion of putting some filtering/reformatting > > software on the list server could help with this? > > Maybe, but I'

Re: [Tutor] list mail formatting

2011-12-22 Thread prakash singh
i am asking a code how to fill the column of username and password with letters and press enter after that anyone who can help me on that thanks for the replies ,please provide me so that i can automate the rest part of the router gui On Thu, Dec 22, 2011 at 3:23 PM, Alexander Etter wrote: > > O

[Tutor] username/password question [was Re: list mail formatting]

2011-12-22 Thread Alan Gauld
On 22/12/11 11:06, prakash singh wrote: i am asking a code how to fill the column of username and password with letters and press enter after that anyone who can help me on that thanks for the replies ,please provide me so that i can automate the rest part of the router gui Please do not hijac

Re: [Tutor] list mail formatting

2011-12-22 Thread Steven D'Aprano
prakash singh wrote: i am asking a code how to fill the column of username and password with letters and press enter after that anyone who can help me on that thanks for the replies ,please provide me so that i can automate the rest part of the router gui Everything you need to know to solve t

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
Hi, Walter. On 12/21/2011 8:20 PM, Walter Prins wrote: Hi Wayne, On 22 December 2011 03:21, Wayne Watson wrote: I uninstalled Uniblue, but as it turns out, it was an incomplete uninstall. I just spent the last 30-45 minutes trying to get it uninstalled. Finally, I sent an e-mail on how to do

Re: [Tutor] A few Python Mysteries

2011-12-22 Thread Wayne Watson
On 12/21/2011 4:10 PM, Alan Gauld wrote: On 21/12/11 19:56, Wayne Watson wrote: To clarify: Python on Windows does **not** put itself on the System PATH when installed. So, PythonNN, where NN is the version, should never appear in PATH? Not from a standard Python installation. But other pr

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
I just searched the registry for the dll. Nothing. I then searched for python. It found a a Python "folder" with a PythonCore folder. Under it are three folders: 2.5, 2.7 and 3.2. I do recall installing 3.2, but I'm pretty sure I uninstalled it. Under each of the three folders is Module. Look

[Tutor] possibly a version error

2011-12-22 Thread Cranky Frankie
On the bottom of this web page: http://developer.yahoo.com/python/python-xml.html is a program that reads an RSS feed for the weather and then parses the XML to show weather data by a zip code you input. I'm trying to run this under Python 3.2 and get this error: Traceback (most recent call last

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
More. I did some Googling on IDLE not appearing. My case appears not to be unique. One site offered this as a solution in 2.6, C:\Python27>python.exe \Lib\idlelib\idle.py. It issued a complaint that "no such file or directory exists". It however does. A place to go that may clear this up mi

Re: [Tutor] possibly a version error

2011-12-22 Thread Hugo Arts
On Thu, Dec 22, 2011 at 5:33 PM, Cranky Frankie wrote: > On the bottom of this web page: > > http://developer.yahoo.com/python/python-xml.html > > is a program that reads an RSS feed for the weather and then parses > the XML to show weather data by a zip code you input. I'm trying to > run this un

[Tutor] possibly a version error

2011-12-22 Thread Cranky Frankie
It says to use import urllib2 but I get this error: Traceback (most recent call last): File "D:\MyDocs\Python\Element Tree for XML\weather.py", line 2, in import urllib2 ImportError: No module named urllib2 On Thu, Dec 22, 2011 at 11:41 AM, Hugo Arts wrote: > On Thu, Dec 22, 2011 at 5:33

[Tutor] possibly a version error

2011-12-22 Thread Cranky Frankie
I got it to work: Use this for the import - import urllib.request the use this: dom = minidom.parse(urllib.request.urlopen(url)) Here's the code that works in 3.2: from pprint import pprint import urllib.request from xml.dom import minidom WEATHER_URL = 'http://xml.weather.yahoo.com/forecastrs

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Alan Gauld
On 22/12/11 16:37, Wayne Watson wrote: C:\Python27>python.exe \Lib\idlelib\idle.py. It issued a complaint that "no such file or directory exists". It however does. It almost certainly doesn't. The \ in front of Lib says look in the root directory of the C drive. You probably need: C:\Pytho

[Tutor] Guidance About Installing First Python Module

2011-12-22 Thread Homme, James
Hi, This is on Windows XP Professional. Before asking this question, I read the tutorial at PyPi, among other things. By the time I was done attempting to figure out seemingly conflicting documentation about how to get and install Python modules, I attempted to deduce that I should get virtuale

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
Ah, yes.Thanks. That is, I think, was the what I copied from some web page. OK, I just tried it, and got several messages. C:\Python27>python.exe Lib\idlelib\idle.py Traceback (most recent call last): File "Lib\idlelib\idle.py", line 11, in idlelib.PyShell.main() File "C:\Python27\Lib\id

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Alan Gauld
On 22/12/11 19:08, Wayne Watson wrote: IOError: [Errno 13] Permission denied: 'C:\\Users\\Wayne\\.idlerc\\recent-files.lst' - Maybe as I pointed out a few msgs ago here the permissions shown on Properties looked a bit odd. But the problem here is with .idlerc in your ho

[Tutor] What is ™

2011-12-22 Thread bob gailer
>>> "™" '\xe2\x84\xa2' What is this hex string? -- Bob Gailer 919-636-4239 Chapel Hill NC ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] What is ™

2011-12-22 Thread Steven D'Aprano
bob gailer wrote: >>> "™" '\xe2\x84\xa2' What is this hex string? Presumably you are running Python 2, yes? I will assume that you are using Python 2 in the following explanation. You have just run smack bang into a collision between text and bytes, and in particular, the fact that your c

[Tutor] list issue.. i think

2011-12-22 Thread bruce
hi. got a test where i have multiple lists with key/values. trying to figure out how to do a join/multiply, or whatever python calls it, where i have a series of resulting lists/dicts that look like the following.. the number of lists/rows is dynamic.. the size of the list/rows will also be dynam

Re: [Tutor] list issue.. i think

2011-12-22 Thread Rich Lovely
On 23 December 2011 02:11, bruce wrote: > hi. > > got a test where i have multiple lists with key/values. trying to figure out > how to do a join/multiply, or whatever python calls it, where i have a > series of resulting lists/dicts that look like the following.. > > the number of lists/rows is d

Re: [Tutor] list issue.. i think

2011-12-22 Thread Steven D'Aprano
bruce wrote: hi. got a test where i have multiple lists with key/values. trying to figure out how to do a join/multiply, or whatever python calls it, where i have a Whatever Python calls what? You need to explain what *you* mean by "a join/multiply" before we can tell what you are referring t

Re: [Tutor] A few Python Mysteries [Reset]

2011-12-22 Thread Wayne Watson
Hi, I found it, but not in a place I would expect. It's under my username, Wayne. It is a folder and has three files: breakpoints.lst recent-files.lst ZZrecent-files.lst The last one has the odd ZZ, but is empty. breakpoints.lst is empty too. recent-files.lst contains about 21 files like: C:\Us