On Tue, Dec 04, 2018 at 11:43:05PM +, Alan Gauld via Tutor wrote:
> On 04/12/2018 19:31, Avi Gross wrote:
>
> > But some packages are simply python code that you can
> > simply insert into your own python files.
>
> If they are fully public domain that's probably true.
Almost nothing young
> On Dec 4, 2018, at 13:31, Avi Gross wrote:
>
> David,
>
> What does it mean when someone says they cannot install a module? I can see
> how a school assignment might require using only some limited set of
> functionality. I note some installations add more than others or let you
> designat
On 04/12/2018 19:31, Avi Gross wrote:
> But some packages are simply python code that you can
> simply insert into your own python files.
If they are fully public domain that's probably true.
If they are copyright (even if open/free) you would be
potentially liable for prosecution since you are
David,
What does it mean when someone says they cannot install a module? I can see how
a school assignment might require using only some limited set of functionality.
I note some installations add more than others or let you designate optional
components to include.
Some companies may have se
I haven't gone through many python books, but have been using a copy of
Automating the Boring Stuff with Python. It covers lists, dictionaries,
scraping data from websites, etc.
https://automatetheboringstuff.com/
The PDF is free.
Adam
On Tue, Dec 4, 2018 at 1:09 PM James Stapleton-Cotton
wrote:
On 12/4/18 2:44 PM, David Rock wrote:
>
>> On Dec 4, 2018, at 15:37, Alan Gauld via Tutor wrote:
>>
>> On 04/12/2018 18:30, David Rock wrote:
>>> you MUST stop trying to use batch mode, because it will never work.
>>
>> But you could presumably use interactive mode via Popen
>> by taking control
> On Dec 4, 2018, at 15:37, Alan Gauld via Tutor wrote:
>
> On 04/12/2018 18:30, David Rock wrote:
>> you MUST stop trying to use batch mode, because it will never work.
>
> But you could presumably use interactive mode via Popen
> by taking control of the stdin/out pipes.
>
> But then you are
On 04/12/2018 18:30, David Rock wrote:
> you MUST stop trying to use batch mode, because it will never work.
But you could presumably use interactive mode via Popen
by taking control of the stdin/out pipes.
But then you are basically re writing expect!
--
Alan G
Author of the Learn to Program w
> On Dec 4, 2018, at 12:05, Asad wrote:
>
> Hi All ,
>
> I am not allowed to import pexcept .Therefore only option I
> have is to implement a solution using the standard libraries in python .
I’m only suggesting it because it’s an easier way to interface with expect. If
you aren’
Thank you Mats and Steven. I'm back on track now with a different tutorial
which has lead to me to the relevant coding tools.
https://wiki.python.org/moin/BeginnersGuide/NonProgrammers
https://python.swaroopch.com
On Mon, Dec 3, 2018 at 4:04 PM Mats Wichmann wrote:
> On 12/3/18 3:35 AM, James St
Hi All ,
I am not allowed to import pexcept .Therefore only option I
have is to implement a solution using the standard libraries in python .
However I am using subprocess.Popen for sftp I am unable to
pass the password.
I tried the following :
>>> import subprocess
>>>
> On Dec 4, 2018, at 02:41, Alan Gauld via Tutor wrote:
>
> On 04/12/2018 06:25, Asad wrote:
>
>> Permission denied (keyboard-interactive,publickey,password).
>> Connection closed
>>
>> Is there any other way to acheive this because I cannot import pexcept
>> module .
>
> That looks like the
On 04/12/2018 06:25, Asad wrote:
> Permission denied (keyboard-interactive,publickey,password).
> Connection closed
>
> Is there any other way to acheive this because I cannot import pexcept
> module .
That looks like the problem that David already highlighted
with sftp.
When you say you cannot
On 04/12/2018 01:31, Ravi Kumar wrote:
> My output api calls in python is in xml so I want the output to be in the
> database
I'm still not 100% clear but I think you are saying
that your API currently returns XML when you call it
from Python. And you want to extract the data from
the XML and stor
Hi All,
I get the following error :
>>> sftp_process = subprocess.Popen(['sftp', '-b', 'batch.txt', user_host],
shell=False)
>>>
Permission denied (keyboard-interactive,publickey,password).
Connection closed
Is there any other way to acheive this because I cannot import pexcept
module .
My output api calls in python is in xml so I want the output to be in the
database
So is there a way where I can alter my code to get api responses in json
format in python and then later move the output to the database
Basically at the end of it I want the all the data to be in database
Th
CCd the list, please use Reply All when responding to the tutor list.
On 04/12/2018 00:52, Ravi Kumar wrote:
> Thanks a lot! I was wondering is it easier to access JSON format into
> Sql Server from python rather than XML If so how do I format my output
> from xml to Json
>
JSON is generally easi
17 matches
Mail list logo