On Tue, Feb 18, 2014 at 9:56 AM, wrote:
> The next adventure in Python was to install Python 3 into a Windows XP
> machine. I had a previous 2.7 installation that I uninstalled and carefully
> removed all traces of from the directory and the registry.
It is not necessary to uninstall previous
On Thu, Feb 13, 2014 at 11:32 AM, Larry Martell wrote:
> 18) If you're on AOL, don't worry about anything I've said here.
> You're already a fucking laughing stock, and there's no hope for you.
Ah, the email bigots. That's why I keep an AOL address around for
occasional use against these jerks.
On Tue, Feb 11, 2014 at 5:45 AM, Terry Reedy wrote:
> On 2/11/2014 5:13 AM, Terry Reedy wrote:
>> ...
>> I installed 64 bit 3.3.4 yesterday with no problem. I reran it today in
>> repair mode and again, no problem.
>>
>> With 64 bit 3.4.0, I get
>> "There is a problem with this Windows Installer p
On Thu, Jan 9, 2014 at 10:50 AM, Jean-Michel Pichavant
wrote:
> - Original Message -
>>
>> On Jan 8, 2014, at 10:53 AM, Jean-Michel Pichavant
>> wrote:
>> > I tried to negotiate this with my IT guys, but it looks like it's
>> > now mandatory, something related to being in the USA stock ma
On Jan 8, 2014, at 10:53 AM, Jean-Michel Pichavant
wrote:
>>> -- IMPORTANT NOTICE:
>>>
>>
>> too late you have sent this to a public forum
>
> No pb with that, the python list is the intended recipient :)
>
> I tried to negotiate this with my IT guys, but it looks like it's now
> mandatory
Sorry for top-posting. I thought I'd mastered gmail.
--
https://mail.python.org/mailman/listinfo/python-list
"treating bytes as chars" considered harmful?
I don't know the answer to your question but the behavior seems right to me.
Python 3 grudgingly allows the "abomination" of byte strings (is that
what they're called? I haven't fully embraced Python3 yet). If you
want a substring you use a slice.
b
On Mon, Dec 16, 2013 at 8:55 PM, shankha wrote:
> Hi,
> I am trying to install Python 3.3 from the latest sources on linux.
>
> After the installation when I try to run the following I get a error:
>
> ./python
> Python 3.3.3 (default, Dec 16 2013, 18:28:25)
> [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)
On Mon, Dec 16, 2013 at 12:26 AM, wrote:
> The idea is to grab the last 4 elements of the array. However i have an array
> that contains a few hundred elements in it. And the values continues to
> .append over time. How would i be able to display the last 4 elements of the
> array under such a
On Tue, Dec 10, 2013 at 11:59 AM, wrote:
> On 12/10/2013 09:22 AM, Mark Lawrence wrote:
...
> Mark is one of the resident trolls here. Among his other traits
> is his delusion that he is Lord High Commander of this list.
> Like with other trolls, the best advice is to ignore him (which
> I'm not
On Mon, Nov 18, 2013 at 11:49 AM, Grant Edwards wrote:
> ...
> I don't make those mistakes typing on a phone (where I have to
> actually think about the act of typing), but I do make them with a
> regular keyboard, where I don't have to think about mechanics of
> typing the words.
>
> OTOH, maybe
On Sat, Oct 19, 2013 at 4:35 PM, Terry Reedy wrote:
> On 10/19/2013 2:31 PM, Tim Chase wrote:
>>
>> On 2013-10-19 14:08, David Robinow wrote:
>>>
>>> On Sat, Oct 19, 2013 at 9:01 AM, Chris Angelico wrote:
>>>>
>>>> You can try all these o
On Sat, Oct 19, 2013 at 9:01 AM, Chris Angelico wrote:
> You can try all these out in the interactive interpreter (you probably
> have IDLE installed, which on Windows is rather nicer to work with
> than the default interactive mode).
IDLE is cross-platform. Could you explain why you say "on Wi
On Fri, Aug 2, 2013 at 9:26 PM, Terry Reedy wrote:
> ...
> Of relevance to this list, Libre Office upgraded the included Python
> interpreter to 3.3. I have no idea whether OO is still using 2.3 or also
> updated.
They're up to 2.7 now.
--
http://mail.python.org/mailman/listinfo/python-list
Works for me.
Except that if I then do:
touch time.py
I get the same error as you do.
Can you figure out the problem now?
On Fri, Jul 26, 2013 at 11:57 AM, David M. Cotter wrote:
> okay, i have simplified it: here is the code
>
> ==
> import time
>
> d
It appears you are using a 32 bit compiler with a 64-bit python.
Install a 32 bit python.
On Sun, Jun 30, 2013 at 11:54 AM, Akshay Kayastha wrote:
> Hi I am trying to compile a python module called hunspell from the following
> [source](https://pypi.python.org/pypi/hunspell).
>
> But I get the f
On Sat, Apr 20, 2013 at 4:59 PM, wrote:
> I am looking for the Python include and lib files for windows. I have a
> c++ project that I am importing into Visual Studio 2010 (express) and it
> links python. I need the include and lib files for windows. Where can I get
> them?
> I'd like to use pyth
On Thu, Apr 18, 2013 at 1:50 PM, abdelkader belahcene
wrote:
> Thanks for answer,
> but with C we can compile the trapeze function and put it in librairy,
> If we try to save the trapeze alone in package to import it later, I
> think, I am not sure
> it will be refused because F1 and sin are no
On Thu, Apr 18, 2013 at 1:06 PM, abdelkader belahcene
wrote:
> Hi everybody,
>
> I am new to python and I am discovering it.
> I know C well,
> and want to know if python knows how to manage Pointers
> like pointer to function here is a C example how to write it in python
> Intergration with tra
On Mon, Apr 8, 2013 at 11:20 AM, Grant Edwards wrote:
> I just installed ActiveState 2.7 64-bit on a Windows 7 machine running
> a current version of Cygwin. While python programs (both GUI and
> text-mode) run fine, I'm unable to use Python interactively from
> either the Cygwin terminal or in a
On Tue, Apr 2, 2013 at 12:45 PM, Joe Hill wrote:
> On Tue, 2 Apr 2013 11:44:55 -0400, David Robinow
> >Download the Windows executables.
> >
> >3.3.0 is the current version
>
> Is "numpy" an option that is needed (guess for math?)?
>
No, it's not n
On Mon, Apr 1, 2013 at 9:02 PM, Joe Hill wrote:
> ...
>
> In a Windows 7 environment (even a 64-bit Windows 7 environment), you
> must install the 32-bit version of Python 3. The 64-bit version will not
> work with NumPy 1.6.
>
1.7 is the current version. I use 32-bit Python myself.
> Fu
On Tue, Apr 2, 2013 at 11:39 AM, D. Xenakis wrote:
> Hi there im trying to install PyQT (version
> PyQt4-4.10-gpl-Py3.3-Qt5.0.1-x64-2.exe) but i dont know how to make sure i
> have installed everything correctly. I tried to find documentation about
> this but most links were very dead..
>
> So fa
If only
On Mon, Apr 1, 2013 at 3:10 PM, wrote:
> The subcommittee of ISO Joint Technical Committee 1 that is responsible
> for coded character sets has deprecated the Horizontal Tab control
> character in an approved revision of ISO/IEC 646 to be published in the
> next few months.
>
> "The day
On Thu, Mar 28, 2013 at 8:17 AM, wrote:
> How do I differentiate(first order and 2nd order) the following equations in
> python. I want to differentiate C wrt Q.
>
> C = (Q**3)-15*(Q**2)+ 93*Q + 100
"""
Years ago, when I actually worked for a living, I would have
done something like this:
"""
On Thu, Mar 21, 2013 at 7:43 PM, maiden129 wrote:
> Hello,
>
> I'm using the version 3.2.3 of Python and I am having an issue in my program
> and I don't know how to fix it:
>
> counterLabel["text"] = str(counter)
> NameError: global name 'counterLabel' is not defined
>
> Here is my program:
>
>
On Thu, Mar 21, 2013 at 6:23 PM, Adam Tauno Williams
wrote:
> David Robinow wrote:
>>On Thu, Mar 21, 2013 at 4:14 PM, Adam Tauno Williams
>> wrote:
>>>
>>> Python itself is easy to deploy on Windows; just toss the MSI in
>>your
>>> local upda
Crap. I just forgot to do what I just said I would do and didn't go
through my "inconvenient" sequence.
Sorry, Steven. It was unintentional.
--
http://mail.python.org/mailman/listinfo/python-list
Ignoring my own posting ban, since I've clearly been misunderstood ..
On Sat, Mar 2, 2013 at 10:21 PM, Steven D'Aprano
wrote:
> On Sat, 02 Mar 2013 21:11:04 -0500, David Robinow wrote:
>
>> Do you consider it rude that you choose to use a newsreader, thus
>> inconve
On Sat, Mar 2, 2013 at 10:06 PM, Chris Angelico wrote:
> On Sun, Mar 3, 2013 at 2:01 PM, David Robinow wrote:
>> On Sat, Mar 2, 2013 at 9:15 PM, Roy Smith wrote:
>>> There's a number of advantages to news vs. mail. The biggest is that
>>> news spools generall
On Sat, Mar 2, 2013 at 9:15 PM, Roy Smith wrote:
> In article ,
> David Robinow wrote:
>
>> On Sat, Mar 2, 2013 at 7:27 PM, Steven D'Aprano
>> wrote:
>> > On Sat, 02 Mar 2013 09:53:47 -0500, Devin Jeanpierre wrote:
>> >
>> >> On Sat, M
On Sat, Mar 2, 2013 at 7:27 PM, Steven D'Aprano
wrote:
> On Sat, 02 Mar 2013 09:53:47 -0500, Devin Jeanpierre wrote:
>
>> On Sat, Mar 2, 2013 at 1:54 AM, Chris Angelico wrote:
>>> Yes, but reply-all sends a copy to the poster as well as the list. What
>>> I want is reply-list, acknowledging the l
On Mon, Feb 25, 2013 at 12:29 PM, D'Arcy J.M. Cain wrote:
> ...
> I don't run Windows myself so I can't test it but doesn't Python on
> Windows work fine with Unix style EOL? So why not strip out the CR and
> run the same file everywhere?
That's the ideal solution, but so many Windows tools defa
On Sat, Feb 16, 2013 at 4:40 PM, babatunde akerele wrote:
> hello, i'm having problem coding and running python on my pc...i just
> started learning python last month in codeacademy.com but i've not
> been able to code offline 'cos i don't knw how to go abt installing
> the compiler and all that.
On Fri, Feb 15, 2013 at 6:04 PM, Steve Goodwin wrote:
> Hi,
>
> I am looking for the python2.7 function(s) to parse a string from a colon
> character ":"
>
> Sounds simple enough.
>
> For example, a string like "123456:789". I just need the "123456"
> substring.(left of the :)
"123456:789".split(
On Sun, Feb 10, 2013 at 5:14 PM, Rex Macey wrote:
> I should have added that the setup gives an error window "Cannot install"
> "Python version 3.3 required, which was not found in the registry."
I'm guessing that you installed a 64-bit python and are using a 32-bit numpy.
--
http://mail.python
On Sun, Feb 10, 2013 at 1:14 PM, Michael Torrie wrote:
> On 02/10/2013 10:35 AM, Rex Macey wrote:
> A casual google search seems to indicate that for now, SciPy and NumPy
> are for Python 2.x (2.7 is the latest). I could be wrong though and
> often am. I know a number of popular and useful packa
On Sat, Dec 22, 2012 at 9:10 AM, Arsalan Khan wrote:
> I tried installing but it gives error..
> Can anyone guide the procedure of configuring/Installing a python package in
> windows ???
What did you do to try to install?
What error(s) did you get?
Where can I find this package if I want to h
On Sun, Oct 28, 2012 at 4:09 PM, Gelonida N wrote:
> The only thing I'm concerned about paramiko is, that I don't see any
> activity on the paramiko site and that one library it depends on is not
> available is windows binary package for newer versions of python.
>
I don't understand why this is
On Mon, Oct 29, 2012 at 8:23 AM, wrote:
> Hello all,
>
> I am very new to python. I am currently porting a little project of mine from
> java to python and I need to be able to construct and write png images. I
> naturally turned myself toward pypng to accomplish this.
>
> I learned from the ne
On Sat, Oct 20, 2012 at 3:10 PM, Dennis Lee Bieber
wrote:
> On Sat, 20 Oct 2012 14:18:47 + (UTC), Grant Edwards
> declaimed the following in
> gmane.comp.python.general:
>
>>
>> True, but nobody prints source code out on paper do they?
>>
>> Seriously -- I can't remember the last time I print
On Wed, Oct 17, 2012 at 1:07 PM, Ian Kelly wrote:
> "return len(w) != len(w_decomposed)" is all you need.
Thanks for helping, but I already knew that.
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Sep 30, 2012 at 11:55 PM, Dave Angel wrote:
>> The problem with that is that one has to already being using 3.3 to
>> use this facility. I was hoping for a solution which was backwards
>> compatible with Python 2.x.
>>...
>> That does not solve the problem for Python 2.x distributions.
> I
On Tue, Sep 25, 2012 at 9:53 AM, D'Arcy Cain wrote:
> ...
> Now if only people would stop feeding the troll, those of us who have
> already *plonked* him can stop seeing his ramblings in the responses.
I'm hating myself for jumping in to this nonsense, but ...
+1
--
http://mail.python.org/mailma
On Fri, Aug 24, 2012 at 3:03 PM, Walter Hurry wrote:
> On Fri, 24 Aug 2012 14:29:00 -0400, Dennis Lee Bieber wrote:
>
>> It appears to be a change Google made in the last month or two... My
>> hypothesis is that they are replacing hard EOL found in inbound NNTP
>> with an HTML , and then on outgoi
On Sun, Jul 22, 2012 at 12:20 PM, Jan Riechers wrote:
> On 22.07.2012 18:39, Alister wrote:
>> looks like a classic list comprehension to me and can be achieved in a
>> single line
>> MODUS_LIST=[int(x) for x in options.modus_list]
> Hi,
>
> I am not sure why everyone is using the for-iterator opt
On Tue, Jul 10, 2012 at 1:02 PM, Ethan Furman wrote:
...
>
> Reminds me of a job posting a few years ago where the prospective employer
> wanted three plus years experience in some language, and that language had
> only been created a year and a half before.
I saw several of those when Java was n
On Sat, May 26, 2012 at 11:43 AM, Roy Smith wrote:
> I use panix.com. For $100/year, I get mail, news, and unix shell
> access. By some measures, it's an expensive way to get mail access, but
> I'd much rather give Panix $100 than take advantage of any of the free
> mail services who does who-kn
On Sun, Apr 15, 2012 at 4:01 PM, Bryan
wrote:
> On Windows the file extension determines what executable opens the
> file. Running both Python 2 and Python 3 on Windows is painful where
> it doesn't need to be. I'd like to encourage my users to check out
> Python 3, but installing it on Windows wi
On Sun, Apr 8, 2012 at 6:55 PM, Dennis Lee Bieber wrote:
> The main reason, as I recall, for the command line using \ for file
> paths is that it inherited / as command OPTION prefix from CP/M; MS-DOS
> being a 32-bit work-alike for CP/M in the first generation.
I also thought it was becau
On Sat, Mar 31, 2012 at 4:13 PM, Tim Rowe wrote:
> I know 10 languages. But I'm not telling you what base that number is :)
The fact that you know there are bases other than 10 puts you in the
top half of the candidates already!
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Mar 29, 2012 at 6:55 AM, Alexey Luchko wrote:
> On 28.03.2012 18:42, David Robinow wrote:
>> On Wed, Mar 28, 2012 at 7:50 AM, Alexey Luchko wrote:
>>> I've tried to build Python 2.7.3rc2 on cygwin and got the following
>>> errors:
>>>
>>>
On Wed, Mar 28, 2012 at 7:50 AM, Alexey Luchko wrote:
> I've tried to build Python 2.7.3rc2 on cygwin and got the following errors:
>
> $ CFLAGS=-I/usr/include/ncursesw/ CPPFLAGS=-I/usr/include/ncursesw/
> ./configure
I haven't tried 2.7.3 yet, so I'll describe my experience with 2.7.2
I use /us
On Fri, Jan 6, 2012 at 5:04 PM, Ian Kelly wrote:
> On Fri, Jan 6, 2012 at 2:46 PM, GZ wrote:
>> Hi,
>>
>> I am reading the documentation of functools.partial (http://
>> docs.python.org/library/functools.html#functools.partial) and found
>> the following 'reference implementation' of functools.pa
On Tue, Jan 3, 2012 at 2:24 PM, Benjamin Kaplan
wrote:
> On Tue, Jan 3, 2012 at 1:49 PM, D'Arcy Cain wrote:
>> On 12-01-03 01:24 PM, gene heskett wrote:
>>>
>>> The solution is to chop the link between google.groups and this list. But
>>> that subject has been declared verboten. Too much inconve
On Fri, Dec 16, 2011 at 7:54 PM, Steven D'Aprano
wrote:
> On Fri, 16 Dec 2011 11:40:11 -0800, Eelco wrote:
>
>> On 16 dec, 18:38, rusi wrote:
>>> On Dec 16, 3:25 pm, Eelco wrote:
>>>
>>> > Pseudo-backwards compatibility with other languages, I couldnt not
>>> > care less for.
>>>
>>> Double nega
On Wed, Nov 16, 2011 at 6:59 PM, Ben Finney wrote:
> David Robinow writes:
>
>> On Wed, Nov 16, 2011 at 4:09 PM, Ben Finney
>> wrote:
>> > I don't know about MS Windows, but the Python interactive shell can be
>> > linked with the GNU Readline librar
On Wed, Nov 16, 2011 at 4:09 PM, Ben Finney wrote:
> goldtech writes:
>
>> Using Windows. Is there a python shell that has a history of typed in
>> commands?
>
> I don't know about MS Windows, but the Python interactive shell can be
> linked with the GNU Readline library for managing its command
On Wed, Nov 9, 2011 at 2:38 PM, Juan Declet-Barreto
wrote:
> I am using Cygwin build of Python2.6. This Cygwin install has both a Cygwin
> gcc (versions 3.4.4 and 4.5.3) and mingw32 (3.4.4), as listed in lib/gcc/.
>
> I also tried the mingw32 shell separately, but I get the same results even
>
On Thu, Nov 3, 2011 at 1:54 PM, Andrea Crotti wrote:
> All these ideas (shell and git hooks) are nice, but unfortunately
> - it's svn not git
> - it's windows not *nix
> - we have to remove only the ones without the corresponding *py...
> --
> http://mail.python.org/mailman/listinfo/python-list
>
2011/10/11 Paolo Zaffino :
> Nobody can help me?
Nope, not unless you post some code. Your problem description is too vague.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Sep 28, 2011 at 9:29 AM, Peter Otten <__pete...@web.de> wrote:
> =?gbk?B?ytjW6rT9zcM=?= wrote:
>
>> it can run ,but there is still a problem ,nothing in my file.
>> please run the code in xp+python32
>> import urllib.request, urllib.parse, urllib.error
>> exchange=['NASDAQ','NYSE','AMEX']
>
On Mon, Sep 26, 2011 at 4:39 PM, Jabba Laci wrote:
> Hi,
>
> I have Python 2.7 on my system. Today I wanted to try Google App
> Engine but it runs on Python 2.5 at Google so I installed this version
> on my machine next to v2.7 to avoid compatibility problems. However,
> when I start the Python sh
On Sat, Aug 20, 2011 at 4:16 AM, Alec Taylor wrote:
>> ...
> I found said joke rather funny :P
Perhaps, as a retired amateur comedian, my standards are too high,
but I don't think adding a smilie to a stupid post suddenly turns it
into a joke. Nevertheless, the quality of the attempt is not reall
On Thu, Aug 18, 2011 at 10:57 AM, noydb wrote:
> How would you convert a list of strings into a list of variables using
> the same name of the strings?
>
> So, ["red", "one", "maple"] into [red, one, maple]
Why would you want to?
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Aug 11, 2011 at 6:43 PM, Forafo San wrote:
> I wrote a class, Univariate, that resides in a directory that is in my
> PYTHONPATH. I'm able to >import that class into a *.py file. However when I
> try to instantiate an object with that class like:
What makes you think you're able to im
On Sat, Aug 6, 2011 at 1:23 PM, Kabie wrote:
> No.
> L1, L2 = zip(*L)
Not quite. That makes L1 & L2 tuples.
L1, L2 = zip(*L)
L1 = list(L1)
L2 = list(L2)
???
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jul 4, 2011 at 3:49 PM, Aly Tawfik wrote:
> On Jun 20, 12:44 pm, sewpafly wrote:
>> I was able to a little further by changing 2 lines in Makefile.pre.in.
>>
>> On line 170, changed:
>> DLLLIBRARY= @DLLLIBRARY@
>> to:
>> DLLLIBRARY= libpython$(VERSION).dll
>>
>> On line 509 it had
On Mon, May 23, 2011 at 2:55 PM, kracekumar ramaraju
wrote:
> You can use sizeof function,
a=12234
b=23456.8
a.__sizeof__()
> 12
b.__sizeof__()
> 16
> So sizeof int is 12 bytes and float is 16 bytes
I'm not sure what you're trying to show here, but try the following in
Python
On Sun, May 15, 2011 at 4:45 PM, Andrew Berg wrote:
> I'm trying to understand why HMTLParser.feed() isn't returning the whole
> page. My test script is this:
>
> import urllib.request
> import html.parser
> class MyHTMLParser(html.parser.HTMLParser):
> def handle_starttag(self, tag, attrs):
>
On Fri, May 13, 2011 at 10:34 PM, Gregory Ewing
wrote:
> rusi wrote:
>
>> Dijkstra's problem (paraphrased) is that python, by choosing the
>> FORTRAN alternative of having a non-first-class boolean type, hinders
>> scientific/mathematical thinking/progress.
>
> Python doesn't have the flaw that Di
On Fri, May 6, 2011 at 1:43 PM, Dick Bridges wrote:
> Simple question: Is it true that no setuptools (or any other module
> installer) exists for 64-bit python 2.7.1? If there is an installer that
> works, what terms might I use to Google for information on how to acquire
> and install it?
Doesn't
On Tue, Feb 8, 2011 at 5:03 PM, Rhodri James
wrote:
> On Tue, 08 Feb 2011 12:18:50 -, wrote:
>> On Tue, Feb 08, 2011 at 10:16:42PM +1100, Ben Finney wrote:
>>> Either your mail client already knows how to filter messages
>>> appropriately depending on which mailing list they came from; or, yo
On Tue, Jan 25, 2011 at 5:59 PM, Matthew Roth wrote:
> On Jan 25, 9:34 pm, John Nagle wrote:
...
>> You can install a MySQL server under Windows, and talk to the server
>> from the Cygwin environment. That's a useful way to test.
>>
>> John Nagle
>
> R
On Fri, Dec 24, 2010 at 1:52 PM, kj wrote:
> Watch this:
>
class neodict(dict): pass
> ...
d = neodict()
type(d)
>
type(d.copy())
>
>
>
> Bug? Feature? Genius beyond the grasp of schlubs like me?
copy, here, is a dict method. It will create a dict.
If you really need it, y
On Thu, Dec 16, 2010 at 6:51 PM, Steven D'Aprano
wrote:
...
> Functions always have one entry. The only way to have multiple entry
> points is if the language allows you to GOTO into the middle of a
> function, and Python sensibly does not allow this. The "one entry, one
> exit" rule comes from th
On Mon, Nov 8, 2010 at 6:22 AM, Antonio de Haro Millan
wrote:
> I can not install "Python Imaging Library 1.1.7 for Python 2.6 (Windows
> only)"
> because I have the Python 2.7. A solution please...
download http://effbot.org/media/downloads/PIL-1.1.7/win32-py2.7.exe
--
http://mail.python.org/mai
On Thu, Sep 30, 2010 at 8:14 AM, Rustom Mody wrote:
> I am trying to use PyRTF.
>
> I gather that an RTF doc consists of a list of sections, a section
> consists of a list of paras,
> paras seem to be just text (not sure on that one)
>
> Some questions:
>
> When does one end one section and start
On Fri, Sep 24, 2010 at 4:59 PM, Dsrt Egle wrote:
> ...
> I can't invoke IPython by Emacs on Windows, either. Looks ipyhon.el
> only works for Linux?
There don't appear to be a lot of ipython.el users on Windows.
You may have better look on an emacs list since there appear to be
some configuration
On Wed, Sep 15, 2010 at 4:51 AM, Douglas wrote:
> Environment: X86, 1Gb RAM, Win XP, latest SP, Excel 2003.
>
> Hi, can anyone direct a relative newbie to the best source of info?
> I am writing my own backup app in Python 2.5.2 (all my company will
> allow me to use) using IDLE.
> I intend to run
On Mon, Sep 13, 2010 at 1:06 PM, Chris Withers wrote:
> I'm wondering what libraries people would use to answer the following
> questions relating to business days:
>
> - on a naive level; "what's give me the last business day" (ie: skipping
> weekends)
import datetime
def is_weekend(year, month,
On Fri, Sep 10, 2010 at 2:35 PM, Stefan Schwarzer
wrote:
> Hi Neal,
>
> On 2010-09-10 20:23, Neal Becker wrote:
>> IN [3]: bool('False')
>> Out[3]: True
>
> If you consider strings, only an empty string has a false
> value. So the string 'False' which is non-empty, results in
> a true boolean valu
On Wed, Sep 1, 2010 at 1:03 PM, Mike wrote:
> I have a ppm file that python 2.5 on Windows XP cannot read
> completely.
> Python on linux can read the file with no problem
> Python on Windows can read similar files.
> I've placed test code and data here:
> http://www.cs.ndsu.nodak.edu/~hennebry/pp
On Sun, Aug 8, 2010 at 12:51 PM, Mark Lawrence wrote:
> On 08/08/2010 17:16, W. eWatson wrote:
>>
>> See Subject. I use matplotlib, scipy, numpy and possibly one other
>> module. If I go to the control panel, I only see numpy listed. Why? I
>> use a search and find only numpy and Python itself. Ho
On Wed, Aug 4, 2010 at 6:47 PM, Lawrence D'Oliveiro
wrote:
> In message , David
> Robinow wrote:
>
>> As an admittedly stupid comparison, I have 1579 DLLs in my
>> \windows\system32 directory.
>> Some number of these have been upgraded by Windows Update.
>
>
On Mon, Aug 2, 2010 at 11:41 AM, Benjamin Kaplan
wrote:
>...
> So these are the packages needed just to run Python in Ubuntu. It doesn't
> include the packages required for the kernel, the desktop environment, the
> window manager, the terminal, and whatever else you want running. In my
> fairly c
On Thu, Jul 29, 2010 at 10:07 AM, Jeffrey Gaynor wrote:
> ...
> A final question -- how widely is M2Crypto used? Since I will have to now
> pitch to our group that this is preferable the first questions they will ask
> are about stability, who is using it and how secure is it really, especially
On Sun, Jul 25, 2010 at 8:40 PM, Edward Diener
wrote:
> On 7/25/2010 5:57 PM, Thomas Jollans wrote:
> So if a standard library module ( or distributed library ) executes a call
> internally to 'python xxx yyy' or executes a call internally to
> 'someScript.py yyy', you're fine with multiple co-exi
On Fri, Jul 16, 2010 at 9:29 AM, ernest wrote:
> On 15 Jul, 18:45, kj wrote:
>> This is a question _for Emacs users_ (the rest of you, go away :) ).
>>
>> How do you do Python code-folding in Emacs?
>>
>> Thanks!
>>
>> ~K
>
> I tried the outline-mode and it seemed to work. It can
> collapse diff
On Tue, Jul 6, 2010 at 1:46 PM, Martin P. Hellwig
wrote:
> Public download that is, people like me who have a MSDN subscription can
> still download old versions like Visual Studio 2005.
>
> So I would say that there is no particular hurry.
> I would think that everyone really serious about MS dev
On Mon, Jul 5, 2010 at 8:15 PM, Steven D'Aprano
wrote:
> On Mon, 05 Jul 2010 12:59:00 -0700, Martineau wrote:
>
>> I'd like to view the contents of the help file without actually
>> installing the release which would wipe out any currently installed
>> version (I'm one of those rare people who act
On Sun, Jun 27, 2010 at 9:16 PM, Lawrence D'Oliveiro
wrote:
> In message <4c24c152$0$31381$4fafb...@reader1.news.tin.it>, superpollo
> wrote:
>
>> suppose i work in a linux environment, but i would like to ship a
>> win/dos executable file from time to time, just for test purposes (my
>> "testers"
On Wed, Jun 16, 2010 at 11:34 PM, Aahz wrote:
> In article ,
> James Mills wrote:
...
>>What in particular do you _not_ enjoy about using map/reduce (and
>>possibly other functional features of the Python programing language) ?
>
> map() never felt particularly Pythonic, especially the way it wo
On Sun, Jun 13, 2010 at 1:57 PM, Steven D'Aprano
wrote:
> On Sun, 13 Jun 2010 08:42:57 -0700, rantingrick wrote:
>
>> i will start a fork.
>
> That is the most sensible thing you have said yet. Please do so, it will
> be a great thing for the Python community.
Eagerly awaiting the transfer of thi
wrote:
Sebastian Bassi writes:
On Fri, May 28, 2010 at 12:37 AM, John Bokma
wrote:
Even if it's just a few bucks, it's still money saved [0]. On top of
that I think it's way better to point your audience to good books on
the
topic and skip the intro instead of doing a (half hearted
On Tue, May 11, 2010 at 1:43 AM, Lawrence D'Oliveiro
wrote:
> In message
> <22cf35af-44d1-43fe-8b90-07f2c6545...@i10g2000yqh.googlegroups.com>,
> Guillermo wrote:
>> If you've ever missed it on Windows and you can use Powershell ...
> I thought the whole point of Windows was to get away from this
On Sun, May 2, 2010 at 1:14 PM, Paul McGuire wrote:
> While sifting through some code looking for old "x and y or z" code
> that might better be coded using "y if x else z", I came across this
> puzzler:
>
> x = and True or False
>
> What is "and True or False" adding to this picture? The boo
On Thu, Apr 1, 2010 at 10:44 PM, Steven D'Aprano
wrote:
> On Thu, 01 Apr 2010 19:49:43 -0500, Tim Chase wrote:
>
>> David Robinow wrote:
>>> $ python -c "print 1/2 * 1/2"
>>> 0
>>>
>>> But that's not what I learned in grade s
On Thu, Apr 1, 2010 at 7:34 PM, Patrick Maupin wrote:
> On Apr 1, 4:42 pm, Tim Chase wrote:
>> superpollo wrote:
>> > how much is one half times one half?
>>
>> Uh, did you try it at the python prompt? If not, here's the answer:
>>
>> 0.1b * 0.1b = 0.01b
>>
>> Now all you need is to find the r
On Thu, Mar 11, 2010 at 12:40 AM, Bujji wrote:
> hi all,
> I have installed python 2.6 in addition to python 2.5 in my system
> Now for some modules(while installing ) it needs to use python 2.6
> how can i do that
> in case of easy_install what should i do to it to use python 2.6
You should have
1 - 100 of 165 matches
Mail list logo