Python Forum
NameError: name 'bsObj' is not defined
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NameError: name 'bsObj' is not defined
#11
Quote:Is that better, still will not work, but I am have for the problem

No,i shall be honest we you is terrible as it is now Sad
There is a mixed use of 2-3-4 space indentation.
There also wrong indentation.
Indentation is very important in Python(4-space always)
so that you have to learn Wink
Reply
#12
Yes I am, it should be fixed now.
New problem I try to install urllib2 and I got this:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\renny and kite>pip install urllib2
Collecting urllib2
 Could not find a version that satisfies the requirement urllib2 (from version
: )
No matching distribution found for urllib2

C:\Users\renny and kite>
It is a fight every time I try to do something, nothing works.
Hopeful some one can help

Well, I just seen you reply, I do have them 4 spaces in and the last if is 8 spaces in. That is not right?
Reply
#13
(Oct-24-2016, 01:07 AM)Blue Dog Wrote: New problem I try to install urllib2 and I got this:
urllib2 is a standard library in python 2.x
Recommended Tutorials:
Reply
#14
urllib2/urllib should not be used in Python 2 or 3.
Because Requests is a lot better and safer pip install requests
Reply
#15
Thank you all
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  NameError :name 'name' is not defined Suzzy_ 4 18,777 Dec-27-2019, 09:04 AM
Last Post: LeanbridgeTech
  NameError: Name 'path' is not defined aniyanetworks 9 59,542 Jun-29-2018, 03:21 PM
Last Post: gontajones
  NameError: name 'download' is not defined ntdropper 3 11,206 Jan-13-2018, 07:18 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

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