User Profile

Collapse

Profile Sidebar

Collapse
Amelie Lesser
Amelie Lesser
Last Activity: May 20 '11, 10:42 AM
Joined: Dec 22 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Amelie Lesser
    started a topic System Error when running PyQt4's loadUi()

    System Error when running PyQt4's loadUi()

    Hello,
    I'm pretty new to Qt, Python and their combinations. I'm currently writing a QGIS plugin in python (I used QtCreator 2.1 (Qt Designer 4.7) to generate a .ui-file and am now trying to use it for a Quantum GIS plugin that's written in Python 2.5 (and running in the Quantum GIS Python 2.5 console)).
    I am running into trouble when loading the ui-file dynamically when the program runs the loadUi() function. What throws me off is...
    See more | Go to post

  • I finally figured it out:
    sheet.OLEObject s('optionname') .Object.Value = 1
    See more | Go to post

    Leave a comment:


  • How to set option button values via python?

    Hey there,

    I'm writing a python plugin for a geo referencing program called QGIS where I want an Excel sheet to do all my calculations for me. For different data points I need to set certain input values into the spreadsheet (which was already written by someone else).
    I'm fine setting the int values (using win32com.client ) with
    Code:
    sheet.Cells(row, col).Value = value
    For radio buttons I would expect it to work like...
    See more | Go to post

  • Help!
    I am still stuck on this (I thought I could use xlrd/xlwt instead, but now have to return to Dispatch).

    I went through the Installation Problems on http://www.python.net/crew/mhammond/...nProblems.html. As described in the first paragraph, I do have 2 versions (and am no administrator). I deleted the version in C:\Python27 but whenever I startup IDLE it re-creates it.

    It seems like no one else...
    See more | Go to post

    Leave a comment:


  • I've gotten a bit further, but still couldn't get it to work. I'm pretty new to programming, so I don't quite know where to go I've I have a suspicion
    I added the path as you suggested and I also reinstalled the zip folder, unzipped, ran setup.py (only). I installed it where the default setting put it.

    Code:
    import sys
    sys.path.append("C:\\Python27\\pywin32-214\\pywin32-214\\com")
    import win32com
    ...
    See more | Go to post

    Leave a comment:


  • How to import win32com.client though it's installed?

    Hello,

    I'm trying to use the in32com.client for writing into Excel with Dispatch() (on a windows machine using python 2.7.1). I downloaded pywin from http://sourceforge.net/projects/pywin32/ into the C:\Python27 folder and hit both setup.py and pywin32_postins tall.py

    I'm running my python program in the windows command prompter cmd. But it won't run because it cannot import the win32com.client .
    When prompting...
    See more | Go to post
No activity results to display
Show More
Working...