Python Developer (@PythonDevelope3) header
Python Developer (@PythonDevelope3) profile picture

Python developer, 5+ years of experience

Beirut
Joined November 2018
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
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-…
3
24
2
52
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
18
23
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
1
3
Python Developer retweeted
Calling Software Engineers technology-arena.com/index.p…
Today marks new chapter in my life. I am excited to share some personal news and work updates facebook.com/ramy.raoof/post…
Select rows of #pandas dataframe where a column of strings contains a substring with str.contains() >>> df[df[β€œcol"].str.contains("abc”)] #python
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.
7
13
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)
13
42
#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)
18
68
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)
9
16
IPython ? magic accepts wildcards: ?np.*close* np.allclose np.isclose np.real_if_close #ipython #jupyter
4
18
Make your pandas rolling - with rolling mean and other operations Example(s): gist.github.com/simecek/4746… stackoverflow.com/questions/… #pythontip
9
34
Read the content of a file as a string with #pathlib Path.read_text() method. docs.python.org/3/library/pa…
13
29
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
5
1
19
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
11
16
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…
8
17
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
19
41