"walterbyrd" <[EMAIL PROTECTED]> wrote:
> Anything else? Finance? Web-analytics? SEO? Digital art?
Industrial control and alarm annunciation
- Hendrik
--
http://mail.python.org/mailman/listinfo/python-list
On 5 Jun., 01:32, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Mon, 04 Jun 2007 11:58:38 -0300, <[EMAIL PROTECTED]> escribió:
>
>
>
>
>
> > Onwards to the problem, I have been having difficulty embedding a
> > python module into my C/C++ program. (just a test program before
> > moving on int
luis wrote:
> I'm using ctypes to call a fortran dll from python. I have no problems
> passing integer and double arryas, but I have an error with str arrys.
> For example:
[snip]
I do not know about Microsoft Fortran compilers (your mention
of dll indicates you are probably using MS), nor much ab
On Jun 2, 10:59 pm, Mark Carter <[EMAIL PROTECTED]> wrote:
> Josiah Carlson wrote:
> > Mark Carter wrote:
> >> Not that I'm particularly knowledgeable about language design issues,
> >> but maybe closures and slightly different scoping rules would be nice.
>
> > Python has had closures for years.
>
"Joe Salmeri" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|I have tried (unsuccessfully) to get you to view things from the end user
| perspective.
But that perspective is not directly relevant to *your* topic line. When
you make a claim that os.stat is 'broken' and bugged, you
On Jun 4, 8:16 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Jun 4, 3:52 pm, yuce <[EMAIL PROTECTED]> wrote:
>
> > i think this one works pretty nice:http://www.python.org/pypi/xlrd
>
> Sure does :-) However the "rd" in "xlrd" is short for "ReaD". As
> Waldemar suggested, "xlwt" ("wt" as in WriTe
Copyright, Michael P. Soulier, 2006.
About Release 0.4.2:
Bugfix release for some small installation issues with earlier Python
releases.
About Release 0.4.1:
Bugfix release to fix the installation path, with some restructuring
into a
tftpy package from t
On Jun 4, 3:51 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Mon, 04 Jun 2007 14:23:00 -0300, <[EMAIL PROTECTED]> escribió:
>
> > Is there a function or idoim for returning an exception/traceback
> > rather than just printing it to stdout? I'm running a deamon where
> > stdout is going t
--- MRAB <[EMAIL PROTECTED]> wrote:
> Instead of having many different Pythons for many
> different languages,
> how about one for a language like Esperanto?
>
> http://en.wikipedia.org/wiki/Esperanto
>
> That could be the language for the standard
> libraries instead of
> English.
>
English b
my guess its your path. I'm not familiar with IDLE but if you try getting
the properties of IDLE, chances are its got the patch set up correctly.
in DOS you can try this to see what your path is:
echo "My path is %PATH%"
- Original Message -
From: "Jakob Svavar Bjarnason" <[EMAIL PROT
Hi, I am trying to find a way to figure out whether a certain remote
filesystem is mounted using tcp vs. udp in Python. I've looked at the
statvfs call and module but they don't give me anything useful (the
F_FLAGS field for both a tcp and a udp filesystem is the same.
I could, of course, get the
On Apr 10, 10:26 pm, c james <[EMAIL PROTECTED]> wrote:
> Take a look at Trac. This might give you some ideas.
>
> http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture
Thanks cJames, that's exactly what I'm looking for.
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 5, 12:03 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]>, MRAB wrote:
> > Instead of having many different Pythons for many different languages,
> > how about one for a language like Esperanto?
>
> >http://en.wikipedia.org/wiki/Esperanto
>
> > That could be t
Matias Surdi wrote:
> Steve Holden escribió:
>
>> Matias Surdi wrote:
>>> Thanks for your reply.
>>>
>>> This is the code that creates the file:
>>> lock_file = open(".lock","w")
>>> lock_file.write("test")
>>> lock_file.close()
>>> #Change permissions so that CGI can write lock file
>>> os.chmod(
Great! It works.
Thanks a lot.
--
http://mail.python.org/mailman/listinfo/python-list
I have tried (unsuccessfully) to get you to view things from the end user
perspective.
I wish that you would consider looking at what the end user sees because
that is what really matters.
Without end users we would not need to develop software would we?
This entire conversation was VERY nicel
En Mon, 04 Jun 2007 20:03:39 -0300, mike <[EMAIL PROTECTED]> escribió:
> I've researched python pretty much but still have no idea how to print
> out each single character from a string in HEX format? Hope someone
> can give me some hints. Thanks a lot.
>
> e.g.###here is a string
>
>
On Jun 4, 2:37 pm, walterbyrd <[EMAIL PROTECTED]> wrote:
I am using python for csound.. You can use it inside of csound as
well as using it on csound files... python makes text files very
easy... I have to say that the price was very good and that is very
important because I don't get funding fr
En Mon, 04 Jun 2007 11:58:38 -0300, <[EMAIL PROTECTED]> escribió:
> Onwards to the problem, I have been having difficulty embedding a
> python module into my C/C++ program. (just a test program before
> moving on into the real thing). I have been making test runs using the
> codes from http://docs
Thanks you Matimus.
That's exactly what I'm looking for!
Easy, clean and customizable.
I love python :)
On 6/5/07, Matimus <[EMAIL PROTECTED]> wrote:
> On Jun 4, 6:31 am, "js " <[EMAIL PROTECTED]> wrote:
> > Hi list.
> >
> > If I'm not mistaken, in python, there's no standard library to convert
>
walterbyrd wrote:
> I mean other than sysadmins, programmers, and web-site developers?
>
> I have heard of some DBAs who use a lot of python.
>
> I suppose some scientists. I think python is used in bioinformatics. I
> think some math and physics people use python.
>
> I suppose some people use
snip...
Slight off-topic fix for anyone whose search comes here:
Recommend to patch ESRI application to newest update.
You might also see error message: OLE error 0x80040212
http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=30524
gp.SetProduct("ArcView") is fix
guys,
I've researched python pretty much but still have no idea how to print
out each single character from a string in HEX format? Hope someone
can give me some hints. Thanks a lot.
e.g.###here is a string
a='01234'
###how to print out it out in this way
0x31
In <[EMAIL PROTECTED]>, MRAB wrote:
> Instead of having many different Pythons for many different languages,
> how about one for a language like Esperanto?
>
> http://en.wikipedia.org/wiki/Esperanto
>
> That could be the language for the standard libraries instead of
> English.
Esperanto remind
En Sun, 03 Jun 2007 21:35:05 -0300, Alex Martelli <[EMAIL PROTECTED]> escribió:
>> My actual use case: I want to check if an object (instance of a class
>> that inherits from file) still uses the original write method or has
>> overriden it.
>
> I'd check for identity between type(o).write and fil
I went through my who undergrad experience without touching python
(I've hear of it, but never used it).
Now starting to work in an Research Lab Seismic processing of data, we
use it all the time! That and Madagascar pyton interface.
~code
--
http://mail.python.org/mailman/listinfo/python-li
En Mon, 04 Jun 2007 14:23:00 -0300, <[EMAIL PROTECTED]> escribió:
> Is there a function or idoim for returning an exception/traceback
> rather than just printing it to stdout? I'm running a deamon where
> stdout is going to /dev/null, and I'm not even watching it..until
> now. All the functions
> On Behalf Of Steve Howell
> Asia:
>
>Python should be *completely* internationalized for
> Mandarin, Japanese, and possibly Hindi and Korean.
> Not just identifiers. I'm talking the entire language,
> keywords and all.
I am a Japanese-to-English translator in my day job, and live in Jap
On Mon, 04 Jun 2007 22:19:35 +, Lenard Lindstrom wrote:
> What is "magic" about __init__ and __repr__? They are identifiers just
> like "foo" or "JustAnotherClass". They have no special meaning to the
> Python compiler. The leading and trailing double underscores represent
> no special inca
On Jun 4, 6:12 pm, Ross Ridge <[EMAIL PROTECTED]>
wrote:
> Ross Ridge wrote:
> > Translating keywords and standard identifiers into Chinese could make
> > learning Python even more difficult. It would probably make things
> > easier for new programmers, but I don't know if serious programmers woul
On Jun 4, 10:11 pm, Josiah Carlson <[EMAIL PROTECTED]>
wrote:
> However, locking isn't just for refcounts, it's to make sure that thread
> A isn't mangling your object while thread B is traversing it.
> With
> object locking (course via the GIL, or fine via object-specific locks),
> you get the
walterbyrd wrote:
> Anything else? Finance? Web-analytics? SEO? Digital art?
We're using Python for a computer-controlled railway simulation
system at a german university. It consists of a rather large model
railway network, constructed with realism concerning railway
operations, coupled to reali
per9000 wrote:
> Hi,
>
> I recently started working a lot more in python than I have done in
> the past. And I discovered something that totally removed the pretty
> pink clouds of beautifulness that had surrounded my previous python
> experiences: magic names (I felt almost as sad as when I disco
--- Josiah Carlson <[EMAIL PROTECTED]>
wrote:
> Steve Howell wrote:
> > I don't predict a huge upswing in Slavic-writing
> > Python programmers after PEP 3131, even among
> > children.
>
I slightly misspoke here. I meant to say children and
young adults, i.e. students up to early university
age
On Mon, 04 Jun 2007 12:37:10 -0700, walterbyrd <[EMAIL PROTECTED]> wrote:
>I mean other than sysadmins, programmers, and web-site developers?
>
>I have heard of some DBAs who use a lot of python.
>
>I suppose some scientists. I think python is used in bioinformatics. I
>think some math and physics
Sorry, forgot some valuable information. If you couldn't tell from the
traceback, the error will be thrown during the first executed query that the
program runs into (no matter what that query is).
Jough
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe
Sent: Mo
I still consider myself a newbie, and being new to the list I request that
you take it easy on me. ;)
We're running a RHEL LAMP server with the mod_python publisher interpreter.
The MySQLdb module seems to be giving me more problems than I had hoped for.
With a fresh restart of apache, all pro
On Jun 4, 10:11 pm, Josiah Carlson <[EMAIL PROTECTED]>
wrote:
> lock = threading.Lock()
>
> with lock:
> #synchronized block!
> pass
True, except that the lock has to be shared among the threads. This
explicit initiation of an reentrant lock is avoided in a Java
synchr
Carsten Haese wrote:
> On Mon, 2007-06-04 at 23:20 +0200, Wildemar Wildenburger wrote:
>
>> I guess it is commonplace to use i, j, k and n
>> (maybe others) in constructs like
>>
>> for i in range(len(data)):
>> do_stuff(data[i])
>>
>> Or should the good python hacker do that differently?
On Monday 04 June 2007 16:29, [EMAIL PROTECTED]
wrote:
> Hi,
> Is there a way to resize the width of the
> "tkMessageBox.askyesno" dialog box, so that the
> text does not wrap to the next line. Thanks
> Rahul
I don't know of any.
It's a little more work but your better off using
Toplevel and/or f
Wildemar Wildenburger wrote:
> [EMAIL PROTECTED] wrote:
>> On Jun 4, 12:20 am, Ninereeds <[EMAIL PROTECTED]> wrote:
>>
>>> First, for small loops with loop variables whose meaning is obvious
>>> from context, the most readable name is usually something like 'i' or
>>> 'j'.
>>>
>>
>> 'i' and
On Mon, 2007-06-04 at 23:20 +0200, Wildemar Wildenburger wrote:
> I guess it is commonplace to use i, j, k and n
> (maybe others) in constructs like
>
> for i in range(len(data)):
> do_stuff(data[i])
>
> Or should the good python hacker do that differently? Hope not ;).
That's a big, fat "
[EMAIL PROTECTED] wrote:
> On Jun 4, 12:20 am, Ninereeds <[EMAIL PROTECTED]> wrote:
>
>> First, for small loops with loop variables whose meaning is obvious
>> from context, the most readable name is usually something like 'i' or
>> 'j'.
>>
>
> 'i' and 'j' are the canonical names for for lo
Mark Carter wrote:
> A woman from a job agency 'phoned me up the other day, and asked me if I
> was any good with "algortihms". I told her that all programs are
> algorithms, so the question didn't make that much sense.
>
>
What does your "answer" have to do with the qustion, I wonder? She ask
Thomas Jollans wrote:
> Broadly speaking, everyone who uses python programs in it and may thus be
> considered a "programmer".
A woman from a job agency 'phoned me up the other day, and asked me if I
was any good with "algortihms". I told her that all programs are
algorithms, so the question
On Jun 4, 12:20 am, Ninereeds <[EMAIL PROTECTED]> wrote:
> On Jun 4, 5:03 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
>
> > for validanswer in validanswers:
> > if myAnswers.myanswer in myAnswers.validAnswers[validanswer]:
> > MyOptions['style'] = validanswer
>
> First, for small loop
On Jun 4, 4:36 pm, [EMAIL PROTECTED] wrote:
> On Jun 4, 9:57 am, chewie54 <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > Does anyone know of an example of wxPython source code that shows how
> > to put a python shell (interpreter) in a bottom window with a
> > graphical application in the top windo
walterbyrd wrote:
> Anything else? Finance? Web-analytics? SEO? Digital art?
I played with NodeBox a little while ago:
http://nodebox.net/code/index.php/Home
"NodeBox is a Mac OS X application that lets you create 2D visuals
(static, animated or interactive) using Python programming code and
ex
On Jun 4, 9:57 am, chewie54 <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Does anyone know of an example of wxPython source code that shows how
> to put a python shell (interpreter) in a bottom window with a
> graphical application in the top window?
>
> Thanks,
There's the pyCrust/pyShell examples in
I mean other than sysadmins, programmers, and web-site developers?
I have heard of some DBAs who use a lot of python.
I suppose some scientists. I think python is used in bioinformatics. I
think some math and physics people use python.
I suppose some people use python to learn "programming" i
Hi,
Is there a way to resize the width of the "tkMessageBox.askyesno"
dialog box, so that the text does not wrap to the next line.
Thanks
Rahul
--
http://mail.python.org/mailman/listinfo/python-list
I use it for processing GIS data (ALOT), building data harvesting apps
that slurp data into MySQL/SQLServer from text files (ALOT), batch
processing of daily mindless tasks like copying files and backups, and
filing/cataloging/EXIF-IPTC metadata editing on digital photos - to
name a few. I took Mar
Steve Howell wrote:
> I don't predict a huge upswing in Slavic-writing
> Python programmers after PEP 3131, even among
> children.
Are you predicting a sharp upswing in Chinese-writing (or any language)
Python programmers after PEP 3131 among children? If so, why certain
groups of children and
Joe Salmeri schrieb:
> There is a conflict with the answers that you and Terry have given.
No, there isn't. See some of my earlier replies: both windows and python
are correct, despite the fact they give different results.
When Windows renders a time stamp, it always uses the current UTC
offset.
sturlamolden wrote:
> On Jun 4, 3:10 am, Josiah Carlson <[EMAIL PROTECTED]>
> wrote:
>> From what I understand, the Java runtime uses fine-grained locking on
>> all objects. You just don't notice it because you don't need to write
>> the acquire()/release() calls. It is done for you. (in a simi
On Sat, 02 Jun 2007 17:41:01 +, Samuel wrote:
> I am trying to automate a telnet session (currently using Python's
> telnetlib) and would like to echo any response of the remote host to
> stdout, as soon as it arrives on telnetlib's open TCP socket.
For the records: Because I did not find any
"walterbyrd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>[...] programmers, and web-site developers?
Broadly speaking, everyone who uses python programs in it and may thus be
considered a "programmer". Python is a fully-fledged programming language
and as such used for loads of
On Jun 4, 3:37 pm, walterbyrd <[EMAIL PROTECTED]> wrote:
> I mean other than sysadmins, programmers, and web-site developers?
>
> I have heard of some DBAs who use a lot of python.
>
> I suppose some scientists. I think python is used in bioinformatics. I
> think some math and physics people use py
I'm a Technical Artist at a videogame developer. The TAs here are using
Python more and more for our development needs.
Although I'd say our primary use is on the tools and data-mining
front... only indirectly relating to creation of digital art. It's
closer to why a programmer or sysadmin would
On Jun 4, 12:23 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> Is there a function or idoim for returning an exception/traceback
> rather than just printing it to stdout? I'm running a deamon where
> stdout is going to /dev/null, and I'm not even watching it..until
> now. All the functions I found in tra
On 2007-06-04, walterbyrd <[EMAIL PROTECTED]> wrote:
> Anything else? Finance? Web-analytics? SEO? Digital art?
Electrical engineering. It's pretty handy for writing programs
to talk to embedded systems using various protocols/interface
(async-serial, ethernet, etc.). It's also good for analyzi
On Jun 4, 2:37 pm, walterbyrd <[EMAIL PROTECTED]> wrote:
> I mean other than sysadmins, programmers, and web-site developers?
>
> I have heard of some DBAs who use a lot of python.
>
> I suppose some scientists. I think python is used in bioinformatics. I
> think some math and physics people use py
I mean other than sysadmins, programmers, and web-site developers?
I have heard of some DBAs who use a lot of python.
I suppose some scientists. I think python is used in bioinformatics. I
think some math and physics people use python.
I suppose some people use python to learn "programming" in g
Versions:
Python 2.5.1 (r251:54863, May 14 2007, 10:50:04)
SWIG Version 1.3.20
Hello I have some code that wraps a C++ library so I may use it in
python. The code basically just gets some data and puts it in the
PyArrayObject* which is returned as a PyObject*.
I then call it from python like so:
"Warren Stringer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|> "Marc 'BlackJack' Rintsch" <[EMAIL PROTECTED]> wrote in message
| > news:[EMAIL PROTECTED]
| > || Warren Stringer wanted to call the functions just for the side
effects
| > | without interest in the return values.
On 2007-06-04, Viewer T. <[EMAIL PROTECTED]> wrote:
> Is there a python module anywhere out there that can plot straight
> line graphs, curves (quadratic, etc). If anyone knows where I can
> download one, please let me know.
gnuplot-py
matplotlib
--
Grant Edwards grante
Viewer T. wrote:
> Is there a python module anywhere out there that can plot straight
> line graphs, curves (quadratic, etc). If anyone knows where I can
> download one, please let me know.
http://matplotlib.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
I am embedding python 2.5 on embedded system running on RTOS where I
had strict memory constraints.
As python is a huge malloc intensive application, I observed huge
memory fragmentation in my system which is leading to out of memory
after running few scripts.
So I decided to re-initiali
I'm trying to pass xml into a cgi script and have some problems because I both
want to escape all my inputs (to avoid the possibility of an html injection
attack) and also allow my xml to be obtained in its original form.
I thought of this
from xml.sax.saxutils import escape as xmlEscape
class
On Jun 4, 12:47 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-06-04, Chris Mellon <[EMAIL PROTECTED]> wrote:
>
>
>
> >> Your opinions are noted, thank you, but I don't agree with
> >> you. There are portions of the code that are under review for
> >> patents and as such need to be protecte
olive schreef:
> Lol!
>
> What is a "sharp hair boss" ?
Pointy-haired boss, see http://en.wikipedia.org/wiki/Pointy_Haired_Boss
--
If I have been able to see further, it was only because I stood
on the shoulders of giants. -- Isaac Newton
Roel Schroeven
--
http://mail.python.org/mailman/list
Hello,
On Debian Etch, when I use the webbrowser.open module to launch
firefox with a url, it opens UNDER gnome terminal in the background.
If I just launch firefox from the commandline, it opens in the
foreground.
Any ideas about why? Is there a command option I'm missing.
Thanks,
Rick
--
h
Hi,
Is there a function or idoim for returning an exception/traceback
rather than just printing it to stdout? I'm running a deamon where
stdout is going to /dev/null, and I'm not even watching it..until
now. All the functions I found in traceback and sys seemed only to
print the error rather tha
Ross Ridge wrote:
> Translating keywords and standard identifiers into Chinese could make
> learning Python even more difficult. It would probably make things
> easier for new programmers, but I don't know if serious programmers would
> actually prefer programming using Chinese keywords. It would
On Jun 4, 6:31 am, "js " <[EMAIL PROTECTED]> wrote:
> Hi list.
>
> If I'm not mistaken, in python, there's no standard library to convert
> html entities, like & or > into their applicable characters.
>
> htmlentitydefs provides maps that helps this conversion,
> but it's not a function so you have
QOTW: "Stop thinking of three lines as 'extensive coding' and your problem
disappears immediately." - Steve Holden
"Hey, did you hear about the object-oriented version of COBOL? They call
it 'ADD ONE TO COBOL'." - Tim Roberts
EuroPython: Registration is open!
http://www.europyth
In article <[EMAIL PROTECTED]>,
Adam Atlas <[EMAIL PROTECTED]> wrote:
>As far as I know, there isn't a standard idiom to do this, but it's
>still a one-liner. Untested, but I think this should work:
>
>import re
>from htmlentitydefs import name2codepoint
>def htmlentitydecode(s):
>return re.su
Is there a python module anywhere out there that can plot straight
line graphs, curves (quadratic, etc). If anyone knows where I can
download one, please let me know.
--
http://mail.python.org/mailman/listinfo/python-list
--- olive <[EMAIL PROTECTED]> wrote:
> What is a "sharp hair boss" ?
>
"Sharp hair boss" came out from my translation into
French of "pointy-haired boss."
Wikipedia tells me I should have said "Boss a tête de
pioche."
Here are some links, if you've never had the pleasure
of reading Dilbert:
On 2007-06-04, Chris Mellon <[EMAIL PROTECTED]> wrote:
>> Your opinions are noted, thank you, but I don't agree with
>> you. There are portions of the code that are under review for
>> patents and as such need to be protected.
>
> For the record: This is not true. If you've already applied
> for t
On 6/4/07, chewie54 <[EMAIL PROTECTED]> wrote:
> On Jun 4, 10:58 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> > > Hello Diez,
> >
> > > I did look at PythonCad but the distribution and install methods for
> > > Windows is not user freindly. Since the public domain software, I
> > > don't th
Ross Ridge wrote:
> Translating keywords and standard identifiers into Chinese could make
> learning Python even more difficult. It would probably make things
> easier for new programmers, but I don't know if serious programmers would
> actually prefer programming using Chinese keywords. It would
Josiah Carlson wrote:
> I don't believe that there is a full list of all __magic__ methods. The
> operator module has a fairly extensive listing of functions that call
> such methods, but I know that some have been left out.
There IS a full documentation of this special methods::
http://doc
On Jun 4, 10:58 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> > Hello Diez,
>
> > I did look at PythonCad but the distribution and install methods for
> > Windows is not user freindly. Since the public domain software, I
> > don't think they protect the source code either.
>
> The subject of
"Adam Atlas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> As far as I know, there isn't a standard idiom to do this, but it's
> still a one-liner. Untested, but I think this should work:
>
> import re
> from htmlentitydefs import name2codepoint
> def htmlentitydecode(s):
>retu
In article <[EMAIL PROTECTED]>,
Adam Atlas <[EMAIL PROTECTED]> wrote:
>As far as I know, there isn't a standard idiom to do this, but it's
>still a one-liner. Untested, but I think this should work:
>
>import re
>from htmlentitydefs import name2codepoint
>def htmlentitydecode(s):
>return re.su
In article <[EMAIL PROTECTED]>,
ahlongxp <[EMAIL PROTECTED]> wrote:
.
.
.
>I'm a Chinese.
>Language/English is really a big problem for Chinese programmers.
>If python can be written in Chinese, it may become the most popul
> > http://docs.python.org/lib/module-pickle.html
> > ... concise Python ways of pickling and unpickling
> > the (0xFF ** N) possible ways of
> > packing N strings of byte lengths of 0..xFE together ...
Aye, looks like an exercise left open for the student to complete:
>>> pickle.dumps("")
"S''\n
Hans Terlouw wrote:
> When trying to wrap C code using Pyrex, I encountered a strange problem
> with a piece of pure Python code. I tried to isolate the problem. The
> following code causes Pyrex to generate C code which gcc cannot compile:
It works for me. Try posting your error messages and v
I'm new to pychecker. Some of my code generates the following
No class attribute (HWND) found
While HWND is not an attribute of the class, it IS an attribute of the
instance created (my class is one of several classes used to create
the new class). Can I use __pychecker__ to selectively supres
On 2007-06-04, chewie54 <[EMAIL PROTECTED]> wrote:
> 1) Can I use py2exe or pyinstaller to produce an executable
>for Linux, Windows, and Mac? If not, is there a way it can be
>done?
>
> 2) Is there any way to protect the source code, like obfuscation?
>
> 3) Memory footprint of applic
gmail.com> writes:
> It describes how to use mis-spelled words to force correct
> pronunciation as well as how to do it with XML.
>
> Mike
>
Thanks Mike. I had already read that article. I thought the mis-spelling and
XML are meant to deal with pronunciation of English words. Will it really
> Hello Diez,
>
> I did look at PythonCad but the distribution and install methods for
> Windows is not user freindly. Since the public domain software, I
> don't think they protect the source code either.
The subject of code obfuscation in python has been beaten to death quite a
few times on th
Hello,
first of all, I am a programming newbie, especially in python...
Onwards to the problem, I have been having difficulty embedding a
python module into my C/C++ program. (just a test program before
moving on into the real thing). I have been making test runs using the
codes from http://docs.
Hi all,
Does anyone know of an example of wxPython source code that shows how
to put a python shell (interpreter) in a bottom window with a
graphical application in the top window?
Thanks,
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
When trying to wrap C code using Pyrex, I encountered a strange problem with a
piece of pure Python code. I tried to isolate the problem. The following code
causes Pyrex to generate C code which gcc cannot compile:
class Axis:
axtype = "unknown type of axis"
def __init__(self):
Chuck Rhode wrote:
> samwyse wrote this on Mon, 04 Jun 2007 12:02:03 +. My reply is
> below.
>
>> I think it would be a good thing if a standardized interface
>> existed, similar to PEP 247. This would make it easier for one
>> script to access multiple types of archives, such as RAR, 7-Zip,
Steve Howell <[EMAIL PROTECTED]> wrote:
>I'm wondering if all the English keywords in Python
>would present too high a barrier for most Chinese
>people--def, if, while, for, sys, os, etc. So you
>might need to go even further than simply allowing
>identifiers to be written in Simplified-Chinese.
samwyse wrote this on Mon, 04 Jun 2007 12:02:03 +. My reply is
below.
> I think it would be a good thing if a standardized interface
> existed, similar to PEP 247. This would make it easier for one
> script to access multiple types of archives, such as RAR, 7-Zip,
> ISO, etc.
Gee, it would
On Jun 4, 1:52 pm, Gerard Flanagan <[EMAIL PROTECTED]> wrote:
> On Jun 2, 10:47 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jun 2, 10:19 am, Steve Howell <[EMAIL PROTECTED]> wrote:
>
> > > George Sakkis produced the following cookbook recipe,
> > > which addresses a common problem
1 - 100 of 168 matches
Mail list logo