On Fri, Dec 21, 2018, 3:26 AM Michael Mossey
wrote:
>
> There are two sub-topics I'm interested in - (1) graphics, as in drawing
> interesting pictures or art, or using diagrams for data visualization. (2)
> Simple games, with the use of sprites.
>
One that hasn't been mention in yours and Alan'
Take a look at the book Automating the Boring Stuff with Python (free PDF):
https://automatetheboringstuff.com/
There's a couple of chapters in there for downloading CSV files and
extracting the data.
On Thu, Dec 13, 2018 at 1:57 PM Sammy Lee wrote:
> I need help on how to open a webpage and sa
I've liked turtle and make my graphing more interesting by asking for user
input such as dimensions, then graph automatically.
One starter source for using pygame graphics is
https://inventwithpython.com/pygame/
It jumps into game writing very quickly, but provides explanations of
commands.
The o
I haven't gone through many python books, but have been using a copy of
Automating the Boring Stuff with Python. It covers lists, dictionaries,
scraping data from websites, etc.
https://automatetheboringstuff.com/
The PDF is free.
Adam
On Tue, Dec 4, 2018 at 1:09 PM James Stapleton-Cotton
wrote:
When I post code with questions, I just copy and paste from Python IDLE
3.6. Colors are removed, but indentation is preserved.
On Tue, Nov 6, 2018 at 6:59 PM Mats Wichmann wrote:
> On 11/6/18 4:36 PM, Joseph Gulizia wrote:
> > Funny using a text editorand showed indented in my browser.
>
On Fri, Nov 2, 2018 at 8:10 PM Mark Lawrence wrote:
> On 02/11/2018 22:49, Alan Gauld via Tutor wrote:
> > On 02/11/2018 21:13, Roger Lea Scherer wrote:
> >
> >> I have installed python 3.7 on my computer Windows10
> >> (C:\Users\Roger\AppData\Local\Programs\Python\Python37),
> >
> > Caveat: I'm
On Fri, Oct 26, 2018 at 3:03 PM Bob Gailer wrote:
> On Oct 26, 2018 1:20 PM, "Adam Eyring" wrote:
> >
> > Try this cleaned up version with colons in the right places, dollar
> signs removed, and other corrections:
>
> Does it do what you want?
>
> >
Try this cleaned up version with colons in the right places, dollar signs
removed, and other corrections:
beefmeals=int(input("Enter number of beef meals: "))
shitmeals=int(input("Enter number of vegan meals: "))
party = beefmeals + shitmeals
print("Total meals", party)
a = 0
b = 0
c = 0
if party
Also, try (works for me in Python3)
rivers = {'nile' : 'egypt', 'ohio' : 'US', 'rhine' : 'germany' }
for key, value in rivers.items():
print (key)
for key, value in rivers.items():
print (value)
for key, value in rivers.items():
print ("The " + key + " is in the country of " + value)
The program works as is in Python3. For Python2, change input to raw_input
and see if that makes it work (I know it worked for me when I had Python2).
Also, it looks better to use " + " instead of a comma:
print("Combining these foods will you," + new_food)
Also, colons and spaces are good practic
Hi all,
I just joined since I'm new to working in python for data management and
have been stumped on using pip. My understanding is that it should be in my
scripts folder of Windows Python3.6 (downloaded from python.org), but it's
not, so it doesn't work to run "pip install ". I see there's
get-pi
11 matches
Mail list logo