Processes/pipes cross platform issue - popen*() hangs using "rsh/rlogin" (not working in Windows vs. Linux)
Background. I'm running on WinXP w/ MS Services for Unix installed (to give rsh/rlogin ability), both Python 2.3 and 2.4 version. In linux, I'm running RHEE with python2.3 version. The code below works fine for me in linux, but in WinXP the popen*() command "hangs". More specifically, I get an apparent python prompt (without the '>>> ', but whatever I type has no effect, and hitting return does a CR but not the additional LF, so I just type over what I had just typed). The only way I can exit is with CTRL-BREAK, and rerun python. I've tried the various flavors of popen[2|3|4], and the subprocess module in python2.4, all with the same "bug". Also, rsh/rlogin from windows DOS prompt work just fine. Can anyone clue me in as to how to make this work in windows, or an equivalent solution? The gist of what I'm doing is this - import os p = os.popen3("rsh LINUX_MACHINE.com -l USER") p[0].writelines(["touch rsh_as_USER.txt\n",]) p[0].close() In linux, the target machine will then have the .txt file touch'ed. Thanks. -Dave -- http://mail.python.org/mailman/listinfo/python-list
Re: PySerial could not open port COM4: [Error 5] Access is denied - please help
From: "Adam" "John Nagle" wrote in message news:jse604$1cq$1...@dont-email.me... On 6/26/2012 9:12 PM, Adam wrote: Host OS:Ubuntu 10.04 LTS Guest OS:Windows XP Pro SP3 I am able to open port COM4 with Terminal emulator. So, what can cause PySerial to generate the following error ... C:\Wattcher>python wattcher.py Traceback (most recent call last): File "wattcher.py", line 56, in ser.open() File "C:\Python25\Lib\site-packages\serial\serialwin32.py", line 56, in open raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.WinError())) serial.serialutil.SerialException: could not open port COM4: [Error 5] Access is denied. Are you trying to access serial ports from a virtual machine? Which virtual machine environment? Xen? VMware? QEmu? VirtualBox? I wouldn't expect that to work in most of those. What is "COM4", anyway? Few machines today actually have four serial ports. Is some device emulating a serial port? John Nagle Thanks, and yes, I am using VirtualBox. My laptop does not have a serial port so I use a USB-to-serial converter, which is assigned COM4. Then it is a Virtual COM port. Often software will want to communicate directly to the COM4 port which is usually at: IRQ3 and I/O 2E8h. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- http://mail.python.org/mailman/listinfo/python-list
Re: Jargons of Info Tech industry
In article <[EMAIL PROTECTED]>, Roedy Green <[EMAIL PROTECTED]> wrote: > >I think e-mail should be text only. > I disagree. Your problem is spam, not HTML. Spam is associated with > HTML and people have in Pavlovian fashion come to hate HTML. > But HTML is not the problem! HTML in email is a problem. It makes emails much bigger, and senders often "show off" by including irrelevant things in what they send just because they can. > That is like hating all choirs because televangelists use them. It is not unreasonable to hate choirs singing advertising jingles. Choirs, like HTML, have their place, but it isn't in emails. -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: Jargons of Info Tech industry
In article <[EMAIL PROTECTED]>, Tim Tyler <[EMAIL PROTECTED]> wrote: > Plain text is a badly impoverished medium for explaining things in. > For one thing, code on my web site tends to get syntax highlighted. > There's no way I could do that in plain text. On your web site the use of additional features is often, but not always, justified - but we were talking about emails where the use of HTML bulks up the email for very little gain. -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: Jargons of Info Tech industry
In article <[EMAIL PROTECTED]>, Roedy Green <[EMAIL PROTECTED]> wrote: > I take it then you avoid browsers or use Lynx? No you FIX the > problems rather than wear a hair shirt. Same for email. Why should > rich expressions only be permitted to those with websites. > Between consenting adults, yes, but for general use **in emails**, no. > Some people use email PRIMARILY for sharing photos. I do, frequently, without any need for HTML. -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: Talking to the wind
In article <[EMAIL PROTECTED]>, Terry Reedy <[EMAIL PROTECTED]> wrote: > > Xah Lee, > > > > Do you want to be taken seriously? > > First, stop posting. > > Second, learn perl. > > Third, learn python. > Hey all, I have seen no evidence that XL even reads the responses that > have been directed thereto. The above is like > /dev/null, > Why don't you ever answer the messages I keep sending to you? He's been in my killfile for quite some time. If **everyone** ignored him, this newsgroup would be a better place. :-)) -- __ __ __ __ __ ___ _ |__||__)/ __/ \|\ ||_ | / Acorn StrongArm Risc_PC | || \\__/\__/| \||__ | /...Internet access for all Acorn RISC machines ___/ [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list
Re: me, my arm, my availability ...
From: "Laura Creighton" I fell recently. Ought to be nothing, but a small chip of bone, either an Due to the side-effects of the prescription drugs you were given, I suggest you not use a computer until you are no longer taking them. ;-) -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Are you Looking for Instructor's Solution Manual ?
From: i need Solution Manual Discrete Mathematics with Applications, 4th Edition by Susanna S. Epp He is a spammer. Please do not quote spam nor support their actions. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Please help - Python role in Emeryville, CA - Full-time - $100K+
It depends on if this a Job Posting, specific to Python, is allowed and not considered spam. -- https://mail.python.org/mailman/listinfo/python-list
Re: converting PDF files is now an easy task
From: "joshuaemsteves" There is a familiar chance Pdf to Doc wasn't going to take off as long as don't be an idiot and use this pdf to docx converter. I expect this was a bad hypothesis, but you really have to open your mind. While Pdf to Doc is used in those situations, it was shown that Pdf to Doc can provide more reliable Pdf to Doc results as under any circumstances, this is simply a rare Pdf to Doc. This way usually needs Pdf to Doc. Many punks may want to know how to get a Pdf to Doc. How is Python used in that conversion process ? -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Bad text appearance in IDLE
From: "ast" Hello Here is how text appears in IDLE window http://www.cjoint.com/data/0BmnEIcxVAx.htm Yesterday evening I had not this trouble. It appears this morning. I restarted my computer with no effect. A windows Vista update has been done this morning, with about 10 fixes. I suspect something gone wrong with this update Has somebody an explanation about that ? thx http://support.microsoft.com/kb/3013455 KB3013455 has been found to be causing Display Font problems for Windows Vista and Server 2003. A partial mitigation is to use ClearType Font Smoothing. It will greatly help but will not fix all Display Font viewing problems. Right-Click on the Desktop. Choose "Personalize" ---> Window Color and Appearance --> effects Check the box for; "Use the following method to smooth edges of screen fonts" Set it to; ClearType It is recommended to remove this HotFix and then hide it from further download ( at least until it is fixed ). -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: KB 2670838 - The EVIL UPDATE
From: "Skybuck Flying" KB 2670838 - The EVIL UPDATE < snip > GOODBYE, FAILURE TO DO SO PUTS YOUR SYSTEMS AT RISK ! Bye, Skybuck. I hope you like the taste of shoe leather. KB2670838 ==> 2013 ! It was not a part of the March '15 Patch tuesday release. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: To Change A Pdf Ebook To Kindle
From: "Steven D'Aprano" On Tue, 24 Mar 2015 11:32 pm, alister wrote: On Tue, 24 Mar 2015 00:05:46 -0700, jeffreyciross wrote: [off-topic spam] Calibre does a very god job as well. Please don't reply to spam. Unless the product is a Python library, or is given in direct reply to an explicit request for an application which is usable by Python, it is off-topic and spam. I see Calibre is a Python application, not sure if it is importable by Python scripts though. Thank you, Exactly and this is the 2cnd SourceForge project spam post in the last few days. In fact, the two URLs are the same but posted with two different projects descriptions. Subjects: "To Change A Pdf Ebook To Kindle" and "convert pdf to excel xls file " both point to... sourceforge.net/projects/pdftoexcelconverter They must be treated as spam. ab...@sourceforge.net -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: To Change A Pdf Ebook To Kindle
"David H. Lipman" wrote in message news:qecdnrkftl6qpy_inz2dnuu7-xmdn...@giganews.com... They must be treated as spam. ab...@sourceforge.net No doubts now. They are on a spam campaign and has been found spamming Web Forums such as Malwarebytes. All Usenet users and Listserver recipients, please file spam complaints; ab...@sourceforge.net -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: How To Convert Pdf Files To XML Spreadsheet
From: "traciscrouch" A lot will be helped by an effective solution to change PDF to workplace Once again this project was spammed. All users are encouraged to file a complaint with SourceForge. ab...@sourceforge.net They have also been caught spamming Web Forums. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Urjent Requirements :1.Agile Coach, 2.Technical Analyst :- Remedy 3.Technical Analyst :- Internet Explorer, Location:-Bloomington, IL.
From: "Chris Angelico" Please don't spam this list with job ads that have nothing whatsoever to do with Python. Go earn your agency fees actually doing some work, instead of just spamming mailing lists/newsgroups in bulk. ChrisA www.intsystech.com File a complaint for spamming; ab...@1and1.com and ab...@oneandone.net -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: convert pdf to excel xls file
From: This is a very common problem That problem is called spam coupled with Google who facilitating it. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Immediate Hire: Sr. Java Software Engineer - Oklahoma - GC, US Citizens Onlt
From: "Larry Martell" I am only interested in work that I can do remotely from home. If you have any opportunities like that, please contact me. Please do not engage spammers or quote spam. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Responding to Raju and friends at Intsystech...
From: "Skip Montanaro" On Mon, May 11, 2015 at 11:12 AM, nagaraju thoudoju wrote: Please find the requirement below and let me know you interest on this position So this Raju fellow wants to know our "interest on [sic] this position," and he's not responded appropriately to anyone's pleas to stop spamming comp.lang.python. Searching groups.google.com for "intsystech" returned over 26,000 hits, so I doubt we are the only people he's actively spamming. How about everybody reading this note responds to his missive, telling him our interest. Be nice. Respond as if you really are interested in something Intsystech might have to offer. Be sure to leave python-list@python.org/comp.lang.python out of your reply, but paste the following email addresses into your cc list (which includes a few of Raju's fellow spammers): i...@intsystech.com, h...@intsystech.com, suryaprak...@intsystech.com, pavan.ku...@intsystech.com, ke...@intsystech.com, manish.ku...@intsystech.com There's no need to send an angry reply. We can kill them with kindness. In fact, it will waste more of their time if they think, even for a moment, that your email represents legitimate interest in their spam. I think Larry Martell's response was was just about right. Raju posts about a Java position on-site in Edmond, OK, so respond asking him about Python (or COBOL, or Perl, or C++) positions in Anchorage AK, or Chicago IL, or London UK, or telecommuting positions... I don't think there will be any need to tell Raju and his associates where you saw his message. It won't really matter, and it's clearly everywhere at this point. I suspect it will take him a good long while to sift through all the apparently valid responses which just waste their time and make it nearly impossible for them to find the scant valid responses to their spam. Skip ab...@1and1.com ab...@oneandone.net cab...@tatacommunications.com 4755ab...@tatacommunications.com -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Secret code in Ex Machina
From: "Seymore4Head" http://www.reddit.com/r/movies/comments/365f9b/secret_code_in_ex_machina/ LOL - It is like an Easter Egg in a movie. C O O L ! -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Why pay DICE When TheGongzuo.com is !! FREE !!
"Steve Hayes" wrote in message news:gaibqatads4eamjchr9k4f5tau30un2...@4ax.com... On Tue, 14 Jul 2015 17:31:31 -0700 (PDT), trentonwesle...@gmail.com wrote: Greetings! You been Invited as a Beta User for TheGongzuo.com ( Absolutely Extended Trial). We bring to you TheGongzuo.com, Top notch highly talented IT (Information Technology / Software Industry) skilled Professional Candidates, So what does it actually DO? I'm assuming that it's some kind of enhancement for Python, but why would anyone actually use it? Who cares. They are a spammer. Who cares what they do, the fact they spam means they are unethical and you should NOT use their services. They ask "Why pay DICE When TheGongzuo.com is !! FREE !!", the answer is DICE is ethical and they don't spam. They have added the following to the message... "This message is sent in compliance with the new email bill section 301. Under Bill S.1618 TITLE III passed by the 105th US Congress, this message cannot be considered SPAM as long as we include the way to be removed, Paragraph (a)(c) of S.1618, further transmissions to you by the sender of this email will be stopped if you by send a response of "REMOVE" in the subject line of the email, we will remove you immediately from subscription." This is Usenet which is tied an email list. Such appended text is inappropriate as they posted to Google Groups which is a Web Front-End ( HTTP/HTTPS ) to Usenet ( NNTP ). However lets assume it was sent via email. They use a BS disclaimer "Under Bill S.1618 TITLE III passed by the 105th US Congress,".That's false. It was NOT passed. Even if it had been passed, it would have been superseded by the US Can Spam Act and Amendments. That is the law, not Bill S.1618 TITLE III which never became law. If you see the appended text "Under Bill S.1618 TITLE III passed by the 105th US Congress,", now you also know they are complete morons. Furthermore, the IP address is 49.206.15.227. which is ACTFIBERNET-Secundrabad, Beam Telecom Pvt Ltd of India. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Why pay DICE When TheGongzuo.com is !! FREE !!
ADDENDUM: TheGongzuo.com was bitch-slapped and there should no longer be any spam from them. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Vaga Java (Belgica, com tudo pago)
From: "leo kirotawa" Wondering why a position for Java/JS was sent to this list...just wondering... Because spammers make no sense. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: "We made from water every living thing"...
From: "Ned Batchelder" On 9/7/14 5:41 PM, Tony the Tiger wrote: Now, kindly get the fuck outta here, you fucking retard! /Grrr That was unnecessary, ineffective, and totally outside the bounds of this community's norms: http://www.python.org/psf/codeofconduct Behave. He posted via Astraweb to Usenet. He is not using GMane or a listserver. The Python.Org CoC does not extend to Usenet unless a FAQ is properly published for news:comp.lang.python You need to filter out Google Groupers who are the cause of spam and abuse. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: "We made from water every living thing"...
From: "Chris Angelico" On Mon, Sep 8, 2014 at 10:41 PM, Joshua Landau wrote: I don't think allowing people to be disrespectful because they accessed the forum in a different way is a good idea. I'd rather we all just be nice. May I just point out that lots of us didn't even see the original post? If "Tony the Tiger" hadn't bothered to quote it, it would quietly have dropped into oblivion. Let's let this thread finish and have done with the whole matter. ChrisA That true. One should *never* quote spam. -- Dave Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk http://www.pctipp.ch/downloads/dl/35905.asp -- https://mail.python.org/mailman/listinfo/python-list
Re: Vowels [was Re: "monty" < "python"]
In article , Larry Hudson wrote: > The word "apron" was originally "napron", and over the years the phrase > "a napron" mutated to "an apron". So that became the accepted word. Similarly, the snake was a nadder - congruent with the natterjack toad. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: OT: excellent book on information theory
In article <[EMAIL PROTECTED]>, Mikael Olofsson <[EMAIL PROTECTED]> wrote: > One question here is: Are US English and UK English different languages > or not? A few years ago I was in a French bookshop in London. On the counter was a leaflet advertising recent translations; some were "from the English" and others "from the American". :-)) -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: OT: excellent book on information theory
In article <[EMAIL PROTECTED]>, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > But the real question is why it is that American publishers believe > their readers are so lazy and ignorant that they require special > "translations" of British books. I don't know anyone who has said "I'm > glad that I read the American edition of [Harry Potter/Discworld/pick > your own example], it was much better than the British edition." Not > even American fans. Something which irritates me, along with many other British people, is a book written in UK English, but which uses US spelling "for the American market". If people can understand the words, then the slight differences in spelling shouldn't be a problem. -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: utf - string translation
In article <[EMAIL PROTECTED]>, John Machin <[EMAIL PROTECTED]> wrote: > So why do you want to strip off accents? The history of communication > has several examples of significant difference in meaning caused by > minute differences in punctuation or accents including one of which you > may have heard: a will that could be read (in part) as either "a chacun > d'eux million francs" or "a chacun deux million francs" with the > remainder to a 3rd party. The difference there, though, is a punctuation character, not an accent. -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: Posted messages not appearing in this group
In article <[EMAIL PROTECTED]>, Adrian Petrescu <[EMAIL PROTECTED]> wrote: > Maybe it has shown up and Google simply isn't showing it yet. Can > anyone confirm that a thread posted yesterday (July 18th, 2007) whose > title was something like "interpreting os.lstat() output" exists or > not? That thread is there, with four postings. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: Speex bindings for python 2.5
In article <[EMAIL PROTECTED]>, momobear <[EMAIL PROTECTED]> wrote: > > I forgot to give the url :http://www.freenet.org.nz/python/pySpeex/ > I Couldn't Open the website. It works if you knock the colon off the front of the URL as given. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: 128 or 96 bit integer types?
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > For example, how many ways can you put 492 marbles into > 264 ordered bins such that each bin has at least 1 marble? > The answer > 66189415264331559482776409694993032407028709677550 > 59629130019289014193777349831417543311612293951363 > 4124491233746912456893016976209252459301489030 > has 146 digits. What on earth made you think of that question? -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: 128 or 96 bit integer types?
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > To actually answer you question, there is a known loop > cycle in 3n+85085 for which p=492 and q=264. If there is > one solution, there must be at leats 263 others (the > cyclic permutations), but to brute force search for any > others would require enumerating the answer to how many > ways can 492 marbles be put in 264 bins such that each > bin has at least 1 marble. Thank you very much. I am awestruck. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: strings (dollar.cents) into floats
In article <[EMAIL PROTECTED]>, Chris Mellon <[EMAIL PROTECTED]> wrote: > I believe that to the degree that "real" accounting was done in those > currencies it did in fact use non-decimal bases. Just as people don't > use decimal time values (except us crazy computer folk), you're write > 1 pound 4 shillings, not 1.333... pounds. When I worked on the British Railways National Payroll system, about 35 years ago, we, in common with many large users, wrote our system to deal with integer amounts of pennies, and converted to pounds, shillings and pence in the output part of the system. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: strings (dollar.cents) into floats
In article <[EMAIL PROTECTED]>, MRAB <[EMAIL PROTECTED]> wrote: > > When I worked on the British Railways National Payroll system, about > > 35 years ago, we, in common with many large users, wrote our system to > > deal with integer amounts of pennies, and converted to pounds, > > shillings and pence in the output part of the system. > > > So you never handled halfpennies? Halfpennies had disappeared from the BR accounting system before the first use of computers for accounting work. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: "Python" is not a good name, should rename to "Athon"
In article <[EMAIL PROTECTED]>, greg <[EMAIL PROTECTED]> wrote: > Not necessarily. A python is a sleek and powerful > creature, which are good associations for a programming > language. The word also hints at a bit of danger and > excitement. On the whole, I think it's a good name. I remember reading an interview with a young woman who danced with a python across her shoulders and down her arms. The interviewer asked if she was afraid when she danced. She replied that she was afraid that the python would go to sleep if she didn't keep him moving. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: OT: Speed of light
In article <[EMAIL PROTECTED]>, Jeff Schwab <[EMAIL PROTECTED]> wrote: > We (Americans) all measure our weight in pounds. People talk about how > much less they would weigh on the moon, in pounds, or even near the > equator (where the Earth's radius is slightly higher). Their weight on the moon would be exactly the same as on earth if they used a balance with weights on the other side of the fulcrum. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: Encrypting a short string?
In article <[EMAIL PROTECTED]>, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > > I really don't recommend the ROT13 cipher, as this is extremely easy to > > crack. Most grade school kids could break this one in seconds. ;-) > I think you missed the point. Any recommendation to use ROT13 is likely > to be a joke. A recommendation to use Triple ROT13 is *absolutely* a > joke. ROT13 does have a legitimate use, but it's not as a cypher. It is really the equivalent of the newspaper quiz where the answers are upside down at the bottom of the page. By doing this you stop seeing the answers too early. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
IDLE on Fedora Core 5
I have just installed FC5 on a new computer. I can access Python by typing "Python" in a terminal window, but I can't find any way of getting to IDLE. Can anyone help? -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: IDLE on Fedora Core 5
In article <[EMAIL PROTECTED]>, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > I have just installed FC5 on a new computer. I can access Python by > > typing "Python" in a terminal window, but I can't find any way of > > getting to IDLE. > > > > Can anyone help? > $ yum provides idle > can help, I think. it'll probably tell you to do > $ yum install python-tools Thanks -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: IDLE on Fedora Core 5
In article <[EMAIL PROTECTED]>, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > I have just installed FC5 on a new computer. I can access Python by > > typing "Python" in a terminal window, but I can't find any way of > > getting to IDLE. > > > > Can anyone help? > $ yum provides idle > can help, I think. it'll probably tell you to do > $ yum install python-tools I've done that, thanks, but I still can't find out how to get to python-tools. I'm obviously missing a trick somewhere. -- David Wild using RISC OS on broadband -- http://mail.python.org/mailman/listinfo/python-list
Re: Moving from Python 2 to Python 3: A 4 page "cheat sheet"
In article <351fcb4c-4e88-41b0-a0aa-b3d63832d...@e23g2000yqd.googlegroups.com>, Mark Summerfield wrote: > I only just found out that I was supposed to give a different URL: > http://www.informit.com/promotions/promotion.aspx?promo=137519 > This leads to a web page where you can download the document (just by > clicking the "Download Now" button), but if you _choose_ you can also > enter your name and email to win some sort of prize. There is a typographical fault on page 4 of this pdf file. The letter "P" is missing from the word "Python" at the head of the comparison columns. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list
Re: Moving from Python 2 to Python 3: A 4 page "cheat sheet"
In article <9d290ad6-e0b8-4bfa-92c8-8209c7e93...@a21g2000yqc.googlegroups.com>, Mark Summerfield wrote: > > There is a typographical fault on page 4 of this pdf file. The letter > > "P" is missing from the word "Python" at the head of the comparison > > columns. > I can't see that problem---I've tried the PDF with evince, gv, > acroread, and okular, and no missing "P" on page 4. I don't have a > machine with RISC OS on it so I can't test on that environment! Using a different pdf reader, on the same machine, the letters are there. It's an odd thing, because it's only that one page that has the problem. Thanks, anyway. -- David Wild using RISC OS on broadband www.davidhwild.me.uk -- http://mail.python.org/mailman/listinfo/python-list