Re: [Tutor] Python Book Recommendations [Was:[Re: Security]]

2007-08-14 Thread Robert H. Haener IV
wesley chun wrote: >> Another resource is the local used-book stores. $40-$50 programming >> books for $4-$5. They may have some highlighting or underlining, >> but that doesn't usually make the content suffer. Often they'll >> have the CD or floppy disk in the back cover. > > you can also check

Re: [Tutor] IDLE Usage - was Interpreter Restarts

2007-07-23 Thread Robert H. Haener IV
Alan Gauld wrote: > I was still on vacation on the 17th so wouldn't have seen it then. > But I just checked the gmane archive and there is nothing from > you on the 17th about screen. (Lots about vim and SSH etc but > not about screen) > > Alan G. This is the last I'll add to this little derailme

Re: [Tutor] IDLE Usage - was Interpreter Restarts

2007-07-22 Thread Robert H. Haener IV
Alan Gauld wrote: > I've heard of screen but never used it. > The biggest problem I can see with it is that you can only see one > screen(sic) at a time or use split screens to see partial screens. > > Can you copy/paste between sessions? > Does it run on a remote server within the SSH client? I

Re: [Tutor] IDLE connection - was IDLE Usage

2007-07-21 Thread Robert H. Haener IV
Sara Johnson wrote: > I am setting up an Xming/XWindows (forwarding?) and I followed what was > instructed. When I got ready to connect, it all looked okay, but then I > got this message. > > 'Warning: Missing charsets in String to FontSet conversion' > > Anyone know? > > Thanks, > Sara So

Re: [Tutor] IDLE Usage - was Interpreter Restarts

2007-07-17 Thread Robert H. Haener IV
Sara Johnson wrote: > That's pretty much what I was attempting. I was advised to mark the > "Tunneling" box (TunnelingX11 Connections), and it's checked. I don't > see the X Forwarding option, however. Under that same tab I checked for > anything else system-wise that would pertain and I don't s

Re: [Tutor] IDLE Usage - was Interpreter Restarts

2007-07-17 Thread Robert H. Haener IV
Sara Johnson wrote: > Sure, sounds good. Should I assume that 'any' Unix version allows Vim? > > Thanks, > Sara Vim is extremely ubiquitous, you can check to see if it's installed by entering 'which vim' at the shell. -Robert ___ Tutor maillist -

Re: [Tutor] IDLE Usage - was Interpreter Restarts

2007-07-17 Thread Robert H. Haener IV
Sara Johnson wrote: > Everyone who has commented... > > I have XWin32It hasn't worked. I've talked to some people in the IT > departments and they've given me things to check (boxes to check or > uncheck) and that doesn't seem to make a difference. > > When I picked up these projects I wa

Re: [Tutor] IDLE Usage - was Interpreter Restarts

2007-07-17 Thread Robert H. Haener IV
Sara Johnson wrote: > I initially thought Vim was sort of the same as Vi, just a few small > differences or upgrades. Or have I got that confused? > > Sara Vim is Vi Improved. I only know enough about its workings to be functional, but as I recall there is practically no difference between vi

Re: [Tutor] how do I input " as part of a string?

2007-07-13 Thread Robert H. Haener IV
elis aeris wrote: > def send(string): > f.write("send( \"%s\"\n' % string )" ) > > > > > f = open ("data.ini") > > send("string is very nice and all those things are pretty cool") > > > > > > this one is wrong, i guess i didn't ask you how to add things after this > > > \"%s\"\n' %

Re: [Tutor] how do I input " as part of a string?

2007-07-13 Thread Robert H. Haener IV
elis aeris wrote: > def winlist(title): > f.write("winlist(\"title\")") > > > > how about if "title" is a variable? I assume, from your example, that you want to write the value of the variable 'title' enclosed in quotation marks. We once again use an escape sequence to output quotation

Re: [Tutor] how do I input " as part of a string?

2007-07-13 Thread Robert H. Haener IV
elis aeris wrote: > this one doesn't work; did I misread your string? > > f = open("data.ini","w") > > title = "taitle" > > f.write('title is \"%title\"\n ') > > > f.close() Yes, you misread my string. The correct form of the above would be as follows: f = open("data.ini","w") title = "tai

Re: [Tutor] how do I input " as part of a string?

2007-07-13 Thread Robert H. Haener IV
Tom Tucker wrote: > Try escaping the quotes. > f = open("data.ini","w") f.write("my \"car\" has been a great one for me") f.close() > > ~ >cat data.ini > my "car" has been a great one for me Tom beat me to posting that, see here for more information on escape sequences in Python:

Re: [Tutor] IDE / development environment

2007-04-23 Thread Robert H. Haener IV
Rohan Deshpande wrote: > What does everyone use as their development environment for Python, > particularly web dev? I primarily use SPE in both Windows and Linux, though I occasionally use vim/gvim in both environments. Oddly enough, I've started using the Python interactive prompt for basic m

Re: [Tutor] vim confusion (was copy2 arguments?)

2007-04-09 Thread Robert H. Haener IV
Alan, What you mistook for "vim 8" (with some garbage afterward) was in fact a smiley I use frequently. -Robert ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] copy2 arguments?

2007-04-09 Thread Robert H. Haener IV
Never mind, SPE answered my question for me. Heh, I may have to stop coding Python in vim 8?} -Robert ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] copy2 arguments?

2007-04-09 Thread Robert H. Haener IV
Hey folks, I just need to know if shutil.copy2() will accept a directory as the destination or if I have to supply a full path including the name of the file (e.g. "C:\foo\bar.txt" as opposed to "C:\foo\"). The target is 32-bit Windows XP with Python 2.5. -Robert _