OKB (not okblacke) wrote:
Stef Mientki wrote:
import Module1
d:\data_python_25\pylab_works\module1.py(3)()
-> print "hello"
(Pdb)
Then we know if PDB is really the culprit.
So pdb is the problem.
Yep, it does the same
I found a partial workaround that is good enough for me:
def Get_Windows_Filename ( FileName ) :
if os.name == 'nt' :
File = os.path.splitext ( FileName .lower ())[0]
return glob.glob ( File + '.p?' )
return FileName
This will translate the filename into the correct case, but not the pat
Fredrik Lundh wrote:
Stef Mientki wrote:
> 1. I've a multitab editor.
> 2. When a breakpoint is reached,
> 3. I check if the file specified in pdb output, is already open in one
> of the editor tabs,
> 4. if not, I open a new tab with the correct file,
> 5. I focus the
task fast ?
If it indeed only concerns py-files,
is there another way of searching words ?
( I could imagine that such a "py-only-search" would have benefits,
because you could set a flag to see the words in comment yes or no )
thanks,
Stef Mientki
Het UMC St Radboud staat geregistree
Steven D'Aprano wrote:
On Fri, 26 Sep 2008 01:46:15 +0200, Stef Mientki wrote:
Secondly thoughtless copying of current behavior, doesn't bring any
progress,
and I think that's one of the reasons why we're still burdened by
inventions done 20 years ago,
e.g. "do you
Mike Driscoll wrote:
On Sep 26, 8:35 am, Stef Mientki <[EMAIL PROTECTED]> wrote:
hello,
I want to search multiple textfiles (python source files) for a specific
word.
I can find all files, open them and do a search,
but I guess that will be rather slow.
I couldn't find a
as an option,
but if I leave the second line out, marker "<<<===" ,
I get no results.
Can someone explain this behavior and
maybe even have
Lawrence D'Oliveiro wrote:
In message <[EMAIL PROTECTED]>, Stef
Mientki wrote:
- Pyscripter 110 sec ( PyScripter is the default IDE I use now)
- Delphi 20 .. 35 sec
- Findstr 4 sec
What order did you try try them in? Did you try each one more than once, in
different orde
hello,
I'm not familiar with inspect,
but I get an error (see below) in
getmembers ( wx )
Of course this is bug in wx .
But would you also call this a bug in inspect ?
(inspect crashes and doesn't continue with th rest of the code, nor it
returns the already gathered data)
thanks,
Stef
>>
Gabriel Genellina wrote:
En Sun, 28 Sep 2008 19:25:30 -0300, Stef Mientki
<[EMAIL PROTECTED]> escribió:
I'm trying to implement autocompletion into my editor.
But I find some weird behavior,
or at least I don't have the faintest idea why this behavior occures,
and even more
Gabriel Genellina wrote:
En Tue, 30 Sep 2008 14:57:55 -0300, Stef Mientki
<[EMAIL PROTECTED]> escribió:
I'm not familiar with inspect,
but I get an error (see below) in
getmembers ( wx )
Of course this is bug in wx .
Yes.
But would you also call this a bug in inspect ?
(insp
Gabriel Genellina wrote:
En Tue, 30 Sep 2008 16:06:07 -0300, Stef Mientki
<[EMAIL PROTECTED]> escribió:
Gabriel Genellina wrote:
En Sun, 28 Sep 2008 19:25:30 -0300, Stef Mientki
<[EMAIL PROTECTED]> escribió:
I'm trying to implement autocompletion into my editor.
But
Terry Reedy wrote:
Stef Mientki wrote:
print getmembers ( wx )
crashes
but not always:
>>> print getmembers (wx)
[('ACCEL_ALT', 1), ('ACCEL_CMD', 2), ('ACCEL_CTRL', 2),
('ACCEL_NORMAL', 0), ('ACCEL_SHIFT', 4), ('ADJUST_MIN
Jason Scheirer wrote:
On Oct 1, 9:53 am, [EMAIL PROTECTED] wrote:
Hi everyone,
After having used Python on Linux for some time, I now have to do
Python coding on Windows. I am big fan of the interactive Python shell
to test, eg, regexps.
Is there an interactive Python shell on Windows that
Hello,
I've 2 questions about python help files:
1. how can I launch the windows help file (CHM), from python with a
keyword as argument ?
2. now when my program should also run under Linux/Mac, how should I
call the help file under Linux/Mac.
Going to the website for the help informati
hello,
how can I determine the location of the Python installation under winXP
/ Linux,
with a Python program ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Timothy Grant wrote:
On Thu, Oct 2, 2008 at 12:16 PM, Stef Mientki <[EMAIL PROTECTED]> wrote:
hello,
how can I determine the location of the Python installation under winXP /
Linux,
with a Python program ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/pytho
Martin v. Löwis wrote:
1. how can I launch the windows help file (CHM), from python with a
keyword as argument ?
Run hh.exe. If you want it to navigate to specific page, also pass that
page on the command line (finding out the exact syntax is left as an
exercise)
That's one way,
in t
hello,
for a general debug routine,
written in some module.
I want to write the information to a file,
with name derived from the main python file.
Is it possible to get the name of the python script started first ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Gary M. Josack wrote:
Stef Mientki wrote:
hello,
for a general debug routine,
written in some module.
I want to write the information to a file,
with name derived from the main python file.
Is it possible to get the name of the python script started first ?
thanks,
Stef Mientki
--
http
xkenneth wrote:
All,
I've posted some slides on my blog (xkenneth.blogspot.com)
detailing some simple ways to describe GUI apps in python. Please let
me know what you think.
Did you look at the pdf file,
to me a lot of information is missing :-(
cheers,
Stef Mientki
Regards,
Ke
Necronymouse wrote:
Hello, I am learning python for about 2 years and I am bored. Not with
python but I have a little problem, when i want to write something I
realise that somebody had alredy written it! So i don´t want to make a
copy of something but i wanna get better in python skills. Don´t y
John Bokma wrote:
Stef Mientki wrote:
There's also a Python site, were projects are submitted that needs
something ( some even pay a little),
but I can't remember where it is :-(
OP: A Python program to find it :D
that was the mind mapper I mentioned :-)
Floris Bruynooghe wrote:
On Nov 30, 11:52 pm, Stef Mientki wrote:
Well I thought that after 2 years you would know every detail of a
language ;-)
Ouch, I must be especially stupid then!
;-)
Sorry if I insulted you Floris!
btw, I'm too still learning Python after I star
d. Will give it a go.
\d
please let us know when you find more information about the project.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
hello,
I just upgraded from Python 2.5 to 2.6.
Most of the things work,
but I'm struggling with one issue,
when I start Python in a command window,
it still uses Python 2.5.
Is there a way to get Python 2.6 as my default Python environment ?
thanks,
Stef Mientki
--
http://mail.pytho
Steve Holden wrote:
Stef Mientki wrote:
hello,
I just upgraded from Python 2.5 to 2.6.
Most of the things work,
but I'm struggling with one issue,
when I start Python in a command window,
it still uses Python 2.5.
Is there a way to get Python 2.6 as my default Python environment ?
t
2.6.2,
but the python and pythonw are still 2.6.4.
Why is that so ??
Now assume that a number of packages (because compiled with 2.6.4) will
not work correctly with 2.6.2.
Is that correct ?
So the best way would be to reinstall everything ??
thanks,
Stef Mientki
--
http://mail.python.o
Benjamin Kaplan wrote:
On Sun, Dec 20, 2009 at 9:26 AM, Stef Mientki wrote:
hello,
I've just upgraded my system from Python 2.5 to 2.6.4,
and installed the latest packages of a lot of libraries.
Now one essential package (VPython) only works with Python 2.6.2.
I tried to install P
So I guess this is a reasonable approach,
and all libraries should work well,
unless one of these libraries has a work around for one of the bugs
fixed between 2.6.2 and 2.6.4.
Let VPython people know about this problem. People should be able to
run it on the latest patched 2.6.
Well thi
he class is definied
- the attributes, split in inherited / created / overriden
- the methodes, split in inherited / created / overriden
- the files were instances of the class are created
- and probably I forget a few
any suggestions ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
ith the username with the
highest authorization.
So the question remains:
Is it possible to create a Python Desktop application,
with user authorization, based on the login of the user ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Tim Golden wrote:
Steven D'Aprano wrote:
On Sun, 27 Sep 2009 16:11:52 +0200, Stef Mientki wrote:
I've a Python desktop application, running under Widows, that stores
the
data in a central SQLite database.
Depending on the user login on the system, some of the data from the
d
like MadExcept for Delphi
http://www.madshi.net/madExceptDescription.htm
which catches any error,
send an email with the error report and complete system analysis to the
author,
and continues the program (if possible)
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Stef Mientki wrote:
like MadExcept for Delphi
http://www.madshi.net/madExceptDescription.htm
which catches any error,
send an email with the error report and complete system analysis to
the author,
and continues the program (if possible)
thanks,
Stef
apparently there isn't any such
garantee that it will work always:
by converting the encrypted buffer with base64.encode:
SQL += ",'" + base64.encodestring(EnCrypt_1 ( str ( item )))+ "'"
Will this method work always ?
Are there better methods ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
bukzor wrote:
I would assume that putting scripts into a folder with the aim of re-
using pieces of them would be called a package, but since this is an
"anti-pattern" according to Guido, apparently I'm wrong-headed here.
(Reference: http://mail.python.org/pipermail/python-3000/2007-April/006793.
Steven D'Aprano wrote:
On Sat, 03 Oct 2009 10:24:13 +0200, Stef Mientki wrote:
I still don't use (because I don't fully understand them) packages, but
by trial and error I found a reasonable good working solution, with the
following specifications
I find that fascinati
ecome negative numbers
(I'm interested in the age of living people, so that would suffice).
Is there a general solution, (other library)
or would it be better to handle all dates in the Delphi format (number
of days since 1-1-1900
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Stephen Hansen wrote:
On Mon, Oct 5, 2009 at 4:54 PM, Stef Mientki <mailto:stef.mien...@gmail.com>> wrote:
hello,
I want to handle datetime vars in a general way, so I use the
default time-format,
so I can use the standard cinversion procedures.
Personally, I love mx
Heikki Toivonen wrote:
Mike Driscoll wrote:
EVP.Cipher(alg="aes_256_ecb", key=SomeKey, iv=SomeIV, op=dec,
padding=False)
I don't really see where I pass the data that needs the decrypting
though. Can someone shed some light on this?
Look at test_AES method in
http://svn.osafoundation.
Stephen Hansen wrote:
Personally, while /users/ may write a date in a lazy way like
"01-01-53", I'd never store that and would avoid having them enter
them directly. At the UI level I'd validate and normalize it to a
standard format before storing it.
yes I agree, but the data is coming fr
#x27;ve currently switched to Popen, but can't get output / error piping
working fluently.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
thanks Carl,
in the mean while I found a good working solution thorugh wx.Execute.
cheers,
Stef
Carl Banks wrote:
On Oct 9, 11:15 am, Stef Mientki wrote:
hello,
I'm working on a kind of IDE, to build and distribute Python programs.
One of the parts is editing a build file for py2ex
hello,
I always thought code in a module was only executed once,
but doesn't seem to be true.
I'm using Python 2.5.
And this is the example:
== A.py ==
My_List = []
== B.py ==
from A import *
My_List.append ( 3 )
print 'B', My_List
import C
== C.py ==
from A import *
from B import *
print 'C
DE
(PyScripter), (never seeing the m-switch),
I never was aware of this important difference.
A quick Googling on "python module vs script" doesn't reveal many (good)
links,
the best one I found is
http://effbot.org/zone/import-confusion.htm
thanks again,
Stef Mientki
Stephen Hans
7;One time import code'
def functional_code () :
print 'Functional Code'
any comment ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Stephen Hansen wrote:
On Sun, Oct 11, 2009 at 10:50 AM, Stef Mientki <mailto:stef.mien...@gmail.com>> wrote:
[...]
In languages like Delphi, you get an error message, trying to use
circular references,
but solving them in large programs with a lot of history can be
Gabriel Genellina wrote:
En Sun, 11 Oct 2009 14:50:31 -0300, Stef Mientki
escribió:
I do agree that circular references should preferable be avoided.
In languages like Delphi, you get an error message, trying to use
circular references,
but solving them in large programs with a lot of
undant information is to perform self healing (or call it error
correction), and here we have a catch-22.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
only valid reason for
redundant information is to perform self healing (or call it error
correction), and here we have a catch-22.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Stephen Hansen wrote:
On Mon, Oct 12, 2009 at 4:15 PM, Stef Mientki <mailto:stef.mien...@gmail.com>> wrote:
Hierarchical choices are done on todays knowledge, tomorrow we
might have different views and want/need to arrange things in
another way.
An otter may become
128)
How should I write such a string to a file ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Stephen Hansen wrote:
On Thu, Oct 15, 2009 at 4:43 PM, Stef Mientki <mailto:stef.mien...@gmail.com>> wrote:
hello,
By writing the following unicode string (I hope it can be send on
this mailing list)
Bücken
to a file
fh.write ( line )
I get the
Stephen Hansen wrote:
although this is a very good explanation,
and showing character encoding isn't that easy ;-)
thanks very much !
Wasn't aware of the SQLite pragma.
also thanks to the others who replied.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
hello,
As someone else already said,
"every time I think : now I understand it completely, and a few weeks
later ..."
Form the thread "how to write a unicode string to a file ?"
and my specific situation:
- reading data from Excel, Delphi and other Windows programs and unicode
Python
- usin
ap protocol and it's usage, I couldn't get anything working.
So could someone tell me what libraries I need to perform a SOAP query ?
Is there a 5-line (Dive into Python had a 4-line example ;-) that can
show the SOAP query is working ?
(btw I use Python 2.5 on Windows if that matters)
KillSwitch wrote:
I have python successfully embedded in a program I wrote.
What files do I need and where do I need to put them so that it can
run on systems that don't have python installed?
I embed python in Delphi apps, and the only thing I add is python24.dll,
which I put in the same di
KillSwitch wrote:
I have python successfully embedded in a program I wrote.
What files do I need and where do I need to put them so that it can
run on systems that don't have python installed?
I embed python in Delphi apps, and the only thing I add is python24.dll,
which I put in the same di
Robert Kern wrote:
On 2009-10-30 12:19 PM, kj wrote:
How can a module determine the path of the file that defines it?
(Note that this is, in the general case, different from sys.argv[0].)
__file__
but for modules launched with execfile, __file__ doesn't exists.
cheers,
Stef
--
http://mail.p
Robert Kern wrote:
On 2009-10-30 18:40 PM, Stef Mientki wrote:
Robert Kern wrote:
On 2009-10-30 12:19 PM, kj wrote:
How can a module determine the path of the file that defines it?
(Note that this is, in the general case, different from sys.argv[0].)
__file__
but for modules launched with
ot; ])
Does anyone have a clue, why starting a process takes 20 seconds longer
when ran from Python ?
And even more important, is there a work around ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel Genellina wrote:
En Fri, 06 Nov 2009 18:33:37 -0300, Stef Mientki
escribió:
I get an error compiling with pyjamas, in the standard module
imputil, _import_top_module
Note that imputil is undocumented in 2.5, deprecated in 2.6 and
definitively gone in 3.0
AttributeError
Simon Hibbs wrote:
On 18 Nov, 07:51, sturlamolden wrote:
GPL
PyQT is GPL for now, but Qt itself is available under the LGPL as is
PySide. Eventualy PySide, which tracks the PyQT API, will supplant it
and the issue will be moot. For now it can be a problem, but PyQT
developer licenses
rudra wrote:
Dear friends,
I am very new in python. Actually, I think I will not do much python
then using it to plotting data. I have not done any "real" thing in
python, so plz be easy. Now , the problem
I have a data set:
0.0 0.0 0.1
0.0 0.1 0.1
0.1 0.0 0.5
like that! the first two column are
es of code.
cheers,
Stef
Shawn
On Nov 18, 5:11 pm, Stef Mientki wrote:
Wouldn't it be nice
if each fan of some form of GUI-package,
would post it's code (and resulting images) for generating one or two
standard GUI-forms ?
--
http://mail.python.org/mailman/listinfo/python-list
hink I need a way to translate that into the string r"\xf3"
but I can't find a way to accomplish that.
a
Any suggestions are very welcome.
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
> Yes, it certainly does. Not that you'll get many Pythonistas to confess
> to that fact. Somehow those who brag about the readability and
> expressiveness of source code just cannot admit that:
>
> class.method(sting name, int count)
>
> - is *obviously* more expressive than -
>
> class.method(n
Finally I develop a feeling that strong instrumentation / tools can
> bring us the best of two worlds. That I am dreaming on is an absolute
> new type/class of IDE suitable for Python and potentially for other
> dynamic-type languages. Instead of current text-oriented IDEs, it
> should be a databa
On 03-02-2010 16:48, Vladimir Ignatov wrote:
I don't see what the advantage of the use of a database is in a fairly
linear hierarchical structure like python objects and modules.
Imagine simple operation like "method renaming" in a simple "dumb"
environment like text editor + grep. Now ima
On 03-02-2010 18:21, Vladimir Ignatov wrote:
Imagine simple operation like "method renaming" in a simple "dumb"
environment like text editor + grep. Now imagine how simple it can be
if system "knows" all your identifiers and just regenerates relevant
portions of text from internal database-alike
On 10-02-2010 00:09, Alf P. Steinbach wrote:
* David Robinow:
On Tue, Feb 9, 2010 at 5:10 PM, Simon Brunning
wrote:
On 9 February 2010 16:29, Robert Kern wrote:
On 2010-02-09 09:37 AM, Daniel Fetchinson wrote:
If the code base stabilizes in a production version after losing the
alphas and b
hello,
I would like my program to continue on the next line after an uncaught
exception,
is that possible ?
thanks
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
On 21-02-2010 03:51, Ryan Kelly wrote:
On Sun, 2010-02-21 at 13:17 +1100, Lie Ryan wrote:
On 02/21/10 12:02, Stef Mientki wrote:
On 21-02-2010 01:21, Lie Ryan wrote:
On Sun, Feb 21, 2010 at 12:52 AM, Stef Mientki
wrote:
hello,
I would like
now yet how), and cookies
are sent parallel to the post message.
On the server site I can use a small php script, that stores the
post-data, cookies and/or send's a (long) email.
are there better options ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
On 23-02-2010 15:21, Thomas wrote:
On Feb 22, 9:27 pm, MRAB wrote:
Stef Mientki wrote:
hello,
in my python desktop applications,
I'ld like to implement a crash reporter.
By redirecting the sys.excepthook,
I can detect a crash and collect the necessary data.
Now I
On 09-03-2010 18:02, Alf P. Steinbach wrote:
* C. Benson Manica:
Hours of Googling has not helped me resolve a seemingly simple
question - Given a string s, how can I tell whether it's ascii (and
thus 1 byte per character) or UTF-8 (and two bytes per character)?
This is python 2.4.3, so I don't
On 09-03-2010 18:36, Robert Kern wrote:
On 2010-03-09 11:12 AM, Stef Mientki wrote:
On 09-03-2010 18:02, Alf P. Steinbach wrote:
* C. Benson Manica:
Hours of Googling has not helped me resolve a seemingly simple
question - Given a string s, how can I tell whether it's ascii (and
thus 1
On 11-03-2010 19:38, Ludolph wrote:
Hi Guys
At work I have been exposed to a Agile Platform called OutSystems. It
allows you to visually program your web applications
http://i.imgur.com/r2F0i.png and I find the idea very intriguing.
Although not as low level as you want,
http://mientki.ruh
On 23-03-2010 17:55, Jose Manuel wrote:
I have been learning Python, and it is amazing I am using the
tutorial that comes with the official distribution.
At the end my goal is to develop applied mathematic in engineering
applications to be published on the Web, specially on app. oriented to
-)
When you've a goal and a global scope, you can find the right tools: language
(Python of course),
IDE, framework, etc.
cheers,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
On 20-11-2010 23:40, Shel wrote:
> Hello,
>
> I am pretty new to all this. I have some coding experience, and am
> currently most comfortable with Python. I also have database design
> experience with MS Access, and have just created my first mySQL db.
>
> So right now I have a mySQL db structure
On 04-12-2010 23:42, Jorge Biquez wrote:
> Hello all.
>
> Newbie question. Sorry.
>
> As part of my process to learn python I am working on two personal
> applications. Both will do it
> fine with a simple structure of data stored in files. I now there are lot of
> databases around I
> can use bu
hello,
I would like to know if a class definition has a decorator,
is that possible ?
And if so, is it possible to determine the name of these decorator(s) ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
On 06-12-2010 12:08, Ben Finney wrote:
> Stef Mientki writes:
>
>> I would like to know if a class definition has a decorator,
> I'm not sure what this question means.
>
> Applying a decorator to a class definition produces a normal class.
>
> Classes don
On 06-12-2010 16:04, Jean-Michel Pichavant wrote:
> Stef Mientki wrote:
>> On 06-12-2010 12:08, Ben Finney wrote:
>>> Stef Mientki writes:
>>>
>>>
>>>> I would like to know if a class definition has a decorator,
>>>>
&
On 04-12-2010 15:54, hid...@gmail.com wrote:
> I am working on a tool that can create an application like that without write
> server code, but the
> system is write in Python3.1
very interesting, could you give us some more information about the project
for the OP:
with web2py, your site could
On 11-12-2010 17:24, Martin Kaspar wrote:
> Hello commnity
>
> i am new to Python and to Beatiful Soup also!
> It is told to be a great tool to parse and extract content. So here i
> am...:
>
> I want to take the content of a -tag of a table in a html
> document. For example, i have this table
>
>
I've no opinion.
>> I'm just struggling with BeautifulSoup myself, finding it one of the
>> toughest libs I've seen ;-)
>
> Really? While I'm by no means an expert, I find it very easy to work with.
> It's very well
> structured IMHO.
I think the cause lies in the documentation.
The PySide docume
<http://pypi.python.org/pypi/cloudooo/1.0.9> for instance is Python 2.6
> and uses PyUNO.
>
> I would strongly recommend against floundering about in OOo's very
> complex XML files - it is trivially easy to render a document unusable.
>
looks great,
but is there somet
locals()['btn_Matlab']
>
but if I try to print the button (at exactly the same location), I get an error
print btn_Matlab
NameError: global name 'btn_Matlab' is not defined ?
Why isn't the compiler first checking the local namespace ?
any clues ?
thanks,
On 28-12-2010 15:15, Steven D'Aprano wrote:
> On Tue, 28 Dec 2010 14:34:19 +0100, Stef Mientki wrote:
>
>> hello,
>>
>> Never seen this before and I've no explanation whatsoever (Python 2.6)
>>
>> I've some dynamic generated code,
>> on
On 30-12-2010 02:03, rantingrick wrote:
> On Dec 29, 6:41 pm, Gerry Reno wrote:
>> wxPython looks good but I don't see anyone developing support for things
>> like smartphones.
> No wx is not the answer to our problems
Just partial ;-)
Why not write a (Pythonic) wrapper and choose what will be un
> As to choice between Python and PHP, I would say learn anything but PHP.
> Even Perl has fewer tentacles than PHP.
type this in a form field
2.2250738585072011e-308
http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/
cheers,
Stef
--
http://mail.python.org/ma
considered to use Python execnet-module to realize
a simple SLQlite
client / server application.
If I look at the documentation of execnet,
(and I realize that I'm a great optimist)
it would take between 20 and 50 lines of Python code.
thanks very much for your opinions.
cheers,
Stef Mi
hello,
AFAIK there's no case insensitive list in Python.
By case insentive I mean that that sort and memebr of is case insensitive.
Does soeone has a implementation of sucha case insensitive list ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
On 05-04-2010 19:23, Robert Kern wrote:
> On 2010-04-05 12:17 PM, Stef Mientki wrote:
>> hello,
>>
>> AFAIK there's no case insensitive list in Python.
>> By case insentive I mean that that sort and memebr of is case
>> insensitive.
>>
>> Does soe
27;,my)
3 4 12
>>> for item in my :
... if item not in my2 :
... print item
...
__builtins__
A
C
B
But this doesn't work, if I use a not yet definied variable (like "In"
in the example above).
Are there better ways ?
Or even better are there programs or libraries that can perfom such a
translation ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
gs, should be entered without the quotes, so these strings will
be defined as names
Now the code below seems to fulfill these wishes (in real life, the number
of dummy procedures is about 40),
but I always wonder if there's an easier way to achieve the same effect.
thanks,
Stef Mientki
d
With the following code, I would expect a result of 5 !!
>>> a= 'word1 word2 word3'
>>> a.rfind(' ',7)
11
Is this a bug ?
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
501 - 600 of 669 matches
Mail list logo