Re: [Tutor] A list of 100+ projects to complete to master Python.

2013-07-23 Thread David Hutto
| > Resume<http://www.goel.im/Karan.Goel.Resume.pdf> > | Github <https://github.com/thekarangoel> > > > On Wed, Jul 17, 2013 at 5:09 AM, David Hutto wrote: > >> First thing you should learn is offsite backups, I've lost several >> projects in the works becaus

Re: [Tutor] suggestions for splitting file based on date

2013-07-23 Thread David Hutto
You could also begin a little stats(I think steven D'aprano did pystats), which would show rhythms within those particular frequency windows, using y as a basis for your model On Sat, Jul 20, 2013 at 1:10 AM, David Hutto wrote: > Why not use the actual month? With a simple x/y c

Re: [Tutor] suggestions for splitting file based on date

2013-07-23 Thread David Hutto
Why not use the actual month? With a simple x/y canvas in Tkinter you could plot by the months with polygon coordinates as your data visualization, or in 30 day /etc windows, just the price(y) being a derivative of x(the frequency of changes), and create simple line segments with polygon coordinat

Re: [Tutor] 3 Dimensional Dictionaries

2013-07-23 Thread David Hutto
nt => class containing countries > >> country => class containing states > >> state => class containing data > >> > >> It then becomes easier to build helper methods to extract/manipulate > the data you are interested in. > >> > >> Alternatively, if you have a large

Re: [Tutor] inconsistent destruction

2013-08-08 Thread David Hutto
l cnt right after the for, but that seems > artificial. > > -- > Jim > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > -- Best Regards, David Hutto *CEO:* *http://www.hitwebdevelopm

Re: [Tutor] inconsistent destruction

2013-08-08 Thread David Hutto
variable that corresponds within the lst global variable which uses list methods. On Thu, Aug 8, 2013 at 12:15 AM, David Hutto wrote: > if the variable is the range in the first one, then just don't append it, > and replace it with something else. > > The second, you use cnt2, but it

[Tutor] Quantum computing

2013-12-14 Thread David Hutto
l the instruction sets of these newer technologies effect us considerably? Just to kick off a topic. -- Best Regards, David Hutto *CEO:* *http://www.hitwebdevelopment.com <http://www.hitwebdevelopment.com>* ___ Tutor maillist - Tutor@python.org To uns

Re: [Tutor] Quantum computing

2013-12-15 Thread David Hutto
Well, it would fit the market penetration, of corporate-upper middle class-middle class- the lower socioeconomic level. It would also fit the market of individuals that have a population control that intertwines with the dissemination -- Best Regards, David Hutto *CEO:* *http

Re: [Tutor] Shelve & immutable objects

2014-01-02 Thread David Hutto
> Separately, I'm also curious about how to process big files. For example, I > was trying to play 100 million games of chutes & ladders Without doing the 100,000,000, you could try either researching the nums, or trying an algorithm that tried intervals, and narrowed down the best , and numerical

Re: [Tutor] Traversing lists or getting the element you want.

2014-02-02 Thread David Hutto
lin_estimate = y[istart] + ((y[iend] - y[istart]) * ((x[m] - x[istart]) / (x[iend] - x[istart]))) errorsq += (lin_estimate - y[m]) * (lin_estimate - y[m]) return errorsq > At the end the three values I want are mini, minj, mink; > or x[mini], x[minj], x[mink] > > > So how do I do this (or approa

Re: [Tutor] Traversing lists or getting the element you want.

2014-02-02 Thread David Hutto
On Sun, Feb 2, 2014 at 6:44 PM, David Hutto wrote: > > > > On Sun, Feb 2, 2014 at 3:46 PM, Kipton Moravec wrote: > >> I am new to Python, and I do not know how to traverse lists like I >> traverse arrays in C. This is my first program other than "Hello World&quo

Re: [Tutor] Traversing lists or getting the element you want.

2014-02-02 Thread David Hutto
) errorsq += (lin_estimate - y[m]) * (lin_estimate - y[m]) #print errorsq # insert print for quick in line debugging by uncommenting return errorsq #Call function minimize minimize(max_elements) Don't forget the tabs , or spaces, and the forced indentation. On Sun, Feb 2, 2014 at 6:44 PM,

Re: [Tutor] Beginner - explaining 'Flip a coin' bug

2014-02-14 Thread David Hutto
flips* each time until the loop > becomes false. > > Can somebody explain the reason of the bug. > Cheers, > > Marc > > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://m

Re: [Tutor] Beginner - explaining 'Flip a coin' bug

2014-02-14 Thread David Hutto
On Fri, Feb 14, 2014 at 10:49 PM, David Hutto wrote: > Here is a problem I've come across, from empirical evidence, that also > relates to your equation. We always assume > that their are always two probabilities, that a coin can be either head > or tails. > > However, th

Re: [Tutor] Beginner - explaining 'Flip a coin' bug

2014-02-14 Thread David Hutto
Just to add a footnote to the above remember: http://en.wikipedia.org/wiki/Random_seed unless setting your own random seed algorithm is applied. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.o

<    1   2   3   4