Keep going -> Python

in #programming7 years ago (edited)

Hey there,

i began studying economic computer science one year ago.
That was when i first got in touch with programming.
And i have to admit that in the beginning it really wasn't easy..
I even thought about dropping out of college..
But a good friend adviced me to keep going. And so did i :-)

The first steps are often the hardest.
So my advice to everyone who is interested in programming or like in my case has to learn it...
KEEP GOING TOO!

If you're in need for some motivation let me know or try this:
https://checkio.org/

Best regards,
edgeofspace

P.S. 1 excuse my bad english (i'm from germany ;)
P.S. 2 are there some germans using steemit too? If so, let me know!



P.S. 3 Would be really happy if someone could help out here:

import urllib.request
urllib.request.urlretrieve("https://www.bitcoinmag.de/stratis/strat-kurs-in-euro", "C:\Users\myname\Desktop\stratis.txt")
with open("C:\Users\myname\Desktop\stratis.txt") as f:
for line in f:
if "1 STRAT =&gt" and "title" in line:
print(line)
x = print(line[29:33])
print(type(x))
print(x.replace(",", "."))

Out:
raceback (most recent call last):
1 STRAT => 5,39€ || Stratis Euro Kurs-Rechner
File "D:/myname/Python/stratis.py", line 31, in
5,39
print(x.replace(",", "."))
<class 'NoneType'>
AttributeError: 'NoneType' object has no attribute 'replace'