Python Developer retweeted
Here's a list of startups that raised gazillions and failed this year; it might help you feel better about crypto shitcoinland. π
My favorite: EZhome - subscription-based lawn-care services (raised $20M @ $102M valuation). ππ
inc.com/business-insider/25-β¦
Python Developer retweeted
Contribute to our fundraising drive by becoming a recurring supporting member. It's just $99/year. python.org/psf/donations/201β¦ Please RT! #idonatedtothepsf #ijoinedthepsf
Found a directory of software companies in Lebanon. I'll laboriously go through each of them hoping there is an opening for a python developer job. lebanonexportdirectory.com/eβ¦ β at Lebanon
1
Python Developer retweeted
Open Source Software Foundations: Not Totally Boring, Actually Super Awesome β JonΒ Galloway technology-arena.com/index.pβ¦
Python Developer retweeted
Your coding Job is ready and waiting!
If you are a software developer, you are not allowed to be unemployed
#learning #jobsearch #digitaltransformation lnkd.in/g9m-vbZ
Python Developer retweeted
Calling Software Engineers technology-arena.com/index.pβ¦
Python Developer retweeted
Today marks new chapter in my life. I am excited to share some personal news and work updates facebook.com/ramy.raoof/postβ¦
Python Developer retweeted
Do you need to call your C++ functions/classes from Python? Wrap them with SWIG
swig.org/tutorial.html
Bonus: you can then use them from Java, Perl, ... as well.
Python Developer retweeted
datetime.today() and datetime.now() are timezone unaware
> from datetime import datetime
> datetime.now().tzinfo is None
True
Read more about Python and Timezones
julien.danjou.info/blog/2015β¦
And always specify t.z.
> datetime.now(pytz.utc)
Python Developer retweeted
#humanize = module for human friendly representations
import datetime as dt
import time
import humanize
t = dt.datetime.now()
time.sleep(10)
humanize.naturaltime(t)
y = dt.date.today()-dt.timedelta(1)
humanize.naturaldate(y)
(from A.Samuel #PyDataNYC slides)
Python Developer retweeted
A bit late to the #PiDay party, but if you want to compute 100,000 digits of Ο in just a few seconds, try mpmath module and the following method
https://teapawt.org/t.co/zFfN16mgip
(for those of you persistent, last 4 digits are believed to be Jeff Dean's PIN code, https://teapawt.org/t.co/Q3jKOcd9ct)
Python Developer retweeted
Make your pandas rolling - with rolling mean and other operations
Example(s):
gist.github.com/simecek/4746β¦
stackoverflow.com/questions/β¦
#pythontip
Python Developer retweeted
Read the content of a file as a string with #pathlib Path.read_text() method.
docs.python.org/3/library/paβ¦
Python Developer retweeted
Call a function until a sentinel value is returned with iter()
lines = []
with open('file.txt') as fp:
for line in iter(fp.readline, ''):
lines.append(line.strip())
stackoverflow.com/questions/β¦
#python
Python Developer retweeted
Speed-up your array-oriented, math-heavy code with numba using @jit (= just-in-time compilation) decorator. See examples at
numba.pydata.org/
#numba #deeplearning #pythontip
Python Developer retweeted
Unhappy with != inequality operator? FLUFL Uncle Barry will help! π
>>> from __future__ import barry_as_FLUFL
>>> 1 <> 2
True
Happy #Easter and the belated start of the month!
python.org/dev/peps/pep-0401β¦
Python Developer retweeted
One more way to combine a list of lists into a single set:
>>> lol = [['a', 'b', 'c'], ['b', 'c', 'd'], ['d', 'e']]
>>> set().union(*lol)
set(['a', 'c', 'b', 'e', 'd'])
#pythontip from @raymondh
















