Re: [Tutor] What are all those letters after terminal commands?

2012-08-23 Thread William Ray Wing
On Aug 23, 2012, at 9:18 AM, Cecilia Chavana-Bryant wrote: > Hola, > > I'm going through the 'Command line crash course' by Zed Shaw, thanks to the > people that recommended this book, its quite a good course, I can see what > the author was going for with the title but if it wasn't for your

Re: [Tutor] Changing the interpreter prompt symbol from ">>>" to ???

2016-03-11 Thread William Ray Wing
> On Mar 11, 2016, at 10:31 PM, boB Stepp wrote: > > I must be bored tonight. I have to confess that when copying and > pasting from the interpreter into a plain text email, I often find it > cluttered to confusing by all the ">>>..." that can result from nested > quoting. So I poked around on

Re: [Tutor] Study Tips

2016-06-01 Thread William Ray Wing
> On May 30, 2016, at 1:45 AM, Steve Lett wrote: > > Hi folks, > Just started learning python. I've been having a really hard time in > getting started, and still am! I have a slight learning difficulty, > including a stroke in Jan.2010. You wouldnt know even if u were here > looking at me! Prai

Re: [Tutor] 10+ Different Python Script?

2016-07-13 Thread William Ray Wing
> On Jul 13, 2016, at 8:03 AM, Crusier wrote: > > Dear All, > > I am currently using: > Python 3.5 > Window 7 > > > I have a python script which is used for downloading Real Time Stocks. > Currently, there is over a 1000 stocks in the Portfolio. > > If I download the market info during marke

Re: [Tutor] python on ipad

2013-03-10 Thread William Ray Wing
On Mar 10, 2013, at 6:18 PM, Sven wrote: > On 10 March 2013 21:42, Benjamin Fishbein wrote: > Hello. I wrote some python programs for my small business that I run on my > computer...macbook air. I'm planning to backpack around Mexico and perhaps > south america. I'll still be working though. B

Re: [Tutor] (no subject)

2013-03-24 Thread William Ray Wing
On Mar 24, 2013, at 8:13 PM, Mandi Seger wrote: > Hello, everyone, > > I am looking for suggestions on a beginner's book for learning Python. I have > a nursing background with basic science and math education. I have no > programming experience in any computer language. > > I am currently en

Re: [Tutor] Resetting state of http.client/httplib HTTPSConnection objects

2013-08-26 Thread William Ray Wing
On Aug 26, 2013, at 5:28 AM, Chris Down wrote: > On 2013-08-26 01:23, Alan Gauld wrote: >> While this is technically within the remit of this list, since its >> about a standard library module, I suspect you might be better >> off asking on the main tutor list. It's at a deeper level of >> skill/

Re: [Tutor] Load Entire File into memory

2013-11-04 Thread William Ray Wing
On Nov 4, 2013, at 8:30 AM, Amal Thomas wrote: > Yes I have found that after loading to RAM and then reading lines by lines > saves a huge amount of time since my text files are very huge. > [huge snip] > -- > AMAL THOMAS > Fourth Year Undergraduate Student > Department of Biotechnology > II

Re: [Tutor] Load Entire File into memory

2013-11-05 Thread William Ray Wing
On Nov 5, 2013, at 11:12 AM, Alan Gauld wrote: > On 05/11/13 02:02, Danny Yoo wrote: > >> To visualize the sheer scale of the problem, see: >> >> http://i.imgur.com/X1Hi1.gif >> >> which would normally be funny, except that it's not quite a joke. :P > > I think I'm missing something. All I s

Re: [Tutor] Subprocess communications query

2013-12-11 Thread William Ray Wing
On Dec 10, 2013, at 2:28 PM, Reuben wrote: > Hi, > > There exists two Linux machines A and B. Machine B contains python script > which needs to be run e.g. Test.py > > In order to run that script, machine A needs to telnet into machine B and > then execute "python Test.py" > > How can this b

Re: [Tutor] Quantum computing

2013-12-14 Thread William Ray Wing
On Dec 14, 2013, at 1:22 PM, Mark Lawrence wrote: > On 14/12/2013 17:14, Alan Gauld wrote: >> On 14/12/13 15:37, Mark Lawrence wrote: >>> >>> I believe that quantum computing is way OT for the Python tutor mailing >>> list. >> >> Yeah, you are probably right. Although there are precedents where

Re: [Tutor] same python script now running much slower

