Re: Looking for a good introduction to object oriented programming with Python

2012-08-05 Thread Wolfgang Strobl
Dennis Lee Bieber : > Don't look for Object-Oriented Programming -- since the first widely >popular OOP language was C++ (Smalltalk was earlier, but rather >specialized, whereas C++ started as a preprocessor for C). Well, C++ did to C what Simula 67 did to Algol 60, much earlier. Simula was

Re: What are the minimum requirements to get a job in?

2012-12-15 Thread Wolfgang Strobl
Christian Heimes : >To be fair, memcpy() is a pretty simple function. This, of course, depends on the target architecture. See for example or >It can be implemented >in just about

Re: New in Python , Need a Mentor

2013-01-02 Thread Wolfgang Strobl
Chris Angelico : >On Thu, Jan 3, 2013 at 1:04 AM, NewbiePythonic wrote: >> Hello Friends, >> >> I am very new to python and loved the easiness with which we can deal with >> problems. I would like to take things seriously and develop some good web >> applications. But right now I am stuck and l

Re: HELP: Python equivalent of UNIX command "touch"

2005-03-02 Thread Wolfgang Strobl
pekka niiranen <[EMAIL PROTECTED]>: >Does anybody know Python recipe for changing the date >of the directory or files in W2K to current date and time? >In UNIX shell command "touch" does it. See below. The key is using the FILE_FLAG_BACKUP_SEMANTICS flag. #---

Re: [Py Windows] User Directory Path

2005-04-30 Thread Wolfgang Strobl
"Zoool" : >Is there a way to know the main directory path of a user session? >I mean the "C:\Documents and Settings\username" Directory of the user logged >into a windows session. >>> from win32com.shell.shell import SHGetSpecialFolderPath >>> from win32com.shell.shellcon import CSIDL_PROFILE >>

Re: Install Python on Windows without Start Menu icons?

2011-12-05 Thread Wolfgang Strobl
"Pedro Henrique G. Souto" : >On 02/12/2011 16:34, snorble wrote: >> Is it possible to automate the Python installation on Windows using >> the MSI file so it does not add a Start Menu folder? I would like to >> push out Python to all of my office workstations, but I'd like for it >> to be relative

Re: Python script not working on windows 7 but works fine on linux

2013-03-04 Thread Wolfgang Strobl
io : >The following scripts are working fine on linux but, using the same >version, can't work on windows because i receive the following message: Thats because there is No such file or directory: '/home/io/btc_trading/ on that Windows PC. -- Wir danken für die Beachtung aller Sicherheitsbest

Re: Determine if windows drive letter is hard drive or optical from python?

2005-05-28 Thread Wolfgang Strobl
"mh" <[EMAIL PROTECTED]>: >2. More importantly for those drives that exist, how do I determine if >it is actually a harddrive? C:\>python Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> impor

Re: Determine if windows drive letter is hard drive or optical from python?

2005-05-31 Thread Wolfgang Strobl
Magnus Lycka <[EMAIL PROTECTED]>: >Wolfgang Strobl wrote: >> ... for drive in string.letters[len(string.letters)/2:]: > >Or better... >..for drive in string.ascii_uppercase: > >string.letters differ with locale, but Windows drives are always >only A-Z

Re: Can a low-level programmer learn OOP?

2007-07-17 Thread Wolfgang Strobl
Steve Holden <[EMAIL PROTECTED]>: >I'm happy you are proceeding with so little trouble. Without wishing to >confuse you, however, I should point out that this aspect of Python has >very little to do with its object-orientation. There was a language >called Icon, for example, 20 years ago, that

Re: Can a low-level programmer learn OOP?

2007-07-22 Thread Wolfgang Strobl
Paul Rubin : >[EMAIL PROTECTED] (Aahz) writes: >> .So adding SNOBOL patterns to another library would be a wonderful >> gift to the Python community... > >Snobol patterns were invented at a time when nobody knew anything >about parsing. But Snobol patterns aren't mainl

Re: Can a low-level programmer learn OOP?

2007-07-22 Thread Wolfgang Strobl
[EMAIL PROTECTED] (Aahz): >In article <[EMAIL PROTECTED]>, >Wolfgang Strobl <[EMAIL PROTECTED]> wrote: >> >>SNOBOLs powerfull patterns still shine, compared to Pythons clumsy >>regular expressions. > >Keep in mind that Python regular expressions are mod

