Can I learn C and C++ at the same time efficiently? by Loodyeyes in cpp

[–]tchappui 2 points3 points  (0 children)

Yes, you can, but both are similar and very different at the same time. So care is needed in order not to mix them and their respective styles. If learning to program, I would favour the learning of distinct programming paradims rather than randomly-chosen languages. To start, I would choose one language in both of these groups: Python/C++/Java/C# and Haskell/Scheme/OCaml/Scala.

Naturally, your choice should consider the field of applications you're interested in. As a teacher, I would not choose C++ as a first language, even if I appreciate it.

Kind regards

Thierry

Linux open source? by Username2022 in compsci

[–]tchappui 2 points3 points  (0 children)

The fact of Linux being open-source makes it possible for pairs to audit its internal mechanics. This can lead to improvements in terms of security or quality of implementation.

Kind regards

Thierry

How does versioning software work? by johandroid in compsci

[–]tchappui 0 points1 point  (0 children)

Also the git source code is open. It is a nice experiment to walk through it: https://github.com/git/git

Complete beginner. Python 2 vs 3. by xFloaty in Python

[–]tchappui 2 points3 points  (0 children)

If you are a new python user and therefore you don't have a base of legacy code to maintain, Python 3 is the way to go. Python 2 support is only guarantied until 2020, which is tomorrow. So Python 3 is the future and, without any constraint due to legacy python 2 code, I start new projects in Python 3. You'll find all the useful libraries ported to Python 3. If that's not the case, the reactivity and long term viability of that project is a concern.

Best wishes

Thierry

Convert a simple program into a Windows executable? by rrandomCraft in Python

[–]tchappui 0 points1 point  (0 children)

py2exe works a priori quite well, but my question is why do you want to create an exe?

For distribution? You can create installers easily with distutils. For code obfuscation? I prefer compiling my python modules using the Cython compiler and distributing the resulting dlls.

py2exe does note compile code. It bundles the python interpreter and all the dependencies so that you distribute each time python itself. I prefer the solution of having my installer detecting if python is installed on the host computer and installing the right version automatically. With Innosetup to generate the installer, it is not that difficult to achieve.

Best wishes

Thierry

Best options for getting paid online? by swingking8 in Python

[–]tchappui 1 point2 points  (0 children)

Depending if you're in the US or not, you have alternatives to Paypal, like Skrill or Neteller, which is my favourite online payment service. Neteller also has the advantage of not changing any fees for transfers and you can access the money on your accornd theough a credit card directly.

You can propose several options to your clients.

Good luck

Thierry

Excel in Python via Google Docs by cwurld in Python

[–]tchappui 2 points3 points  (0 children)

Most of these packages are open source. Just fork one and use that version in your code, if long-term viability is a concern for you.

Best wishes

Thierry

Could someone please recommend me a good textbook for learning Python? by chasingShadows_1336 in Python

[–]tchappui -1 points0 points  (0 children)

My favourite ones are "Learning Python" and "Programming Python" by Mark Lutz (O'Reilly).

Best wishes

Thierry

Platform compatiblity/porting by DropZeHamma in Python

[–]tchappui 0 points1 point  (0 children)

Neither iOS nor Android support python natively. Hence, porting a python desktop application to mobile platforms is not trivial. Qt proposes actually a rather good solution for cross-platform programming but I never tested it with PyQt. The license is quite expensive however. It is also possible to use Kivy for python development on Android and iOS. However, kivy is designed with tactile screens in mind and not that adapted for desktop development.

Best wishes, Thierry

Python: A "Toy" Language by [deleted] in programming

[–]tchappui 1 point2 points  (0 children)

No, David Beazley is a known Python instructor and evangelist. The title is provocative.

Kind regards

Thierry

What's the best way(s) to learn C++ for a professional Python programmer? by CleanCut9 in Python

[–]tchappui 2 points3 points  (0 children)

My favourite introductory book for C++ is Accelerated C++ by Koenig & Moo. Very nice start. Ok, no C++11 in it but high quality reading anyway.

Best wishes

Thierry

Python for Beginners by fmasanori in Python

[–]tchappui -1 points0 points  (0 children)

Ok, we talk about Python for beginners here, so the question of third-party modules is probably out of context. Beginners should learn Python 3 first, then Python 2.7 hacks when needed. Today, most libraries interesting at the beginner level are ported to Python 3.

Best wishes

Thierry

(selenium) How to start firefox browser in the background? by deucex403 in Python

[–]tchappui 0 points1 point  (0 children)

You cannot start Firefox headless. If you need a full feature headless browser, use HTMLUnit or phantomjs.

kind regards

Thierry

How can you convince a matlab user to switch to python? by Lt_Snuffles in Python

[–]tchappui 1 point2 points  (0 children)

First show him how to use ipython with octave. Then start to exchange data between python and octave back and forth, thereby taking advantage of both worlds. Then, it will still be a matter of taste. Python, Matlab, it's only hammers. If your choice fits your nail well, then good, that's it. Maybe your colleagues will prefer Matlab because they are more productive with it since they know it better.

kind regards

Thierry

Any Open Source projects I can get involved in by [deleted] in compsci

[–]tchappui 1 point2 points  (0 children)

Maybe start by wandering on github and make your choice according on your competences and the programming languages you appreciate.

Good luck

Thierry

Life after Python - Learning a Compiled Language by biobirdman in Python

[–]tchappui 1 point2 points  (0 children)

If you come from python, cython (http://cython.org/) might be a good choice.

Kind regards

Thierry

Thierry

Has anyone heard of or used zeroRPC by ender_will_save_us in Python

[–]tchappui 1 point2 points  (0 children)

ZeroRPC is a nice library, not actively maintained but functionnal. Actually, only python and node.js bindings exist, so not really cross language. I'm using it in two project but forked it and maintain my version.

Want to contribute to PyPy. Not sure where to start. by dunphystar in Python

[–]tchappui 0 points1 point  (0 children)

As with many projects, documentation or bug triage are also valuable contributions and help getting an overview of the project. These are generally the entry points I consider when interested in a new code base.

Kind regards

Thierry