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


Groups > comp.lang.python > #61932 > unrolled thread

New to Python, Help to get script working?

Started byMark <markyshizzle@gmail.com>
First post2013-12-14 20:51 -0800
Last post2013-12-18 14:46 -0800
Articles 8 on this page of 28 — 11 participants

Back to article view | Back to comp.lang.python


Contents

  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

Page 2 of 2 — ← Prev page 1 [2]


#62125

Fromrusi <rustompmody@gmail.com>
Date2013-12-16 17:05 -0800
Message-ID<b5119969-b252-46aa-8649-9d2a0b70a254@googlegroups.com>
In reply to#62100
On Tuesday, December 17, 2013 1:55:57 AM UTC+5:30, Mark wrote:
> I am sorry if the way I posted messages was incorrect. Like I said, I am new to google groups and python quite a bit but i am trying to do things correctly by you guys. The errors that I am getting were not necessarily posting traceback messages.

Thats better -- thanks

You still need to go through
https://wiki.python.org/moin/GoogleGroupsPython

See the length of your "I am sorry..." line above

[toc] | [prev] | [next] | [standalone]


#62131

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2013-12-16 21:05 -0500
Message-ID<mailman.4248.1387245965.18130.python-list@python.org>
In reply to#62020
On Mon, 16 Dec 2013 00:02:01 -0800 (PST), Mark <markyshizzle@gmail.com>
declaimed the following:

>
>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.


	PLEASE PLEASE find a different client than Google Groups AND learn to
trim quotes to just the relevant portion...

	You just did a sequence of replying to yourself three times (four
posts)... And to the rest of the world that does not use Google Groups,
each reply doubled in size (plus your new text). To wit:

208 lines (first post in sequence)
418 lines (double the 208 and a 2 line additional comment)
840 lines (double the 418 and a 4 line comment)
1682 lines (double the 840 and a mere 2 line added comment)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#62177

FromMark <markyshizzle@gmail.com>
Date2013-12-17 03:05 -0800
Message-ID<05e4f76b-2bb9-45b4-80f8-0253aa72e697@googlegroups.com>
In reply to#62131
I am sorry, using google groups i cant tell what you see...
Anyways, I guess i will just make lots of lines instead of long sentences?

How about this, the first person that can get this to work for me...
I will paypal them 20 dollars for helping me.
I just want to get this thing up and going.
Ive posted where i am having trouble and got 2 replies talking about spacing...
and not fixing any issues or giving advice.

Either that or somebody who thinks they might be able to help, can you plz reply?

Thanks again

Mark

[toc] | [prev] | [next] | [standalone]


#62216

Fromrusi <rustompmody@gmail.com>
Date2013-12-17 09:13 -0800
Message-ID<e6fb590b-8c6e-4257-9189-605c97b2c4f1@googlegroups.com>
In reply to#62177
On Tuesday, December 17, 2013 4:35:31 PM UTC+5:30, Mark wrote:
> I am sorry, using google groups i cant tell what you see...
> Anyways, I guess i will just make lots of lines instead of long sentences?

> How about this, the first person that can get this to work for me...
> I will paypal them 20 dollars for helping me.
> I just want to get this thing up and going.
> Ive posted where i am having trouble and got 2 replies talking about spacing...
> and not fixing any issues or giving advice.

> Either that or somebody who thinks they might be able to help, can you plz reply?

I believe you were given a suggestion by Steven on posting a traceback
Did you follow that?  (Genuine question!!)
Because if you did and it got lost in the characteristic 'GG-crap' you would
not know that it had been 'crapified' by GG and others would not know that
there was anything to read in the mess.

So... assuming youve understood the following:

1. Read and follow https://wiki.python.org/moin/GoogleGroupsPython
2. Read and follow Steven's advice on how to ask help especially regarding errors
3. Try to minimize external links to code especially small snippets

maybe best to just start a new thread???

[toc] | [prev] | [next] | [standalone]


#62015