2013-12-30 Thread William Ray Wing
On Dec 30, 2013, at 1:37 PM, "Protas, Meredith" wrote: > Hi, > > I'm very new to python so I'm sorry about such a basic question. > > I am using a python script generated by another person. I have used this > script multiple times before and it takes around 24 hours to run. Recently, > I ha

Re: [Tutor] same python script now running much slower

2013-12-30 Thread William Ray Wing
On Dec 30, 2013, at 7:54 PM, "Protas, Meredith" wrote: > Thanks for all of your comments! I am working with human genome information > which is in the form of many very short DNA sequence reads. I am using a > script that sorts through all of these sequences and picks out ones that > contain

Re: [Tutor] Help with Guess the number script

2014-03-11 Thread William Ray Wing
On Mar 11, 2014, at 8:06 PM, Scott W Dunning wrote: [mega byte] >> > Yeah, I had no idea that my messages were coming through in HTML, nor what it > looked like until someone sent me a section showing me what it looked like, I > can see how that would be frustrating. > > I’m using the mail

Re: [Tutor] which is faster

2014-06-10 Thread William Ray Wing
On Jun 10, 2014, at 2:42 AM, diliup gabadamudalige wrote: > Hi All, > > This is a Pygame related question and if not answered it's ok and I apologise > for asking. But if someone can answer it is much appreciated. > > In Pygame Which is faster? > > 1. filling the screen with a colour > or

Re: [Tutor] What are your favourite unofficial resources

