Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with for loop
#10
(Jul-10-2018, 01:31 AM)Blue Dog Wrote: Now, buran here is my first try at not using rex.
well, clearly you still use RegEx in that one....
Please, always copy/paste code, traceback, output, etc. and use proper tags. Don't post images of code, traceback, etc.

Now to the error - sys.argv[1] means you expect that user pass something (the url) when they run the script, e.g.
$ python new_email_graber.py www.mysite.com. sys.argv[0] is the script name
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Problem with for loop - by Blue Dog - Jul-09-2018, 03:21 PM
RE: Peoblem with for loop - by buran - Jul-09-2018, 04:27 PM
RE: Problem with for loop - by Blue Dog - Jul-09-2018, 05:33 PM
RE: Problem with for loop - by buran - Jul-09-2018, 05:35 PM
RE: Problem with for loop - by Blue Dog - Jul-09-2018, 05:43 PM
RE: Problem with for loop - by buran - Jul-09-2018, 06:46 PM
RE: Problem with for loop - by Blue Dog - Jul-09-2018, 07:07 PM
RE: Problem with for loop - by nilamo - Jul-09-2018, 07:58 PM
RE: Problem with for loop - by Blue Dog - Jul-10-2018, 01:31 AM
RE: Problem with for loop - by buran - Jul-10-2018, 05:50 AM
RE: Problem with for loop - by Blue Dog - Jul-10-2018, 07:13 PM
RE: Problem with for loop - by Blue Dog - Jul-10-2018, 11:21 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020