Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62028

Re: New to Python, Help to get script working?

Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'scripts': 0.03; '16,': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'syntax': 0.04; 'subject:Python': 0.06; 'error:': 0.07; 'modified': 0.07; 'see.': 0.07; 'variables': 0.07; 'arguments': 0.09; 'indicates': 0.09; 'lawrence': 0.09; 'okay': 0.09; 'plug': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:script': 0.09; 'thats': 0.09; 'subject:Help': 0.11; 'python': 0.11; 'bug': 0.12; 'language.': 0.14; 'advice,': 0.16; 'after,': 0.16; 'buggy': 0.16; 'cmd': 0.16; 'cmd,': 0.16; 'folder,': 0.16; 'highlighted': 0.16; 'inclined': 0.16; 'indexerror:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'script,': 0.16; 'url:py': 0.16; 'index': 0.16; 'all.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'trying': 0.19; 'file,': 0.19; 'url:view': 0.20; 'help.': 0.21; 'command': 0.22; '>>>': 0.22; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'directory.': 0.24; 'replace': 0.24; 'text,': 0.24; 'mon,': 0.24; 'looks': 0.24; 'question': 0.24; 'script': 0.25; '15,': 0.26; 'possibly': 0.26; 'skip:" 30': 0.26; 'post': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'record': 0.27; 'fixed': 0.29; 'chris': 0.29; 'dec': 0.30; 'along': 0.30; "i'm": 0.30; 'work.': 0.31; 'went': 0.31; '>>>>': 0.31; "d'aprano": 0.31; 'fault': 0.31; 'indentation': 0.31; 'steven': 0.31; 'file': 0.32; 'run': 0.32; 'quite': 0.32; 'running': 0.33; '(most': 0.33; 'entirely': 0.33; 'monday,': 0.33; 'actual': 0.34; 'maybe': 0.34; 'could': 0.34; 'problem': 0.35; 'december': 0.35; 'no,': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'version': 0.36; 'located': 0.36; 'really': 0.36; 'in.': 0.36; 'done': 0.36; 'doing': 0.36; "didn't": 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'should': 0.36; 'half': 0.37; 'subject:New': 0.37; 'list': 0.37; 'step': 0.37; 'window': 0.38; 'work?': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'anything': 0.39; 'recent': 0.39; 'generating': 0.39; 'legitimate': 0.39; 'though,': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'mentioned': 0.61; 'new': 0.61; 'numbers': 0.61; 'range': 0.61; 'show': 0.63; 'skip:n 10': 0.64; 'our': 0.64; 'more': 0.64; 'taking': 0.65; 'great': 0.65; 'linked': 0.65; 'spot': 0.65; 'within': 0.65; 'here': 0.66; 'yes': 0.68; 'invalid': 0.68; 'to,': 0.72; 'click': 0.77; 'subject:get': 0.81; '2400': 0.84; 'actually,': 0.84; 'disappears': 0.84; 'fast,': 0.84; 'followers': 0.84; 'viewers': 0.84; 'mil': 0.91; 'reply,': 0.93; '2013': 0.98
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: New to Python, Help to get script working?
Date Mon, 16 Dec 2013 09:28:15 +0000
References <61009939-dc9b-4ffe-84c0-a695b96d9a2d@googlegroups.com> <5769f8c3-f09c-458a-92b6-c727bfe95656@googlegroups.com> <bd321ee0-3966-4eb6-8fff-3b32e6848a86@googlegroups.com> <52ae596b$0$29976$c3e8da3$5496439d@news.astraweb.com> <mailman.4163.1387161201.18130.python-list@python.org> <fe57dbb8-f8be-4787-a6d6-e7c723b47670@googlegroups.com> <714fc5b8-6c85-4de3-8c0a-1a43d791f139@googlegroups.com> <34827ea0-7bec-41a8-baf9-587e2503fff8@googlegroups.com> <e4781412-f77a-49b0-8399-c870bd9388be@googlegroups.com> <179cce6f-06e5-4cfa-a746-be6ff006a058@googlegroups.com> <4c2822b4-d95c-4735-af12-55ac5ff2fa6e@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-24-216-192.ppp.as43234.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <4c2822b4-d95c-4735-af12-55ac5ff2fa6e@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4190.1387186112.18130.python-list@python.org> (permalink)
Lines 1696
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387186112 news.xs4all.nl 2878 [2001:888:2000:d::a6]:44435
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:62028

Show key headers only | View raw


On 16/12/2013 08:02, Mark wrote:

The record for double spaced google crap, congratulations.  Mind you, 
it's a great new game this, Spot the Text, much better than I Spy!!!

