473,396 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

file open dialog from within PythonWin

Hi,

I want to open a file seach dialog from within my python script which
I run from within PythonWin. I also have the wxPython package
installed.

How might I do this?

Thanks,

Aine

Oct 2 '07 #1
2 2182
On Oct 2, 7:56 am, aine_ca...@yahoo.com wrote:
Hi,

I want to open a file seach dialog from within my python script which
I run from within PythonWin. I also have the wxPython package
installed.

How might I do this?

Thanks,

Aine
Aine,

I recommend downloading the wxPython Demo as it shows how to do most
common tasks and a lot of other cool things as well. It includes code
for common dialogs, such as the FileDialog, which is what I think you
want. The man page for this widget is below:

http://www.wxpython.org/docs/api/wx....log-class.html

You can find the Demo here: http://www.wxpython.org/download.php

Mike

Oct 2 '07 #2
On Oct 2, 7:56 am, aine_ca...@yahoo.com wrote:
Hi,

I want to open a file seach dialog from within my python script which
I run from within PythonWin. I also have the wxPython package
installed.

How might I do this?

Thanks,

Aine
Oh yeah. You might find this helpful too:

http://wiki.wxpython.org/Getting_Started

Mike

Oct 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Henrik Weber | last post by:
Hi. I have tried to add pychecker as an extension to pythonwin. Now I can have pychecker check the source file that is currently open in the editor with a single keypress. If someone is...
5
by: Fred | last post by:
Hi, I'd like to turn a command-line script into a Windows GUI app using the native widgets so as to reduce the size of the binary (ie. no QT, wxWidgets, et al.) I came up with the following...
4
by: Rob | last post by:
I have an Access application that allows users to open up certain files from within Access (.doc files with automation, .pdf's with a pdf viewing form). Other formats, we want to use Internet...
14
by: Simon Abolnar | last post by:
I would like to know how to open child form from dialog form. Thanks for help! Simon
17
by: Peter Duniho | last post by:
I searched using Google, on the web and in the newsgroups, and found nothing on this topic. Hopefully that means I just don't understand what I'm supposed to be doing here. :) The problem: ...
12
by: psbasha | last post by:
Hi, I have created a Simple Dialog with ComboBox and Radio buttons.When I execute my UI source code.I am able to see the dialog .When I Close the Dialog,I am not able to edit the source code for...
0
by: =?Utf-8?B?RmlsZSBEb3dubG9hZCBQcm9ibGVt?= | last post by:
The File Download Dialog Box just disappears when either the Open or Save button is clicked on the Dialog Box, after I let the File Download Dialog Box stay there for more than three minutes. ...
3
by: ArmageddonAsh | last post by:
I'm trying to make an application that will allow the user to enter data into a flexgrid (that's done) and then save the data from that flexgrid into a CSV file but even though the file is made none...
3
tdw
by: tdw | last post by:
I have a working hyperlink field in a table, and it's form. I also have a working File Picker Dialog: FileDialog(msoFileDialogFilePicker), being used to create the hyperlink. What I need to do, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.