Hey all,
I'm creating a program that will copy a user's internet history from
Internet Explorer, and I'm having a bit of trouble.
I need to get python to either initiate a command via the command prompt,
or open a file with its default program (in this case, a .bat file with
cmd.exe).
I've been
Hey all,
I've started trying to make homebrew programs for my wii the past couple
of days, and have found that programming it in c is quite hard. I was
wondering how I would go about compiling python for something like this.
The wii has a ppc processor, and runs homebrew in the native .elf format
Hey all,
Been away for a while. So, I'm in the process of making a program for
encrypting and decrypting strings of text. And I was wondering how it
would be possible to perhaps keep keys in a .pyc file, and keep them
from being isolated, and messages being intercepted. So... is it
possible to de
The way I learned python was through this wikibook:
http://en.wikibooks.org/wiki/Python_Programming
I found it very easy to understand and very helpful.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hey all,
I just got a brand new T-Mobile Wing, and, as you might guess, I want to
install python on it. Well, I tried both the pythonce main build (with the
.exe), and the build for the smartphone (also used .exe), but once I
downloaded them, when I tried to run them, a dialog comes up saying that
Hey all...
I'm creating a module for my program, and I need to call a function.
Here's how it's set up:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
class DoStuff:
def Thing1(self):
def ThingToCall(self):
print "It worked!"
def Thing2(self):
#Call
Hey all,
I was wondering, how could I get each value inside of a tuple, say it's
(2,4) .
The only value I really need is the second one (the tuple will always have
only two values.
Thanks for any help.
___
Tutor maillist - Tutor@python.org
http://mail
Hey everybody,
I was wondering, how could I disable all keyboard/mouse input for the
whole windows system while I have a video playing? So the user can't
press, for example, the super key [one with windows logo on it], and have
the windows menu pop up?
Could this be accomplished somehow through sys
What is the proper way to undo/redo changes in a text box? I read
somewhere that the default undo depth is 1. How could I change this to,
say, about 35?
Here's a snippet of my code-
#!/usr/bin/python
import wx
import os
...
...
...
class MainWin(wx.Frame):
def __init__(self, parent, id, title
Hey all,
Does anyone know how to make a wxPython splashscreen? It would be great if
you could show a (working) example, as I have googled this topic, yet have
not found any working examples.
Thanks.
___
Tutor maillist - Tutor@python.org
http://mail.pyt
Although I should have expected at least a few problems, I have a question
about a glitch in vista using a wx-implemented script.
Here's the example script-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#!/usr/bin/python
# togglebuttons.py
import wx
class ToggleButtons(wx.Dialog):
def __init__(sel
Hey all,
I'm starting to drift away from Tkinter and enter the realm of wxPython.
I've recently written a simple text editor in Tkinter, and I would like to
know if anyone knows of a good example of a simple wxPython text editor
(with the lines properly indented!!!), because all the examples I can
Okay, I'm making a program that turns xml code into python code. Here's
the an example of input-
And here would be the corresponding output (well, what I've got so far...)
from Tkinter import *
import tk
Hello everybody.
I'm using a couple of "for" loops to help me in xml parsing using expat.
Unfortunately, though, I've found that using more than one of these in a
row, at least in my case, causes a redundancy error.
a snippet of my code (note that this is not the way I set the dictionaries)-
attrs
> "Trey Keown" <[EMAIL PROTECTED]> wrote
>
>> I would like to know, how can I read (or sort) a dictionary in a
>> certain
>> order?
>
> Dictionaries are by design unsorted and indeed may even change
> their order during their lifetime.
>
>>
Hello.
I would like to know, how can I read (or sort) a dictionary in a certain
order?
say this is my dictionary-
attrs={u'title': u'example window title', u'name': u'SELF', u'icon':
u'e.ico'}
how could I get the data so that u'name' is read first, u'title' second,
and u'icon' third?
thanks so much
16 matches
Mail list logo