Re: insert data in python script

2020-02-18 Thread DL Neil via Python-list
On 19/02/20 4:52 AM, alberto wrote: Hi, I solve it with external file as follows import preos # pass name, Tc, Pc, omega methane = preos.Molecule("methane", -82.59 + 273.15, 45.99, 0.011) methane.print_params() thanks to everyone It is difficult to learn a new programming language, even for

Python 101 2nd Edition book

2020-02-18 Thread Mike Driscoll
Hi, Years ago I posted about my first book, Python 101 on here and people really enjoyed it. I am working on a complete rewrite of the book and thought there might be people here who would enjoy knowing about it. You can read more here: https://www.blog.pythonlibrary.org/2020/02/17/python-101-

Re: insert data in python script

2020-02-18 Thread alberto
Il giorno martedì 18 febbraio 2020 11:01:11 UTC+1, David ha scritto: > On Tue, 18 Feb 2020 at 20:45, alberto wrote: > > Il giorno martedì 18 febbraio 2020 09:34:51 UTC+1, DL Neil ha scritto: > > > > > my code preos in one file preos.py > > > > my commands are > > > > > > > > alberto@HENDRIX ~/PRE

EuroPython 2020: Presenting our conference logo for Dublin

2020-02-18 Thread M.-A. Lemburg
We’re pleased to announce our official conference logo for EuroPython 2020, July 20-26, in Dublin, Ireland: * https://ep2020.europython.eu/ * The logo is inspired by the colors and symbols often associated with Ireland: the shamrock and the Celtic harp. It was again created by

Re: insert data in python script

2020-02-18 Thread Michael Torrie
On 2/18/20 2:41 AM, alberto wrote: > Il giorno martedì 18 febbraio 2020 09:34:51 UTC+1, DL Neil ha scritto: >> The first instruction (immediately above) imports the module preos.py. >> That works (no error message!). >> >> The second instruction refers to a Python class called Molecule. That >> f

[RELEASE] Python 3.8.2rc2 is now available for testing

2020-02-18 Thread Łukasz Langa
Python 3.8.2rc2 is the second release candidate of the second maintenance release of Python 3.8. Go get it here: https://www.python.org/downloads/release/python-382rc2/ Why a second release candidate? The major reason for RC2 is that GH

Re: insert data in python script

2020-02-18 Thread David
On Tue, 18 Feb 2020 at 20:45, alberto wrote: > Il giorno martedì 18 febbraio 2020 09:34:51 UTC+1, DL Neil ha scritto: > > > my code preos in one file preos.py > > > my commands are > > > > > > alberto@HENDRIX ~/PREOS $ python3.5 > > > Python 3.5.2 (default, Oct 8 2019, 13:06:37) > > > [GCC 5.4.0

Re: insert data in python script

2020-02-18 Thread alberto
Il giorno martedì 18 febbraio 2020 09:34:51 UTC+1, DL Neil ha scritto: > ... > > >> import preos > >> # pass name, Tc, Pc, omega > >> methane = preos.Molecule("methane", -82.59 + 273.15, 45.99, 0.011) > >> methane.print_params() > > ... > > > my code preos in one file preos.py > > my commands ar

Re: insert data in python script

2020-02-18 Thread DL Neil via Python-list
... import preos # pass name, Tc, Pc, omega methane = preos.Molecule("methane", -82.59 + 273.15, 45.99, 0.011) methane.print_params() ... my code preos in one file preos.py my commands are alberto@HENDRIX ~/PREOS $ python3.5 Python 3.5.2 (default, Oct 8 2019, 13:06:37) [GCC 5.4.0 20160609]

Re: Interpreter Python 3.8 not there to select from PyCharm

2020-02-18 Thread onlinejudge95
On Tue, Feb 18, 2020 at 1:40 AM Maxime Albi wrote: > I'm very new to Python and wanting to learn the basics. > I downloaded and installed Python 3.8 and PyCharm for my Windows 10 > machine. All good. > > Launched PyCharm and I started a new Project and tried to select an > 'interpreter' such as