View Active Threads
View Today's Posts
Home
Forums
View New Posts
View Today's Posts
My Discussions
Unanswered Posts
Unread Posts
Active Threads
Mark all forums read
Staff List
Member List
Help
Calendar
Search
Statistics
Interpreter
IRC
TypeError: must be str, not bytes
Python Forum
Python Coding
General Coding Help
Thread Rating:
0 Vote(s) - 0 Average
1
2
3
4
5
Thread Modes
TypeError: must be str, not bytes
wavic
So-and-so of the Yard
Posts:
2,955
Threads:
48
Joined:
Sep 2016
Reputation:
90
#15
Jan-06-2018, 11:35 PM
(This post was last modified: Jan-06-2018, 11:35 PM by
wavic
.)
It tells you that it is a method, not an attribute. You have to call it.
print (my_api.getBalances()) # do you see the parenthesis?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
Find
Reply
Messages In This Thread
TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 12:49 PM
RE: TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 04:05 PM
RE: TypeError: must be str, not bytes
- by
wavic
- Jan-06-2018, 04:22 PM
RE: TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 04:27 PM
RE: TypeError: must be str, not bytes
- by
wavic
- Jan-06-2018, 04:33 PM
RE: TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 04:41 PM
RE: TypeError: must be str, not bytes
- by
wavic
- Jan-06-2018, 05:16 PM
RE: TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 05:24 PM
RE: TypeError: must be str, not bytes
- by
wavic
- Jan-06-2018, 06:16 PM
RE: TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 06:25 PM
RE: TypeError: must be str, not bytes
- by
wavic
- Jan-06-2018, 08:50 PM
RE: TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 08:58 PM
RE: TypeError: must be str, not bytes
- by
wavic
- Jan-06-2018, 10:24 PM
RE: TypeError: must be str, not bytes
- by
Zhsv
- Jan-06-2018, 10:39 PM
RE: TypeError: must be str, not bytes
- by
wavic
- Jan-06-2018, 11:35 PM
Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
TypeError: a bytes-like object is required
ZeroX
13
4,090
Jan-07-2023, 07:02 PM
Last Post
:
deanhystad
TypeError: a bytes-like object is required, not 'str' - Help Please.
IanJ
3
4,797
Aug-29-2022, 05:53 PM
Last Post
:
deanhystad
python 3: TypeError: a bytes-like object is required, not 'str'
wardancer84
3
6,489
Jul-09-2021, 05:55 PM
Last Post
:
deanhystad
TypeError: int() argument must be a string, a bytes-like object or a number, not 'Non
Anldra12
2
5,196
May-02-2021, 03:45 PM
Last Post
:
Anldra12
TypeError: a bytes-like object is required, not 'str'
ozzy69
1
2,852
Jul-17-2020, 03:38 PM
Last Post
:
stullis
Packet Sniffer - TypeError: a bytes-like object is required, not 'str'
cheffa2020
4
5,296
Jun-12-2020, 02:10 PM
Last Post
:
cheffa2020
Why, TypeError: expected string or bytes-like object ?
JohnnyCoffee
3
18,607
May-08-2020, 04:26 AM
Last Post
:
bowlofred
TypeError: a bytes-like object is required, not 'str'.
jacklee26
4
5,647
Apr-18-2020, 11:04 PM
Last Post
:
jacklee26
replace bytes with other byte or bytes
BigOldArt
1
10,614
Feb-02-2019, 11:00 PM
Last Post
:
snippsat
builtins.TypeError: a bytes-like object is required, not 'str'
BigOldArt
0
3,987
Jan-31-2019, 10:46 PM
Last Post
:
BigOldArt
Users browsing this thread: 2 Guest(s)
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Python Coding
-- General Coding Help
-- Data Science
-- Homework
-- GUI
-- Game Development
-- Networking
-- Web Scraping & Web Development
General
-- News and Discussions
-- Tutorials
---- Tutorial Requests and Submissions
---- Python Installation and Execution
---- Fundamentals
---- Common pitfalls and what to do
---- Web Scraping
---- Web Tutorials
---- GUI tutorials
---- Game Tutorials
---- Networking Tutorials
-- Code sharing
-- Code Review
-- Jobs
Forum & Off Topic
-- Board
---- Weekly Top Picks
-- Bar
User Panel
Messages
Log Out
My Profile
Pay your profile a visit
User Control Panel
Do some changes on your profile
My Messages
View private messages
unread
Avatar
Change avatar
Signature
Change signature
Announcements
Announcement #1
8/1/2020
Announcement #2
8/2/2020
Announcement #3
8/6/2020
Login to Python Forum
Enter your details to login to your account:
Remember me
Lost Password?
Login
Don't have an account yet?
Sign Up!
Linear Mode
Threaded Mode