Hello people, I'm looking for a way to get the screen dimensions (in
pixels) using the standard Python library. The only thing I found so
far was the following:
from win32api import GetSystemMetrics
Width = GetSystemMetrics(0)
Height = GetSystemMetrics(1)
I get an error claiming no module named
On Feb 24, 3:53 pm, Luis Zarrabeitia ky...@uh.cu wrote:
On Tuesday 24 February 2009 05:57:52 pm Lionel wrote:
from win32api import GetSystemMetrics
I'd guess that win32api is patform specific, as in api for win32.
--
Luis Zarrabeitia (aka Kyrie)
Fac. de Matemática y Computación, UH.http
On Feb 24, 4:41 pm, Luis Zarrabeitia ky...@uh.cu wrote:
On Tuesday 24 February 2009 07:12:36 pm Lionel wrote:
In a nutshell, what I need is a way to acquire the screen dimensions
(in pixels) and its dpi setting.
This is a guess, and a guess only.
What do you want to know
On Feb 21, 12:37 am, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Fri, 20 Feb 2009 22:40:03 -0200, Lionel lionel.ke...@gmail.com
escribió:
Okay, moving the wx example into the same directory containing the
first example that was working fixed it. This directory only contains
On Feb 23, 11:24 am, Lionel lionel.ke...@gmail.com wrote:
On Feb 21, 12:37 am, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Fri, 20 Feb 2009 22:40:03 -0200, Lionel lionel.ke...@gmail.com
escribió:
Okay, moving the wx example into the same directory containing the
first
Hello all:
I've crafted several classes and exceptions which I've stored in a
file called DataFileType.py. I then invoke them from within other
files like this:
# Top of file
import sys
sys.path.append(c:\DataFileTypes)
from DataFileTypes import *
data = None
try:
# Note: INTData is a
On Feb 20, 3:52 pm, Chris Rebert c...@rebertia.com wrote:
On Fri, Feb 20, 2009 at 3:33 PM, Lionel lionel.ke...@gmail.com wrote:
Hello all:
I've crafted several classes and exceptions which I've stored in a
file called DataFileType.py. I then invoke them from within other
files like
On Feb 20, 4:15 pm, Matimus mccre...@gmail.com wrote:
On Feb 20, 3:56 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 20, 3:52 pm, Chris Rebert c...@rebertia.com wrote:
On Fri, Feb 20, 2009 at 3:33 PM, Lionel lionel.ke...@gmail.com wrote:
Hello all:
I've crafted several
On Feb 18, 12:35 pm, Carl Banks pavlovevide...@gmail.com wrote:
On Feb 18, 10:48 am, Lionel lionel.ke...@gmail.com wrote:
Thanks Carl, I like your solution. Am I correct in my understanding
that memory is allocated at the slicing step in your example i.e. when
reshaped_data is sliced using
On Feb 19, 9:51 am, Carl Banks pavlovevide...@gmail.com wrote:
On Feb 19, 9:34 am, Lionel lionel.ke...@gmail.com wrote:
On Feb 18, 12:35 pm, Carl Banks pavlovevide...@gmail.com wrote:
On Feb 18, 10:48 am, Lionel lionel.ke...@gmail.com wrote:
Thanks Carl, I like your solution. Am I
On Feb 19, 12:26 pm, Carl Banks pavlovevide...@gmail.com wrote:
On Feb 19, 10:36 am, Lionel lionel.ke...@gmail.com wrote:
On Feb 19, 9:51 am, Carl Banks pavlovevide...@gmail.com wrote:
On Feb 19, 9:34 am, Lionel lionel.ke...@gmail.com wrote:
On Feb 18, 12:35 pm, Carl Banks
On Feb 18, 12:56 am, Carl Banks pavlovevide...@gmail.com wrote:
On Feb 17, 3:08 pm, Lionel lionel.ke...@gmail.com wrote:
Hello all,
On a previous thread (http://groups.google.com/group/comp.lang.python/
browse_thread/thread/64da35b811e8f69d/67fa3185798ddd12?
hl=enlnk=gstq=keene
Hello folks, I couldn't find a specific PyGTK forum so I thought I'd
post here and hope someone new the answer. I feel it's a silly
problem, maybe something to do with a path variable? The problem: I've
downloaded the all-in-one windows binary installer for PyGTK from
their website. After typing
On Feb 18, 11:43 am, Lionel lionel.ke...@gmail.com wrote:
Hello folks, I couldn't find a specific PyGTK forum so I thought I'd
post here and hope someone new the answer. I feel it's a silly
problem, maybe something to do with a path variable? The problem: I've
downloaded the all-in-one windows
On Feb 18, 2:08 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 18, 11:43 am, Lionel lionel.ke...@gmail.com wrote:
Hello folks, I couldn't find a specific PyGTK forum so I thought I'd
post here and hope someone new the answer. I feel it's a silly
problem, maybe something to do
On Feb 18, 3:03 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 18, 2:08 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 18, 11:43 am, Lionel lionel.ke...@gmail.com wrote:
Hello folks, I couldn't find a specific PyGTK forum so I thought I'd
post here and hope someone new the answer
Hello all,
On a previous thread (http://groups.google.com/group/comp.lang.python/
browse_thread/thread/64da35b811e8f69d/67fa3185798ddd12?
hl=enlnk=gstq=keene#67fa3185798ddd12) I was asking about reading in
binary data. Briefly, my data consists of complex numbers, 32-bit
floats for real and
Hello. I've been scouring the web looking for something to clear up a
little confusion about the use of super() but haven't found anything
that really helps. Here's my simple example:
class Parent:
def __init__(self, filePath):
.
.
Do some processing with filePath
On Feb 9, 4:04 pm, Jean-Paul Calderone exar...@divmod.com wrote:
On Mon, 9 Feb 2009 15:20:05 -0800 (PST), Lionel lionel.ke...@gmail.com
wrote:
Hello. I've been scouring the web looking for something to clear up a
little confusion about the use of super() but haven't found anything
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers where the first 32 bits of the file is the real component, the
second 32bits is the imaginary, the 3rd 32-bits is the real component
of the second
On Feb 5, 2:22 pm, Lionel lionel.ke...@gmail.com wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers where the first 32 bits of the file is the real component, the
second 32bits
On Feb 5, 2:48 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers where the first 32 bits of the file is the real component
On Feb 5, 2:56 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:48 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2 gigs or more. They consist of 32-bit float complex
numbers
On Feb 5, 3:35 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:56 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 5, 2:48 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello,
I have data stored in binary files. Some of these files are
huge...upwards of 2
Hello everyone. Quick question: When using the read() method in the
array module, must I redirect the current file pointer or will that
occur automatically?
For example, if I were to sequentially read data in chunks from a
binary file as in:
for currentChunk in range(numberOfChunksToRead):
On Feb 4, 3:10 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
Hello everyone. Quick question: When using the read() method in the
array module, must I redirect the current file pointer or will that
occur automatically?
For example, if I were to sequentially read data
On Feb 4, 5:10 pm, MRAB goo...@mrabarnett.plus.com wrote:
Lionel wrote:
On Feb 4, 3:10 pm, MRAB goo...@mrabarnett.plus.com wrote: Lionel
wrote:
Hello everyone. Quick question: When using the read() method in the
array module, must I redirect the current file pointer
On Feb 2, 2:07 pm, John Machin sjmac...@lexicon.net wrote:
On Feb 3, 8:43 am, Lionel lionel.ke...@gmail.com wrote:
ResourceFilepath = DataFilepath + .src
Don't you mean .rsc?
Good Grief!!! That's It!! I've been staring at it all day and I didn't
see it.
I'm sorry I've wasted
Hi Folks, Python newbie here.
I'm trying to open (for reading) a text file with the following
filenaming convension:
MyTextFile.slc.rsc
My code is as follows:
Filepath = C:\\MyTextFile.slc.rsc
FileH = open(Filepath)
The above throws an IOError exception. On a hunch I changed the
filename
On Feb 2, 10:41 am, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 2, 12:36 pm, Lionel lionel.ke...@gmail.com wrote:
Hi Folks, Python newbie here.
I'm trying to open (for reading) a text file with the following
filenaming convension:
MyTextFile.slc.rsc
My code is as follows
On Feb 2, 11:20 am, Lionel lionel.ke...@gmail.com wrote:
On Feb 2, 10:41 am, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 2, 12:36 pm, Lionel lionel.ke...@gmail.com wrote:
Hi Folks, Python newbie here.
I'm trying to open (for reading) a text file with the following
filenaming
On Feb 2, 12:10 pm, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 2, 1:20 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 2, 10:41 am, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 2, 12:36 pm, Lionel lionel.ke...@gmail.com wrote:
Hi Folks, Python newbie here.
I'm trying
output when invoking as someObject = C8DataType(C:\
\C8Example1.slc) :
C:\C8Example1.slc
C:\C8Example1.slc.src
[Errno 2] No such file or directory: 'C:\\C8Example1.slc.src'
Error opening C:\C8Example1.slc.src
Thank you
Lionel schrieb:
On Feb 2, 12:10 pm, Mike Driscoll kyoso...@gmail.com
On Feb 2, 2:01 pm, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 2, 3:43 pm, Lionel lionel.ke...@gmail.com wrote:
On Feb 2, 1:07 pm, Diez B. Roggisch de...@nospam.web.de wrote:
This is written very slowly, so you can read it better:
Please post without sarcasm.
This is the output
On Feb 2, 4:50 pm, Denis Kasak denis.ka...@gmail.com wrote:
On Mon, Feb 2, 2009 at 10:43 PM, Lionel lionel.ke...@gmail.com wrote:
snip
ResourcefilePath
'C:\\C8Example1.slc.rsc'
snip
C:\C8Example1.slc.src
The extension you used in the interactive shell differs from the one
you used
On Feb 2, 5:40 pm, Rhodri James rho...@wildebst.demon.co.uk wrote:
[Quoting restored for reduced
On Mon, 02 Feb 2009 22:33:50 -, Lionel lionel.ke...@gmail.com wrote:
On Feb 2, 2:01 pm, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 2, 3:43 pm, Lionel lionel.ke...@gmail.com wrote
36 matches
Mail list logo