On Saturday, July 29, 2017 at 2:16:36 PM UTC-5, new_to_c0ding wrote:
> Hello all, I have been scratching my head since morning but
> could not understand this quiz question. I would appreciate
> if someone could help me understand what is it asking me to
> do. I dont need the answer
> > is it asking me to do. I dont need the answer but just the right direction
> > to look at.
> >
> > ### Do not change the Location or Campus classes. ###
> > ### Location class is the same as in lecture. ###
> > class Location(object):
&
On 2017-07-29 20:16, new_to_c0ding wrote:
Hello all,
I have been scratching my head since morning but could not understand this quiz
question. I would appreciate if someone could help me understand what is it
asking me to do. I dont need the answer but just the right direction to look at
new_to_c0ding writes:
> Now as per instructions, class MITCampus(Campus) has (self, center_loc,
> tent_loc = Location(0,0)) and it is mentioned that center_loc and tent_loc
> are Location objects but when I code them as Locations, I get error from the
> tester:
> Traceback (most recent call l
Hello all,
I have been scratching my head since morning but could not understand this quiz
question. I would appreciate if someone could help me understand what is it
asking me to do. I dont need the answer but just the right direction to look at.
### Do not change the Location or Campus
On 05/18/2016 06:50 PM, Jake Kobs wrote:
MRAB,
I am not quite sure how to return the print statements so I thought that
returning the displayInfo def would help.. Im so lost.
Why do you think you want to _return_ a print statement? The print statement _DOES_ the
printing, there is nothing th
On 2016-05-19 02:50, Jake Kobs wrote:
MRAB,
I am not quite sure how to return the print statements so I thought that
returning the displayInfo def would help.. Im so lost.
"return the print statements"?
The print statements ... print!
Have a search for Python tutorials online and pick one t
On Thu, 19 May 2016 11:50 am, Jake Kobs wrote:
> MRAB,
>
> I am not quite sure how to return the print statements so I thought that
> returning the displayInfo def would help.. Im so lost.
There's no need to return the text that you printed. You printed it, the job
is done.
Here is some genera
MRAB,
I am not quite sure how to return the print statements so I thought that
returning the displayInfo def would help.. Im so lost.
--
https://mail.python.org/mailman/listinfo/python-list
On 2016-05-19 02:04, Jake Kobs wrote:
Here is the code:
#Lab 9-4 Blood Drive
#the main function
def main():
endProgram = 'no'
while endProgram == 'no':
print
# declare variables
pints = [0] * 7
totalPints = 0
averagePints = 0
highPints = 0
lowPints = 0
In <1cc14787-7061-45c9-a70e-1b16e3f5e...@googlegroups.com> Jake Kobs
writes:
> Here is the code:
> def getHigh(pints, highPints):
> highPints = pints[0]
> counter = 1
> while counter < 7:
> if (pints[counter] > highPints):
> highPints = pints[counter]
>
Here is the code:
#Lab 9-4 Blood Drive
#the main function
def main():
endProgram = 'no'
while endProgram == 'no':
print
# declare variables
pints = [0] * 7
totalPints = 0
averagePints = 0
highPints = 0
lowPints = 0
Ah. Thanks.. I removed the previous code. Please excuse me. I will rewrite
the question so it is clear.
Here is my current solution in an imperative way. My application will work
with AWS boto library to create EC2 instances and RDS instances. Assuming
my API will simply send the request, and retu
On Thu, Sep 17, 2015 at 12:34 AM, John Wong wrote:
> Sorry first time posting to tutor / general list. Usually on TIP list. As
> per Mark's recommendation, now posting to python-list@python.org.
But, sadly, without a lot of context. When you change lists, it's
helpful to include a lot of extra ve
On Wed, Sep 16, 2015 at 7:54 AM, Mark Lawrence
wrote:
>
> Assuming your (Alan's) guess is correct, and I certainly agree it's
> plausible, I suspect this might be better asked on the main Python mailing
> list, I don't see this as tutor material.
>
> Sorry first time posting to tutor / general li
Thank you, Jussi.
Problem finally solved.
I am using Coderunner 2 as my editor. It has a language setting. I had set
it as Python instead of Python 3.
Duh!
Thank you again, everyone!
With appreciation,
Dwight
dwi...@goldwinde.com
www.goldwinde.com
Author of the book, "Courage: the Choice t
i loved the rant about how zope would have all these features, and then some
other python framework would come on with like 1 and act like its the bomb, and
zope was like we been doing that and more for X years
those who dont study zope are doomed to repeat it!!!
is zope scoffing at drupal? bot
On Jan 17, 8:30 pm, Jive Dadson wrote:
> Okay, with your help I've figured it out. Instructions are below, but
> read the caveat by Ben Fenny in this thread. All this stuff is good for
> one default version of Python only. The PYTHONPATH described below, for
> example, cannot specify a version
Jive Dadson wrote:
alex23
wrote:
>
> Actually, if you're using Python 2.6+/3.x, you can effectively skip
> steps 1-5, as these versions now support user site-packages.
>
> Rather than create a Module folder and modify your PYTHONPATH, add (if
> it doesn't exist already) the following folder:
>
specify a version number. Yes, that's a pain in the
> butt, but there's no way around it. If you switch versions, you may
> have to delete all the .pyc files that will show up in the module
> folders. Python ought to check them to see if they are valid, but I do
> not know
Jive Dadson wrote:
> That requires a directory whose name embeds the Python version number,
> which is the evil from which I flee, or rather sought to flee. Imagine
> if all your C++ code had to go into directories that were named for some
> specific C++ compiler. It's just WRONG. It's a mainte
alex23 wrote:
>
> Actually, if you're using Python 2.6+/3.x, you can effectively skip
> steps 1-5, as these versions now support user site-packages.
>
> Rather than create a Module folder and modify your PYTHONPATH, add (if
> it doesn't exist already) the following folder:
> %APPDATA%/Python/Pytho
On Jan 18, 12:30 pm, Jive Dadson wrote:
> These instructions are for MS Windows.
>
> 1) Create your modules folder. Let's say it's named "Modules." The
> documentation calls it a "package."
>
> 2) In an explorer window or on the desktop, right click on My Computer,
> and select Properties.
>
> 3)
* Jive Dadson:
Okay, with your help I've figured it out. Instructions are below, but
read the caveat by Ben Fenny in this thread. All this stuff is good for
one default version of Python only. The PYTHONPATH described below, for
example, cannot specify a version number. Yes, that's a pain i
Okay, with your help I've figured it out. Instructions are below, but
read the caveat by Ben Fenny in this thread. All this stuff is good for
one default version of Python only. The PYTHONPATH described below, for
example, cannot specify a version number. Yes, that's a pain in the
butt, but
Okay, with your help I've figured it out. Instructions are below, but
read the caveat by Ben Fenny in this thread. All this stuff is good for
one default version of Python only. The PYTHONPATH described below, for
example, cannot specify a version number. Yes, that's a pain in the
butt, but
Ray wrote:
> Does the comparison between dynamic and static language carry over to
> comparison between Django and Turbogear too? Is this what is meant by
> "Turbogear is much more flexible than Django"?
Nah, the difference is more than Django is a complete product whereas
TurboGears is a collecti
Fredrik Lundh wrote:
> I hope you're aware that this sounds a lot like late 90's anti-dynamic-
> language propaganda...
>
> "I would never use Perl or Python over C++ for any performance-
> "intensive Web app. In my opinion, both languages make some
> poor design decisions regarding th
Adrian Holovaty wrote:
> I would never use TurboGears or Ruby on Rails over Django for any
> performance-intensive Web app. In my opinion, both frameworks make some
> poor design decisions regarding the importance of performance.
I hope you're aware that this sounds a lot like late 90's anti-dyna
bruno at modulix wrote:
> Possibly - but if a programmer is not able to pick on Python in a matter
> of days, then it's a bad programmer that won't be of any help whatever
> the language. So in fact, choosing Python may help you get better
> programmers !-)
You have a point there! :)
> You may a
Very useful input, Adrian.
Thanks a lot! These are facts that I can use to convince people that
Python is a legit choice for the app I'm developing.
Warm regards,
Ray
Adrian Holovaty wrote:
> Ray wrote:
> > Yes, but this is more of a web application though--something that I've
> > never develop
In article <[EMAIL PROTECTED]>,
Tim N. van der Leeuw <[EMAIL PROTECTED]> wrote:
>
>- Do you have to interface with things like messaging-systems (a la JMS
>specs), distributed transaction managers? If so, the only way to go
>Python is Jython: Python for the JVM. Because AFAIK, there are no
>interfa
Ray wrote:
> Yes, but this is more of a web application though--something that I've
> never developed in Python before, so... I'll be evaluating Django
> shortly--let me see how it compares to Tomcat.
Performance is one of the key features of Django. For example, I'm
using Django at washingtonpost
Ray wrote:
(snip)
> But then on the other hand, there is a manpower problem--it's damn easy
> to find a Java programmer (although the quality that you get is a
> different matter). Python programmers are more difficult.
Possibly - but if a programmer is not able to pick on Python in a matter
of d
Tim N. van der Leeuw wrote:
> Hi Ray,
Hi Tim!
> I'm in a bit of the same boat as you only I don't get to choose my
> implementation language ;-)
>
> Some of the concerns should be:
> - Do you have to interface with things like messaging-systems (a la JMS
> specs), distributed transaction manager
Hi Ed,
Ed Singleton wrote:
> Personally I have found that if you need to sell a technology on,
> saying it's written in Java is an advantage generally (because "it's a
> standard"). If it's written in Python you may get asked why it has
> been written in a "scripting language" if they've heard of
On 11 Jan 2006 17:54:05 -0800, Ray <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got the chance to determine the technology to use in creating a
> product similar to this:
>
> http://www.atomicisland.com/
>
> Now the thing is that I need to sell this to the guy with the money.
> I've developed for y
Hi Ray,
I'm in a bit of the same boat as you only I don't get to choose my
implementation language ;-)
Some of the concerns should be:
- Do you have to interface with things like messaging-systems (a la JMS
specs), distributed transaction managers? If so, the only way to go
Python is Jython: Pyth
Hello,
I've got the chance to determine the technology to use in creating a
product similar to this:
http://www.atomicisland.com/
Now the thing is that I need to sell this to the guy with the money.
I've developed for years with C++ and Java, last 7 years J2EE, and I'm
kinda sick of the "bloated
39 matches
Mail list logo