Great python!!!
--
http://mail.python.org/mailman/listinfo/python-list
On May 6, 4:12 pm, "mr_gees100_peas" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
>I've been trying for days to make either boost.python or swig to
> work for me. The one I have gotten the closest to is boost. Note that
> this is for windows XP. I'm not much of an unix person besides doing
> simple ls an
Hey,
I'm writing a script to generate code. I'm a bit tired of typing
outfile.write(). Does python have a way to c-like macros? Every
instance of o(...) in the code will be replaced by outfile.write(...)?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I need a specific example. I have seen the docs, but I don't all the
stuffs there.
So basically, I need my config file to be created and read by my
script.
Here is a snippet
# read old actions
from ConfigParser import ConfigParser
fp = open(makepath('App\qt_actions.conf'))
configdict = Conf
On May 3, 9:36 pm, Andy Terrel <[EMAIL PROTECTED]> wrote:
> are you sure your variable isn't in some code block that wouldn't be
> read on import? Such as:
>
> if __name__ == "__main___":
> actions = 1
No Andy, I have not put the variable in any code block
--
http://mail.python.org/mailman
I have a variable names actions in a module named qt_actions.py
Well this is what I get:
>>> import qt_actions
>>> qt_actions.actions
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'actions'
--
http://mail.python.org/mailman/listinfo/py
On May 3, 8:24 pm, [EMAIL PROTECTED] wrote:
> On May 3, 8:01 pm, [EMAIL PROTECTED] wrote:
>
> > On May 3, 8:00 pm, [EMAIL PROTECTED] wrote:
>
> > > >>> s = ['a','b']
> > > >>> s
> > > ['a', 'b']
>
> > > This is what I want so that I can put it in a module then import that
> > > module to work with
On May 3, 8:01 pm, [EMAIL PROTECTED] wrote:
> On May 3, 8:00 pm, [EMAIL PROTECTED] wrote:
>
> > >>> s = ['a','b']
> > >>> s
> > ['a', 'b']
>
> > This is what I want so that I can put it in a module then import that
> > module to work with my variable.
>
> Sorry for that typo in the title...
I foun
On May 3, 8:00 pm, [EMAIL PROTECTED] wrote:
> >>> s = ['a','b']
> >>> s
> ['a', 'b']
>
> This is what I want so that I can put it in a module then import that
> module to work with my variable.
Sorry for that typo in the title...
--
http://mail.python.org/mailman/listinfo/python-list
>>> s = ['a','b']
>>> s
['a', 'b']
>>>
This is what I want so that I can put it in a module then import that
module to work with my variable.
--
http://mail.python.org/mailman/listinfo/python-list
On May 3, 7:50 pm, André <[EMAIL PROTECTED]> wrote:
> On May 3, 8:43 pm, [EMAIL PROTECTED] wrote:
>
> > I'm filling an array with user input, I want an empty string to be
> > returned when nothing is entered; ie return key hit twice... How do I
> > do that?
>
> use raw_input(), not input(). input(
I'm filling an array with user input, I want an empty string to be
returned when nothing is entered; ie return key hit twice... How do I
do that?
--
http://mail.python.org/mailman/listinfo/python-list
How to check if a string is empty in python?
if(s == "") ??
--
http://mail.python.org/mailman/listinfo/python-list
I have the python interperter opened while editing a module. The
problem is that when I make changes, the module is not refreshed
whenever I import it again. I have to re-launch the interpreter, is
there a way to shortcut this?
--
http://mail.python.org/mailman/listinfo/python-list
On May 2, 10:06 am, Michael Hoffman <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello
> > I have done python for some time now. I'm forgetting things.
>
> > This is the faulty line : outfile = open("output/mainwindow.h",'w')
>
> > I thought it would have created the folder ouput and t
Hello
I have done python for some time now. I'm forgetting things.
This is the faulty line : outfile = open("output/mainwindow.h",'w')
I thought it would have created the folder ouput and the file
mainwindow.h for me but it's throwing an error
--
http://mail.python.org/mailman/listinfo/python-l
On May 1, 5:50 pm, Tal Einat <[EMAIL PROTECTED]> wrote:
> On May 2, 12:43 am, [EMAIL PROTECTED] wrote:
>
>
>
> > On May 1, 5:17 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>
> > > [EMAIL PROTECTED] schrieb:
>
> > > > Hello
> > > > I don't have permission to install new application on the PC I
On May 1, 5:17 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
> > Hello
> > I don't have permission to install new application on the PC I'm
> > using, I need a zipped version of python that I can copy on my
> > external drive. Where can I get a zip version?
>
> ht
Hello
I don't have permission to install new application on the PC I'm
using, I need a zipped version of python that I can copy on my
external drive. Where can I get a zip version?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
19 matches
Mail list logo