Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

python error message

Could someone please help me with what this means and how to overcome it?

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation. All rights reserved.

C:\Users\user>cd desktop

C:\Users\user\Desktop>file.py
File "C:\Users\user\Desktop\file.py", line 84
print term.BOL+term.UP+term.CLEAR_EOL+"Posting: %s" % p+term.NORMAL
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(term.BOL
+term.UP+term.CLEAR_EOL+"Posting: %s" % p+term.NORMAL)?

C:\Users\uuser\Desktop>
Put what you want to print out in brackets.

Print (xyz)
Ah thank you yes it works. Appreciate the quick response mate. ( Still very much in learning stages )
(Aug 7, 2018 01:45 PM)WifiHelpPLZ Wrote:  Ah thank you yes it works. Appreciate the quick response mate. ( Still very much in learning stages )

No worries. Just make sure to read your error messages in detail. Your one said something along the lines of 'put your print statement in apprentices'
Makes sense. To be honest someone told me that it literally gives you the solution in the " errors " I think sometimes I over think still being new to any form of programming language and if I used more common sense I would go a lot further.

Again hank you for your input and advice as it's golden being able to get advice and knowledge from people here.

Happy to have joined.
Try it with python3 and python 2.7 .
Most errors I run into that don't specify a missing package are just version problems.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by roosiinfidel09Apr 6, 2019 01:59 AM 5 139 Apr 6, 2019 01:59 AM
Last Post: roosiinfidel09
[Python] by serwkingFeb 7, 2019 01:05 AM 1 154 Feb 7, 2019 01:05 AM
Last Post: Ghxst