Hi all,
I have a problem with openning of an image.
Here is the Code:
from Tkinter import *
from PIL import Image, ImageTk
from win32com.client import gencache
import tkMessageBox
import win32com.client
import math
import time
import os
import threading
import pythoncom
chsr = win32com.client.D
print 'Error'
before = after2
TestThread().start()
"raise AttributeError, "%s.%s" % (self._username_, attr)", what does it
mean?
For your prompt reply, I say thank you in advance.
Best regards,
Aleksandar
"Faber&qu
Hi all,
I have a problem with threading. The following part should be running in a
main programm all the time, but so that the main programm also works (like 2
seperate programms, but in one)
How to integrate the part in the main programm?
Code:
import win32com.client
import time
import os
imp
Hi all,
I have a problem with threading. The following part should be running in a main programm all the time, but so that the main programm also works (like 2 seperate programms, but in one)
How to integrate the Code-part in the main programm, so that the mainprogramm works?
Code:
impo
Hi all,
Does a async sleep exist?
How to check this every 10 sec, but that the CPU is free?
Code:
import win32com.client
import time
import os
Document = win32com.client.Dispatch('MaxIm.Document')
Application = win32com.client.dynamic.Dispatch('MaxIm.Application')
path_to_watch = "F:/Images/VRT
Vielen Dank. Es funktioniert.
Mit freundlichen gruessen,
Aleksandar Cikota
"Gregor Horvath" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Aleksandar Cikota schrieb:
>
>> Can someone translate the VB code to Python?
>>
>> VB code:
&g
Hi all,
Can someone translate the VB code to Python?
VB code:
Dim chsr as New DriverHelper.Chooser
chsr.DeviceType = "Telescope"
scopeProgID = chsr.Choose(scopeProgID)
Set scope = CreateObject(scopeProgID)
scope.Connected = True
For your prompt reply, I say thank you in advance.
Best regards
led = True
if CCDCamera.LinkEnabled == False:
print 'Failed to start camera.'
exp = int(raw_input('Exposition[sec]: '))
CCDCamera.Expose(exp, 1, 0)
while CCDCamera.ImageReady == False:
time.sleep
print 'Done'
time.sleep(3)
CCDCamera.SaveImage('C:/1.fi
;type' function (CInt, CStr, etc.).
This problem is likely to affect any MaxIm DL automation method that takes astring as an argument.
-
The question is, how to convert a String in a BSTR (unicodestring with header)?
For your prompt reply, I say thank you in advance.
Best regards,
Aleksandar Cikota
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I'm beginner in python. I want to refresh and print Scope.SiderealTime every
second in Tkiner. I have a easy question. How to refresh this loop every
second?
Here the code:
from Tkinter import *
import win32com.client
Scope = win32com.client.dynamic.Dispatch('ScopeSim.Telescope')
root=T
10 matches
Mail list logo