Re: Pycharm IDE

2023-04-18 Thread Kevin M. Wilson via Python-list
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"),
and Pycharm stopped complaining about it... WHY??
Perplexed
"When you pass through the waters, I will be with you: and when you pass 
through the rivers, they will not sweep over you. When you walk through the 
fire, you will not be burned: the flames will not set you ablaze."      
Isaiah 43:2 

On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson via 
Python-list  wrote:  
 
 print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the 
impression that the format specifier 'f' was necessary for the print function, 
but the double quotes are for the string printed to the user, as a prompt!The 
Pycharm IDE is showing that it expects a single quotation mark or ')'! No error 
message is displayed.
Perplexed
"When you pass through the waters, I will be with you: and when you pass 
through the rivers, they will not sweep over you. When you walk through the 
fire, you will not be burned: the flames will not set you ablaze."      
Isaiah 43:2 

    On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost 
 wrote:  
 
 On 4/18/23 19:18, Kevin M. Wilson wrote:
>Why complain about a 'comma', or a ')'???
>      print (f'"I am thinking of a number between 1 to {LIMIT}\n")

my version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the 
print with ) as you have
or , to add additional arguments to print
-- 
https://mail.python.org/mailman/listinfo/python-list
  

|  | Virus-free.www.avg.com |

-- 
https://mail.python.org/mailman/listinfo/python-list
  

|  | Virus-free.www.avg.com |

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Pycharm IDE

2023-04-18 Thread Kevin M. Wilson via Python-list
print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the 
impression that the format specifier 'f' was necessary for the print function, 
but the double quotes are for the string printed to the user, as a prompt!The 
Pycharm IDE is showing that it expects a single quotation mark or ')'! No error 
message is displayed.
Perplexed
"When you pass through the waters, I will be with you: and when you pass 
through the rivers, they will not sweep over you. When you walk through the 
fire, you will not be burned: the flames will not set you ablaze."      
Isaiah 43:2 

On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost 
 wrote:  
 
 On 4/18/23 19:18, Kevin M. Wilson wrote:
>Why complain about a 'comma', or a ')'???
>      print (f'"I am thinking of a number between 1 to {LIMIT}\n")

my version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the 
print with ) as you have
or , to add additional arguments to print
-- 
https://mail.python.org/mailman/listinfo/python-list
  

|  | Virus-free.www.avg.com |

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Pycharm IDE

2023-04-18 Thread aapost

On 4/18/23 19:18, Kevin M. Wilson wrote:

Why complain about a 'comma', or a ')'???
 print (f'"I am thinking of a number between 1 to {LIMIT}\n")


my version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the 
print with ) as you have

or , to add additional arguments to print
--
https://mail.python.org/mailman/listinfo/python-list


Re: Pycharm IDE

2023-04-18 Thread Thomas Passin

On 4/18/2023 7:18 PM, Kevin M. Wilson via Python-list wrote:

Greetings... Kevin here:I need help, as you have guessed!I have this line: The 
Print Statement... Why complain about a 'comma', or a ')'???def play_game():
 number = random.randint(1, LIMIT)
 print (f'"I am thinking of a number between 1 to {LIMIT}\n")Or is this a 
setting in the IDE, I need to reassign?


I'm not sure what error you are talking about, but the f-string isn't 
closed (and doesn't appear to need the double quotes, either, though 
that is not an error).  So -


print (f'I am thinking of a number between 1 to {LIMIT}')

(print() will add its own newline at the end so you don't need the \n 
unless you actually want another newline).


Next time, please include the actual error message and make sure you 
include line breaks so things don't run together.




Regards, Perplexed
"When you pass through the waters, I will be with you: and when you pass through the 
rivers, they will not sweep over you. When you walk through the fire, you will not be 
burned: the flames will not set you ablaze."
Isaiah 43:2

|  | Virus-free.www.avg.com |



--
https://mail.python.org/mailman/listinfo/python-list


Re: Pycharm IDE

2023-04-18 Thread dn via Python-list

On 19/04/2023 11.18, Kevin M. Wilson via Python-list wrote:

Greetings... Kevin here:I need help, as you have guessed!I have this line: The 
Print Statement... Why complain about a 'comma', or a ')'???def play_game():
 number = random.randint(1, LIMIT)
 print (f'"I am thinking of a number between 1 to {LIMIT}\n")Or is this a 
setting in the IDE, I need to reassign?


The code is a bit difficult to read (wrapping), but the error message 
may be an assumption (on Python's part).


Should the line be:

print( F"I am thinking...
^
no extraneous/unbalanced apostrophe here?

--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list


Pycharm IDE

2023-04-18 Thread Kevin M. Wilson via Python-list
Greetings... Kevin here:I need help, as you have guessed!I have this line: The 
Print Statement... Why complain about a 'comma', or a ')'???def play_game():
number = random.randint(1, LIMIT)
print (f'"I am thinking of a number between 1 to {LIMIT}\n")Or is this a 
setting in the IDE, I need to reassign?

Regards, Perplexed
"When you pass through the waters, I will be with you: and when you pass 
through the rivers, they will not sweep over you. When you walk through the 
fire, you will not be burned: the flames will not set you ablaze."      
Isaiah 43:2

|  | Virus-free.www.avg.com |

-- 
https://mail.python.org/mailman/listinfo/python-list


Scientific Software Developer for the Digital Twin of the Ocean | Job position at CMCC Foundation, Italy

2023-04-18 Thread info cmcc
*SCIENTIFIC SOFTWARE DEVELOPER FOR THE DIGITAL TWIN OF THE OCEAN*
[Job Opening Code: 12443]
*Lecce (Italy) - Deadline: 30/04/2023*


Our Division of Advanced Scientific Computing (ASC Division) is considering
the possibility to hire a talented and proactive Post Degree candidate to
support CMCC research activities. The contract will be jointly funded by
CMCC and the HPC Training and Research for Earth Sciences (HPC-TRES)
program.

The job location is CMCC Headquarters in Lecce, Italy.

We are looking for a motivated person with the following requirements:

   - M.Sc. degree in Computer Science or Computer Engineering or equivalent
   fields;
   - 2+ years’ experience in scientific software development;
   - Excellent knowledge of Python programming language;
   - Good knowledge of Python scientific (numpy, scipy, scikit-learn,
   pandas) and visualization (e.g., matplotlib) libraries;
   - Good theoretical knowledge of Machine Learning algorithms and
   techniques for regression and classification tasks;
   - Good knowledge of at least one Machine/Deep Learning framework (e.g.,
   TensorFlow, Keras, Pytorch);
   - Good capabilities in writing technical reports and scientific papers
   as well as documenting code;
   - Good knowledge of both written and spoken English language.

Additional preferred experience:

   - Experience with HPC systems
   - Experience in training ML models in distributed environments and
   corresponding strategies

Belonging to legally protected categories (ex L. 68/99) will constitute a
preferential condition.


*More details and info about HOW TO APPLY:*
https://cmccfoundation.applytojob.com/apply/vmml1qbN4W/12443-Scientific-Software-Developer-For-The-Digital-Twin-Of-The-Ocean?source=Our%20Career%20Page%20Widget


-- 

Fondazione CMCCCentro Euro-Mediterraneo sui Cambiamenti Climatici
Via Marco Biagi, 5 - 73100 Lecce
i...@cmcc.it - www.cmcc.it
-- 
https://mail.python.org/mailman/listinfo/python-list