et the month from the string strDate
print("Month ",strDate[5:7])
print()
#
# Convert Event to a datetime object
Event="1979-01-01T00:00:00.0"
dtmDate=datetime.strptime(Event,"%Y-%m-%dT%H:%M:%S.0")
print("datetime object",dtmDate)
lines :
PYTHONPATH="${PYTHONPATH}:/path/cool/python/package/"
export PYTHONPATH
These checks the settings :
import os
import sys
print(sys.path)
print(os.environ.get('PYTHONPATH', ''))
-hth
Gys
--
https://mail.python.org/mailman/listinfo/python-list
stable/index.html>
Hands on example :
<https://chrisalbon.com/python/data_wrangling/pandas_dataframe_importing_csv/>
-hth
Gys
--
https://mail.python.org/mailman/listinfo/python-list
ara in Spyder(Python 3.6) :
x=4.449e-05
print(x)
4.449e-05
print("{0:8.5f}".format(x))
0.00005
print(x)
4.449e-05
hth
Gys
--
https://mail.python.org/mailman/listinfo/python-list
.
In the meantime I use Gitlab for finding code snippets. I use these
beginner guides :
https://www.python.org/doc/
https://www.tutorialspoint.com/python3/
https://overiq.com/python-101/
https://www.pythonforbeginners.com/
https://www.programiz.com/python-programming/tutorial
hth
Gys
--
https: