Re: "End Of Line" Confusion



If you email the script to me, I'd be happy to take a look at it and
see if I come up with the same error (I'm running IDLE on a Windows XP
box here, cant remember if the filesystem is FAT or NTFS ;-))

Although as a relative newbie I've never come across it myself, one
possible source of such mysterious errors in Python, apparently, is
mixing tabs and spaces in your indentation. Its also one of the few
factors I can think of that would have been lost in the
email-copy-paste process, which could explain why the code snippet
works on my machine and not yours.

My only other suggestion is to try my personal first rule for fixing
mysterious, unusual bugs in small, trivial pieces of code - which is to
delete the whole thing and type it out again from scratch. It works
surprisingly often.

Good luck
- Jordan

.



Relevant Pages

  • Re: Visual Basic and JavaScript
    ... Response is server-side object and judging from the code snippet you place ... it in client script blocks. ... > decided to do a small portion of my DW app in VB, ...
    (microsoft.public.vsnet.general)
  • RE: Streaming javascript and XP Service Pack 2
    ... Thanks for your posting. ... tests based on your description and the code snippet you provided. ... it seems that the script can run correctly on my side. ... #Scripts may not run on a local HTML Web page that references .htc or .xml ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Using VBScript to send message using CDO.message
    ... I found this code snippet, which is similar to Vlad's idea, ... Set cdoMessage = CreateObject ... I used the stock script from the Script Center ... > Windows 2003 server and it won't. ...
    (microsoft.public.scripting.vbscript)
  • Re: Weird incrementing problem
    ... But why would the code snippet I posted earlier, ... > If I may take a wild guess, the script is somehow invoked twice. ... > checked whether there is only a single connection to your webserver ...
    (comp.lang.php)