[Tutor] Formatting text file with python

2018-02-07 Thread Hüseyin Ertuğrul
Hello friends, I want to format the log (text) file my email's server. The text file (named s1.txt) contains the following information, text file has about 3000 lines. "hMailServer SpamProtection rejected RCPT (Sender: valeria0...@mikelsonconstruction.com, IP:187.62.63.218, Reason: Rejected by

[Tutor] Suggest some Android app

2018-02-07 Thread Dragan Mestrovik
Hi, please suggest me some good android apps through which i can execute my python scripts and practice python. I want to download videos using youtube-dl python script and want to save them to external drive like otg pendrive. I tried termux, which is not able to store the files in external stor

Re: [Tutor] Formatting text file with python

2018-02-07 Thread Alan Gauld via Tutor
On 06/02/18 21:07, Hüseyin Ertuğrul wrote: > "hMailServer SpamProtection rejected RCPT (Sender: > valeria0...@mikelsonconstruction.com, IP:187.62.63.218, Reason: Rejected by > Spamhaus.)" > "hMailServer SpamProtection rejected RCPT (Sender: veronika07...@etb.net.co, > IP:190.25.189.74, Reason:

[Tutor] can someone explain the reason for error

2018-02-07 Thread vinod bhaskaran
Hi, I am a beginner level programmer and in one assignment the question given is:to remove ',' from a list after getting a comma separated input from console. I gave the below (most print statements are for reference except the last print statement). but i get the attached error. can someone expla

Re: [Tutor] can someone explain the reason for error

2018-02-07 Thread Alan Gauld via Tutor
On 07/02/18 11:58, vinod bhaskaran wrote: > Hi, I am a beginner level programmer and in one assignment the question > given is:to remove ',' from a list after getting a comma separated input > from console. First up I'll say you are doing an awful lot of work that's not needed. As a result your so

Re: [Tutor] can someone explain the reason for error

2018-02-07 Thread Mark Lawrence
On 07/02/18 11:58, vinod bhaskaran wrote: Hi, I am a beginner level programmer and in one assignment the question given is:to remove ',' from a list after getting a comma separated input from console. I gave the below (most print statements are for reference except the last print statement). but

Re: [Tutor] can someone explain the reason for error

2018-02-07 Thread Alex Kleider
On 2018-02-07 03:58, vinod bhaskaran wrote: Hi, I am a beginner level programmer and in one assignment the question given is:to remove ',' from a list after getting a comma separated input from console. I gave the below (most print statements are for reference except the last print statement

[Tutor] Java equivalent of Python-Tutor?

2018-02-07 Thread Terry Carroll
In my early days of using Python I benefited greatly from this Tutor list, thanks to both Alan and Steven as well as as many contributors. I still check in now and then and try to chime in to help now that I have a bit more experience under my belt. I'm doing a few projects in Java now and wou

[Tutor] help

2018-02-07 Thread Frank Dominguez
greetings, this is my first time using python and i just cannot figure out what I am doing wrong im sure the answer is very simple but sadly i do not know what it is thanks for the help! ''' Author: Frank Dominguez CS 140: February 5, 2018 Python Lab 1 Determine the cost of landscaping a backyard

Re: [Tutor] Suggest some Android app

2018-02-07 Thread Alan Gauld via Tutor
On 07/02/18 03:22, Dragan Mestrovik wrote: > please suggest me some good android apps through which i can execute my > python scripts and practice python. I don't know if its the best but the one I use is QPython3. Its free and includes an interactive interpreter. > I want to download videos

Re: [Tutor] Java equivalent of Python-Tutor?

2018-02-07 Thread Alan Gauld via Tutor
On 07/02/18 20:06, Terry Carroll wrote: > I'm doing a few projects in Java now and would love to find a similar > resource that covers that language, I did a deep dive into Java for a new job a couple of years ago and found the official Oracle tutorials very good combined with YouTube videos fo

Re: [Tutor] help

2018-02-07 Thread Alan Gauld via Tutor
On 07/02/18 21:34, Frank Dominguez wrote: > this is my first time using python and i just cannot figure out what I am > doing wrong im sure the answer is very simple but sadly i do not know what Please always include full error messages in your mail - don't assume we will willingly run buggy cod

Re: [Tutor] help

2018-02-07 Thread Rex via Tutor
I think you need to convert the input value to an integer with int(variable_name) Sent from my iPhone > On Feb 7, 2018, at 4:34 PM, Frank Dominguez wrote: > > greetings, > this is my first time using python and i just cannot figure out what I am > doing wrong im sure the answer is very simpl

Re: [Tutor] Java equivalent of Python-Tutor?

2018-02-07 Thread boB Stepp
On Wed, Feb 7, 2018 at 2:06 PM, Terry Carroll wrote: > > In my early days of using Python I benefited greatly from this Tutor list, > thanks to both Alan and Steven as well as as many contributors. I still check > in now and then and try to chime in to help now that I have a bit more > experien