[Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Harry Oneill
Hello there everyone i hope you are all doing fantastic. Im currently working on a little program that is designed to do a basic function to help me to trade efficiently within the game Star Citizen: #1 take two inputs ( location and destination ) #2 Find what product is best to buy at location

Re: [Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Mats Wichmann
On 11/17/18 6:55 PM, Harry Oneill wrote: > Hello there everyone i hope you are all doing fantastic. > > Im currently working on a little program that is designed to do a basic > function to help me to trade efficiently within the game Star Citizen: > > #1 take two inputs ( location and destinati

Re: [Tutor] Regarding "IDLE Subprocess Didn't Make Connection" Error

2018-11-18 Thread Mats Wichmann
On 11/17/18 10:38 AM, Avi Gross wrote: > I was wondering if I was the only one who felt the urge to apply a tad of > humor and suppressed most of the thoughts about idol/IDLE worship and other > puns so I am glad to see Steve do just a little of the same. > > It seems that despite how portable P

[Tutor] how to print lines which contain matching words or strings

2018-11-18 Thread Asad
Hi All , I have a set of words and strings : like : p = [A ,"B is good" ,123456 , "C "] I have a file in which I need to print only the lines which matches the pattern in p thanks, -- Asad Hasan +91 9582111698 ___ Tutor maillist - Tutor@py

Re: [Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Avi Gross
Harry, Your code may not have come through as intended as the formatting often combined lines. It may help to think about the question before giving deeper answers. You have two places and two sets of goods with prices. You want the intersection of those two to focus on what goods are in both. T

[Tutor] Issue in parsing the string output from the command using "subprocess"

2018-11-18 Thread srinivasan
Dear Python Experts Team, As am newbie to python and learning python, working on embedded linux platform, my intention is to delete all the SSID's before connecting my Wi-Fi module to specific SSID., I am trying to parse command output using the "subprocess" with wrapper "execute_cmd_output_strin

Re: [Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Peter Otten
Mats Wichmann wrote: > 1. From an endpoint pair - say Buy/Levski and Sell/Olisar, you need the > common items. No point in looking further at items that can't both be > bought at the source and sold at the destination. Fortunately, Python > sets are really good at this, but first you have to ext

Re: [Tutor] how to print lines which contain matching words or strings

2018-11-18 Thread Bob Gailer
On Nov 18, 2018 12:14 PM, "Asad" wrote: > > Hi All , > >I have a set of words and strings : > > like : > > p = [A ,"B is good" ,123456 , "C "] > > I have a file in which I need to print only the lines which matches the > pattern in p > > thanks, you are welcome, but I'm not sure what you'

Re: [Tutor] how to print lines which contain matching words or strings

2018-11-18 Thread Bob Gailer
On Nov 18, 2018 1:19 PM, "Bob Gailer" wrote: > > On Nov 18, 2018 12:14 PM, "Asad" wrote: > > > > Hi All , > > > >I have a set of words and strings : > > > > like : > > > > p = [A ,"B is good" ,123456 , "C "] > > > > I have a file in which I need to print only the lines which matches the >

[Tutor] please add gillidr...@gmail.com

2018-11-18 Thread Les Drake
___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

[Tutor] seeking beginners tutorial for async

2018-11-18 Thread bob gailer
I have yet to find a tutorial that helps me understand and apply async! The ones I have found are either incomplete, or they wrap some other service, or they are immediately so complex that I have no hope of understanding them. I did find a useful javascript tutorial at https://javascript.in