FromChris Angelico <rosuav@gmail.com>
Date2013-12-16 18:43 +1100
Message-ID<mailman.4184.1387179844.18130.python-list@python.org>
In reply to#62013
On Mon, Dec 16, 2013 at 6:09 PM, Mark <markyshizzle@gmail.com> wrote:
> 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

In Python, sys.argv is the arguments passed to the script. You need to
pass it some arguments when you run it.

ChrisA

[toc] | [prev] | [next] | [standalone]


#62220

FromRick Johnson <rantingrickjohnson@gmail.com>
Date2013-12-17 09:33 -0800
Message-ID<bae4f006-c9dc-4482-b210-6fb68a984b47@googlegroups.com>
In reply to#62013
On Monday, December 16, 2013 1:09:38 AM UTC-6, Mark wrote:
> On Sunday, December 15, 2013 9:33:17 PM UTC-5, Chris Angelico wrote:
> > 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?
> > 
> 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.

That's like a serial spammer saying """I already have 2400
spam bots and half a million victims but i just want to get
my latest bot working for "academic" purposes only. *wink*"""

Listen Mark, it's obvious you don't have any coding or
debugging skills and all you want to do is employ this app
for your own fraudulent purposes, so with that in mind:

    NO SOUP FOR YOU!

[toc] | [prev] | [next] | [standalone]


#62221

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2013-12-17 12:40 -0500
Message-ID<mailman.4299.1387302044.18130.python-list@python.org>
In reply to#62220

[Multipart message — attachments visible in raw view] — view raw

On Tue, Dec 17, 2013 at 12:33 PM, Rick Johnson <rantingrickjohnson@gmail.com
> wrote:

> On Monday, December 16, 2013 1:09:38 AM UTC-6, Mark wrote:
> > On Sunday, December 15, 2013 9:33:17 PM UTC-5, Chris Angelico wrote:
> > > 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?
> > >
> > 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.
>
> That's like a serial spammer saying """I already have 2400
> spam bots and half a million victims but i just want to get
> my latest bot working for "academic" purposes only. *wink*"""
>
> Listen Mark, it's obvious you don't have any coding or
> debugging skills and all you want to do is employ this app
> for your own fraudulent purposes, so with that in mind:
>
>     NO SOUP FOR YOU!
> --
> https://mail.python.org/mailman/listinfo/python-list
>

I'm kinda with Rick on this thread.  A guy walks along with a name like
markshizzle, offers $20 to make his 'thing' work, and proudly admits he
doesn't want to know how the program works, he just wants it to work.  I
don't think this is the right place for you markshizzle.  This is a place
for people who are interested in improving their python skills, and asking
question after they have done there best to learn on their own first.
$20?  .. as they used to say on "are you being served':   go boil your head

-- 
Joel Goldstick
http://joelgoldstick.com

[toc] | [prev] | [next] | [standalone]


#62345

FromMark <markyshizzle@gmail.com>
Date2013-12-18 14:46 -0800
Message-ID<66694f3b-f676-4687-9d42-a6117b35e6cd@googlegroups.com>
In reply to#62221
Actually i live stream nearly everyday for 2 years, 
the problem with twitch is that the more "popular" people get first dibs
and get treated better, have better perks, and all of that...
Its all based on your initial viewer count, 90% of viewers just click
the top video. 
All my views and numbers are based on me streaming for over 2 years.

Anyways, I wasnt trying to cause trouble, 
i did post what happened when i ran the program. 
There was no traceback error,
Here is my post from 2 days ago:

Now in that directory in cmd, i type in python twitch.py 10 10. 
When i do this I get "thread error" posting infinitely down my cmd prompt. 
So it looks like the program is actually running now, just some im possibly missing? 
Once again I do have pip and livestreamer installed and the exact py file i have is located here:

http://www.mediafire.com/view/3m10s9rwvatxd96/twitch.py

Yes i do want it to work, and i would offer money to somebody who would
actually help me, if it helped me to make it work faster. 
Is there not one person that can help a guy out?

Mark

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.python


csiph-web