> On Monday, December 16, 2013 2:55:23 AM UTC-5, Mark wrote:
>> On Monday, December 16, 2013 2:52:05 AM UTC-5, Mark wrote:
>>
>>> On Monday, December 16, 2013 2:48:56 AM UTC-5, Mark wrote:
>>
>>>
>>
>>>> On Monday, December 16, 2013 2:43:45 AM UTC-5, Mark wrote:
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>> On Monday, December 16, 2013 2:09:38 AM UTC-5, Mark wrote:
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>> On Sunday, December 15, 2013 9:33:17 PM UTC-5, Chris Angelico wrote:
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> On Mon, Dec 16, 2013 at 12:37 PM, Steven D'Aprano
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> <steve+comp.lang.python@pearwood.info> wrote:
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>> Step 1: replace the modified version of the script with a known good copy.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> Actually, this might be where the problem is, unfortunately. Not the
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> OP's fault at all. I went and looked at the post linked to, and it has
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> buggy indentation. (Quite possibly indicates that the author has
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> two-space tabs, and didn't notice a bug slipping in. I dunno.)
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> Along the way, though, I learned that the script in question is
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> entirely for generating fake twitch.tv viewers so as to get your
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> stream highlighted fraudulently, so I'm rather less inclined to help.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> Got a legitimate use for this, or are you just trying to cheat your
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> way to fame?
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>> ChrisA
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>> Thanks for the reply, the answer is yes and no, i already have about 2400 followers and half mil views, i just wanted to see if i could get it to work.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>> So after taking everybody's advice, fixed the indentation as mentioned by the expert above. :) After, this is what i came up with
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>> Traceback (most recent call last):
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>    File "C:\Python27\Scripts\Twitch.py", line 9, in <module>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>      numberOfViewers = int(sys.argv[1])
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>> IndexError: list index out of range
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>> Is this where i would plug in the variables to make it work? I'm not quite sure about how you would plug in those numbers
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>> okay so i kinda get it now, running it in cmd, i use the following command -
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>> python twitch.py 10 10. I am running it within the scripts directory.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>> I get the following error in cmd:
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>> Syntax Error: invalid syntax
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>>>> python twitch.py 10 10
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>     File "<stdin> line 1
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>>       python twitch.py 10 10
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> is there a more effecient way of doing this? I just hold shift and right click to run cmd from the folder,
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> File is located in C:\Python27\Scripts
>>
>>>
>>
>>>
>>
>>>
>>
>>> It was my understanding that you need to meet the arguments by running the in cmd with the numbers after? I am sorry to show my true noobyness and really appreciate the help.
>>
>>
>>
>> Here is a link to the actual file, maybe you can look at it and see if it looks good? Should i change anything else in the file to make it work theoretically or is it all done when you run it?
>>
>>
>>
>> http://www.mediafire.com/view/3m10s9rwvatxd96/twitch.py
>
> If i just try to double click the script, i get an index error, i can barely see the window it disappears so fast, but thats what I see.
>


-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-14 20:51 -0800
  Re: New to Python, Help to get script working? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-15 05:03 +0000
  Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-15 16:06 +1100
  Re: New to Python, Help to get script working? Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-15 15:25 +0000
  Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 13:19 -0800
    Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 13:31 -0800
      Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 09:10 +1100
      Re: New to Python, Help to get script working? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-16 01:37 +0000
        Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 13:33 +1100
          Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:09 -0800
            Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:43 -0800
              Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 18:47 +1100
              Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:48 -0800
                Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:52 -0800
                Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-15 23:55 -0800
                Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-16 00:02 -0800
                Re: New to Python, Help to get script working? "Frank Millman" <frank@chagford.com> - 2013-12-16 10:38 +0200
                Re: New to Python, Help to get script working? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-16 09:28 +0000
                Re: New to Python, Help to get script working? Ned Batchelder <ned@nedbatchelder.com> - 2013-12-16 10:19 -0500
                Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-16 12:25 -0800
                Re: New to Python, Help to get script working? rusi <rustompmody@gmail.com> - 2013-12-16 17:05 -0800
                Re: New to Python, Help to get script working? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-12-16 21:05 -0500
                Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-17 03:05 -0800
                Re: New to Python, Help to get script working? rusi <rustompmody@gmail.com> - 2013-12-17 09:13 -0800
            Re: New to Python, Help to get script working? Chris Angelico <rosuav@gmail.com> - 2013-12-16 18:43 +1100
            Re: New to Python, Help to get script working? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-12-17 09:33 -0800
              Re: New to Python, Help to get script working? Joel Goldstick <joel.goldstick@gmail.com> - 2013-12-17 12:40 -0500
                Re: New to Python, Help to get script working? Mark <markyshizzle@gmail.com> - 2013-12-18 14:46 -0800

csiph-web