EuroPython videos all on archive.org

2020-11-28 Thread M.-A. Lemburg
Over the last few weeks, Anthon van der Neut, our media work group chair
for EP2015 and EP2016, put in a lot of effort into getting all our
conference videos on archive.org, the Internet Archive.

Archive.org is not meant as an alternative for YouTube to watch the
videos, but it allows you to retrieve the original uploads, and as such
also functions as a backup location for the us and the community.

He first downloaded all videos from our YouTube account (over 2.5TB as
of this writing), then enriched the meta data based on the talk
information we have on the websites, fixed issues he found, and then
uploaded the videos and meta data to our archive.org account. Overall,
around 40 hours of work went into this.

We now have more than 1000 conference videos available on our
archive.org account, covering EP2014 - EP2020.


   * EuroPython videos on archive.org *

   https://archive.org/details/@europythonvideos


Thanks, Anthon, for making this possible !


Help spread the word


Please help us spread this message by sharing it on your social
networks as widely as possible. Thank you !

Link to the blog post:

https://blog.europython.eu/post/636029350382387200/europython-videos-all-on-archiveorg

Tweet:

https://twitter.com/europython/status/1332661436632457216

Thanks,
--
EuroPython 2021 Team
https://www.europython-society.org/

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


Re: EuroPython videos all on archive.org

2020-11-28 Thread Alex Kaye
Without volunteers, the world would end, abruptly !

Thanks,  Alex

On Sat, Nov 28, 2020 at 5:48 AM M.-A. Lemburg  wrote:

> Over the last few weeks, Anthon van der Neut, our media work group chair
> for EP2015 and EP2016, put in a lot of effort into getting all our
> conference videos on archive.org, the Internet Archive.
>
> Archive.org is not meant as an alternative for YouTube to watch the
> videos, but it allows you to retrieve the original uploads, and as such
> also functions as a backup location for the us and the community.
>
> He first downloaded all videos from our YouTube account (over 2.5TB as
> of this writing), then enriched the meta data based on the talk
> information we have on the websites, fixed issues he found, and then
> uploaded the videos and meta data to our archive.org account. Overall,
> around 40 hours of work went into this.
>
> We now have more than 1000 conference videos available on our
> archive.org account, covering EP2014 - EP2020.
>
>
>* EuroPython videos on archive.org *
>
>https://archive.org/details/@europythonvideos
>
>
> Thanks, Anthon, for making this possible !
>
>
> Help spread the word
> 
>
> Please help us spread this message by sharing it on your social
> networks as widely as possible. Thank you !
>
> Link to the blog post:
>
>
> https://blog.europython.eu/post/636029350382387200/europython-videos-all-on-archiveorg
>
> Tweet:
>
> https://twitter.com/europython/status/1332661436632457216
>
> Thanks,
> --
> EuroPython 2021 Team
> https://www.europython-society.org/
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


series.py, cannot import series from pandas

2020-11-28 Thread A. M. Thomas [PETech MIET MBA]
Kindly guide on how to solve this problem from Python3.9 with pycharm. See
the below


import numpy as np
import pandas as pd
from pandas import series
object = series([5,10,15,20])
print (object)


C:\Users\THOMAS\AppData\Local\Programs\Python\Python39\python.exe
C:/Users/THOMAS/PycharmProjects/Example2/series.py
Traceback (most recent call last):
  File "C:\Users\THOMAS\PycharmProjects\Example2\series.py", line 3, in

from pandas import series
ImportError: cannot import name 'series' from 'pandas'
(C:\Users\THOMAS\AppData\Roaming\Python\Python39\site-packages\pandas\__init__.py)

Process finished with exit code 1
-- 
Best Regards,

*A. M. Thomas*
Electrical & Solar Systems Expert
*THE GUY BEHIND THE SCENE*
Cell: +254 723 309 157 / +254 731 406 125
Email: thomaso...@gmail.com / thomaso.engin...@gmail.com

"Alternative energy for real and sustainable development that we need"
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: series.py, cannot import series from pandas

2020-11-28 Thread MRAB

On 2020-11-28 15:59, A. M. Thomas [PETech MIET MBA] wrote:

Kindly guide on how to solve this problem from Python3.9 with pycharm. See
the below


import numpy as np
import pandas as pd
from pandas import series
object = series([5,10,15,20])
print (object)


C:\Users\THOMAS\AppData\Local\Programs\Python\Python39\python.exe
C:/Users/THOMAS/PycharmProjects/Example2/series.py
Traceback (most recent call last):
   File "C:\Users\THOMAS\PycharmProjects\Example2\series.py", line 3, in

 from pandas import series
ImportError: cannot import name 'series' from 'pandas'
(C:\Users\THOMAS\AppData\Roaming\Python\Python39\site-packages\pandas\__init__.py)

Process finished with exit code 1

A brief look at the documentation suggests that it should be "Series", 
not "series".

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


Re: series.py, cannot import series from pandas

