Kevin,
As mentioned in another response, the format of these messages seems
very confused.
Please copy-paste all of (the pertinent part of) the code, and ensure
that the line-endings are in the correct places, tab/indentation looks
correct, etc?
(this will allow us to copy the same code into
On 19/04/2023 21.13, Kevin M. Wilson wrote:
Sorry the code snippet I sent was what is written in PyCharm. LIMIT is
defined and is not causing an error!
PyCharm is flagging the Parentheses at the end. It is not seeing the
Parentheses as the end of the print function.
def play_game():
number= ra
On 4/19/2023 1:27 AM, Kevin M. Wilson via Python-list wrote:
Ok, I got rid of the "print (f'"I am thinking of a number between 1 to {LIMIT}\n")"print
("I am thinking of a number between 1 to {LIMIT}\n"),
I think you misunderstand several things at the same time here.
1. These errors originate
Greetings, I'm in a bit of a quandary, I want some strict syntax errors
to be flagged, but the use of single quotes vs double quotes! NOT what I need
from the 'checker', you dig? As I've recently returned to the IDE, and no
longer have the
"stones" for bull, how do I set up the kind of "
On 19/04/2023 10:51, Kevin M. Wilson via Python-list wrote:
> I'm in a bit of a quandary, I want some strict syntax errors to be flagged,
OK, You might want to use a "linter" in that case because most
tools use the interpreter itself to flag syntax errors.
> but the use of single quotes vs dou
On 20/04/2023 04.25, Alan Gauld wrote:
On 19/04/2023 10:51, Kevin M. Wilson via Python-list wrote:
I'm in a bit of a quandary, I want some strict syntax errors to be flagged,
OK, You might want to use a "linter" in that case because most
tools use the interpreter itself to flag syntax errors
Hello,
I am experincing problems with the pickle moducle
the folowing code was working before,
import pickle
number=2
my_pickeld_object=pickle.dumps(number)
print("this is my pickled object",{my_pickeld_object},)
with open('file.pkl', 'rb') as file:
number=pickle.load(file)
my_unpickeled_objec
Thomas Passin wrote:
On 4/19/2023 1:27 AM, Kevin M. Wilson via Python-list wrote:
Ok, I got rid of the "print (f'"I am thinking of a number between 1 to
{LIMIT}\n")"print ("I am thinking of a number between 1 to {LIMIT}\n"),
I think you misunderstand several things at the same time here.
1. T
On 4/19/2023 4:06 PM, Mark Bourne wrote:
print(f'{LIMIT})
^ I think this one should be:
print(f'{LIMIT}')
with the closing quote ;o)
Yup a typo! Where's pylint when I need it?
--
https://mail.python.org/mailman/listinfo/python-list
On 4/19/2023 12:14 PM, charles wiewiora wrote:
Hello,
I am experincing problems with the pickle moducle
the folowing code was working before,
import pickle
number=2
my_pickeld_object=pickle.dumps(number)
print("this is my pickled object",{my_pickeld_object},)
with open('file.pkl', 'rb') as file:
NB this reply came only to me (so @Alan will have missed your response
to his posting). Have replied on-list (only) - please see earlier
comment about email-client behaviors...
On 20/04/2023 08.11, Kevin M. Wilson wrote:
*What kind of problems are you experiencing with quotes?*
If we have som
On 20/04/2023 08.59, Thomas Passin wrote:
On 4/19/2023 4:06 PM, Mark Bourne wrote:
print(f'{LIMIT})
^ I think this one should be:
print(f'{LIMIT}')
with the closing quote ;o)
Yup a typo! Where's pylint when I need it?
but (and you designed it this way - right?) an excellent object-less
12 matches
Mail list logo