Hi,
To know what it is? Click the website below -
http://myprofile127.blogspot.com
-
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
New to Python. Have some simple questions as a beginner.
1.) Are there any way to display all variable/function bindings in Python
Shell ?
2.) Are the any way to Search Python-list Archives before sending simple
question to the list ?
Regards,
Sanjaya Vitharana
--
Gerard Brunick wrote:
It seems the question is more about what does print do. Lets extend
your example:
d=unicode(Caf\xe9, Latin-1)
repr(d)
u'Caf\\xe9'
print d
Café
str(d)
Traceback (most recent call last):
File stdin, line 1, in module
UnicodeEncodeError: 'ascii' codec can't
Grant Edwards wrote:
It may be obvious that he has a question. It's not the least
bit obvious what that question is.
How can we efficiently implement an abstract data type, call it
'DoubleDict', where the state of a DoubleDict is a binary
relation, that is, a set of pairs (x, y); and the
Aahz wrote:
For anyone who hasn't heard, E. Gary Gygax died yesterday. Some
people think we should build a tomb in his honor. ;-)
Well, you sure wouldn't get a saving throw there ;)
Tim Delaney
--
http://mail.python.org/mailman/listinfo/python-list
Robert Dailey wrote:
Hi,
Is there a way to get the System32 directory from windows through python?
For example, in C++ you do this by calling GetSystemDirectory(). Is there an
equivalent Python function for obtaining windows installation dependent
paths?
fishing advice
First thing to do
The is for the docstring - if you need the user to know what theyre
doing with the program you can create documentation, and what you put in
those quotes wwill come up in that (I think)
On 3/6/08, Dotan Cohen [EMAIL PROTECTED] wrote:
On 06/03/2008, Dan Bishop [EMAIL PROTECTED] wrote:
On Mar
mario
http://www.ziddu.com/download.php?uid=Z7CdnZqoabCcluKnYqqhkZSoX6qfnZqu2
joy ...play game
--
http://mail.python.org/mailman/listinfo/python-list
Mark Dickinson wrote:
Jeff Goldfin wrote:
I can pack and unpack a float into a long
e.g.
struct.unpack('I',struct.pack('f',0.123))[0]
but then I'm not sure how to work with the resulting long.
Any suggestions?
One alternative to using struct is to use math.ldexp and math.frexp:
m, e =
rodmc wrote:
[...]
Python:
f = open(finish.html)
doc = f.read()
f.close()
print doc
You might need to start with:
print Content-Type: text/html
print
Is finish.html in the right place? When you browse to your
script, can you see that you're getting the
Hi
I've written a program in Python using wxPython and Matplotlib and would
like to distribute it under the GPL. For ease of use, I'd also like to
distribute and installable version for Windows, but this needs MSVCR71.dll
and MSVCP71.dll to work. I've created an installer using py2exe and Inno
Guillermo a écrit :
Hello,
This is my first post here. I'm getting my feet wet with Python and I
need to know how can I check whether a variable is of type dictionary.
What makes you say you need to know this ? Except for a couple corner
cases, you usually don't need to care about this. If
Hello,
This is my first post here. I'm getting my feet wet with Python and I
need to know how can I check whether a variable is of type dictionary.
Something like this:
if isdict(a) then print a is a dictionary
Regards,
Guillermo
--
http://mail.python.org/mailman/listinfo/python-list
En Thu, 06 Mar 2008 08:33:41 -0200, Tom Wright [EMAIL PROTECTED] escribi�:
I've written a program in Python using wxPython and Matplotlib and would
like to distribute it under the GPL. For ease of use, I'd also like to
distribute and installable version for Windows, but this needs
[EMAIL PROTECTED] a écrit :
Hello
can u plz tell how to send and read msg from device(telit-863-GPS) and
the coding is in python.
if this can happen then plz send the source code to my mail account
You'll find relevant code and examples here:
En Wed, 05 Mar 2008 02:57:58 -0200, [EMAIL PROTECTED] escribi�:
Can you overload -type-'s decision of what to 'bind'?...
whenever it
is it makes it.
Use delegation instead of inheritance. This class is almost
indistinguishable from a true function (when used as a method):
Vladimir Kropylev wrote:
Is it possible to have __init__ of superclass called when superclass
and subclass are defined in different XSD files?
There's no problem when super and subclass are defined within single XSD file.
In another words, can generateDS correctly process schema, described
Sam a écrit :
Hello
if type(a) is dict:
print a is a dictionnary!
class MyDict(dict):
pass
a = MyDict()
type(a) is dict
= False
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is it possible to have __init__ of superclass called when superclass
and subclass are defined in different XSD files?
There's no problem when super and subclass are defined within single XSD file.
In another words, can generateDS correctly process schema, described
in a set of linked xsd
En Thu, 06 Mar 2008 06:10:22 -0200, Sanjaya Vitharana
[EMAIL PROTECTED] escribi�:
1.) Are there any way to display all variable/function bindings in Python
Shell ?
dir()
dir(some_object)
help(some_object)
vars(some_object)
2.) Are the any way to Search Python-list Archives before sending
Hi,
Thanks for your very quick response. I have played around a bit more
so that both the image and HTML file are in the public_html folder.
They are called via python using a relative URL, and have permissions
set to 755. Within the HTML file the image is accessed using just
banner.jpg. The
Hello
if type(a) is dict:
print a is a dictionnary!
++
Sam
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
To know what it is?
Visit the website below and be cool !!!
--
http://myprofilekavitha.blogspot.com/
---
--
Hi,
Good point, some code samples is probably required. Please note that
for reasons of integration with another system I am not using a
templating system.
Anyway I have copied them below:
Python:
f = open(finish.html)
doc = f.read()
f.close()
print doc
HTML:
!DOCTYPE HTML
On Mar 6, 2:37 am, Bryan Olson [EMAIL PROTECTED] wrote:
Grant Edwards wrote:
It may be obvious that he has a question. It's not the least
bit obvious what that question is.
How can we efficiently implement an abstract data type, call it
'DoubleDict', where the state of a DoubleDict is a
Tom Wright wrote:
If someone has worked their way through this maze before and has an
answer, I'd be keen to hear it.
Hmm, an answer of sorts: Inkscape's Windows build comes with MSVCR70.dll and
MSVCR71.dll (but not MSVCP71.dll). As it's a big and high-profile project
distributed under GPL2, I
On Thu, 06 Mar 2008 08:37:07 +, Bryan Olson wrote:
Grant Edwards wrote:
It may be obvious that he has a question. It's not the least bit
obvious what that question is.
How can we efficiently implement an abstract data type, call it
'DoubleDict', where the state of a DoubleDict is a
[EMAIL PROTECTED] wrote:
Bryan Olson wrote:
How can we efficiently implement an abstract data type, call it
'DoubleDict', where the state of a DoubleDict is a binary
relation, that is, a set of pairs (x, y); and the operations on
a DoubleDict are those on a Python set, plus:
I'm using a class in a conext other than the subpackage in which it is
located and I'm getting template lookup errors.
This class expects to find a .pt file in a directory relative to its
package. However, this class is normally used by other classes in the same
namespace.
class ObjectWidget:
En Thu, 06 Mar 2008 10:10:47 -0200, Guillermo
[EMAIL PROTECTED] escribi�:
This is my first post here. I'm getting my feet wet with Python and I
need to know how can I check whether a variable is of type dictionary.
Something like this:
if isdict(a) then print a is a dictionary
if
Wow, I think I'm gonna like this forum. Thank you all for the prompt
answers!
What makes you say you need to know this ? Except for a couple corner
cases, you usually don't need to care about this. If you told us more
about the actual problem (instead of asking about what you think is the
Gabriel Genellina wrote:
Maybe this thread
http://groups.google.com/group/comp.lang.python/browse_thread/thread/f8df5ed32b324a3f/
can help.
This EULA doesn't apply to you, but to the Python developers, which are
the actual Visual Studio users and have to comply with its license terms.
On Mar 6, 7:10 am, Guillermo [EMAIL PROTECTED] wrote:
Hello,
This is my first post here. I'm getting my feet wet with Python and I
need to know how can I check whether a variable is of type dictionary.
Something like this:
if isdict(a) then print a is a dictionary
Regards,
Guillermo
On 2008-03-06, Micah Cowan [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] writes:
On Mar 5, 8:03 pm, [EMAIL PROTECTED] wrote:
assert b not in d
#there's the hangup
*plonk*
key is an iterable, just like the constructors to bleep bl bbl bleep
other collection.
Um... *plonk* is the (imaginary)
(Our apologies for cross-posting.
We appreciate if you kindly distribute this information by your co-
workers and colleagues.)
**
Special issue on Image Processing
Gest Editors: João Manuel R. S.
Guillermo wrote:
I'm just designing the algorithm, but I think Python dictionaries
can hold any kind of sequence?
(Watch out, dicts are no sequence types.)
I recommend relying duck typing as long as it's feasible. I. e. if
it can be subscripted like a dict, it is a dict. If this makes
On Mar 5, 7:07 pm, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote:
On Wed, 5 Mar 2008 14:00:17 -0800 (PST)
Mike Driscoll [EMAIL PROTECTED] wrote:
What are you talking about? I didn't change the address at all. I'm
not even sure what you mean. Are you talking about the post subject
line (which I
On Mar 5, 8:44 pm, Steven D'Aprano [EMAIL PROTECTED]
cybersource.com.au wrote:
But what about classes? Are they singletons? Obviously classes aren't
Singleton classes, that is, given an arbitrary class C you can create
multiple instances of C. But what about class objects themselves? I've
On Thu, Mar 6, 2008 at 2:06 PM, Guillermo
[EMAIL PROTECTED] wrote:
What makes you say you need to know this ? Except for a couple corner
cases, you usually don't need to care about this. If you told us more
about the actual problem (instead of asking about what you think is the
solution),
Guillermo a écrit :
Wow, I think I'm gonna like this forum. Thank you all for the prompt
answers!
Welcome onboard !-)
What makes you say you need to know this ? Except for a couple corner
cases, you usually don't need to care about this. If you told us more
about the actual problem (instead
Jeffrey Seifried a écrit :
(snip)
if type(a)==type({}):
print 'a is a dictionary'
This instanciates a dict, call type() on it, and discard the dict -
which is useless since the dict type is a builtin. Also, when you want
to test identity, use an identity test.
if type(a) is dict:
Hi,
I would like to know if there is a module that converts a string to a
value of the most probable type ; for instance :
- if the string is abcd the value is the same string abcd
- string 123 : value = the integer 123
- string -1.23 (or -1,23 if the locale for decimals is ,) : value
= the float
If someone has worked their way through
this maze before and has an answer, I'd
be keen to hear it.
This is what someone wrote on 1-21-2007
to this help site about this pain in the a...
MSVCR71 stuff.
I believe this problem doesn't exist.
Licensees of Python are permitted
to
On Thu, Mar 6, 2008 at 8:06 AM, Guillermo
[EMAIL PROTECTED] wrote:
I want to iterate recursively a dictionary whose elements might be
strings or nested tuples or dictionaries and then convert values to a
tagged format according to some rules.
d = {'a':i'm a, 'b':(1,2,3),'c':{'a':i'm
Hi All,
Pydev and Pydev Extensions 1.3.14 have been released
Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com
Release Highlights in Pydev Extensions:
Observe.
Python Code Snippet:
...
66 while i (self.nPCodes):
67# print %s:%s % (self.nPCodes,i)
68 (c,l,sn,f,fn,sz) = tabmodule.getQuestion(i,self.mx3Path)
69 if _debug and sz0:
70 _newPtrLoc =
On Mar 5, 8:11 pm, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote:
On Thu, 06 Mar 2008 09:36:29 +1100
Ben Finney [EMAIL PROTECTED] wrote:
Those of us who identify the time wasters would also like to drop
the responses to their posts and changing the address makes this
impossible.
Not at
On Mar 5, 8:07 pm, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote:
On Wed, 5 Mar 2008 14:00:17 -0800 (PST)
Mike Driscoll [EMAIL PROTECTED] wrote:
What are you talking about? I didn't change the address at all. I'm
not even sure what you mean. Are you talking about the post subject
line (which I
Terry Reedy wrote:
A for-loop is equivalent to a while loop with the condition 'iterator is
not exhausted'. So do_else when that condition is false -- the iterator
is exhausted.
I think that this is the most important statement in this thread. As others
have expressed, I too found for-else
[EMAIL PROTECTED] a écrit :
And white to play. What does exec( open( 'modA.py' ).read() ) do?
RTFM
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Hello
can u plz tell how to send and read msg from device(telit-863-GPS) and
the coding is in python.
if this can happen then plz send the source code to my mail account
Sounds like a new development model. You should patent this. Just
e-mail lists with cryptic
On 3/6/08, Malcolm Greene [EMAIL PROTECTED] wrote:
I'm new to Python and trying to figure out how to read and write to
password protected zip files.
I can work with plain zip files no problem.
I've googled this topic and am coming up empty except for a post on
Nabbler.com that seemed to
Hi,
I have a case where I should aggregate data from the CSV file, which
contains data in this way:
DATETIMECOUNTRY ZIP CITYVALUE1 VALUE2 VALUE3
21.2.2008 00:00 A 1000CITY1 1 2 3
21.2.2008 00:00 A 1000CITY2 4 5 6
I'm new to Python and trying to figure out how to read and write to
password protected zip files.
I can work with plain zip files no problem.
I've googled this topic and am coming up empty except for a post on
Nabbler.com that seemed to imply that password protected zip files
may(???) be
HI everyone on this group!
i am want to write a split part downloading software for use in some
projects. (something like a download accelerator)
what i think i need is ( my brain is totally exausted at this moment
so pls ignore any typos i make)
storage class which can write the file splits
On Mar 6, 12:17 am, Daniel Fetchinson [EMAIL PROTECTED]
wrote:
Where to begin?
What does exec( open( 'modA.py' ).read() ) do?
The most appropriate list to ask those questions is:
http://mail.python.org/mailman/listinfo/tutor
Thanks for the reference. I'm basically experienced with
On Thu, 6 Mar 2008 07:58:06 -0800 (PST)
Carl Banks [EMAIL PROTECTED] wrote:
I don't want to have to tag every thread. I just want to *plonk*
certain posters.
Anyway, I'll live with Google's failings I guess.
Sounds like you need better filtering.
A decent news filter should be able
Hello,
I need to list all the files on my FTP account (multiple subdirectories). I
don't have shell access to the account.
anyone that has a program that will do this?
// Anders
--
English is not my first, or second, language
so anything strange, or insulting, is due to
the translation.
Please
On Mar 6, 5:16 am, Bryan Olson [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Bryan Olson wrote:
How can we efficiently implement an abstract data type, call it
'DoubleDict', where the state of a DoubleDict is a binary
relation, that is, a set of pairs (x, y); and the operations on
a
On Thu, 6 Mar 2008 08:00:58 -0800 (PST)
Carl Banks [EMAIL PROTECTED] wrote:
I'm talking about castironpi. I find his posts a waste of my time
His posts?
Whatever. I'm too old to worry about searching for politically correct,
gender neutral pronouns.
--
D'Arcy J.M. Cain [EMAIL PROTECTED]
You can also get the dynamic polymorphism without invoking inheritance
by specifying a protocol that the values in your dict must implement,
instead. Protocols are plentiful in Python, perhaps more popular than
type hierarchies.
I'm used to languages with stricter rules than Python. I've read
On Mar 6, 11:41 am, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote:
On Thu, 6 Mar 2008 08:00:58 -0800 (PST)
Carl Banks [EMAIL PROTECTED] wrote:
I'm talking about castironpi. I find his posts a waste of my time
His posts?
Whatever. I'm too old to worry about searching for politically
On Mar 6, 10:28 am, vedranp [EMAIL PROTECTED] wrote:
So, group by DATE, COUNTRY, ZIP and CITY and sum (or do some
You are s close. Look up itertools.groupby
Don't forget to sort your data first.
http://aspn.activestate.com/ASPN/search?query=groupbyx=0y=0section=PYTHONCKBKtype=Subsection
On Mar 6, 10:46 am, Anders Eriksson [EMAIL PROTECTED] wrote:
I need to list all the files on my FTP account (multiple subdirectories). I
don't have shell access to the account.
anyone that has a program that will do this?
Not offhand, but you can look at the ftpmirror.py script for
On Thu, Mar 6, 2008 at 12:17 PM, Guillermo
[EMAIL PROTECTED] wrote:
You can also get the dynamic polymorphism without invoking inheritance
by specifying a protocol that the values in your dict must implement,
instead. Protocols are plentiful in Python, perhaps more popular than
type
On 3/5/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
It includes three corrections to grammar.txt (imagnumber, xor_expr and
and_expr) that I've reported.
Make that four corrections. Add augop.
--
http://mail.python.org/mailman/listinfo/python-list
An error
Actually, there's another data structure I was working on (a year ago
now) that's tangentially related, so if you guys want me to hold off
on that one til you or I is satisfied on the company-product map, I
will! Otherwise, I'll just post it here and leave it to you.
(Knowing myself,
On Mar 6, 10:47 am, D'Arcy J.M. Cain [EMAIL PROTECTED] wrote:
On Thu, 6 Mar 2008 07:58:06 -0800 (PST)
Carl Banks [EMAIL PROTECTED] wrote:
I don't want to have to tag every thread. I just want to *plonk*
certain posters.
Anyway, I'll live with Google's failings I guess.
Sounds like
I'm talking about castironpi. I find his posts a waste of my time
His posts?
Whatever. I'm too old to worry about searching for politically correct,
gender neutral pronouns.
I'm pretty sure even the most PC people wouldn't suggest using a
masculine pronoun for an inanimate
vedranp wrote:
I would like to avoid the step of taking data out from database in
order to process it.
You can probably do this entirely within SQL. Most SQL databases,
including MySQL, will let you put the result of a SELECT into a new
table.
John Nagle
HURRICANE ANDREW 1992 Rare Raw Footage
Parts 1 thru 7:
http://www.youtube.com/watch?v=zKGMQFWWJ0g
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 5, 7:50 pm, [EMAIL PROTECTED] wrote:
What is a class that is not a module?
A class is a bag of stuff and a namespace :)
J.
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 6, 8:30 am, Carl Banks [EMAIL PROTECTED] wrote:
On Mar 5, 8:44 pm, Steven D'Aprano [EMAIL PROTECTED]
cybersource.com.au wrote:
But what about classes? Are they singletons? Obviously classes aren't
Singleton classes, that is, given an arbitrary class C you can create
multiple
Hi,
Is there a python command that allows me to extract the names (not
values) of the attributes of a class.
example
Class Sample:
fullname = 'Something'
How can I know that this class has an attribute called 'fullname'?
I hope my question is clear.
Thanks
--
-On [20080306 19:21], member thudfoo ([EMAIL PROTECTED]) wrote:
An error occurred while loading
http://www.martinrinehart.com/articles/python-grammar.html:
Unknown host www.martinrinehart.com
Works for me.
--
Jeroen Ruigrok van der Werven asmodai(-at-)in-nomine.org / asmodai
イェルーン ラウフロック ヴァン デル
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
| Hi,
| Is there a python command that allows me to extract the names (not
| values) of the attributes of a class.
|
| example
|
| Class Sample:
|fullname = 'Something'
|
| How can I know that this class has an attribute called
Class Sample:
fullname = 'Something'
How can I know that this class has an attribute called 'fullname'?
with the builtin hasattr() function :)
class Sample: fullname='Something'
...
hasattr(Sample, 'fullname')
True
-tkc
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 6, 1:14 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi,
Is there a python command that allows me to extract the names (not
values) of the attributes of a class.
example
Class Sample:
fullname = 'Something'
How can I know that this class has an attribute called 'fullname'?
On Mar 6, 1:03 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
On Mar 5, 7:50 pm, [EMAIL PROTECTED] wrote:
What is a class that is not a module?
A class is a bag of stuff and a namespace :)
J.
A module is a bag of stuff and a namespace. Different stuff.
{ '__module__', '__weakref__'}
--
On Mar 7, 12:30 am, Terry Reedy [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
| Hi,
| Is there a python command that allows me to extract the names (not
| values) of the attributes of a class.
|
| example
|
| Class Sample:
|fullname = 'Something'
En Thu, 06 Mar 2008 11:04:26 -0200, Marcelo de Moraes Serpa
[EMAIL PROTECTED] escribi�:
I'm using a class in a conext other than the subpackage in which it is
located and I'm getting template lookup errors.
This class expects to find a .pt file in a directory relative to its
package.
Hello Everyone!
I am hoping that someone out there can help me out with this
problem. We are using a gumstix platform to develop an embedded
system. All that really matters is that it is an ARM processor
running an embedded linux, details to follow. Gumstix has its own
kernel tree that we
On Thu, Mar 6, 2008 at 6:11 PM, jay graves [EMAIL PROTECTED] wrote:
On Mar 6, 10:46 am, Anders Eriksson [EMAIL PROTECTED] wrote:
I need to list all the files on my FTP account (multiple subdirectories). I
don't have shell access to the account.
anyone that has a program that will do
On Mar 6, 7:44 pm, John Nagle [EMAIL PROTECTED] wrote:
vedranp wrote:
I would like to avoid the step of taking data out from database in
order to process it.
You can probably do this entirely within SQL. Most SQL databases,
including MySQL, will let you put the result of a SELECT into
rodmc wrote:
[...] I have played around a bit more
so that both the image and HTML file are in the public_html folder.
They are called via python using a relative URL, and have permissions
set to 755. Within the HTML file the image is accessed using just
banner.jpg. The actual page displays
blaine schrieb:
Hello Everyone!
I am hoping that someone out there can help me out with this
problem. We are using a gumstix platform to develop an embedded
system. All that really matters is that it is an ARM processor
running an embedded linux, details to follow. Gumstix has its own
[EMAIL PROTECTED] schrieb:
Hi,
Is there a python command that allows me to extract the names (not
values) of the attributes of a class.
example
Class Sample:
fullname = 'Something'
How can I know that this class has an attribute called 'fullname'?
I hope my question is clear.
On Mar 6, 9:27 am, Pierre Quentel [EMAIL PROTECTED] wrote:
Hi,
I would like to know if there is a module that converts a string to a
value of the most probable type ; for instance :
- if the string is abcd the value is the same string abcd
- string 123 : value = the integer 123
- string
En Thu, 06 Mar 2008 13:54:44 -0200, Michael Wieher
[EMAIL PROTECTED] escribi�:
Observe.
Python Code Snippet:
...
66 while i (self.nPCodes):
67# print %s:%s % (self.nPCodes,i)
68 (c,l,sn,f,fn,sz) =
On Mar 6, 3:20 pm, George Sakkis [EMAIL PROTECTED] wrote:
On Mar 6, 9:27 am, Pierre Quentel [EMAIL PROTECTED] wrote:
Hi,
I would like to know if there is a module that converts a string to a
value of the most probable type ; for instance :
- if the string is abcd the value is the
On Wednesday 05 March 2008, Bruno Desthuilliers wrote:
Tro a écrit :
Hi, list.
I've got a simple asyncore-based server. However, I've modified the
asyncore module to allow me to watch functions as well as sockets. The
modified asyncore module is in a specific location in my project and
Ah. Well, that is true =)
Still, the fact of the file-pointer shifting more than 16-increments to the
right is insane. Its a simple read(struct,16) command.
but you're right, the problem might lie elsewhere. I forgot that using 0
for a sentinel value in two places can confuse a complier (let
En Thu, 06 Mar 2008 14:34:27 -0200, [EMAIL PROTECTED] escribi�:
storage class which can write the file splits that are currently being
downloaded to the disk. this is exactly what other download
accelerators do, i guess.
can this be done using the python file class?? i am pretty good at
On Thu, 06 Mar 2008 11:06:50 -0800, castironpi wrote:
On Mar 6, 8:30 am, Carl Banks [EMAIL PROTECTED] wrote:
Anyway, the answer to what you are probably asking is No. Try this:
import module
c1 = module.Someclass
reload(module)
c2 = module.Someclass
c1 is c2
What about
o= object()
On Mar 6, 11:00 am, Bryan Olson [EMAIL PROTECTED] wrote:
Mark Dickinson wrote:
Jeff Goldfin wrote:
I can pack and unpack a float into a long
e.g.
struct.unpack('I',struct.pack('f',0.123))[0]
but then I'm not sure how to work with the resulting long.
Any suggestions?
One
Internet Explorer 8 beta release is for developers, and Microsoft's
Dean Hachamovitch promised at MIX08 that IE8 will make it easier to
build Web sites for multiple browsers and stop wasting developers'
time. Microsoft's IE8 features Activities for looking up information
and Webslices to watch
On Thu, Mar 6, 2008 at 2:42 AM, Tim Golden [EMAIL PROTECTED] wrote:
fishing advice
First thing to do when asking How do I do X in Python under Windows?
is to stick -- python X -- into Google and you get, eg:
On 6 mar, 11:27, Pierre Quentel [EMAIL PROTECTED] wrote:
Hi,
I would like to know if there is a module that converts a string to a
value of the most probable type ; for instance :
- if the string is abcd the value is the same string abcd
- string 123 : value = the integer 123
- string -1.23
In article [EMAIL PROTECTED],
Steven D'Aprano [EMAIL PROTECTED] wrote:
I accept my question about classes being singletons is not well-formed,
not even in my own mind. I guess one way of asking is, for any two class
objects (not instances) C1 and C2, does C1 == C2 imply C1 is C2?
Even that
In article [EMAIL PROTECTED],
Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On 5 Mar 2008 07:36:37 -0800, [EMAIL PROTECTED] (Aahz) declaimed the
following in comp.lang.python:
For anyone who hasn't heard, E. Gary Gygax died yesterday. Some people
think we should build a tomb in his honor. ;-)
1 - 100 of 177 matches
Mail list logo