2020-11-28 Thread A. M. Thomas [PETech MIET MBA]
Spot on!! Thank you very much, am back on track with your aid

On Sat, Nov 28, 2020 at 9:23 PM MRAB  wrote:

> On 2020-11-28 15:59, A. M. Thomas [PETech MIET MBA] wrote:
> > Kindly guide on how to solve this problem from Python3.9 with pycharm.
> See
> > the below
> >
> >
> > import numpy as np
> > import pandas as pd
> > from pandas import series
> > object = series([5,10,15,20])
> > print (object)
> >
> >
> > C:\Users\THOMAS\AppData\Local\Programs\Python\Python39\python.exe
> > C:/Users/THOMAS/PycharmProjects/Example2/series.py
> > Traceback (most recent call last):
> >File "C:\Users\THOMAS\PycharmProjects\Example2\series.py", line 3, in
> > 
> >  from pandas import series
> > ImportError: cannot import name 'series' from 'pandas'
> >
> (C:\Users\THOMAS\AppData\Roaming\Python\Python39\site-packages\pandas\__init__.py)
> >
> > Process finished with exit code 1
> >
> A brief look at the documentation suggests that it should be "Series",
> not "series".
> --
> https://mail.python.org/mailman/listinfo/python-list
>


-- 
Best Regards,

*A. M. Thomas*
Electrical & Solar Systems Expert
*THE GUY BEHIND THE SCENE*
Cell: +254 723 309 157 / +254 731 406 125
Email: thomaso...@gmail.com / thomaso.engin...@gmail.com

"Alternative energy for real and sustainable development that we need"
-- 
https://mail.python.org/mailman/listinfo/python-list


ssl connection has been closed unexpectedly

2020-11-28 Thread Shaozhong SHI
Hi,

I keep getting the following error when I use engine =
create_engine(logging in details to postgres)
df.to_sql('table_name', and etc.)


OperationalError: (psycopg2.OperationalError) SSL connection has been
closed unexpectedly

(Background on this error at: http://sqlalche.me/e/13/e3q8)
OperationalError: (psycopg2.OperationalError) SSL connection has been
closed unexpectedly

Can anyone shed any light on this?

Regards,

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


numpy problem (follow up)

2020-11-28 Thread Larry Burford

   I have completed reloading

   Still getting the error msg for numpy



Gentlemen/Ladies,



new to visual studio

new-ish to python (I hope this is more to do with python ...)

~5 yr old HP with 16 GB,  1 TB,  W10 pro,  python 3.9.0,  VSCode 
1.51.1,  3 monitor desktop



when trying to run the tutorial program standardplot.py I get a msg that 
says my numpy won't pass a sanity check due to a problem in the Win runtime


reloading everything now


Any ideas?


Thanks, LB
--
https://mail.python.org/mailman/listinfo/python-list


How to record full error message for debugging with nbconvert?

2020-11-28 Thread Shaozhong SHI
Hi,
When I use nbconvert to run Jupyter notebook, it is so difficult to see the
full error message for debugging?

How to save full error messages?

Regards,

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


Re: numpy problem (follow up)

2020-11-28 Thread Malcolm

HI

Just had the same problem.

The solution that worked for me was (

pip uninstall numpy

then

pip install numpy==1.19.3

The latest update to windows has an error in the BLAS libray causing the 
error. its a known problem.


hope this helps

Malcolm



On 29/11/2020 10:28 am, Larry Burford wrote:

   I have completed reloading

   Still getting the error msg for numpy



Gentlemen/Ladies,



new to visual studio

new-ish to python (I hope this is more to do with python ...)

~5 yr old HP with 16 GB,  1 TB,  W10 pro,  python 3.9.0,  VSCode 
1.51.1,  3 monitor desktop



when trying to run the tutorial program standardplot.py I get a msg 
that says my numpy won't pass a sanity check due to a problem in the 
Win runtime


reloading everything now


Any ideas?


Thanks, LB

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


How to run Jupyter notebook in command line and get full error message?

2020-11-28 Thread Shaozhong SHI
How to run Jupyter notebook in command line and get full error messages?

My VPN keeps dropping and can not run Jupyter Notebook as it is.

I started to use nbconvert in command line.

But, when it stops due to error, I can not see where the error occurs.

In order to make life easier for debugging, what is the best practice?

Regards,

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


A problem with opening a file

2020-11-28 Thread Gabor Urban
Hi,

I am facing an issue I was not able to solve yet. I have a class saving
messages to a file. The relevant code is:



import OS
import sys

class MxClass:

def __init__(self, fName, fMode,):
self.fileName = fName
self.fileMode = fMode


def writeMethod(self, message):
data = open(self.fileName, self.fileMode)




Tests reveal: the class is instantiated correctly, other methods work
perfect. The writeMethod raises a NameError opening the file
"name 'open' is not defined "

I am stuck here.


-- 
Urbán Gábor

Linux is like a wigwam: no Gates, no Windows and an Apache inside.
-- 
https://mail.python.org/mailman/listinfo/python-list