Re: Can a low-level programmer learn OOP?

2007-07-22 Thread Wolfgang Strobl
[EMAIL PROTECTED] (Eddie Corns): >I don't believe you can get the benefit of SNOBOL matching without direct >language support. That's my opinion, too. >There's only so much a library can do. However a valiant >and interesting effort: > >http://www.wilmott.ca/python/patternmatching.html This i

Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL

2008-02-19 Thread Wolfgang Strobl
"SPE - Stani's Python Editor" <[EMAIL PROTECTED]>: >I develop Phatch on Ubuntu/Linux, but I have tested and polished it >regularly on Windows and Mac Os X. (Only the droplet functionality >needs to be ported.) Phatch is submitted to Debian unstable and >Ubuntu Hardy. Packagers for other platforms

Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL

2008-02-19 Thread Wolfgang Strobl
Steve Holden <[EMAIL PROTECTED]> wrote: >RTFM: the web site instructions clearly state that setup.py doesn't >currently work with Windows. Do they? http://photobatch.stani.be/ doesn't, following "documentation" http://photobatch.stani.be/ doesn't, either. I missed "start phatch in trunk/phatch

Re: Question to python C API

2009-04-18 Thread Wolfgang Strobl
Andreas Otto wrote about his attempts to install and run Cython: > 5. and start to build the hello world example > >I changed: print "Hello World" >to: print("Hello World")-> this is V3 AFAIK Cython doesn't support Python 3, yet. See http://trac.cython.org/c

Re: CPython on the Web

2011-01-02 Thread Wolfgang Strobl
azakai : >On Jan 2, 4:58 pm, pyt...@bdurham.com wrote: >> Azakai/Gerry, >> >> > Errors when using Firefox 3.6.3: >> >> I'm running Firefox 3.6.1.3 and the interpreter is running fine. I guess that meant FIrefox 3.6.13 (without the last dot), the current stable version. I'm using Firefox 3.6.13 (

Re: [ANN] pyjamas 0.7 released

2010-04-25 Thread Wolfgang Strobl
Daniel Fetchinson : >> for fits and giggles, to show what's possible in only 400 >> lines of python, here is a game of asteroids, written by joe rumsey. >> yes, it runs under pyjamas-desktop too. >> >> http://pyjs.org/examples/asteroids/public/Space.html > >This URL returns a blank page for me

Re: pyjamas 0.7 released

2010-04-28 Thread Wolfgang Strobl
lkcl : >On Apr 25, 9:37 pm, Wolfgang Strobl wrote: >> Daniel Fetchinson : >> >> >> for fits and giggles, to show what's possible in only 400 >> >> lines of python, here is a game of asteroids, written by joe rumsey. >> >> yes, it ru

Re: pyjamas 0.7 released

2010-04-28 Thread Wolfgang Strobl
lkcl : >On Apr 28, 7:00 am, Wolfgang Strobl wrote: >> Two weeks ago, I played around with the trunk version, looking for an >> working drag&drop example. I didn't find anything, but noticed some >> unfinished code in a dnd subdirectory. Are you aware of the fac

Re: pyjamas 0.7 released

2010-05-02 Thread Wolfgang Strobl
lkcl : > at least _some_ input would be good! the knowledge doesn't have to >be there: just the bugreports saying "there's a problem and here's >exactly how you reproduce it" would be a start! >> So please make it simpler for more people to help. > ... how?? there's a bugtracker, wiki, svn repo

Re: map

2009-08-30 Thread Wolfgang Strobl
elsa : >now, say I want to map myFunc onto myList, with always the same >argument for b, but iterating over a: >>> from functools import partial >>> def g(x,y=1): return x+y ... >>> map(partial(g,y=2),[1,2]) [3, 4] >>> map(partial(g,y=42),[1,2]) [43, 44] -- Wir danken für die Beachtung aller S

Re: What people are using to access this mailing list

2010-11-03 Thread Wolfgang Strobl
John Bond : >Hope this isn't too O/T - I was just wondering how people read/send to this >mailing list, eg. normal email client, gmane, some other software or online >service? I'm reading comp.lang.python on usenet, using Forté Agent as a newsreader, which connects via nntp to a locally managed