[Tutor] Toronto PyCamp 2010

2010-07-15 Thread Chris Calloway
the University of Toronto, PyCamp comes with your own single OS/single developer copy of Wing Professional Python IDE. -- Sincerely, Chris Calloway office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599

[Tutor] Toronto PyCamp 2009

2009-05-12 Thread Chris Calloway
, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] What exactly is [::-1]?

2007-07-26 Thread Chris Calloway
all last): File "", line 1, in ? AttributeError: 'numpy.ndarray' object has no attribute 'reverse' >>> So that extended slicing of the form [::-1] is kind of necessary with numpy/Numeric/numarray style arrays in order to "reverse"

Re: [Tutor] Thanks re: [::-1]

2007-07-26 Thread Chris Calloway
ative step attribute does not change the semantics of the start and stop (read only) attributes of slice objects: >>> m = range(10) >>> m[2:7:-1] [] >>> m[7:2:-1] [7, 6, 5, 4, 3] >>> m[-3:-8:-1] [7, 6, 5, 4, 3] >>> So your first inclination was

Re: [Tutor] Python Book Recommendations [Was:[Re: Security]]

2007-08-17 Thread Chris Calloway
ould be easily fixed, however. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Python Book Recommendations [Was:[Re: Security]]

2007-08-20 Thread Chris Calloway
king podcasts out of SWC: http://showmedo.com/videos/series?name=bfNi2X3Xg -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maill

Re: [Tutor] Floating Confusion

2007-08-22 Thread Chris Calloway
rms. This problem was solved in Python 2.4 with the introduction of the Decimal module into the standard library: http://docs.python.org/lib/module-decimal.html http://www.python.org/dev/peps/pep-0327/ -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962

Re: [Tutor] using in over several entities

2007-08-24 Thread Chris Calloway
; mine: ... print 'doing something' ... doing something >>> This also has the advantage of returning to you an object of exactly what elements in mine were in dbs. And difference: >>> dbs - mine set(['access', 'infomix', 'postgres']) >>> will show you which elements of mine were not in dbs. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] using in over several entities

2007-08-24 Thread Chris Calloway
Alan Gauld wrote: > "Chris Calloway" <[EMAIL PROTECTED]> wrote > >>>>> dbs = set(['oracle','mysql','postgres','infomix','access']) >>>>> mine = set(['oracle','mysql','

Re: [Tutor] Help Request: Nested While commands

2007-08-24 Thread Chris Calloway
m. > Ellicott, Colorado > The Technological Capital of Mid Central Eastern El Paso County, Colorado. Nice. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, C

Re: [Tutor] New Introductory Book

2007-11-06 Thread Chris Calloway
Michael H. Goldwasser wrote: >We are pleased to announce the release of a new Python book. Why is this book $102? -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27

Re: [Tutor] New Introductory Book

2007-11-08 Thread Chris Calloway
thon and Lisp used. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] comparing dates

2007-11-23 Thread Chris Calloway
- (minutes * 60) >>> print str((c.days*24) + hours) + ":" + str(minutes) + ":" + str (seconds) 28:30:16 >>> -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall cell: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill

Re: [Tutor] Import error in UNO

2008-02-06 Thread Chris Calloway
ory, which is listed in the PYTHONPATH environment variable. " -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall cell: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Houston PyCamp

2006-11-13 Thread Chris Calloway
Need to learn Python quickly? http://trizpug.org/boot-camp/hpyc1/ -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist

Re: [Tutor] Applications

2006-12-13 Thread Chris Calloway
iki/GRASS_and_Python Basically, Python is the GIS scripting language of choice. If you google on "python +gis", there are over a million hits. Any mapping tool worth paying attention to has a Python API. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall

Re: [Tutor] Noobie projects

2006-12-15 Thread Chris Calloway
[EMAIL PROTECTED] wrote: > Is there a set of more basic projects for flexing one's novice Python skills? Three python projects for noobs: http://www.handysoftware.com/cpif/ -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Ca

Re: [Tutor] OT: Python 2.5 (Was Re: Length of longest item in a list, using a list comp)

2006-12-29 Thread Chris Calloway
ool, though. > I've personally held back just because most of the > documentation I've come across is for 2.4, 100% of this is Python 2.5 documentation: http://docs.python.org/ Very little of it had to change from the last version. -- Sincerely, Chris Calloway http://www.sea

Re: [Tutor] Query about getattr used as a dispatcher

2007-01-17 Thread Chris Calloway
ical examples are often shown in programming books to prepare you for more complicated real life examples. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___

Re: [Tutor] Difference between filter and map

2007-01-23 Thread Chris Calloway
is true for all items of the sequence which you passed it in filter. Also, the filter you showed above does *not* return [1,4]. It returns [1,2], which is every item in range(1,3), because every item in that list passes the filter function's boolean context (is x*x true?). -- Sincerely

Re: [Tutor] Difference between filter and map

2007-01-23 Thread Chris Calloway
either a filtering or mapping function. Printing a value is not the same as returning a value. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] CRC calculation with python

2007-02-06 Thread Chris Calloway
calculation. -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 Johan Geldenhuys wrote: > Hi all, > > I'm not a C++ expert at all and I would like to find out if somebody can >

[Tutor] Three days left for Zope3 boot camp registration

2007-02-28 Thread Chris Calloway
Registration ends Friday: http://trizpug.org/boot-camp/camp5 -- Sincerely, Chris Calloway http://www.seacoos.org office: 332 Chapman Hall phone: (919) 962-4323 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor

