Re: [Tutor] Need help with a virtual environment mess

2018-05-07 Thread Jim
On 05/07/2018 12:02 PM, Mats Wichmann wrote: On 05/07/2018 10:16 AM, Jim wrote: My understanding of VE's, based on some feedback from here, is you install install the python you want on the system then use it to install your VE. Then you install what ever you need to the VE. In my case I had a

Re: [Tutor] Need help with a virtual environment mess

2018-05-07 Thread Mats Wichmann
On 05/07/2018 10:16 AM, Jim wrote: > My understanding of VE's, based on some feedback from here, is you > install install the python you want on the system then use it to install > your VE. Then you install what ever you need to the VE. In my case I had > a working VE based on python 3.5 then I

Re: [Tutor] use python to log to a remote supercomputer and transfer files

2018-05-07 Thread Wolfgang Maier
On 05/07/2018 04:15 PM, Alan Gauld via Tutor wrote: On 7 May 2018, at 15:08, ruiyan wrote: I want to log to the remote supercomputer automatically, upload and download files If it supports ftp then there is an ftp module. There are also http and ssh

Re: [Tutor] Need help with a virtual environment mess

2018-05-07 Thread Jim
On 05/06/2018 05:16 PM, boB Stepp wrote: On Sun, May 6, 2018 at 11:05 AM, Jim wrote: In a prior thread you guys helped me fix a problem with pip after I upgraded an installed version of python 3.6 on my Mint 18 system. Pip would not run in my python 3.6 virtual

Re: [Tutor] use python to log to a remote supercomputer and transfer files

2018-05-07 Thread Mats Wichmann
On 05/07/2018 05:53 AM, ruiyan wrote: > Hello everyone, > > > I need to conduct massive simulation computations using a software called > 'lammps' on a remote supercomputer whose operating system is Linux every day. > It's extremely annoying to log to the remote supercomputer, upload files

Re: [Tutor] use python to log to a remote supercomputer and transfer files

2018-05-07 Thread Alan Gauld via Tutor
On 7 May 2018, at 15:08, ruiyan wrote: > I want to log to the remote supercomputer automatically, upload and download > files If it supports ftp then there is an ftp module. There are also http and ssh modules, depending on the complexity of your needs and

[Tutor] use python to log to a remote supercomputer and transfer files

2018-05-07 Thread ruiyan
Hello everyone, I need to conduct massive simulation computations using a software called 'lammps' on a remote supercomputer whose operating system is Linux every day. It's extremely annoying to log to the remote supercomputer, upload files to and download files from the supercomputer using

Re: [Tutor] Extract main text from HTML document

2018-05-07 Thread Simon Connah
That looks like a useful combination. Thanks. On 6 May 2018 at 17:32, Mark Lawrence wrote: > On 05/05/18 18:59, Simon Connah wrote: >> >> Hi, >> >> I'm writing a very simple web scraper. It'll download a page from a >> website and then store the result in a database of

Re: [Tutor] Python C extension - which method?

2018-05-07 Thread Michael C
Sorry I don't understand your suggestion. Use "ctypes.CDLL" and "ctypes.WinDLL" this works, mydll = cdll.LoadLibrary('test.dll') print(mydll.sum(3,2)) and this doens't mydll = cdll('test.dll') print(mydll.sum(3,2)) What's the syntax of what you suggested? Thanks On Mon, May 7, 2018 at 3:15

Re: [Tutor] Python C extension - which method?

2018-05-07 Thread eryk sun
On Mon, May 7, 2018 at 9:57 AM, Michael C wrote: > Sorry I don't understand your suggestion. > > Use "ctypes.CDLL" and "ctypes.WinDLL" > > this works, > mydll = cdll.LoadLibrary('test.dll') > print(mydll.sum(3,2)) > > and this doens't > mydll = cdll('test.dll') >

Re: [Tutor] PMML vs. Pickel

2018-05-07 Thread Alan Gauld via Tutor
The tutor list is for those learning python and its standard library. I suspect you will get a better response asking on the main python list. Alan g. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

[Tutor] PMML vs. Pickel

2018-05-07 Thread Glenn Schultz
All, have a Python prepayment model that must be integrated into 3rd party vendor software considering translating to PMML. I have been researching this. Any potential downside? Glenn Sent from my iPhone ___ Tutor maillist - Tutor@python.org To