Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40012

Re: Small program ideas

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <techgeek201@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'sized': 0.07; 'friday,': 0.09; 'literal': 0.09; 'suggestions.': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'bonus': 0.13; 'extension': 0.13; '.py': 0.16; 'entries.': 0.16; 'interesting:': 0.16; 'program?': 0.16; 'subject:ideas': 0.16; 'subject:program': 0.16; 'wrote:': 0.17; 'thanks.': 0.21; 'do.': 0.21; 'algorithms.': 0.22; 'combination': 0.22; 'ones.': 0.22; 'stick': 0.22; 'stopping': 0.22; 'cc:2**0': 0.23; 'example': 0.23; '15,': 0.23; 'monday,': 0.23; 'specified': 0.23; 'cc:no real name:2**0': 0.24; 'command': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'first,': 0.27; 'question': 0.27; 'tree': 0.27; 'smart': 0.29; 'strings,': 0.29; 'convert': 0.29; 'file': 0.32; 'could': 0.32; 'comments': 0.33; 'dates': 0.33; 'directory,': 0.33; 'utility': 0.33; 'guys': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'add': 0.36; 'thank': 0.36; 'enough': 0.36; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'things': 0.38; 'system.': 0.39; 'build': 0.39; 'kind': 0.61; 'repeat': 0.62; 'solve': 0.62; 'between': 0.63; 'perfect': 0.63; 'prime': 0.65; 'useful.': 0.65; 'dvd': 0.78; '2013': 0.84; 'burning': 0.84; 'processed,': 0.84; 'tree,': 0.84; 'more?': 0.91; 'spell': 0.91; 'angel': 0.93; 'eli': 0.93
X-Received by 10.49.24.164 with SMTP id v4mr8806qef.6.1361918870420; Tue, 26 Feb 2013 14:47:50 -0800 (PST)
Newsgroups comp.lang.python
Date Tue, 26 Feb 2013 14:47:50 -0800 (PST)
In-Reply-To <mailman.2534.1361859347.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=75.62.131.238; posting-account=T0Q4ngoAAADFqe_JPINLNp5NgW2XDzan
References <b785a583-a10d-4203-882f-c09c5610ce75@googlegroups.com> <1cff6513-4d67-4fdc-a86d-945635859683@googlegroups.com> <mailman.2534.1361859347.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 75.62.131.238
MIME-Version 1.0
Subject Re: Small program ideas
From eli m <techgeek201@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.2579.1361918872.2939.python-list@python.org> (permalink)
Lines 83
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361918873 news.xs4all.nl 6981 [2001:888:2000:d::a6]:52702
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40012

Show key headers only | View raw


On Monday, February 25, 2013 10:15:24 PM UTC-8, Dave Angel wrote:
> On 02/25/2013 10:48 PM, eli m wrote:
> 
> > On Friday, February 15, 2013 7:22:41 PM UTC-8, eli m wrote:
> 
> >> Any small program ideas? I would prefer to stick to command line ones. Thanks.
> 
> >
> 
> > Thank you guys for the suggestions. Any more?
> 
> >
> 
> 
> 
> There are all kinds of things you could do.  First, consider something 
> 
> that might be useful.
> 
> 
> 
> 1) checksum all the files in a directory tree, using various checksum 
> 
> algorithms.
> 
> 
> 
> 2) Convert one kind of file to another.
> 
> 
> 
> 3) Calculate time between two dates
> 
> 
> 
> 4) Write some part of a backup system.  For example, copy files from a 
> 
> directory tree into a specified directory, stopping when the size totals 
> 
> N.N gig, and keeping track of which files have been so processed, so 
> 
> that after burning that directory to DVD, you can repeat the process. 
> 
> As a bonus, add a utility & datafile to the top of that directory, so 
> 
> that the DVD can be self-checking.
> 
> 
> 
> Then try something interesting:
> 
> 
> 
> 1) find the nth prime, for example the 1000th prime
> 
> 
> 
> 2) Find all perfect numbers under a trillion
> 
> 
> 
> 3) solve the puzzles on http://projecteuler.net
> 
> 
> 
> 4) Build a spell checker, using a combination of a standard 
> 
> dictionary-list and custom entries.  Bonus question - Make it smart 
> 
> enough to only spell-check comments and literal strings, when applied to 
> 
> files with an extension of .py
> 
> 
> 
> 
> 
> -- 
> 
> DaveA

How hard would it be to change one file to another and would it be a small-medium sized program?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Small program ideas eli m <techgeek201@gmail.com> - 2013-02-15 19:22 -0800
  Re: Small program ideas Mitya Sirenef <msirenef@lightbird.net> - 2013-02-15 22:52 -0500
    Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-02-15 19:57 -0800
      Re: Small program ideas Mitya Sirenef <msirenef@lightbird.net> - 2013-02-15 23:19 -0500
      Re: Small program ideas Mark R Rivet <markrrivet@aol.com> - 2013-02-16 12:42 -0500
    Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-02-15 19:57 -0800
    Re: Small program ideas Mark R Rivet <markrrivet@aol.com> - 2013-02-16 12:40 -0500
  Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-02-25 19:48 -0800
    Re: Small program ideas Dave Angel <davea@davea.name> - 2013-02-26 01:15 -0500
      Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-02-26 14:47 -0800
        Re: Small program ideas Joshua Landau <joshua.landau.ws@gmail.com> - 2013-02-27 00:22 +0000
          Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-02-26 16:47 -0800
          Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-02-26 16:47 -0800
        Re: Small program ideas Dave Angel <davea@davea.name> - 2013-02-26 22:27 -0500
        Re: Small program ideas Chris Angelico <rosuav@gmail.com> - 2013-02-27 17:18 +1100
      Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-02-26 14:47 -0800
    Re: Small program ideas "Vytas D." <vytasd2013@gmail.com> - 2013-02-26 13:21 +0000
      Re: Small program ideas Neil Cerutti <neilc@norwich.edu> - 2013-02-26 14:32 +0000
    Re: Small program ideas Matej Cepl <mcepl@redhat.com> - 2013-02-26 14:21 +0100
  Re: Small program ideas eli m <techgeek201@gmail.com> - 2013-03-18 16:51 -0700
    Re: Small program ideas Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-03-19 00:56 +0000
  Re: Small program ideas PMT <d12123176@mydit.ie> - 2013-03-28 11:46 -0700
    Re: Small program ideas Neil Cerutti <neilc@norwich.edu> - 2013-03-29 13:43 +0000

csiph-web