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
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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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, 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 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)
"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
Sorry for top-posting. I thought I'd mastered gmail.
--
https://mail.python.org/mailman/listinfo/python-list
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
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 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, 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 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 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
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 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 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 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']
>
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 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
>
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 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 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 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 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, 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 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 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 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 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 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, 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 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 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
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
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
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
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 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:
"""
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 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
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 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 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 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 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 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 Tue, Apr 14, 2009 at 9:03 AM, wrote:
> Hello,
>
> Is there a way to easily build an object that behaves exactly like a
> float, but whose value can be changed? The goal is to maintain a list
> [x, y,…] of these float-like objects, and to modify their value on the
> fly (with something like x.
On Sun, Apr 19, 2009 at 1:58 AM, Kenny x wrote:
> Hello, I use Ubuntu 8.10 and the latest version of Python.
>
> I started programming wxPython on my Windows computer,
>
> but now I have access to my ubuntu box, and want wxPython for 2.6
>
> All the debs in the package manager are for 2.5, not 2.6
On Wed, Apr 22, 2009 at 3:52 AM, Mark Zweers wrote:
> Hi!
>
> I'm trying to run python from within Emacs. This is in my .emacs file :
>
> (setq auto-mode-alist ; trigger python mode automatically
> (cons '("\\.py$" . python-mode) auto-mode-alist))
> (setq interpreter-mode-alist
> (co
On Wed, Apr 22, 2009 at 8:50 PM, rzed wrote:
> Greg Ewing wrote in
> news:49edb69f.7070...@canterbury.ac.nz:
>
>> PyGUI 2.0.4 is available:
>>
>> http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
>>
>> Fixes a few more bugs and hopefully improves things
>> on Windows, although I can't be
On Wed, Apr 22, 2009 at 9:16 PM, Jim Carlock
wrote:
> I downloaded Python 2.6.2 today. Anyone here know what that error in
> the subject really means and possibly what I should look at? I took
> a look at line 13 in the specified file and it states the line that
> it has a problem with.
>
> import
On Thu, Apr 23, 2009 at 9:31 PM, Esmail wrote:
> What is the best way to compare the *contents* of two different
> lists regardless of their respective order? The lists will have
> the same number of items, and be of the same type.
>
> E.g. a trivial example (my lists will be larger),
>
> a=[1, 2,
On Sun, Apr 26, 2009 at 5:21 AM, Greg Ewing wrote:
> PyGUI 2.0.5 is available:
> Still no idea what's causing the "object has been destroyed"
> error on Windows XP, though. Does this happen for everyone?
> Is there anyone who *has* got 12-scroll.py working for them
> on XP?
Works fine for me. XP
On Tue, Apr 28, 2009 at 12:36 PM, alejandro wrote:
> Can you tell me what is it? Maybe I can search it and pass it in another
> way... if it is an address or protocol name
>
>> AF_BLUETOOTH seems to be specific to *nix-systems. At least under debian
>> and
>> ubuntu, I've got it defined.
>>
>>
On Tue, Apr 28, 2009 at 1:15 PM, John Nagle wrote:
> Brock wrote:
>>
>> Hi Everyone,
>>
>> I know this is most likely a basic question and you will roll your
>> eyes, but I am just starting out with Python (hobbyist) and I see many
>> tutorials on the web referring to the use of external modules.
On Wed, Apr 29, 2009 at 9:29 AM, wrote:
...
> To reiterate, I responded to this thread because I think Ben's posting
> gave an unfair impression of the site and i felt the need to address
> some misconceptions. I am sorry you failed to find the videos, but
> many tens of thousands are found every
On Fri, May 1, 2009 at 12:24 PM, warpcat wrote:
> I've passed this around some other groups, and I'm being told
> "probably not possible". But I thought I'd try here as well :) I
> *did* search first, and found several similar threads, but they
> quickly tangented into other specifics of the la
On Mon, May 4, 2009 at 2:33 AM, namekuseijin
wrote:
ls = [(1,2), (3,4), (5, None), (6,7), (8, None)]
[(x,y) for (x,y) in ls if y]
> [(1, 2), (3, 4), (6, 7)]
Nope. That filters out 0 as well as None. Not what the OP asked for.
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, May 10, 2009 at 3:32 AM, Tobias Weber wrote:
> In article ,
> Arnaud Delobelle wrote:
>
>> A simple Alt-Q will reformat everything nicely.
>
> Now that's something. Thanks!
>
> (still not gonna use software that doesn't let me type # because it's
> alt+3 on a UK layout; having to re-lear
> Thanks for the help. I just got it to install for Python 2.6. All I did
> was change PYTHONPATH (as suggested by Mark) from
> C:\Python25\Lib\site-packages to C:\Python26\Lib\site-packages
Why do you have PYTHONPATH set at all?
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, May 12, 2009 at 11:47 PM, walterbyrd wrote:
> On May 12, 6:15 pm, norseman wrote:
>
>> Subject line says UNIX to DOS
>>
>> I hope that means you are using a UNIX machine.
>>
>
> I should have mentioned, I am working in an environment that is very
> restrictive about what I can put on my X
On Fri, May 22, 2009 at 10:27 AM, Gökhan SEVER wrote:
...
> serialc = np.loadtxt(sys.argv[1], skiprows=skiprows).T
> for i in range(20):
> locals()['serialc_bin' + str(i+1)] = serialc[i+4]
>
> I don't know easier way than using locals() to construct variable-like
> identities in my program.
I
On Fri, May 22, 2009 at 11:00 AM, Gökhan SEVER wrote:
> Because in this case serialc is an numpy array. Since loadtxt returns a
> numpy-array. Furthermore
>
> locals()['serialc_bin' + str(i+1)] creates a dictionary key (that's what I
> use the term "variable-like") serialc_bin1, serialc_bin2, ...
On Sun, May 24, 2009 at 7:51 PM, Dave Angel wrote:
>> By decreeing that the value of PI is 3?
>>
>
> Only in Ohio.
Please, we're smarter than that in Ohio. In fact, while the Indiana
legislature was learning about PI, we had guys inventing the airplane.
http://en.wikipedia.org/wiki/Indiana
On Thu, May 28, 2009 at 7:09 AM, Andreas Roehler
wrote:
> Rhodri James wrote:
>> and I'll get over that. The feature that caused me to uninstall
>> python-mode.el was its bloody-minded determination to regard '_' as a word
>> character, something which caused me more typing that it ever saved.
>
On Sun, Nov 29, 2009 at 6:58 AM, inhahe wrote:
> Did you say you were using gmail to post? I think mailing lists tend to
> have issues with gmail because it puts html in the message or something like
> that. Btw I recently set up this mailing list to send me a message back
> when I successfully
On Mon, Nov 30, 2009 at 12:57 PM, Esmail wrote:
> Hello all.
>
> I am using the PIL 1.1.6 and Python 2.6.x under XP without any
> problems. However, I can't display any images under Vista
> or Windows 7. I could understand Windows 7 as it's relatively
> new, but Vista has been around for a bit.
>
On Tue, Dec 1, 2009 at 8:31 PM, Vincent Davis wrote:
> Anyone know of a python implementation of Delaunay triangulation?
Matplotlib has one.
There's also Delny @pypi
It's been several years since I needed this. I can't remember the pros/cons.
--
http://mail.python.org/mailman/listinfo/python-l
On Thu, Dec 3, 2009 at 7:33 PM, Steven D'Aprano
wrote:
> On Fri, 04 Dec 2009 00:52:35 +0100, Michael Ströder wrote:
>
>> Aahz wrote:
>>> Just to be contrary, I *like* mbox.
>>
>> Me too. :-)
>
>
> Why? What features or benefits of mbox do you see that make up for it's
> disadvantages?
I've never
On Fri, Dec 4, 2009 at 1:46 PM, Roy Smith wrote:
> I'm using 2.5.1. How can I tell if I'm running on windows? The
> obvious answer, platform.system(), gets complicated. On the python
> that comes with cygwin, it returns 'CYGWIN_NT-5.2-WOW64', but I've got
> a native windows build of python wher
On Wed, Dec 16, 2009 at 10:33 AM, Dave Angel wrote:
> You can also find the appdata directory by looking at the environment
> variable USERPROFILE, switching to that directory, and descending directly
> into "application data" by using the tab key.
> ...
Lots of good advice. I'd just point out tha
On Fri, Dec 18, 2009 at 12:49 PM, Jean-Michel Pichavant
wrote:
> Jerry Hill wrote:
>>
>> On Fri, Dec 18, 2009 at 12:24 PM, Jean-Michel Pichavant > File
>>> "/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/infutils.py",
>>> line 28, in
>>> from logilab.astn
On Fri, Dec 18, 2009 at 10:46 AM, Jim Valenza wrote:
> Hello All - I have a very novice question for any of you out there. I need
> to assign several parameters to a code in python. I have an example of a
> code that was in DOS that I would need to set as parameters in my Python
> script.
>
> Set
On Fri, Dec 18, 2009 at 5:34 PM, mattia wrote:
> Hi all, I have a dictionary that uses dates and a tuples ad key, value
> pairs. I need to sort the values of the dict and insert everything in a
> tuple. The additional problem is that I need to sort the values looking
> at the i-th element of the l
1 - 100 of 164 matches
Mail list logo