Hello all, new poster.
I have an interactive bash script that asks for a password, then
connects a remote machine via fuse with the supplied password. That's
fine for me, however, the wife needs an icon to click on, input a
password, and be on he way. I'd like to do that in Python with Qt. Is
ther
Eike Welk wrote:
On Saturday March 27 2010 16:21:26 AG wrote:
I apologise in advance for the vagueness of this query, but I am looking
for a decent modern introduction to modelling using Python.
Specifically, I want something that is a good introduction (i.e. doesn't
expect one to already be
# Filename: classVolume.py
# Demonstrates multiple classes per program.
class Cube:
"""A class for cube shapes."""
def __init__(self, side):
self.side = side
def calculateArea(self):
return (self.side)**3.0
class Sphere:
"""A class for sphere shapes."""
def __init__(s
Morning,
Your only supplying one argument to cone, when you need two: radius & height.
Cheers,
Wesley Brooks.
On 7 April 2010 11:56, Shurui Liu (Aaron Liu) wrote:
> # Filename: classVolume.py
> # Demonstrates multiple classes per program.
>
> class Cube:
> """A class for cube shapes."""
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greetings,
: class Cone:
:"""A class for cone shapes."""
:def __init__(self, radius2, height):
:self.radius2 = radius2
:self.height = height
:def calculateArea(self):
:import math
:return (1/3.0)*(ma
Yes, I found it. thanks!
On Wed, Apr 7, 2010 at 7:00 AM, Wesley Brooks wrote:
> Morning,
>
> Your only supplying one argument to cone, when you need two: radius &
> height.
>
> Cheers,
>
> Wesley Brooks.
>
> On 7 April 2010 11:56, Shurui Liu (Aaron Liu) wrote:
> > # Filename: classVolume.py
> >
You have the solution. Good.
I beg you to avoid colored text. I find it hard to read.
Just use good old plain text. No fancy fonts, sizes, colors.
--
Bob Gailer
919-636-4239
Chapel Hill NC
___
Tutor maillist - Tutor@python.org
To unsubscribe or cha
Hi,
I'm Py newbie and I have some beginners problems with ftp
handling.
What would be the easiest way to copy files from one ftp
folder to another without downloading them to local system?
Are there
any snippets for this task (I couldnt find example like this)
Thx
Hi everyone!
Do you have recommendations regrading good free books or websites to learn
django? I'm a beginner and know the basics of python.
thanks
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.pytho
There is lots of good information in the second edition of the
official Django Book (though it appears it's only a partially complete
Web preview):
http://www.djangobook.com/en/2.0/
The Django google group is a great way to research specific questions
and get help:
http://groups.google.com/g
Thanks guys I was able to resolve it by changing
self.txt_box = Entry(self, text = "hool").grid(row = 0, column = 1, sticky = W)
to
self.txt_box = Entry(self, text = "hool")
self.txt_box.grid(row = 0, column = 1, sticky = W)
and
self.txt_box.insert(END,trt)
to
self.txt_box.insert(0,trt)
b
If I can follow up with the 'not free' theme, I also think 'Practical
Django Projects' by James Bennett is pretty good.
For really fast tutorials, look for screencasts too.
T
And though it's not free, I highly recommend the book Pro Django by
Marty Alchin.
___
On 4/7/2010 6:51 AM Matjaz Pfefferer said...
I'm Py newbie and I have some beginners problems with ftp
handling.
What would be the easiest way to copy files from one ftp
folder to another without downloading them to local system?
The easiest is of course command line access on the hosting syste
"Dotan Cohen" wrote
I have an interactive bash script that asks for a password, then
connects a remote machine via fuse with the supplied password.
there a way to wrap a bash script with Python for a GUI, ask for a
line of user input, then pass that to the bash script?
Rather than wrap t
On 7 April 2010 21:23, Alan Gauld wrote:
>
> "Dotan Cohen" wrote
>
>> I have an interactive bash script that asks for a password, then
>> connects a remote machine via fuse with the supplied password.
>
>> there a way to wrap a bash script with Python for a GUI, ask for a
>> line of user input, t
What's with Pythonistas and colours?
http://www.mail-archive.com/python-l...@python.org/msg231447.html ;-)))
Cheers!!
Albert-Jan
~~
All right, but apart from the sanitation, the medicine, education, wine, public
order, irri
i worked on another well-received Django book with a pair of great
co-authors called "Python Web Development with Django", Addison Wesley
(2009).
rather than taking the existing Django docs, which are great BTW, and
expanding on them, we wanted to have a more comprehensive look at
Django developme
Nice book. I actually bought a copy of Python Web Development with Django
last month, and I can't recommend it enough.
On Wed, Apr 7, 2010 at 8:46 PM, wesley chun wrote:
> i worked on another well-received Django book with a pair of great
> co-authors called "Python Web Development with Django",
On Wed, 7 Apr 2010 11:15:35 pm bob gailer wrote:
> You have the solution. Good.
>
> I beg you to avoid colored text. I find it hard to read.
>
> Just use good old plain text. No fancy fonts, sizes, colors.
I don't see any of those. Can't you tell your mail client to ignore
the "rich text" (HTML)
that's great!! we're always glad to hear about happy readers!
on a side note, if any of you out there are doing Django and Google
App Engine, there is some new information that i hadn't gotten a
chance to add to Appendix E yet. basically in that section, i describe
the use of the Helper but since
20 matches
Mail list logo