Re: [Tutor] HELP!!!!!

2008-04-17 Thread Chris Calloway
human = X You see that you did indeed do exactly what the traceback told you. You referenced a local variable named X before anything was assigned to X. Good luck with your homework! -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campu

Re: [Tutor] web programming tutorials?

2008-04-18 Thread Chris Calloway
Zope Object Publisher: http://www.python.org/workshops/1996-11/papers/PythonObjectPublisher.html And thus is how all your bobobase came to belong to us. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-353

Re: [Tutor] web programming tutorials?

2008-04-18 Thread Chris Calloway
tle $10 book is also indispensable for those on such a learning curve: http://www.amazon.com/HTTP-Pocket-Reference-Hypertext-Transfer/dp/1565928628/ -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3

Re: [Tutor] web programming tutorials?

2008-04-18 Thread Chris Calloway
ingies have their sweet spot use cases which only require a certain amount of functionality that you might be able to get your head around in a shorter amount of time. But if you have to ask why Zope, you probably should not get into it. Seriously. --

[Tutor] Python and Plone Boot Camps in Chapel Hill, NC

2008-05-19 Thread Chris Calloway
ht by Chris Calloway, facilitator for TriZPUG and application analyst for the Southeast Coastal Ocean Observing System. Chris has developed PyCamp for over 1500 hours on behalf of Python user groups. Early bird registration runs through June 30. So register today! PyCamp is TriZPUG's Python

[Tutor] BootCampArama Early Bird Registration Reminder

2008-06-17 Thread Chris Calloway
twice chair of the Plone Foundation. Joel has logged more the 200 days at the head of Plone classrooms on four continents. See plonebootcamps.com for dozens of testimonials from Joel's students. PyCamp is taught by Chris Calloway, facilitator for TriZPUG and application analyst for the

[Tutor] BootCampArama Final Reminder

2008-07-14 Thread Chris Calloway
Plone Boot Camp is taught by Joel Burton, twice chair of the Plone Foundation. Joel has logged more the 200 days at the head of Plone classrooms on four continents. See plonebootcamps.com for dozens of testimonials from Joel's students. PyCamp is taught by Chris Calloway, facilitator for T

Re: [Tutor] Web programming advice

2008-09-20 Thread Chris Calloway
is great! I'm so glad Jan wrote that so I didn't have to. -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor mai

Re: [Tutor] Reading module to import from a string

2008-12-15 Thread Chris Calloway
-from-file-name -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Reading module to import from a string

2008-12-15 Thread Chris Calloway
On 12/15/2008 5:38 PM, Shrutarshi Basu wrote: Suppose I have a module that I want to import called ImMod1 that's saved in a variable like so: var = "ImMod1" Is there some way to import ImMod1 by using var? http://docs.python.org/library/imp.html -- Sincerely, Chri

Re: [Tutor] what does the "@" operator mean?

2008-12-15 Thread Chris Calloway
On 12/15/2008 3:42 PM, Marc Tompkins wrote: > If you're just starting out in Python, decorators can be hard to get > your head around... This would be a huge help: http://www.ddj.com/web-development/184406073 -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman H

Re: [Tutor] PyLucene on Python 2.6

2008-12-18 Thread Chris Calloway
On 12/18/2008 11:03 AM, Jose Neto wrote: Does anyone know if there is a win32 binary of PyLucene? http://code.google.com/p/pylucene-win32-binary/downloads/list -- Sincerely, Chris Calloway http://www.secoora.org office: 332 Chapman Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH

[Tutor] Toronto PyCamp 2011

2011-04-04 Thread Chris Calloway
in a state of the art high technology classroom. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist - Tutor@python.org

[Tutor] Seattle PyCamp 2011

2011-06-17 Thread Chris Calloway
thon developer in just five days at PyCamp! PyCamp is conducted on the campus of the University of Washington in a state of the art high technology classroom. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UN

Re: [Tutor] Seattle PyCamp 2011

2011-06-19 Thread Chris Calloway
1984. It's simple courtesy to warn those people of what to expect. Thank you for your concern. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599

Re: [Tutor] Seattle PyCamp 2011

2011-06-19 Thread Chris Calloway
viding information about PyCamp and in the interest of what it takes to tutor Python, I hope this explains some things. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___

[Tutor] PyCamp Registration Open for Columbus, Toronto, and Oshkosh

2013-04-17 Thread Chris Calloway
University of North Carolina Department of Marine Sciences, August 5-9, 2013. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor

Re: [Tutor] First program after PyCamp

2013-06-12 Thread Chris Calloway
ors out. Since this is going to be used at work and we have a large number of Chinese and Arabic filenames I need to have the search allow a unicode character set. How would I go about doing this? Python 2.7 btw. Feed os.walk a unicode path and you'll get unicode filenames back. -- Sincerely,

[Tutor] 2014 PyCamps

2014-04-09 Thread Chris Calloway
Scholarships for women and minorities are available for PyOhio PyCamp. -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist

Re: [Tutor] Python Help

2014-04-09 Thread Chris Calloway
u/~adecaria/ESCI386P/esci386-lesson14-Reading-NetCDF-files.pdf -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 ___ Tutor maillist -

[Tutor] Python and Django Web Engineering Class

2015-04-13 Thread Chris Calloway
ren't inexpensive. But it's taught by the primary Python instructor at UNC. The school is also licensed by the State of North Carolina and sponsored by Caktus Group, the largest Django development firm. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Insti