; \-\#\$\*\@\!\%\^\&]').search):
> NameError: name 're' is not defined
>
> Is is possible to do what I am trying to do, or am I doing something wrong?
>
> Thanks
>
> ___
> Tutor maillist - Tutor@python.org
> To
soap (
http://code.google.com/p/pysimplesoap/) module for this. The current
python code is attached.
But we are not able to pass the custom xmlns ( for bil and for com - the
very first line ) with pysimplesoap module.
*Any idea which other module we have to explore for generating the SOAP
r
es.add(bullet)
allSprites.clear(screen,background)
allSprites.update()
allSprites.draw(screen)
pygame.display.flip()
if __name__=='__main__':
main()
On Thu, Jan 12, 2012 at 11:01 PM, ANKUR AGGARWAL wrote:
> import pygame
> from p
n__':
main()
I was trying to make shooting game. whenever I press the space key bullet
object is called (bold code) . I want delay between iterations to produce
the gap between the bullets.Tried the time.wait() but its working. Any
Ideas??
Thanks In Advance
Regards
Ankur Aggarwal
aw(screen)
pygame.display.flip()
if __name__=='__main__':
main()
Thanks in advance :)
Regards
Ankur Aggarwal
<><>import pygame
from pygame.locals import *
import random
pygame.init()
screen=pygame.display.set_mode((640,480),0,24)
pygame.display.set_caption(&q
/
. Suggestions and feedback would be great. Looking for contribution
too :)
Regards
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
ow to store the output of a terminal or show the output in a
GUI in python??
Thanks in advance.
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
iled to do so.
Say A=[11,23,45,21,63,56,78,32]
B=[56,78,11,23,45,21,111,234,56543]
There are two similar sequence matching over here [11,23] and [23,45,21] i
want to display second sequence because its larger in number. Plz help
Thanks in Advance :)
Ankur Aggarwal
__
Game Links - http://code.google.com/p/hungry-snakes/ ,
http://mac.softpedia.com/get/Games/Hungry-Snake.shtml
Certificate Link -
http://mac.softpedia.com/progClean/Hungry-Snake-Clean-98721.html
Thanks
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To u
the three levels and "hungry.py" to
play the basic version. Releasing this under GPLv3 :):) Try it out and
feedback would be gr8. Here's the download link
http://code.google.com/p/hungry-snakes/downloads/list
Thanks
Ankur Aggarwal
___
Tut
Hey
I was reading Pygame API for a month and made out a very basic ,small game
named as "Hungry Snake" as practice. Want to share out the code with uou
guys. Here's the link
http://code.google.com/p/hungry-snakes/downloads/list
Thanks
Hey
I am reading pygame module and experimenting with it in small codes too . I
want your help. I want you to recommend the games ,beginner of this module
should try to develop as a practice or so.
Thanks
Ankur Aggarwal
___
Tutor maillist - Tutor
Hey
want to know whats the difference between the pygame.display.update() and
pygame.display.flip()
An explanation with the example would be grea.
Thanks In Advance
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
Any good ebooks or printed books to get started with the Django framework
and web based python??
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hey
Any good recommendation (ebook,links,videos,Live Example) to get started
with the pygame api. I am totally new to pygame.
Thanks in advance. Waiting for the suggestions :):)
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or
t;)
>
> b1=Button(root,text="",image=None,command=ok)
> b1.grid()
>
> root.mainloop()
> #
>
> Which works perfectly for me.
> What happens for you?
> Do you get any error messages?
>
> Alan Gauld
> Author of the Learn To Program w
,command=ok)
b1.grid()
On Tue, Feb 15, 2011 at 10:34 PM, ANKUR AGGARWAL wrote:
> from Tkinter import *
> root=Tk()
>
> photo=PhotoImage(file="Cross.gif")
> def ok():
> b1["image"]=photo
>
> b1=Button(root,text="",image=None,command=ok)
> b1.
from Tkinter import *
root=Tk()
photo=PhotoImage(file="Cross.gif")
def ok():
b1["image"]=photo
b1=Button(root,text="",image=None,command=ok)
b1.grid()
root.mainloop()
Here's my code . Not getting the desired output
On Tue, Feb 15, 2011 at 10:26 PM, ALAN GAULD wrote:
> > b1=button(root,image=N
almost to zero size. I want to retain the
height=4,width=4 along with the image after clicking on the button. Image
size is smaller than the button size.
On Tue, Feb 15, 2011 at 5:58 PM, Alan Gauld wrote:
>
> "ANKUR AGGARWAL" wrote
>
>
> I am looking for a method using
"hi". I tried it through event handling but failed
to do so.
Any help would be appreciated.
Thanks In Advance
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
pick.
i tried to think upon this very much but unable to finally come up with any
idea. Cn anyone suggest me a way out.
Thanks in Advance.
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http
ives me the desired result but in
string case i am unable to do so as checkbox is invisible type.
I am using Python 2.6
Thanks In Advance
Ankur Aggarwal
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Suppose i am taking input or various variables like
a=raw_input("...") //hello
b=raw_input("")//hi
c=raw_input("...")//hello
d=raw_input("..")//hello
but i want to run a common function when input is hello
so instead of
if a=="hello":
fun()
then aga
i m making a app in which i launch application using os.system("input from
user"). I want to check whether the input entered by the user matches with
the exact keyword in terminal or not.
like i want to launch vlc so user should provide me input as " vlc" in order
to launch the app just like he did
Hey- suppose we have a file name-"my file number"
if we want to execute it into the terminal it would be like - my\ file\
number
so wondering is there any one in the python that change the enter string
into the terminal string one-
like if user enter the file name with path- "my file number". i wa
hey although i knw string are mutable but i want to know if there is anyway
to add in the string.
like i m wrking on the tool and want to run the input from the user in the
terminal
like user makes input "this is ankur"
and i want it like "this\ is\ ankur" ??
hey fellas i have a script abc.py with me
i want to execute it as soon as i my linux gets start after entering
username and password thing (desktop thing)
how can i do that???
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscripti
hey this is a crazy question but i want to know it..
suppose i have this code
a=raw_input("enter the string :")
print a
then i type python prog.py
output:
enter the string:hello
hello
now i want to ask is there's any way that python remembers the input i gave
it to last time and it just gi
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
hey i have just started making a app using python and just gt a problem..
i have two list
a=["x","z"]
b=[1,2]
i want to make a directory like this
c={"x":1,"z":2}
is it possible i mean i tried it using loops and all but i cant append a
directory so i m unable to do this...
plz tell me if th
47 matches
Mail list logo