Check if the ftp server ip is pinging
Sent from my iPhone
> On 11-Sep-2015, at 9:30 pm, richard kappler wrote:
>
> I can connect via ftp, but when I try to send a file, I get a no route to
> host error, I don't understand.
>
> code:
>
import ftplib
from ftplib import FTP
fBOT =
Hi All,
I need some clarification for below code. In line 2 of below code snippet,
I have provided read and write permission. Assuming I have provided some
string input as requested in line 1 - when I try to open "check.txt" file
after running the script, it is always empty - it does not display t
Thanks everyone for the suggestion.
At the moment, file.flush() resolves the problem - but I will also give a
thought to suggestions provided by other members in this email chain.
Regards,
RD
On Thu, Oct 15, 2015 at 11:05 PM, Alan Gauld
wrote:
> On 15/10/15 17:00, Reuben wrote:
>
&g
Hi,
Thanks for correcting me.
The solutions mentioned by Dominik and Alan have simplified the concept to
me now.
Regards,
Reuben
On Sun, Nov 17, 2013 at 5:25 AM, Dominik George wrote:
> On Sat, Nov 16, 2013 at 09:13:13AM -0800, reutest wrote:
> > class myclass():
> >
> >
Hi All,
It would be nice if someone could forward a link which explains classes and
object.
I am still struggling to understand classes and objects better.
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription
gt;>>
#
>From the above output, I see key 'c' is at third position during input, but
while displaying the output it is displayed at second position
Although, I dont see any impact of it since we mainly refer to dictionary
values only u
question
May be an example to make me understand would be useful.
Or may be answering the question should be rephrased as "Why not use
modules instead of classes?"
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe
Thanks to Alan and Dominik for their explanation and valuable time to
provide their inputs.
On Mon, Nov 25, 2013 at 4:41 PM, Alan Gauld wrote:
> On 25/11/13 06:37, Reuben wrote:
>
> Question no 1:
>> --
>> I would like to know why do we actually inheri
'__main__':
test = Animal('boxer')
test.flag = False
test.walk()
#
My question is:
1)Inside the Animal class(), How can I set the variable 'flag' to FALSE?
Regards,
Reuben
__
Yes! I got my answer now. Thanks all
@Dominick: sorry about my explanation.
On 26-Nov-2013 4:24 PM, "Alan Gauld" wrote:
> On 26/11/13 07:30, Reuben wrote:
>
>> Hi,
>>
>> Following is my code:
>> #
>
Hi,
How can we write a logic for detecting the number 2 in range from 1 to 100
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
I tried it with the python interpreter as mentioned below:
test@test-Inspiron-1564:~/learn$ python
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
On Sun, Dec 1, 2013 at 7:50 PM, Steven D'Apra
said that in a list of may be 10,000 elements(specifically
integers), hash maps would be a better option to find the occurrence of
repetitive integers
How can this be implemented using dictionaries for a list of 10,000 integer
elements?
Regards,
Reuben
01, 2013 at 11:20:02AM +0530, Reuben wrote:
> > Hi,
> >
> > How can we write a logic for detecting the number 2 in range from 1 to
> 100
>
> 2 in range(1, 101)
>
>
> --
> Steven
> ___
> Tutor maillist - T
t;>> wrote:
>>>
>>>> On Sun, Dec 01, 2013 at 02:57:33PM +0530, Reuben wrote:
>>>>
>>>>> I mean occurrence of 2 from numbers 1 to 100. The number could be the
>>>>> first digit or second digit in a two digit number..for e.g. In num
Can you try importing the module '_tkinter'
On 09-Dec-2013 6:43 AM, "pierre dagenais" wrote:
> Hi,
> I'm running Ubuntu 10.04 and I've installed python 3.3.3 from the
> tarball at http://python.org/ftp/python/3.3.3/Python-3.3.3.tar.xz
>
> Here is the error I get when trying to run tkinter.
>
> pi
if yes, an
example would help
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
I want to implement a python script on machine A to do telnet/ssh into
machine B (this might be easy)and then run the Test.py (this is challenging)
On 11-Dec-2013 1:05 AM, "Danny Yoo" wrote:
> On Tue, Dec 10, 2013 at 11:28 AM, Reuben wrote:
> > Hi,
> >
> > There
Hi,
What is the best way to log the output of a python script execution.
Do we need to use the logging module of python?
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org
Thanks everyone - your posts helped me.
On 16-Dec-2013 2:22 AM, "Alan Gauld" wrote:
> On 15/12/13 18:01, Tobias M. wrote:
>
> Yes, I think the logging module is the best way to do it.
>> And it's pretty easy, see this minimal example:
>>
>> import logging
>>
>> logging.basicConfig(filename="foo.
Keep caution while using geany. It causes indentation problems
On 18-Dec-2013 10:34 PM, "Ken G." wrote:
> For what it may be worth, I use Geany on my Ubuntu
> OS, 12.04 LTS. I also have IDLE installed and I
> can use the Terminal Window in running Command
> Line.
>
> Ken
>
> On 12/17/2013 09:28
Hi All,
I would like to know the difference between GUI programming v/s web
designing...To be more specific lets compare Django(used for web
programming) v/s Tkinter(used for GUI programming)
I wish to have a more clear difference regarding this.
Regards,
Reuben
Hi,
I tried reading information regarding decorators - but not able to get a
good grip around it.
Kindly point me to some good links along with examples
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription
Hi,
Do we need to follow any particular directory structure for creating any
New projects or could we just randomly create a folder containing the
script of interest?
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
Hi John,
The generated bytecodes will be different - but both version can run same
code without issues
Regards,
Reuben
On 19-Mar-2014 11:28 PM, "John Fabiani" wrote:
> Hi,
>
> At my office we have a mix of XP (32bit) and Window 7 (64 bit). I
> installed python 64 bit on
Hi,
I would like to know how we could test android mobile apps using python.
Lets say I want to test my skype app. How can we go about?
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https
These apps are native android apps downloaded from google play. Skype being
an example.
As far as I am aware all these apps are written in Java.
But my problem statement requires that we test this app using python script.
Regards,
Reuben
On Fri, Jun 13, 2014 at 1:32 AM, Alan Gauld
wrote
mentioned operations
Any specific pointers to help me with this task?
Thanks
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
28 matches
Mail list logo