I like gedit alot. It has a nice amount of plugins, like a filebrowser and
various embedded terminals. Check it out. It's available for all platforms.
It's at gedit.org.
On Thu, Oct 7, 2010 at 7:42 PM, Mark Weil wrote:
> There's also eric. It's geared towards pyqt slightly, but I do a lot of
>
Alrighty! Thanks, everyone!
On Mon, Sep 6, 2010 at 6:48 PM, Steven D'Aprano wrote:
> On Tue, 7 Sep 2010 02:08:27 am Hugo Arts wrote:
>
> > sys.argv is a list of all arguments from the command line. However,
> > you'll rarely deal with it directly, there's various modules that
> > deal with hand
I've seen Python programs that can be activated from the command line. For
example:
hg
This displays a list of commands for the Mercurial revision control system.
But another command is this:
hg commit "This is a commit name"
Mercurial is written in Python. I know that commit is a function that
Okay, thanks everyone for all the help!
On Sun, Sep 5, 2010 at 3:40 PM, David Hutto wrote:
> On Sun, Sep 5, 2010 at 3:32 PM, aug dawg wrote:
> > I took a look at Blender, but it all seemed very overwhelming. If I
> wanted
> > to, could I code all of the blocks? I
I took a look at Blender, but it all seemed very overwhelming. If I wanted
to, could I code all of the blocks? I want to have some functionality for
people adding their own bricks and other items.
On Sun, Sep 5, 2010 at 2:04 PM, David Hutto wrote:
> I'd suggest you take a look at blender. It ha
That would work, but I want there to be a palette and then the user can drag
the Lego, flip it, and turn it. In order to do this, it would have to be 3D.
On Sun, Sep 5, 2010 at 11:32 AM, Che M wrote:
>
>
>
> > Would Pygame allow me to code all of the bricks instead of drawing them
> out?
>
> I'
Would Pygame allow me to code all of the bricks instead of drawing them out?
On Sat, Sep 4, 2010 at 10:35 PM, Che M wrote:
>
>
> > How would I go about creating custom GUI elements? For example,
> > if I wanted to make a simple LEGO maker app, how would I write the
> > code for the bricks so th
Hey guys,
How would I go about creating custom GUI elements? For example, if I wanted
to make a simple LEGO maker app, how would I write the code for the bricks
so that the user could drag them around and then build LEGO models?
Thanks!
___
Tutor mailli
Now, I'm no pro at programming in Python, but here's what I recommend you
do. I would have a class at the beginning to define all of the rooms, and
then have the rest of the code below that. Then, it makes it easier to
follow. In addition, I would also have a function that stores the name of
the ro
Got it. Thanks everyone!
On Tue, Aug 24, 2010 at 6:22 PM, Steven D'Aprano wrote:
> On Wed, 25 Aug 2010 02:23:10 am Nitin Das wrote:
> > alternatively you can use the lambda , reduce function for summing up
> > all the numbers in a list for e.g:-
> >
> > lis = [1,2,3,4,5]
> > p = reduce(lambda x,
,
wrote:
>
>
> aug dawg wrote on 08/24/2010 01:55:14 PM:
>
>
> > Now it says that the variable adder is not defined. Does anyone know
> about this?
> >
> It is best if you send the full error message, it helps pinpoint the
> problem.
> my copy of your code was:
&
Now it says that the variable adder is not defined. Does anyone know about
this?
On Tue, Aug 24, 2010 at 1:40 PM,
wrote:
>
> aug dawg wrote on 08/24/2010 01:13:01 PM:
>
>
> > It's not catching that, but I haven't gotten there with the bugs yet. One
>
hen I try it in the Python
interpreter, it works fine.
On Tue, Aug 24, 2010 at 1:07 PM, Marc Tompkins wrote:
> On Tue, Aug 24, 2010 at 12:44 PM, aug dawg wrote:
>
>> if searcher in database:
>>> # Figure this out.
>>>
>>> You need
Oh yeah. That was just a comment that I forgot to take out.
On Tue, Aug 24, 2010 at 1:01 PM, Walter Prins wrote:
>
>
> On 24 August 2010 17:47, aug dawg wrote:
>
>> if searcher in database:
>>> # Figure this out.
>>> if "exit database&q
It says that it's on line 25, on the print("Bye!").
Forgot to say that.
On Tue, Aug 24, 2010 at 12:44 PM, aug dawg wrote:
> The other day, I wrote a little database just to fiddle around, but when I
> try to run it it says that it has an unexpected indent. From what I c
The other day, I wrote a little database just to fiddle around, but when I
try to run it it says that it has an unexpected indent. From what I can
tell, it doesn't. Here's the code. I'm using SPE.
database = []
datafile = open('/home/~/the-db/data')
for line in datafile:
database.append(line)
whi
Oh okay, sorry about that.
Thanks for the help!
On Mon, Aug 23, 2010 at 11:33 AM, Sander Sweers wrote:
> On 23 August 2010 17:24, aug dawg wrote:
> > So it's sum(list_name) ?
>
> Correct, but it is not limited to lists. Any itterable with
> ints/floats will do, for
Is there a command or module that I can use to add all the items in a list?
Alternatively, is there one I can use to add all the numbers in a file?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.o
Hey all,
Does anyone know of any modules to help my program parse RSS feeds?
Thanks!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Are there any Python modules to script Blender? For example, placing
predefined objects into a new Blender project to create a 3D model.
Thanks!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org
Hey all,
Earlier today, I tried to add a folder to my PYTHONPATH. When I tried
sys.path.app('location/of/folder'), the command successfully executed it,
but then when I did sys.path to check to see if it was now in my PYTHONPATH,
it was not there. Does anyone know what might be causing this?
Than
21 matches
Mail list logo