On 9/11/2013 3:31 PM, William Bryant wrote:
What is .lower() ?
The Python docs have a pretty good index that includes 'lower() (str
method)'. Learn to use it.
If you know that .lower is a str method,
help(str.lower)
at interactive prompt prints a page. Learn to use help(ob) also.
--
On 09/11/2013 08:33 PM, William Bryant wrote:
@Jugurtha Hadjar
What does user_input.lower() mean/do?
Hello,
As did other people point out, it returns the lower case of a string.
It's not user_input.lower(), it's any_string.lower()
For example:
Try this on your python prompt
mystring =
On 09/12/2013 02:08 AM, Jugurtha Hadjar wrote:
Try this on your python prompt
mystring = ThIs Is ThE wAy SoMe StUpId PeOpLe WrItE i DoN't KnOw WhY!
mystring.lower()
This should return:
You shouldn't treat people of stupid, but I feel your pain, or let's
be more realistic:
this is the
Hey, I am very new to python, I am 13 years old. I want to be able to make a
program the caculates the mean, meadian and mode. When i run the program, an
input field pops up and says 'Does your list contain, a number or a string?'
like I want it to, but when I type in something that is not one
In ef8de6db-5f35-4d07-8306-bcec47b1e...@googlegroups.com William Bryant
gogobe...@gmail.com writes:
Hey, I am very new to python, I am 13 years old. I want to be able to make =
a program the caculates the mean, meadian and mode. When i run the program,=
an input field pops up and says 'Does
On Wednesday, September 11, 2013 5:11:23 PM UTC+12, John Gordon wrote:
In ef8de6db-5f35-4d07-8306-bcec47b1e...@googlegroups.com William Bryant
gogobe...@gmail.com writes:
Hey, I am very new to python, I am 13 years old. I want to be able to make =
a program the caculates the mean,
On Sun, 31 Mar 2013 22:41:32 -0700, khaosyt wrote:
On Monday, April 1, 2013 1:24:52 AM UTC-4, Chris Angelico wrote:
On Mon, Apr 1, 2013 at 4:15 PM, khao...@gmail.com wrote:
integer = input(Enter a positive integer: )
again = raw_input(Again? (Y/N): )
Okay, the first
I want to add up the integers of this code in one line. For example, if I had
the code
integer = 0
denom = 10
again = y #sentinel:
while again == y or again == Y:
integer = input(Enter a positive integer: )
while denom = integer:
denom = denom*10
while denom 1:
denom
On Mon, Apr 1, 2013 at 4:15 PM, khao...@gmail.com wrote:
integer = input(Enter a positive integer: )
again = raw_input(Again? (Y/N): )
Okay, the first thing I'm going to say is: Don't use input() in Python
2. It's dangerous in ways you won't realize. Use int(raw_input(...))
for
On Monday, April 1, 2013 1:24:52 AM UTC-4, Chris Angelico wrote:
On Mon, Apr 1, 2013 at 4:15 PM, khao...@gmail.com wrote:
integer = input(Enter a positive integer: )
again = raw_input(Again? (Y/N): )
Okay, the first thing I'm going to say is: Don't use input() in Python
someone wrote:
I have a professor who should be [*snip*] the best person I've ever met
I hope he's (not) reading this list :o)
Non python advise : be very careful on the internet.
JM
--
http://mail.python.org/mailman/listinfo/python-list
On Saturday, April 21, 2012 5:48:29 PM UTC-5, BartC wrote:
someone wesbr...@gmail.com wrote in message
news:9533449.630.1335042672358.JavaMail.geo-discussion-forums@ynmf4...
On Saturday, April 21, 2012 3:44:49 PM UTC-5, BartC wrote:
Hi, Bart: Thank you, your post is working now, maybe, I
Ok, this is my dillema, not only am I new to this programming buisness, before
the last few days, I did not even know what python was, and besides opening up
the internet or word documents, that is most of what I know. Yet, I have a
professor who should be on Psych medication for giving us 3
On Saturday, April 21, 2012 12:28:33 PM UTC-5, someone wrote:
Ok, this is my dillema, not only am I new to this programming buisness,
before the last few days, I did not even know what python was, and besides
opening up the internet or word documents, that is most of what I know. Yet,
I
On Sat, Apr 21, 2012 at 11:28 AM, someone wesbr...@gmail.com wrote:
for item in userinput:
openfile=open(textfile,'w');openfile.writelines(%s\n % item for item in
userinput);openfile.close()
The for loop here means that the file will be written and rewritten
four times. The end result is
On Saturday, 21 April 2012 18:35:26 UTC+1, someone wrote:
On Saturday, April 21, 2012 12:28:33 PM UTC-5, someone wrote:
Ok, this is my dillema, not only am I new to this programming buisness,
before the last few days, I did not even know what python was, and besides
opening up the
On 21/04/2012 18:28, someone wrote:
Ok, this is my dillema, not only am I new to this programming buisness, before
the last few days, I did not even know what python was, and besides opening up
the internet or word documents, that is most of what I know. Yet, I have a
professor who should be
someone wesbr...@gmail.com wrote in message
news:32945367.2045.1335029313436.JavaMail.geo-discussion-forums@ynjn4...
6) Display the SHI data read from the file in the interpreter with a
border around the SHI data (include a buffer of 1 line/space between the
border and SHI data). An example
In article
32945367.2045.1335029313436.JavaMail.geo-discussion-forums@ynjn4,
someone wesbr...@gmail.com wrote:
I'm not going to do your homework for you (nor do I expect anybody else
will), but I'll give you a hint about one sticky part.
6) Display the SHI data read from the file in the
On 04/21/12 14:44, Roy Smith wrote:
***
* *
* First Name and Last *
* ENGR 109-X *
* Fall 2999 *
* Format Example *
* *
***
On Saturday, April 21, 2012 12:28:33 PM UTC-5, someone wrote:
Ok, this is my dillema, not only am I new to this programming buisness,
before the last few days, I did not even know what python was, and besides
opening up the internet or word documents, that is most of what I know. Yet,
I
On Saturday, April 21, 2012 12:28:33 PM UTC-5, someone wrote:
Ok, this is my dillema, not only am I new to this programming buisness,
before the last few days, I did not even know what python was, and besides
opening up the internet or word documents, that is most of what I know. Yet,
I
On 04/21/12 14:44, Roy Smith wrote:
print * %-*s * % (max_length, data)
On Apr 21, 2012, at 4:12 PM, Tim Chase wrote:
Sounds like a lot more work and less flexible than using the (underemployed)
.ljust() or .center() methods of a string. :-)
print * %s * % data.ljust(42)
Six of one,
A lot of to do about this.
---
#!/usr/bin/python
xl = [First Name and Last,ENGR 109-X,Fall 2999,Format Example]
xl_max = 0
for x in xl:
xl_max = max ( len( x ), xl_max )
topBorder = '^'*( xl_max + 4 )
print topBorder
for x in xl:
print * %s%s * % ( x,
On Saturday, April 21, 2012 12:28:33 PM UTC-5, someone wrote:
Ok, this is my dillema, not only am I new to this programming buisness,
before the last few days, I did not even know what python was, and besides
opening up the internet or word documents, that is most of what I know. Yet,
I
someone wesbr...@gmail.com wrote in message
news:4068590.2196.1335038608255.JavaMail.geo-discussion-forums@ynjn4...
textTuple = border(SHI)
for lines in textTuple:
print (lines)
Thanks your Bart for trying, I don't understand how it works or if you
tried to place my script in python to
someone wesbr...@gmail.com wrote in message
news:9071485.2215.1335040139144.JavaMail.geo-discussion-forums@yniw15...
Thanks Bart for trying, it helped me out a little more by showing me a
little more than I knew, but I tried and I am not sure if it does fit my
example due to it was too many
On Saturday, April 21, 2012 3:44:49 PM UTC-5, BartC wrote:
someone wesbr...@gmail.com wrote in message
news:9071485.2215.1335040139144.JavaMail.geo-discussion-forums@yniw15...
Thanks Bart for trying, it helped me out a little more by showing me a
little more than I knew, but I tried and I
On 4/21/2012 22:26, GrayShark wrote:
---
#!/usr/bin/python
xl = [First Name and Last,ENGR 109-X,Fall 2999,Format Example]
xl_max = 0
for x in xl:
xl_max = max ( len( x ), xl_max )
Or
xl_max = max([len(x) for x in xl])
topBorder = '^'*( xl_max + 4 )
print
someone wesbr...@gmail.com wrote in message
news:9533449.630.1335042672358.JavaMail.geo-discussion-forums@ynmf4...
On Saturday, April 21, 2012 3:44:49 PM UTC-5, BartC wrote:
Hi, Bart: Thank you, your post is working now, maybe, I did something
wrong, unfortunately, you are right, my setup for
On 21/04/12 23:48, BartC wrote:
someone wesbr...@gmail.com wrote in message
news:9533449.630.1335042672358.JavaMail.geo-discussion-forums@ynmf4...
On Saturday, April 21, 2012 3:44:49 PM UTC-5, BartC wrote:
Hi, Bart: Thank you, your post is working now, maybe, I did something
wrong,
On 04/21/2012 02:14 PM, someone wrote:
Thanks for your reply Mr. Roy Smith. Also, thanks for the tip. Maybe
I did not make myself as clear or maybe you did not understand my
post. It states homework help, and I am doing this post to get help
before I pay somebody to show me how to do it,
Hi im trying to use key bind on Tkinter to call this function
def Start():
for i in range(60,-1,-1):
ent['text'] = i
time.sleep(1)
root.update()
ent['text'] = 'Time Out!'
root.update()
i know the function is ok as i have assigned a button and i calls the
On 15/10/2011 18:30, Gary wrote:
Hi im trying to use key bind on Tkinter to call this function
def Start():
for i in range(60,-1,-1):
ent['text'] = i
time.sleep(1)
root.update()
ent['text'] = 'Time Out!'
root.update()
i know the function is ok as i have assigned
On 15.10.2011 19:30, Gary wrote:
Hi im trying to use key bind on Tkinter to call this function
def Start():
for i in range(60,-1,-1):
ent['text'] = i
time.sleep(1)
root.update()
ent['text'] = 'Time Out!'
root.update()
i know the function is ok as i have assigned a button and i calls
the
Hey! Is Billy a responder, rather than the OP? Sorry then! My previous point is
entirely nullified.
--
http://mail.python.org/mailman/listinfo/python-list
Hey Billy. That may not be the important part of the code, but the many people
giving up their free time to read it and help you don't know that. It's
probably most helpful to give them a working example so as not to waste their
time. Just sayin for future, is all. :-)
Best regards,
Jonathan
On Jul 21, 12:02 pm, Gary woody...@sky.com wrote:
--
total = ' '
os.chdir('/home/woodygar/Desktop/Docs')
for i in os.listdir('.'):
--
i was a bad local var choice here! i and x are typically
Hi
Can someone help me with this code below please,
For some reason it will not send me the first text file in the directory.
I made up an empty file a.txt file with nothing on it and it sends the
files i need but would like to fix the code.
Thanks
total = ' '
On Jul 21, 10:02 am, Gary woody...@sky.com wrote:
For some reason it will not send me the first text file in the directory.
You have to print an unsorted list of the directory to know the name
or the first file in the directory. Files are not stored on disk in
alphabetical order, but are many
On 07/21/2011 01:02 PM, Gary wrote:
Hi
Can someone help me with this code below please,
For some reason it will not send me the first text file in the directory.
I made up an empty file a.txt file with nothing on it and it sends the
files i need but would like to fix the code.
Thanks
total =
On 07/21/2011 10:02 AM, Gary wrote:
Hi
Can someone help me with this code below please,
For some reason it will not send me the first text file in the directory.
I made up an empty file a.txt file with nothing on it and it sends the
files i need but would like to fix the code.
Thanks
total
On 07/21/2011 10:23 AM, Billy Mays wrote:
On 07/21/2011 01:02 PM, Gary wrote:
Hi
Can someone help me with this code below please,
For some reason it will not send me the first text file in the
directory.
I made up an empty file a.txt file with nothing on it and it sends the
files i need but
Hi
Thanks for your reply's
and sorry guys for not explaining properly
ok the problem with the code, which i never realised before, is it sends the
first txt file as the header or subject field in an email and the rest in
the body of the email which i don't want. I would like all the txt files in
On 07/21/2011 01:41 PM, Gary Herron wrote:
On 07/21/2011 10:23 AM, Billy Mays wrote:
On 07/21/2011 01:02 PM, Gary wrote:
Hi
Can someone help me with this code below please,
For some reason it will not send me the first text file in the
directory.
I made up an empty file a.txt file with nothing
On Thu, 21 Jul 2011 18:43:48 +0100
Gary Wood python...@sky.com wrote:
Hi
Thanks for your reply's
and sorry guys for not explaining properly
ok the problem with the code, which i never realised before, is it sends the
first txt file as the header or subject field in an email and the rest in
On 06/08/2011 11:59 PM, Larry Hudson wrote:
On 06/08/2011 01:09 PM, Cathy James wrote:
I am almost there, but I need a little help:
I would like to
... deleted text
Here's one possible replacement. There are many other approaches as well.
(This leaves the individual dogs as a (name, breed)
On 06/08/2011 01:09 PM, Cathy James wrote:
I am almost there, but I need a little help:
I would like to
a) print my dogs in the format index. name: breed as follows:
0. Mimi:Poodle
1.Sunny: Beagle
2. Bunny: German Shepard
I am getting
(0, ('Mimi', 'Poodle')) . Mimi : Poodle instead-what
Larry Hudson wrote:
On 06/08/2011 01:09 PM, Cathy James wrote:
Dog Breed: ))
while not dogs:
print(Goodbye!!)
sys.exit()
else:
else does not belong with while.
else works just fine with while; it is the path taken when the while is
exhausted, but not broken out
Ethan Furman wrote:
Larry Hudson wrote:
On 06/08/2011 01:09 PM, Cathy James wrote:
Dog Breed: ))
while not dogs:
print(Goodbye!!)
sys.exit()
else:
else does not belong with while.
else works just fine with while; it is the path taken when the while is
I am almost there, but I need a little help:
I would like to
a) print my dogs in the format index. name: breed as follows:
0. Mimi:Poodle
1.Sunny: Beagle
2. Bunny: German Shepard
I am getting
(0, ('Mimi', 'Poodle')) . Mimi : Poodle instead-what have I done wrong?
b) I would like to append to
Cathy James wrote:
I am almost there, but I need a little help:
I would like to
a) print my dogs in the format index. name: breed as follows:
0. Mimi:Poodle
1.Sunny: Beagle
2. Bunny: German Shepard
I am getting
(0, ('Mimi', 'Poodle')) . Mimi : Poodle instead-what have I done wrong?
b) I
On Wed, Jun 8, 2011 at 1:09 PM, Cathy James nambo...@gmail.com wrote:
I am almost there, but I need a little help:
I would like to
a) print my dogs in the format index. name: breed as follows:
0. Mimi:Poodle
1.Sunny: Beagle
2. Bunny: German Shepard
I am getting
(0, ('Mimi', 'Poodle'))
In mailman.30.1307563778.11593.python-l...@python.org Cathy James
nambo...@gmail.com writes:
b) I would like to append to my list, but my line dogs.dogAppend() is
giving a TypeError:
for i in enumerate (self.dogAppend()):
TypeError: 'list' object is not callable
def dogAppend(self):
On Tue, 2011-05-17 at 21:46 -0300, Gabriel Genellina wrote:
En Tue, 17 May 2011 16:48:29 -0300, Albert Hopkins
mar...@letterboxes.org escribió:
On Tue, 2011-05-17 at 10:18 -0600, Littlefield, Tyler wrote:
Not to be pedantic or anything, and I may not be able to help
regardless, but it
On 18/05/2011 12:47, Albert Hopkins wrote:
On Tue, 2011-05-17 at 21:46 -0300, Gabriel Genellina wrote:
En Tue, 17 May 2011 16:48:29 -0300, Albert Hopkins
mar...@letterboxes.org escribió:
On Tue, 2011-05-17 at 10:18 -0600, Littlefield, Tyler wrote
Not to be pedantic or anything, and I may not
On Wed, 2011-05-18 at 13:39 +0100, Stuart MacKay wrote:
If you were required to answer the question then asking the poster to
phrase it better is going to help solve the issue faster but for a
mailing list like this simply ignore it.
Which is what I've done.
--
From: hamed3...@hotmail.com
To: webmas...@python.org
Subject: help please
Date: Tue, 17 May 2011 13:20:22 +0430
hi dearinwant to useautomation with catiaby python,but i dont know,how do we
can creat catsafearrayvariant in python?please help me.i need urhelp by one
example.thank u
En Tue, 17 May 2011 06:43:51 -0300, hamed azarkeshb
hamed3...@hotmail.com escribió:
hi dearinwant to useautomation with catiaby python,but i dont know,how
do we can creat catsafearrayvariant in python?please help me.i need
urhelp by one example.thank u forany thing
There are
...@python.org
Subject: help please
Date: Tue, 17 May 2011 13:20:22 +0430
hi dear
inwant to useautomation with catiaby python,but i dont know,h*ow do we
can creat catsafearrayvariant in python?*
please help me.i need urhelp by one example.
thank u forany thing
--
Take care,
Ty
my website:
http://tds
On Tue, 2011-05-17 at 10:18 -0600, Littlefield, Tyler wrote:
Not to be pedantic or anything, and I may not be able to help
regardless, but it looks like your space key is fixed, and I don't
really care to pick through and try to play hangman with your message.
I actually, at first glance,
En Tue, 17 May 2011 16:48:29 -0300, Albert Hopkins
mar...@letterboxes.org escribió:
On Tue, 2011-05-17 at 10:18 -0600, Littlefield, Tyler wrote:
Not to be pedantic or anything, and I may not be able to help
regardless, but it looks like your space key is fixed, and I don't
really care to pick
I can't remember exactly in which release 'perfect English skills' were
added to Python runtime requirements, could you please refresh my memory?
the one that requires people use the space key and check over their
messages before they hit the enter key. Not so bad a request, I don't
think. I am
Thanks mucho! That was it!
-- Steve Ferg
--
http://mail.python.org/mailman/listinfo/python-list
I have a short Python script that uses Tkinter to display an image.
Here is the script
===
import sys, os
from Tkinter import *
root = Tk() # A: create a global variable named root
def showPicture(imageFilename):
# global
Steve Ferg wrote:
I have a short Python script that uses Tkinter to display an image.
Here is the script
===
import sys, os
from Tkinter import *
root = Tk() # A: create a global variable named root
def
Hello all,
I'm trying to display system notifications in ubuntu.. I've tested
pynotify in python 2.6 and it's working fine.. I want to know if i can do
the same with python 3? I tried but there is no module named pynotify error
is displayed.. Any of your help would be much appreciated..
Hi Jebamnana,
You'll probably have to copy the pynotify contents to the Python 3.1 folder.
(under Libs\site-packages). You should be able to find the folder in the
Python 2.6 paths.
Once you do that, you can try to use it. But I don't know if pynotify will
be able to run with Python 3.1. For
On Fri, Apr 2, 2010 at 8:13 PM, Xavier Ho cont...@xavierho.com wrote:
Hi Jebamnana,
Jebagnana*
Sorry.
-Xav
--
http://mail.python.org/mailman/listinfo/python-list
I guess it is a 3rd party module. Run setup.py with python3.1, however it
can happen that the module is not python3 compatible. In that case try using
2to3 if you can.
On Fri, Apr 2, 2010 at 3:43 PM, Xavier Ho cont...@xavierho.com wrote:
On Fri, Apr 2, 2010 at 8:13 PM, Xavier Ho
Thank you for your reply. Unfortunately pynotify is not available as a .py
file but as an .so (shared library) file. In both python 2.5 and 2.6
installations it can be found at
/var/lib/python-support/python2.x/gtk-2.0/pynotify/__init__.py ,
_pynotify.so.
I think it was written in
-- Forwarded message --
From: Jebagnana Das jebagnana...@gmail.com
To: python-list@python.org
Date: Sat, 21 Nov 2009 19:17:56 +0530
Subject: problem with pyqt.. help please...
Hi friends,
I've recently changed to ubuntu 9.04.. I've not had any problem
Hi friends,
I've recently changed to ubuntu 9.04.. I've not had any problem
with the installation of pyqt as it is available from the ubuntu
repositories with umpteen number of packages.. Anyhow i've to download
tarball file for python 3.1 and installed it.. I found that PyQt4
On Sat, Nov 21, 2009 at 8:47 AM, Jebagnana Das jebagnana...@gmail.comwrote:
Hi friends,
I've recently changed to ubuntu 9.04.. I've not had any
problem with the installation of pyqt as it is available from the ubuntu
repositories with umpteen number of packages.. Anyhow i've to
In the book I am using, they give the following function as an
example:
def copyFile(oldFile, newFile):
f1 = open(oldFile, 'r')
f2 = open(newFile, 'w')
while True:
text = f1.read(50)
if text == :
break
f2.write(text)
f1.close()
f2.close()
Why do you post the same question twice within 5 minutes of each other?
--
http://mail.python.org/mailman/listinfo/python-list
Hello all,
I am very new to Python and I am using it because I needed an easy
language to control a piece of equipment that connects to my computer
via a serial cable. I am running Python 2.6 with pySerial 2.4 under
Windows. I can get Python to create a serial port on COM1, but when I
try to
bmasch...@gmail.com wrote:
Hello all,
I am very new to Python and I am using it because I needed an easy
language to control a piece of equipment that connects to my computer
via a serial cable. I am running Python 2.6 with pySerial 2.4 under
Windows. I can get Python to create a serial port on
bmasch...@gmail.com schrieb:
Hello all,
I am very new to Python and I am using it because I needed an easy
language to control a piece of equipment that connects to my computer
via a serial cable. I am running Python 2.6 with pySerial 2.4 under
Windows. I can get Python to create a serial port
On Feb 10, 5:41 pm, Diez B. Roggisch de...@nospam.web.de wrote:
bmasch...@gmail.com schrieb:
Hello all,
I am very new to Python and I am using it because I needed an easy
language to control a piece of equipment that connects to my computer
via a serial cable. I am running Python
On 2009-02-10, bmasch...@gmail.com bmasch...@gmail.com wrote:
Hello all,
I am very new to Python and I am using it because I needed an
easy language to control a piece of equipment that connects to
my computer via a serial cable. I am running Python 2.6 with
pySerial 2.4 under Windows. I can
Ken Pu wrote:
Hi, below is the code I thought should create two generates, it[0] =
0,1,2,3,4,5, and it[1] = 0,10,20,30,..., but they turn out to be the
same!!!
from itertools import *
itlist = [0,0]
for i in range(2):
itlist[i] = (x+(i*10) for x in count())
print what's in the bags:
print
James Stroud schrieb:
Ken Pu wrote:
Hi, below is the code I thought should create two generates, it[0] =
0,1,2,3,4,5, and it[1] = 0,10,20,30,..., but they turn out to be the
same!!!
from itertools import *
itlist = [0,0]
for i in range(2):
itlist[i] = (x+(i*10) for x in count())
print
The minimal correction, I guess, is to write
itlist[i] = (x+(i*10) for i in [i] for x in count())
instead of
itlist[i] = (x+(i*10) for x in count())
although
itlist[i] = (x+(i*10) for i,s in (i,count()) for x in s)
will better mimic generalizations in the sense that the minimal
itlist[i] = (x+(i*10) for i,s in (i,count()) for x in s)
oops, that would be
itlist[i] = (x+(i*10) for i,s in [(i,count())] for x in s)
or equivalent, kind of ugly anyway.
--
http://mail.python.org/mailman/listinfo/python-list
James Stroud jstr...@mbi.ucla.edu wrote:
I'm going to get flamed
pretty hard for this, but it doesn't seem to be the intuitive behavior
to me either.
Given this is the second time this issue has come up today, I'd have
to agree with you.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 16 Jan 2009 02:51:43 -0500, Ken Pu wrote:
Hi, below is the code I thought should create two generates, it[0] =
0,1,2,3,4,5, and it[1] = 0,10,20,30,..., but they turn out to be the
same!!!
[...]
I see what Python is doing -- lazy evaluation doesn't evaluate (x+(i*10)
for x in
Ken Pu wrote:
Hi, below is the code I thought should create two generates, it[0] =
0,1,2,3,4,5, and it[1] = 0,10,20,30,..., but they turn out to be the
same!!!
from itertools import *
itlist = [0,0]
for i in range(2):
itlist[i] = (x+(i*10) for x in count())
...
print list(islice(itlist[0],
Hi, below is the code I thought should create two generates, it[0] =
0,1,2,3,4,5, and it[1] = 0,10,20,30,..., but they turn out to be the
same!!!
from itertools import *
itlist = [0,0]
for i in range(2):
itlist[i] = (x+(i*10) for x in count())
print what's in the bags:
print
]
Newsgroups: comp.lang.python
Sent: Wednesday, March 12, 2008 10:19 PM
Subject: help please, splitter windows like in maya or 3ds max
hi, everyone there, I am doing a 3D modeling project. I like to do it
with Python( am a newbie), but have no idea with the wxSplitterWindow
to create the 4
]
Newsgroups: comp.lang.python
Sent: Wednesday, March 12, 2008 10:19 PM
Subject: help please, splitter windows like in maya or 3ds max
hi, everyone there, I am doing a 3D modeling project. I like to do it
with Python( am a newbie), but have no idea with the wxSplitterWindow
to create the 4
hi, everyone there, I am doing a 3D modeling project. I like to do it
with Python( am a newbie), but have no idea with the wxSplitterWindow
to create the 4-view windows( top, front, side, perspective), like the
mfc CSplitterWnd guy),
anyone can give me some help with wxPython?
thanks in advance.
()
self.splitter_left.SetSashPosition(pos)
event.Skip()
app = wx.App(0)
k = Layout(None, -1, 'layout.py')
k.Show(True)
app.MainLoop()
-- Andrew
- Original Message -
From: moonrie [EMAIL PROTECTED]
Newsgroups: comp.lang.python
Sent: Wednesday, March 12, 2008 10:19 PM
Subject: help please
In article [EMAIL PROTECTED],
maehhheeyy [EMAIL PROTECTED] writes:
Hi, right now I'm using Python and Multicast. I have the code for
Multicast receiver on Python but I keep getting this error;
Hi,
In the future please use a Subject: line that is relevant to your
inquiry. Many people only
On Feb 12, 4:10 pm, maehhheeyy [EMAIL PROTECTED] wrote:
Hi, right now I'm using Python and Multicast. I have the code for
Multicast receiver on Python but I keep getting this error;
File string, line 1, in bind
error: (10049, Can't assign requested address)
The error is coming from this
Hi, right now I'm using Python and Multicast. I have the code for
Multicast receiver on Python but I keep getting this error;
File string, line 1, in bind
error: (10049, Can't assign requested address)
The error is coming from this line;
sock.bind ((MCAST_ADDR, MCAST_PORT))
This is the code
En Mon, 31 Dec 2007 05:09:37 -0200, [EMAIL PROTECTED] escribió:
I am sorry if I was not clear in what I was trying to achieve. All I
wanted was simple way to achieve what windows does when you use search
for Files or Folders, and all the files that mach two words like foo
and bar in the file
Hello,
I am new to python and wanted to write something for myself where
after inputing two words it would search entire drive and when finding
both names in files name would either copy or move thoe files to a
specified directory.
But couple of attempts did not work as desired this is one of
path = rc:\\
I don't know if this is the whole problem, but this line should read
r'c:\' (one backslash).
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 30 Dec 2007 18:42:50 -0800 (PST), infixum [EMAIL PROTECTED]
wrote:
path = rc:\\
I don't know if this is the whole problem, but this line should read
r'c:\' (one backslash).
after changing i got this
path = rc:\
^
SyntaxError: EOL while scanning single-quoted
101 - 200 of 319 matches
Mail list logo