Differences between revisions 5 and 15 (spanning 10 versions)
Revision 5 as of 2009-09-21 18:44:49
Size: 2747
Editor: lgbt-cl-04-imnt
Comment: changed the language on "why"
Revision 15 as of 2010-07-18 11:56:30
Size: 3767
Editor: 236
Comment:
Deletions are marked like this. Additions are marked like this.
Line 39: Line 39:
would emphasize that it's aimed at people who don't feel like they
could survive (or may not have the time for) a serious programming course.
would emphasize that it's aimed at people who don't feel like they could survive (or may not have the time for) a serious computer programming class.
Line 46: Line 45:
* Screen scraping * Screen scraping (what is that?)
* Copy a block of text to the clipboard
* Copy an array or list of strings to the clipboard
* Unwrap a block of text
* Do a GroupBy
* Produce a table from a set of tuples of the form: (c1,r1,0), (c2,r1,3), (c2,r2,4)
* Maybe a bit of automatic Scheduling
* Doing a Set Difference / Set Intersection between two lists
* Present a library for approximate matching of names.
* splitting a name field into first and last
* sanitising phone numbers,
* or complex decision-making/formulas that would normally require multiple extra columns, or deeply nested formulas
Line 59: Line 69:
* Copying and Pasting to the clipboard programatically
Line 63: Line 74:

Useful Packages
---------------

http://timgolden.me.uk/python/active_directory.html

http://github.com/mikemaccana/python-docx
Line 69: Line 87:
`Python and Microsoft Office <http://www.blog.pythonlibrary.org/2010/07/16/python-and-microsoft-office-using-pywin32/>`_

http://www.blog.pythonlibrary.org/2010/02/14/python-windows-and-printers/

http://www.python-excel.org/

We are beginning to envision a website and class which would aim to show business users how to use a little bit of Python, focused entirely on helping them with their regular workaday duties.

For now, what we have is a gathering of notes and ideas.

About the idea

Original blog post on the idea

The idea is a website and a class designed to show businesspeople a little bit of programming that they can use in the computer tasks they already have. Not to make them into real programmers (at least, not yet), but to show how they can automate some of the tasks that work makes them do anyway.

(If a few of them end up becoming passionate hobby programmers, or even switching careers, and joining the ranks of contributing Python programmers... well, OK, that hope is the ulterior motive from our point of view.)

There are lots of beginning programming guides out there, but as far as I know, they are all aimed either at students, or at people who already know that they want to get deeper into programming; people who want to program for programming's sake. I'd like something for people with a totally different goal. It would differ from regular beginners' classes in that it:

Hopefully, the website will be a great reference, too. At the moment, information about how to do these basic business tasks can be pretty scattered, hidden, and non-beginner-oriented.

Title

I like the title "Computer Programming for Secretaries (and other businesspeople)", even though not many people are literally called "secretaries" anymore, because it's a very unpretentious title - it would emphasize that it's aimed at people who don't feel like they could survive (or may not have the time for) a serious computer programming class.

Topics to cover

  • Accessing data in typical business apps (MS Excel, Access, etc.)
  • Screen scraping (what is that?)
  • Copy a block of text to the clipboard
  • Copy an array or list of strings to the clipboard
  • Unwrap a block of text
  • Do a GroupBy
  • Produce a table from a set of tuples of the form: (c1,r1,0), (c2,r1,3), (c2,r2,4)
  • Maybe a bit of automatic Scheduling
  • Doing a Set Difference / Set Intersection between two lists
  • Present a library for approximate matching of names.
  • splitting a name field into first and last
  • sanitising phone numbers,
  • or complex decision-making/formulas that would normally require multiple extra columns, or deeply nested formulas
  • ResolverOne
  • Blaze

Common automation tasks

Some common tasks that are probably worth mentioning

  • Importing CSV files (using csv)
  • Extracting data from XML (using etree)
  • Controlling the browser (using webbrowser)
  • Simple SQL access via sqlite
  • Copying and Pasting to the clipboard programatically

Writing OpenOffice macros in Python would probably be good.

Also Django is quite approachable for setting up a data entry system.

PythonForSecretaries (last edited 2010-07-18 11:56:30 by 236)

Unable to edit the page? See the FrontPage for instructions.