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
,
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
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"
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
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
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
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
; 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
Alan Gauld wrote:
> "Chris Calloway" <[EMAIL PROTECTED]> wrote
>
>>>>> dbs = set(['oracle','mysql','postgres','infomix','access'])
>>>>> mine = set(['oracle','mysql','
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
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
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
- (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
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
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
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
[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
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
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
___
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
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
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
>
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
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
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
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
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.
--
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
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
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
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
-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
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
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
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
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
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
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
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
___
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
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,
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
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 -
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
44 matches
Mail list logo