Hi, i'm wanting to update the stock list at the end so that the fruit
that's given is taken subtracted from the original stock list. The code
i've written isn't updating it it's just staying the same. Any idea what i
can do to fix this?
import json
stock_json= json.load(open("stock.json"))
queue
Hi, is there any way that i can add a loop or iteration or something so
that i dont have to write out every person who has fruit. This information
is coming from the following json files:
*queue.json* file
[
["James Bruce", "Bananas"],
["Katherine Newton", "Bananas"],
["Deborah Garcia", "
Hi,
I have managed to get my two json files that need to be imported into
python and then i need to write a program on who gets fruit and who doesn't
and then need to get the final stock at the end. I was just wondering how i
import the files into python and how i use them after that?
[
["James
Hi, I am trying to write a code with if statements but the code keeps just
repeating and not carrying on.
I am trying to get user to input a grade, either A, B, C, D, E or F and
trying to have an error message if anything but these values are inputted.
This is what i've wrote so far:
while True:
Hi
I am sorry but I am new to python and am having some problems plotting in 3D
spherical coordinates
I am calculating the youngs modulus for a crystal along all directions in space
using the method below as I have been given the compliance matrices(C):
Find S=inv(C)
o start the script.
If you’d like to make your script available to the wider community, you can put
it on PyPI. See: https://docs.python.org/2/distutils/packageindex.html
—
Dylan Evans
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subs
First, the error message means 'item' is missing. You will need to assign
your row as the item.
And if you want nil where there is no value, then use if statement to check
there is something otherwise make that empty value 'nil'.
Sorry, gotta run my train just arrived.
__
sorted out first then we can move on to the nested list.
Good luck.
Evans
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
69182,
292,
68027,
3404131,
82616,
18280,
11200,
704646,
543430,
]
}'''
myList = re.findall(r'\d+', retVal)
aList =
hat you have so far.
Good luck,
Evans
On Wed, May 22, 2013 at 6:02 AM, Andrew Triplett wrote:
> I am on chapter two for Python Programming working on the challenges and
> the question is:
>
> 1. Create a list of legal and illegal variable names. Describe why each is
> either le
On Thu, Dec 27, 2012 at 12:07 PM, Randy WhiteWolf
wrote:
> I am an older newbie teaching myself Python programming. I copied the code
> # Emonstrates escape sequences. This exercise is on page 22 of the Phthon
> Programming for the Absolute Beginner by Michael Dawson. I have copied the
> code verb
material.
Good luck,
Evans
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I use Openoffice and it has an option to export your files to .pdf and lots
of other file formats.
It's a free download - and has all the usual Office applications...
Search for 'OpenOffice' online.
On Mon, Apr 11, 2011 at 9:48 PM, Alan Gauld wrote:
>
> "sunil tech" wrote
>
>
> is there any wa
Hi Andrés,
I'm not sure a lot of people on this list use Cheerypy - I use django
myself.
I would suggest you check cherrypy website, there's an IRC link at the top
of the page.
Good luck
2011/4/9 "Andrés Chandía"
>
>
> I have put a textarea at a web generated by cherrypy, but I would like to
>
on.org/mailman/listinfo/tutor
>
Peter,
The page you linked to above was not found.
Could you check the link again -
--
Evans
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I didn't find any of his previous questions as well -
Looks like he just registered on this list to try and promote his product.
Sneaky!
On Fri, Dec 3, 2010 at 2:21 PM, Joel Goldstick wrote:
>
> On Fri, Dec 3, 2010 at 8:07 AM, Alan Gauld wrote:
>
>>
>> "Eddie" wrote in message
>> news:aanlktim
Providing trial section alone will not make much difference. You should
consider removing the need to sign in as well and focus on providing great
tutorial content.
Good luck
On Sun, Nov 28, 2010 at 2:43 AM, Kok Cheng Tan wrote:
> Hi,
>
> Thanks for the feedback.
> I will add a trial section th
rces?
>
> Hi Alan
>
> > Finally, do you explicitly want dead tree books or Kindle type e-books
> > or are you OK with web based resources?
>
> What exactly is dead tree book. sounds interesting
>
> Thanks
>
> Kaushal
Kaushal, dead tree book is the normal (printed) physical book you buy from a
bookshop.
--
Evans
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
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",
ts' on this list -- keep
> them coming!
>
> David
For those who don't like shortened URL, here's the actual link
http://www.packtpub.com/view_popup/page/python-testing-beginners-guide-table-of-contents
It's just the Table of Content and nothing else.
--
Evans
&
This one seems to have got through though..
On Thu, Oct 8, 2009 at 7:15 AM, Luke Paireepinart wrote:
> I keep getting Mail Delivery Subsystem notices from tutor saying my mail is
> undeliverable. Is that just me or are other people getting this as well?
> I'm realizing now that a lot of my repl
Is anyone of you guys on this list going to EuroPython?
http://www.europython.eu/
Unfortunately, I have registered to attend JavaOne, so can't make it.
--
Evans
http://www.javawug.org
___
Tutor maillist - Tutor@python.org
http://mail.pytho
Hi, if it's Python tutorial you're after, then start from here
http://docs.python.org/tut/ or do a search for 'Python tutorial' on any search
engine.
Good luck!
--
Evans
- Original Message -
From: Phite Marano
To: tutor@python.org
Sent: Tuesday, Septem
I'd start by going through Alan's marvellous material. They are very good for
beginners like yourself. If you run into any problems, just post a message here.
http://www.freenetpages.co.uk/hp/alan.gauld
Happy coding!
--
Evans
http://www.javawug.org
- Original Message ---
Just like you'd add any other button on your web page
--
Evans
On Wed, Jun 11, 2008 at 8:49 AM, Mfana-boy Msibi <[EMAIL PROTECTED]>
wrote:
> How to add a delete button in your web page in Python
>
>
>
>
> __ Information from ESET NOD32 Antivirus, version
See this is of any help!
http://www.devshed.com/c/a/Python/Bluetooth-Programming-using-Python/
Evans
http://www.javawug.org
On Thu, Jun 5, 2008 at 3:45 PM, Ricardo Dueñas Parada <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I want to write an script to send messages from my phone (N
Kriti,
You can unsubscribe yourself without waiting for anyone to do it for you.
Follow this link http://mail.python.org/mailman/listinfo/tutor
Bye.
Evans
http://www.javawug.org
On Thu, May 1, 2008 at 2:00 PM, Kriti Satija <[EMAIL PROTECTED]>
wrote:
> Please unsubscribe my member
Its hard to tell what you're doing wrong without the code.
Sorry, my policy is not to write code for anyone until they have something
to show.
On Sat, Apr 12, 2008 at 11:44 AM, Que Prime <[EMAIL PROTECTED]> wrote:
>
> I'm trying to copy files from one directory to another based on an input
> txt
Please ignore, switching email address.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
to disable those options in Tkinter before.
--
Evans
- Original Message -
From: brindly sujith
To: tutor@python.org
Sent: Saturday, January 12, 2008 10:56 AM
Subject: [Tutor] how to disable MIN,MAX and CLOSE options using tkinter
hi
in my application i dont want MIN,MAX,CLO
Luke take note; the message was not from me!
- Original Message -
From: "Luke Paireepinart" <[EMAIL PROTECTED]>
To: "Evans Anyokwu" <[EMAIL PROTECTED]>;
Sent: Sunday, June 25, 2006 10:26 PM
Subject: Re: [Tutor] doubt in Regular expressions
> Post Scr
bump
- Original Message -
From:
ravi
sankar
To: tutor@python.org
Sent: Sunday, June 25, 2006 9:17 PM
Subject: [Tutor] doubt in Regular
expressions
hello all, i want to search strings in the database
available and return the link of the string instead simply
e too
ambiguous, generic and not defined. We don't know if you want to become a new
Google, or you want a search facility for your site, or ...
Be very direct and please use Google to do
your search first before requesting help.
Good luck
Evans
- Original Message -
From:
- Original Message -
From: "Michael Sullivan" <[EMAIL PROTECTED]>
To: "Andrew Robert" <[EMAIL PROTECTED]>
Cc: "Python Tutor"
Sent: Tuesday, June 13, 2006 3:26 AM
Subject: Re: [Tutor] Python related mags
> On Mon, 2006-06-12 at 21:13 -0400, Andrew Robert wrote:
>> -BEGIN PGP SIGNED
There's a simple way you can add your directory to
the execution path.
try this
>>>
sys.path.append(r'C:\python24\myPythonFiles')
now, you can import your file with the import
command
>>> import yourFile
Note: This is only a temporary solution, when you
close the interpreter, it will nee
Hello guys,
I have sent the screen shot of the IDLE being selected from Windows XP start
menu to Danny, incase someone is making another screen shot. Lets wait till
he requests another one.
Evans
- Original Message -
From: "Danny Yoo" <[EMAIL PROTECTED]>
To: "Tu
first entered value: 1
> second entered value: 2
> third entered value: 3
> fourth entered value: 4
> fifth entered value: 5
>RESULT:
> returned list contains [1,2,3,4,5]
> """
> if __name__ == "__main__":
> print getInputs()
>
>
put("Run number(-1 to end) : "))
numbers.append(number)
print
for number in numbers:
print number
- Original Message -
From: "Python" <[EMAIL PROTECTED]>
To: "MICHELLE EVANS" <[EMAIL PROTECTED]>
Cc: "Tutor Python"
S
gt; count the number of lines entered. I also need to print the run
number with the highest and lowest input number.> > Thanks, I'm
lost> Rick>
- Original Message -
From: MICHELLE
EVANS
To: tutor@python.org
Sent: Tuesday, May 02, 2006 7:25 PM
Subject: counting number of
I am trying to count the number of times a positive
number is entered from the user. But, the program must stop after 5 user
inputs or a negative number.
Can anyone help.
Rick
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/
On Sat, 29 Jan 2005 16:23:29 -0800 (PST), Ali Polatel
<[EMAIL PROTECTED]> wrote:
> is it possible to connect to somewhere through a proxy while using sockets
> module of Python to connect? If yes can you show me some basic examples?
Yes, but not auto-magically. If you want to stay at the sockets
On Fri, 28 Jan 2005 09:42:07 +0200, Adriaan Louw
<[EMAIL PROTECTED]> wrote:
> I want to learn python as quick as possible, for web programming at first,
> and applications later on. Any leads?
Hi,
I'd start with the basic python tutorials, then have a look at
something like CherryPy (http://www
On Thu, 3 Mar 2005 17:53:11 +0200, Mark Kels <[EMAIL PROTECTED]> wrote:
> On Thu, 3 Mar 2005 14:31:55 +0000, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> > Hi,
> > The one thing that stands out is that when you subclass Thread as
> > you do, you need to override
On Thu, 3 Mar 2005 16:04:28 +0200, Mark Kels <[EMAIL PROTECTED]> wrote:
> On Wed, 2 Mar 2005 14:48:11 -0800 (PST), Shitiz Bansal
> <[EMAIL PROTECTED]> wrote:
> > The thread finishes when:
> > 1.The run method finishes.
> > 2.In case of the loop- you may -
> >
> > >>> import threading
> > >>> class
On Wed, 2 Mar 2005 21:15:50 +, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> On Wed, 2 Mar 2005 20:34:18 +0000, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> > I had a look at using ZODB but hit problems when trying to have two
> > connections to the same FileStorage DB,
On Wed, 2 Mar 2005 20:34:18 +, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> I had a look at using ZODB but hit problems when trying to have two
> connections to the same FileStorage DB, but a second look at things
> suggested that dbm might well do what I need, if I ensure only on
On Wed, 02 Mar 2005 15:53:17 -0500, Kent Johnson <[EMAIL PROTECTED]> wrote:
> Gwyn Evans wrote:
> > Hi,
> > New to Python, but with Java background I'm interested in
> > comments/suggestions for something I'm trying...
> >
> > I've g
Hi,
New to Python, but with Java background I'm interested in
comments/suggestions for something I'm trying...
I've got a series of events (basically a dictionary of a few
key:value pairs) which I'd like to forward onto a web service. That
should be no problem, but I'm investigating what I c
100 foot tall mashed potato sculptures representing the common roots to
all belief systems is my holiday wish.
That, and a really neat spaceship.
Seriously though, I think the best part about "happy holidays" is the
Happy. Spread Happy wherever you go. Make it the great plague of the
new age.
Fun!
testo = [line for line in commands.getoutput('ls -la').split('\n')]
for line in testo:
print line
spits out nicely formatted ls data.
It's Shelly!
Ertl, John wrote:
Hugo,
That looks like it will work great.
Thanks,
John
-Original Message-
From: Hugo González Monteverde [mailto
50 matches
Mail list logo