2014-06-29 Thread William Ray Wing
Probably obvious (meaning you will get them both 50+ times), but I like both Stackoverflow.com and Doug Hellmann’s site. Thanks, Bill On Jun 29, 2014, at 6:41 PM, Alan Gauld wrote: > I'm looking for tips for an appendix to a book that > I'm working on. > > What are the best unofficial (ie not

Re: [Tutor] how do I set variables in Python 3.4

2014-07-11 Thread William Ray Wing
On Jul 11, 2014, at 1:50 AM, Danielle Salaz wrote: > I'm a noob to Python and cannot figure out how to complete one of my > assignments. > Welcome to Python - I’d hope you’ve been monitoring this Tutor list for at least a few days - > I am supposed to use operand1=2 and operand2=7 > To com

Re: [Tutor] debug and execute python code in Mac

2014-08-28 Thread William Ray Wing
On Aug 27, 2014, at 8:08 PM, Sebastian Silva wrote: > I stumbled today upon this IDE for the mac http://plotdevice.io/ > > From the looks of it, it seems like a nice tool for teaching/learning Python. > Too bad it's mac only. If you try it, do share your experience. I don't use > non-free oper

Re: [Tutor] usage difference between tabs and spaces

2014-09-09 Thread William Ray Wing
On Sep 9, 2014, at 8:27 AM, Mirage Web Studio wrote: > > Hello, > > I am not an advanced programmer, but am very good with keyboard and find > using tabs for syntax and formatting very helpful. But in this list and > other python documentation i have repeatedly seen people recommending > use of

Re: [Tutor] Hi

2015-04-11 Thread William Ray Wing
> On Apr 11, 2015, at 8:32 AM, Vick wrote: > [byte] > However I recently talked to a guy online and he told me the following, > which actually intrigued and surprised me: > > "The vast majority of numerical codes in science, including positional > astronomy, are written in Fortran and C/C++.

Re: [Tutor] coding help with maxwell-boltzmann distribution

2017-10-12 Thread William Ray Wing
> On Oct 12, 2017, at 4:22 PM, Cameron McKay wrote: > > Hello, > > I've never used python trying to plot a graph. Thus I am having > difficulties trying to plot the maxwell-boltzmann distribution. right now > i've defined the y-axis given the probability, but the difficult part is > trying to

Re: [Tutor] AttributeError: 'BezierPath' object has no attribute '_draw_solid'

2017-11-19 Thread William Ray Wing
> On Nov 19, 2017, at 11:36 AM, Stephen P. Molnar > wrote: > > I have written a short Python 3 script to plot three curves (one plot) of > data from a FORTRAN program. Initially the code worked and produced the plot > which is attached. I have also attached the code and the input data, >

Re: [Tutor] AttributeError: 'BezierPath' object has no attribute '_draw_solid'

2017-11-19 Thread William Ray Wing
> On Nov 19, 2017, at 3:14 PM, Stephen P. Molnar wrote: > > > On 11/19/2017 03:10 PM, William Ray Wing wrote: >>> On Nov 19, 2017, at 11:36 AM, Stephen P. Molnar >>> wrote: >>> >>> I have written a short Python 3 script to plot three curve

Re: [Tutor] AttributeError: 'BezierPath' object has no attribute '_draw_solid'

2017-11-20 Thread William Ray Wing
> On Nov 19, 2017, at 3:14 PM, Stephen P. Molnar wrote: > > > On 11/19/2017 03:10 PM, William Ray Wing wrote: >>> On Nov 19, 2017, at 11:36 AM, Stephen P. Molnar >>> wrote: >>> >>> I have written a short Python 3 script to plot three curve

Re: [Tutor] AttributeError: 'BezierPath' object has no attribute '_draw_solid'

2017-11-20 Thread William Ray Wing
> On Nov 20, 2017, at 9:55 AM, Stephen P. Molnar wrote: > > > On 11/20/2017 09:34 AM, William Ray Wing wrote: [byte] >> As an experiment, I took the code and moved it to my laptop (MacOS, running >> 10.12.6 where there is a complete Anaconda installation that cont

Re: [Tutor] Problem python script

2017-12-19 Thread William Ray Wing
Sent from my iPhone > On Dec 19, 2017, at 3:47 AM, Antoan Hristov wrote: > > Hello, > > I am using a script which extracts data from internet every Monday, but > sometimes I have a problem that the script is not finishing properly. In > terminal I stop it with Ctrl-C and the message it gives

Re: [Tutor] Beginner Level Projects

2018-04-19 Thread William Ray Wing
> On Apr 18, 2018, at 9:34 PM, Joshua Nghe wrote: > > Hi, > > This is Joshua N from Campus Middle School in CO. Our science class is > collectively participating in a project that consumes 20% of our classtime > every week. For my project, I chose to learn Python, and create something > from

Re: [Tutor] Python 3.6.5 for MAC

2018-04-23 Thread William Ray Wing
> On Apr 23, 2018, at 6:29 AM, Giorgio De Angelis > wrote: > > Hello guys, > > I have a problem with my MacBook Pro ’13, version 10.13.4, because when I try > to open the shell it says that it couldn’t make any connection because it > wasn’t able to make a subprocess. Can you help me? > So

Re: [Tutor] Fwd: Can tempfile.NamedTemporaryFile(delete=False) be used to create *permanent* uniquely named files?

2018-10-22 Thread William Ray Wing via Tutor
> On Oct 22, 2018, at 8:30 PM, boB Stepp wrote: > > On Mon, Oct 22, 2018 at 11:57 AM Mats Wichmann wrote: >> >> On 10/22/18 8:24 AM, boB Stepp wrote: >>> Forwarding to the Tutor list. Herr Maier offers a good idea that >>> would take away much of a remaining issue -- the name "Temporary". I

Re: [Tutor] Questions

2019-04-08 Thread William Ray Wing via Tutor
filings of individual > companies by putting in a ticker (preferably in excel, but an be done > elsewhere). Trying to figure out how to even start setting this up. > > Thank you! > > On Sun, Apr 7, 2019 at 8:57 PM William Ray Wing <mailto:w...@mac.com>> wrote: >

Re: [Tutor] How to Scrape Text from PDFs

2019-06-17 Thread William Ray Wing via Tutor
> On Jun 17, 2019, at 1:30 AM, Cem Vardar wrote: > > Hello, > > I have been working on assignment that was described to me as “fairly > trivial” for a couple of days now. I have some PDF files that have links for > some websites and I need to extract these links from these files by using >

Re: [Tutor] data structures general query

2019-06-26 Thread William Ray Wing via Tutor
> On Jun 26, 2019, at 6:40 AM, mhysnm1...@gmail.com wrote: > > All, > > > > General computer science question for data structures. > > When would you use the below structures and why? If you can provide a real > life example on when they would be used in a program This would be great. I > am

Re: [Tutor] Package which can extract data from pdf

2019-08-14 Thread William Ray Wing via Tutor
> On Aug 14, 2019, at 2:16 PM, Mats Wichmann wrote: > >> On 8/14/19 10:10 AM, Nupur Jha wrote: >> Hi All, >> >> I have many pdf invoices with different formats. I want to extract the line >> items from these pdf files using python coding. >> Treat this as a two part problem: part one is extra