On Wed, 2013-11-13 at 16:00 -0800, Ned Deily wrote:
> > The reason I've set PYTHONHOME is ultimately I need this installation to
> > be relocatable. It's going to be shared across lots of different
> > systems and they'll have the ability to copy it wherever they want.
>
> That could be problemat
Hi Sudheer,
Fortan binary format is not portable, and it's hard to work with it
with different langages, compilers, architectures...
In you're Python code, you also use NetCDF, which solve all these problems.
I would suggest to use only NetCDF files in both Python and Fortran code. (So
never use
On Nov 13, 2013, at 17:24 , Paul Smith wrote:
> On Wed, 2013-11-13 at 16:00 -0800, Ned Deily wrote:
>>> The reason I've set PYTHONHOME is ultimately I need this installation to
>>> be relocatable. It's going to be shared across lots of different
>>> systems and they'll have the ability to copy
On Wed, 13 Nov 2013 23:33:22 -0500, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> I have yet to see any language that gives true globals. At very best,
>> they're just process-wide! Honestly. How am I supposed to write code
>> that accesses variables running on my New York server
On Wed, 13 Nov 2013 19:45:42 -0800, Rick Johnson wrote:
> On Wednesday, November 13, 2013 8:45:16 PM UTC-6, Steven D'Aprano wrote:
>> A fully-auto machine gun with a hair-trigger and no
>> safety is no different from a single-barrel shotgun with a safety and
>> a trigger lock! You can blow your
On Thu, Nov 14, 2013 at 3:33 PM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> I have yet to see any language that gives true globals. At very best,
>> they're just process-wide! Honestly. How am I supposed to write code
>> that accesses variables running on my New York server?
>
On Wednesday, November 13, 2013 10:33:22 PM UTC-6, Roy Smith wrote:
> Wait, aren't you the guy who's into MUDs?
Yes he is.
But that's his second favorite hobby.
His first is filling the "Devils Advocate" slot when
Steven is too busy -- doing WHATEVER Steven does when
he's not here. God only
In article ,
Chris Angelico wrote:
> I have yet to see any language that gives true globals. At very best,
> they're just process-wide! Honestly. How am I supposed to write code
> that accesses variables running on my New York server?
Any one of a slew of remote procedure call protocols. These
bob gailer wrote:
> Does this have anything to do with statistics? Quantum
> theory? Telephony?
>
> P = Pluto, V = Venus, S = Saturn?
>
> Help us understand - then we *might* be able to help you.
bob later gailer wrote:
> Oh ... will you please explain in good English and a lot
> more detail. I
On Sunday, November 3, 2013 5:32:46 PM UTC-6, Denis McMahon wrote:
> Seems to me like you're using a sledgehammer to shell a peanut.
And hopefully he knows whether or not he has a peanut allergy
before he commits to enjoying the fruits of his labor.
--
https://mail.python.org/mailman/listinfo/
And what's this?
*picks up hat*
Where did this hat come from???
Spectator interrupts: Maybe Steven threw his hat in?
No, no.
Can't be.
Steven would not wear something this old.
I mean, it looks like something a farmer would put on a
scarecrow or something???
*scratched head*
OH
Thanks for all the help, I finished the program, follow the download link and a
brief explanation of the same (in Portuguese, my native language), I apologize
again for my bad english and any inconvenience that I have generated.
http://mundodacana.blogspot.com.br/2013/11/programa-para-calculo-de
On Wednesday, November 13, 2013 8:45:16 PM UTC-6, Steven D'Aprano wrote:
> A fully-auto machine gun with a hair-trigger and no
> safety is no different from a single-barrel shotgun with
> a safety and a trigger lock! You can blow your foot off
> with both!
Yes. But in the case of the shotgun
In article ,
tcwa...@gmail.com wrote:
> I'm facing a problem with a 3rd party C/C++ Framework (dynamic library) on
> Mac OS X which I'm trying to import into Python using ctypes. Unfortunately
> OS X has deprecated a function which is called from the Framework and is no
> longer available as of
On Thu, Nov 14, 2013 at 2:22 PM, Rick Johnson
wrote:
> Yeah, a "global" keyword that extends access ONLY as far as
> module level scope -- hardly a *true* global.
I have yet to see any language that gives true globals. At very best,
they're just process-wide! Honestly. How am I supposed to write
I have a relatively large python package that has several cyclical
dependencies. The cyclical dependencies typically aren't a problem so long as
I'm just importing modules, and not named attributes (ie. function, class,
globals), which may not be defined at a given point in the import routine
On Wednesday, November 13, 2013 7:09:42 PM UTC-6, Steven D'Aprano wrote:
> On Wed, 13 Nov 2013 23:42:24 +, Rhodri James wrote:
> > On Tue, 12 Nov 2013 02:06:09 -, Rick Johnson wrote:
> >> Python has globals, but we just can't admit it!
> > A different subject entirely, but no more accuratel
On Thu, 14 Nov 2013 01:10:09 +, Mark Lawrence wrote:
> Stop him and stop the spoon feeders and I stop. Simples.
Oh, why didn't you say so in the first place? Okay, I'll just wave my
magic wand and say the magic words and he'll go away...
Hmmm, it doesn't seem to be working. Perhaps you
On Wed, 13 Nov 2013 09:29:38 -0800, Ned Batchelder wrote:
> I strongly recommend that you stay on Python 2, and focus on other
> concerns.
Nikos has been using Python 3.3 for his website for months now.
--
Steven
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 14 Nov 2013 10:29:03 +1100, Chris Angelico wrote:
> On Thu, Nov 14, 2013 at 7:35 AM, bob gailer wrote:
>> I am very disappointed to see so much energy and bandwidth going to
>> conversations that bash individuals.
>>
>>
> I agree, and there've been times when I've been part of the problem
On Wed, 13 Nov 2013 18:10:59 -0800, Rick Johnson wrote:
> On Wednesday, November 13, 2013 5:42:24 PM UTC-6, Rhodri James wrote:
>> On Tue, 12 Nov 2013 02:06:09 -, Rick Johnson wrote:
>> > PyMyth: Global variables are evil... WRONG!
>> That's not a PyMyth. It's a CompSciMyth, or to be more acc
On 13Nov2013 23:48, Steven D'Aprano
wrote:
> As a community, it is difficult to balance the conflicting needs here. If
> we ignore Nikos completely, we appear unfriendly and indifferent to those
> asking for help. If we answer his questions, we encourage him to post. It
> is hard to find the r
On Thu, Nov 14, 2013 at 1:12 PM, Steven D'Aprano
wrote:
> The next bit is the part I have no idea about... use your operating
> system tools to set up a chroot jail for "inside.py". Google is your
> friend there, I'm sure there will be many, many websites that discuss
> chroot jails.
I think Pyth
On Wednesday, November 13, 2013 6:17:22 PM UTC-6, Tim Daneliuk wrote:
> > But python modules can't be interfaces because interfaces
> > should protect internal data, prevent external forces from
> > meddling with internal state (EXCEPT via the rules of a
> > predefined "contract"), hide dirty detai
On Thu, Nov 14, 2013 at 1:00 PM, Steven D'Aprano
wrote:
> Yes, this! A master craftsman knows when to break the rules. I personally
> would not run a public web app using alpha software because I know my
> limitations...
+1. Plenty of people know that a master knows when to break the
rules... the
On Wednesday, November 13, 2013 4:00:15 PM UTC-6, Andrew Cooper wrote:
> And what do you do when the wizards bend space-time to
> make PI exactly 3, for the ease of other calculations when
> building a sorting machine?
Are you telling me that these wizards can't be bothered to
write the integer "3
On Wed, 13 Nov 2013 17:52:42 -0800, Himanshu Garg wrote:
> On Thursday, November 14, 2013 5:10:20 AM UTC+5:30, Chris Angelico
> wrote:
>> On Thu, Nov 14, 2013 at 1:31 AM, Himanshu Garg
>> wrote:
>>
>> > I am writing a python script to run chroot command to chroot to a
>> > linux distro and then
On Wednesday, November 13, 2013 5:42:24 PM UTC-6, Rhodri James wrote:
> On Tue, 12 Nov 2013 02:06:09 -, Rick Johnson wrote:
> > PyMyth: Global variables are evil... WRONG!
> That's not a PyMyth. It's a CompSciMyth, or to be more
> accurate a good general Software Engineering guideline
> regard
On Thu, 14 Nov 2013 12:27:58 +1100, Chris Angelico wrote:
> On Thu, Nov 14, 2013 at 12:14 PM, Denis McMahon
> wrote:
>> Nobody is so stupid as to run alpha software on a production server[1]
>> are they?
>>
>> [1] In this context, "production server" means any system facing the
>> public interne
I've written an application that does some audio file conversions.
I use mutagen for some of the mp3 file manipulation, but to convert
ogg files to mp3 format I've been using subprocess to run the
ogg2mp3 perl utility. (available from http://marginalhacks.com/) by
David Madison.
It's a "spot on"
On Thu, Nov 14, 2013 at 12:52 PM, Himanshu Garg wrote:
> How can I do that? Can you guide me?
First off: Google Groups is making your posts very ugly. Please either
fix them before posting, or use a better client.
https://wiki.python.org/moin/GoogleGroupsPython
As to chrooting: It'd look somet
On Thursday, November 14, 2013 5:10:20 AM UTC+5:30, Chris Angelico wrote:
> On Thu, Nov 14, 2013 at 1:31 AM, Himanshu Garg wrote:
>
> > I am writing a python script to run chroot command to chroot to a linux
> > distro and then run commands. How can I do this, as after chrooting, the
> > scrip
On Thu, Nov 14, 2013 at 12:14 PM, Denis McMahon
wrote:
> On Wed, 13 Nov 2013 16:17:22 +0200, Ferrous Cranus wrote:
>
>> root@secure [/home/nikos/www/cgi-bin]# python3 -V Python 3.4.0a4
>
> Let me just check.
>
> Nobody is so stupid as to run alpha software on a production server[1]
> are they?
>
>
On 11/13/2013 6:48 PM, Steven D'Aprano wrote:
On Wed, 13 Nov 2013 15:35:56 -0500, bob gailer wrote:
Or would you be willing to stop the bashing? I don't see that it helps
anyone, and could be very offputting to other newbies.
That's what I have been saying for a long time. I believe that wha
On 14/11/2013 00:57, Ned Batchelder wrote:
On Wednesday, November 13, 2013 5:32:49 PM UTC-5, Mark Lawrence wrote:
Wrong. You've once again not bothered to read the information that's
been handed to you on a plate. If you'd followed the instructions you
would not get the "No such file or direct
On Wed, 13 Nov 2013 16:17:22 +0200, Ferrous Cranus wrote:
> root@secure [/home/nikos/www/cgi-bin]# python3 -V Python 3.4.0a4
Let me just check.
Nobody is so stupid as to run alpha software on a production server[1]
are they?
[1] In this context, "production server" means any system facing the
Hi,
I've tried searching for topics related to dlopen() of dynamic libraries in the
list but there's nothing relevant or recent.
I'm facing a problem with a 3rd party C/C++ Framework (dynamic library) on Mac
OS X which I'm trying to import into Python using ctypes. Unfortunately OS X
has depre
On Wed, 13 Nov 2013 23:42:24 +, Rhodri James wrote:
> On Tue, 12 Nov 2013 02:06:09 -, Rick Johnson
> wrote:
>
>> PyMyth: Global variables are evil... WRONG!
>
> That's not a PyMyth. It's a CompSciMyth, or to be more accurate a good
> general Software Engineering guideline regardless of
On Wed, 13 Nov 2013 16:44:03 -0800, edmundicon wrote:
> Den tisdagen den 12:e november 2013 kl. 23:50:03 UTC+1 skrev Denis
> McMahon:
>> On Tue, 12 Nov 2013 14:04:08 -0800, edmundicon wrote:
>>
>>
>>
>> > Greetings everyone! This is my first post on this forum :)
>>
>>
>> >
>> > TL;DR: I wan
On Thu, 14 Nov 2013 10:47:35 +1000, alex23 wrote:
> On 14/11/2013 9:48 AM, Steven D'Aprano wrote:
>> I believe that whatever
>> negative effect Nikos the help-vampire is having, it is long ago
>> overwhelmed by the negative of the anti-Nikos vigilantes.
>
> I don't know, the anti-Nikos-vigilante
I'm looking to speed up some python code. Replacing the python
interpreter with pypy was impressive. I noted that use of ctypes (in
cython?), specifically declaring variables as below, was reported as
giving a useful result:
cdef float myvar
cdef int i
under cython can provide a useful spee
On Wednesday, November 13, 2013 5:32:49 PM UTC-5, Mark Lawrence wrote:
> Wrong. You've once again not bothered to read the information that's
> been handed to you on a plate. If you'd followed the instructions you
> would not get the "No such file or directory" error shown above. I'm
> not go
On Thu, 14 Nov 2013 00:00:04 +0200
Ferrous Cranus wrote:
> Στις 13/11/2013 11:56 μμ, ο/η Mark Lawrence έγραψε:
>
> But i have gone to the link and did what it said and it didn't proved
> usefull thats why i re-ask.
Try looking for a package named "setuptools". I think that is the
package you
Hi,
I need to write a binary file exactly as written by fortran code below
to be read by another code which is part of a model which is not advisable to
edit.I would like to use python for this purpose as python has mode flexibility
and easy coding methods.
character(40) :: TITLE="
On 11/13/2013 6:27 PM, Rhodri James wrote:
On Wed, 13 Nov 2013 22:53:46 -, Terry Reedy wrote:
On 11/13/2013 3:35 PM, bob gailer wrote:
Is there a moderator for this list?
Posts from new addresses go to moderators for spam deletion. There are
a couple a day that are discarded. Posts wit
On Thu, Nov 14, 2013 at 11:41 AM, Rick Johnson
wrote:
> "POWER CORRUPTS: ABSOLUTE POWER CORRUPTS ABSOLUTELY."
http://xkcd.com/643/
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On 14/11/2013 9:48 AM, Steven D'Aprano wrote:
I believe that whatever
negative effect Nikos the help-vampire is having, it is long ago
overwhelmed by the negative of the anti-Nikos vigilantes.
I don't know, the anti-Nikos-vigilante vigilantes are beginning to give
them a run for their money, e
Den tisdagen den 12:e november 2013 kl. 23:50:03 UTC+1 skrev Denis McMahon:
> On Tue, 12 Nov 2013 14:04:08 -0800, edmundicon wrote:
>
>
>
> > Greetings everyone! This is my first post on this forum :)
>
> >
>
> > TL;DR: I want to convert the gregorian years into Chinese years, and
>
> > deal
Hello Bob,
I understand your concern but you need to realize there is
not much that can (or should) be done *IF* we want to live in
societies that are free from oppression.
The minute we start drawing lines in the sand and punishing
people for exercising their freedom of speech, is when we
start
On 11/11/2013 10:46 PM, Rick Johnson wrote:
On Monday, November 11, 2013 8:47:09 PM UTC-6, Tim Daneliuk wrote:
I think this is certainly the use case most people would
suggest. But I think you may have missed the real reason
most modern designers object to inter-module globals: The
presence of
On Thursday, November 14, 2013 3:35:56 AM UTC+7, bob gailer wrote:
> I joined a week or so ago.
>
>
>
> The subject line was copied from the description of comp.lang.python aka
>
> python-list@python.org.
>
>
>
> I am very disappointed to see so much energy and bandwidth going to
>
> conv
Thanks for the response Ned!
On Wed, 2013-11-13 at 14:40 -0800, Ned Deily wrote:
> There shouldn't be any problems with what you are trying to do. It
> works for me with Python 2.7.6 and pycrypto-2.6.1. Some suggestions:
> - Avoid --enable-shared on OS X at least initially. There are too
> many
On Nov 13, 2013, at 14:59 , Paul Smith wrote:
> Thanks for the response Ned!
>
> On Wed, 2013-11-13 at 14:40 -0800, Ned Deily wrote:
>> There shouldn't be any problems with what you are trying to do. It
>> works for me with Python 2.7.6 and pycrypto-2.6.1. Some suggestions:
>> - Avoid --enabl
bob gailer writes:
> I joined a week or so ago.
Welcome! Please feel free to start a new thread of dicussion about the
Python programming language.
> I am very disappointed to see so much energy and bandwidth going to
> conversations that bash individuals.
As am I. Let's talk about Python more
On 13/11/2013 23:42, Rhodri James wrote:
On Tue, 12 Nov 2013 02:06:09 -, Rick Johnson
wrote:
PyMyth: Global variables are evil... WRONG!
That's not a PyMyth. It's a CompSciMyth, or to be more accurate a good
general Software Engineering guideline regardless of language. Like all
guidel
On Wed, 13 Nov 2013 17:53:46 -0500, Terry Reedy wrote:
>> Is there a moderator for this list?
>
> Posts from new addresses go to moderators for spam deletion. There are a
> couple a day that are discarded. Posts with 'suspicious headers' also
> get checked. Non-suspicious posts from known people
On Wed, 13 Nov 2013 15:35:56 -0500, bob gailer wrote:
> Is there a moderator for this list?
Sadly no.
> Is there some other place for discussions that are completely OT and
> also full of flames?
Yes, there is private email. Unfortunately private email doesn't give the
culprits the audience
On Tue, 12 Nov 2013 02:06:09 -, Rick Johnson
wrote:
PyMyth: Global variables are evil... WRONG!
That's not a PyMyth. It's a CompSciMyth, or to be more accurate a good
general Software Engineering guideline regardless of language. Like all
guidelines it can be broken, but people wh
On Thu, Nov 14, 2013 at 1:31 AM, Himanshu Garg wrote:
> I am writing a python script to run chroot command to chroot to a linux
> distro and then run commands. How can I do this, as after chrooting, the
> script runs the commands relative to the outside not inside the chrooted env?
Probably th
Gary Roach wrote:
> I have been trying to set up a python, django, mysql, virtualenvwrapper
> and git development project and am really confused. All of the
> documentation seems to ignore the apt-get installation methods used by
> Debian Linux and its derivatives.
I assume you've either worke
On Wed, 13 Nov 2013 22:53:46 -, Terry Reedy wrote:
On 11/13/2013 3:35 PM, bob gailer wrote:
Is there a moderator for this list?
Posts from new addresses go to moderators for spam deletion. There are a
couple a day that are discarded. Posts with 'suspicious headers' also
get checked.
On Thu, Nov 14, 2013 at 7:35 AM, bob gailer wrote:
> I am very disappointed to see so much energy and bandwidth going to
> conversations that bash individuals.
>
I agree, and there've been times when I've been part of the problem
(usually in the form of trying to help Nikos, which results in
stup
On 11/13/2013 3:35 PM, bob gailer wrote:
I am very disappointed to see so much energy and bandwidth going to
conversations that bash individuals.
Me too.
Is there a moderator for this list?
Posts from new addresses go to moderators for spam deletion. There are a
couple a day that are disc
In article ,
Ned Deily wrote:
> There shouldn't be any problems with what you are trying to do. It works for
> me with Python 2.7.6 and pycrypto-2.6.1. Some suggestions:
> - Avoid --enable-shared on OS X at least initially. There are too many ways
> things can go wrong. If you've built with
In article <1384370183.3496.472.camel@pdsdesk>,
Paul Smith wrote:
> I'm using MacOSX 10.7.5 with xcode 4.1, containing gcc 4.2.1 / clang 2.1
> (configure seems to choose gcc).
>
> I've tried this with both Python 2.7.5 and 2.7.6. I get the tarball,
> unpack it, then:
>
> $ configure --prefix
On 13/11/2013 22:00, Ferrous Cranus wrote:
Στις 13/11/2013 11:56 μμ, ο/η Mark Lawrence έγραψε:
On 13/11/2013 21:39, Ferrous Cranus wrote:
Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
On Wed, 13 Nov 2013 23:19:53 +0200
Ferrous Cranus wrote:
Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpo
Στις 13/11/2013 11:56 μμ, ο/η Mark Lawrence έγραψε:
On 13/11/2013 21:39, Ferrous Cranus wrote:
Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
On Wed, 13 Nov 2013 23:19:53 +0200
Ferrous Cranus wrote:
Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
Get ez_setup.py and
On 13/11/2013 02:45, Rick Johnson wrote:
>
> "math.pi" should be "math.PI". and PI should be a CONSTANT.
> And not just a pseudo constant, but a REAL constant that
> cannot be changed.
>
And what do you do when the wizards bend space-time to make PI exactly
3, for the ease of other calculation
On 13/11/2013 21:39, Ferrous Cranus wrote:
Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
On Wed, 13 Nov 2013 23:19:53 +0200
Ferrous Cranus wrote:
Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
Get ez_setup.py and get-pip.py, and run them with the desired Python.
On Wednesday, November 13, 2013 4:46:59 PM UTC-5, Ferrous Cranus wrote:
> root@secure:~/lib64# ls -al | grep libkey
>
> lrwxrwxrwx 1 root root 20 Jun 22 2012 libkeyutils.so.1 ->
> libkeyutils.so.1.3.0*
> -rwxr-xr-x 1 root root 10192 Jun 22 2012 libkeyutils.so.1.3*
> -rwxr-xr-x 1 root root 32920 J
Στις 13/11/2013 11:44 μμ, ο/η Ned Batchelder έγραψε:
On Wednesday, November 13, 2013 4:39:59 PM UTC-5, Ferrous Cranus wrote:
Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
On Wed, 13 Nov 2013 23:19:53 +0200
Ferrous Cranus wrote:
Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick
Hi all. I need to build my own version of Python on a MacOSX system,
and I can't seem to do it successfully. I need to build it with a
particular location, etc. and so I can't use Homebrew or whatever: I
need to compile it myself from the source tarball. I did look through
the Homebrew recipe an
I joined a week or so ago.
The subject line was copied from the description of comp.lang.python aka
python-list@python.org.
I am very disappointed to see so much energy and bandwidth going to
conversations that bash individuals.
Is there a moderator for this list?
Is there some other place
root@secure:~/lib64# ls -al | grep libkey
lrwxrwxrwx 1 root root 20 Jun 22 2012 libkeyutils.so.1 ->
libkeyutils.so.1.3.0*
-rwxr-xr-x 1 root root 10192 Jun 22 2012 libkeyutils.so.1.3*
-rwxr-xr-x 1 root root 32920 Jun 22 2012 libkeyutils.so.1.3.0*
root@secure:~/lib64# rpm -qf libkeyutils.so.1.3.
Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
On Wed, 13 Nov 2013 23:19:53 +0200
Ferrous Cranus wrote:
Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
Get ez_setup.py and get-pip.py, and run them with the desired Python.
Why can't i just use that?
root@secure [~]
On Wednesday, November 13, 2013 4:39:59 PM UTC-5, Ferrous Cranus wrote:
> Στις 13/11/2013 11:30 μμ, ο/η Johannes Findeisen έγραψε:
> > On Wed, 13 Nov 2013 23:19:53 +0200
> > Ferrous Cranus wrote:
> >
> >> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
> >>> Get ez_setup.py and get-p
On Wed, 13 Nov 2013 23:19:53 +0200
Ferrous Cranus wrote:
> Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:>
> > Get ez_setup.py and get-pip.py, and run them with the desired Python.
> >
>
>
> Why can't i just use that?
>
> root@secure [~]# sudo yum install python-pip
> Loaded plug
Στις 13/11/2013 7:45 μμ, ο/η Chris “Kwpolska” Warrick έγραψε:
On Wed, Nov 13, 2013 at 5:38 PM, Ferrous Cranus wrote:
Στις 13/11/2013 6:13 μμ, ο/η Steven D'Aprano έγραψε:
and also is there a way to call it like #!/usr/bin/python
Of course there is, but only if you wish to break your system
On Wednesday, November 13, 2013 3:41:03 PM UTC-5, krishna...@gmail.com wrote:
> Thanks for your reply Ned!
>
> I tried this your suggestion and this is what it complains...
>
> os_inst_bytes = struct.pack('7BI512s', 0, 0x51, 0x10, 5, 0, 0xD, 0x80, 0, '')
>
> -
Correction in the last input line...
In [16]: result = struct.unpack('5p', os_inst[11:16])
---
error Traceback (most recent call last)
in ()
> 1 result = struct.unpack('5p', os_inst[11
Thanks for your reply Ned!
I tried this your suggestion and this is what it complains...
os_inst_bytes = struct.pack('7BI512s', 0, 0x51, 0x10, 5, 0, 0xD, 0x80, 0, '')
---
error
Traceback
On Nov 13, 2013, at 1:27 PM, superchromix wrote:
>
>
> hi all,
>
> I've been thinking about learning Python for scientific programming.. but all
> of these flame war type posts make the user community look pretty lame. How
> did all of these nice packages get written when most of the user i
On Nov 13, 2013 6:31 PM, "superchromix" wrote:
>
> I've been thinking about learning Python for scientific programming.. but
all of these flame war type posts make the user community look pretty lame.
How did all of these nice packages get written when most of the user
interaction is this??
http://ceylon-lang.org/documentation/1.0/introduction/
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Nov 13, 2013 at 12:27 PM, superchromix wrote:
>
>
> hi all,
>
> I've been thinking about learning Python for scientific programming.. but all
> of these flame war type posts make the user community look pretty lame. How
> did all of these nice packages get written when most of the user
On 13/11/2013 19:27, superchromix wrote:
hi all,
I've been thinking about learning Python for scientific programming.. but all
of these flame war type posts make the user community look pretty lame. How
did all of these nice packages get written when most of the user interaction is
th
On Wednesday 13/11/2013 at 12:31 pm, superchromix wrote:
hi all,
I've been thinking about learning Python for scientific programming..
but all of these flame war type posts make the user community look
pretty lame. How did all of these nice packages get written when most
of the user i
On Wednesday, November 13, 2013 1:31:49 PM UTC-5, krishna...@gmail.com wrote:
> Hello,
>
> I am trying to build a structure to be passed down to an I2C device driver.
> The driver expects a struct that has a data array of size 512 bytes among
> other things. This is my code -
>
> rd_wr
Hello,
I am trying to build a structure to be passed down to an I2C device driver. The
driver expects a struct that has a data array of size 512 bytes among other
things. This is my code -
rd_wr = 0x0 # Read operation
i2c_addr= addr
mux = mux_sel
multi_len
On Wednesday, November 13, 2013 1:27:39 PM UTC-5, superchromix wrote:
> hi all,
>
> I've been thinking about learning Python for scientific programming.. but all
> of these flame war type posts make the user community look pretty lame. How
> did all of these nice packages get written when most
hi all,
I've been thinking about learning Python for scientific programming.. but all
of these flame war type posts make the user community look pretty lame. How
did all of these nice packages get written when most of the user interaction is
this??
Can anyone tell me, is there another
Op 13-11-13 15:10, Ian Kelly schreef:
>> Well you can expect all you want. It is not going to happen. Your
>> expectations are completely unrealistic and the way you react will
>> be perceived by a number of people as just an attempt to getting those
>> that are frustrated silenced without much ca
> Looks like your "e"... Is that the key field?
Yes, you are right 'e' is the key. And rest of them are data.
>AND the order of the items is "o" before "i"
>-- that doesn't seem to match your C struct definition.
Sorry, I was testing the bdb and while doing that I noticed,
c-struct order is not
On Wed, Nov 13, 2013 at 5:38 PM, Ferrous Cranus wrote:
> Στις 13/11/2013 6:13 μμ, ο/η Steven D'Aprano έγραψε:
>
>
>>> and also is there a way to call it like #!/usr/bin/python
>>
>>
>> Of course there is, but only if you wish to break your system. The OS
>> will be expecting /usr/bin/python to be
On Wednesday, November 13, 2013 11:38:53 AM UTC-5, Ferrous Cranus wrote:
> Στις 13/11/2013 6:13 μμ, ο/η Steven D'Aprano έγραψε:
>
> >> and also is there a way to call it like #!/usr/bin/python
> >
> > Of course there is, but only if you wish to break your system. The OS
> > will be expecting /usr/
On 13/11/2013 16:42, Matt Graves wrote:
On Wednesday, November 13, 2013 11:32:24 AM UTC-5, Mark Lawrence wrote:
On 13/11/2013 16:12, Matt Graves wrote:
I'm using the jabberbot library and there is not a whole lot of documentation
on it. Does anyone have experience with this library?
[
On Wednesday, November 13, 2013 11:32:24 AM UTC-5, Mark Lawrence wrote:
> On 13/11/2013 16:12, Matt Graves wrote:
>
> > I'm using the jabberbot library and there is not a whole lot of
> > documentation on it. Does anyone have experience with this library?
>
> >
>
>
>
> [snip code from http://
Στις 13/11/2013 6:13 μμ, ο/η Steven D'Aprano έγραψε:
and also is there a way to call it like #!/usr/bin/python
Of course there is, but only if you wish to break your system. The OS
will be expecting /usr/bin/python to be Python 2. Leave it be.
Okey i will leave it be although i dislike the i
On 13/11/2013 16:12, Matt Graves wrote:
I'm using the jabberbot library and there is not a whole lot of documentation
on it. Does anyone have experience with this library?
[snip code from http://thp.io/2007/python-jabberbot/]
I cannot figure out how I would have it simulate a conversation.
On Wed, 13 Nov 2013 16:17:22 +0200, Ferrous Cranus wrote:
> $ mkdir temp
> $ cd temp
> $ wget http://www.python.org/ftp/python/3.4/Python-3.4.tar.bz2 $ tar
> -xjvf Python-3.4.tar.bz2
> $ cd Python-3.3.2
> $ ./configure
> $ make && make test
> $ su
> # make install
> # exit
> $ $ cd ../ && rm -rf P
1 - 100 of 124 matches
Mail list logo