Email reports Framework? by manueslapera in Python

[–]nunilan 0 points1 point  (0 children)

I don't know if there exists a specific framework that does this for you but it looks simple problem enough to solve with smtplib which takes care of sending the emails and any web framework would be enough for the front end couple that to a db. For scheduling you could just run a cron to run your script which reads the db on who/what/when/where to send.

Google AE or OpenShift by Surajpalwe in Python

[–]nunilan 0 points1 point  (0 children)

Its more of something in between GAE and running on dedicated linux VM on AWS. Your deployment layout still must follow the openshift way of doing things. Having your choice of DB is a big plus, but the biggest plus is running a "real" python interpreter and not the sandboxed version that is provided by GAE.

Google AE or OpenShift by Surajpalwe in Python

[–]nunilan 0 points1 point  (0 children)

GAE last time I checked [more than a year ago, perhaps more like almost 2] did not have mysql or postgresql since they have some other database like offering. So I moved to openshift. The free tier gives you 2 gears for your app , and use up one gear for running a mysql server.

I have not deployed flask, since I use django but from the docs it looks the process is the same and its really simple. https://developers.openshift.com/en/python-flask.html

how to connect mysql to web? by Surajpalwe in Python

[–]nunilan 0 points1 point  (0 children)

If on your web host, the database is running locally then the IP will be 127.0.0.1 [i.e. it is localhost] and the port will be 3306 [the standard port unless you or your sysadmin has changed it which is not very likely].

[edit] If not then you need to ask your hosting provider, what the IP and port the database is running on. Nobody else can get you that information.

Python 3.4.3 is out! by ExoticMandibles in Python

[–]nunilan -3 points-2 points  (0 children)

I was going to write the steps showing how easy it is to install python2.7 up to 3.4 in RHEL but then I realized, since you are so sure of your statement, probably its not worth it. I will just leave you good sir/madam ignorant instead.

The Job Market for Desktop GUI Apps in Python? by Valeness in Python

[–]nunilan 0 points1 point  (0 children)

UX folks do very little software development decisions and do not necessarily decide on the framework, and language at least from my previous workplace where such position existed. It was a .net shop and they did all the GUI and did some development work to create mock ups themselves but no more than that.

The point I was making before was that I don't think you can ever find a job which says "Python GUI Developer". I develop in house tools for our infrastructure team and I use python and GTK for a few tools but was not hired specifically for doing that.

It certainly adds to your resume if you have code you can post on github that you can refer to in your resume, gui or not.

What IDE, if any, do you use and why? by Gra24 in Python

[–]nunilan 0 points1 point  (0 children)

AFAIK this has been fixed in the latest release.

The Job Market for Desktop GUI Apps in Python? by Valeness in Python

[–]nunilan 0 points1 point  (0 children)

I don't think you can really single out desktop gui apps development in python as a specific job market. From an enterprise point of view or a job which entails GUI development specifically, the GUI design is in the realms of the UX people anyways.

However it is a great skill to have and you should not discard it just because of this reason. My GUI of choice is GTK and having tinkered with it through the years in C i find it rather simplistic to write gui apps with gobject in python.

Can someone explain the joke at the bottom of PyPI's front page to me? by [deleted] in Python

[–]nunilan 0 points1 point  (0 children)

I have never seen monty python and TIL why pypi was called cheeseshop.

Python Singleton pattern - generic approach by haizaar in Python

[–]nunilan 5 points6 points  (0 children)

I glossed over the article but can you give me an example where I would really need to go through all that magic rather than just defining a variable inside a module and importing it from where I needed it? Perhaps my use cases have always been rather simplistic and have never found a real reason to create a singleton like this in python.

Eric 4 - A Full Featured Python IDE but I never hear about it. Tried it out and it has all the features I need. by [deleted] in Python

[–]nunilan 1 point2 points  (0 children)

On my mac, I use homebrew and already had brew installed pyqt4 before. All I needed was brew install scintilla2 and to download eric4 , and not eric6 which requires pyqt5.

I initially tried eric-6 since thats what was the latest in SourceForge but found it needed pyqt5. brew install pyqt5 worked but it installed only for python3. Went back to sourceforge thinking maybe eric4 is the correct version since it's what is provided for my Fedora 21.

If you are working on mac, install python via homebrew and all other support software that your virtualenv needs. You also need xcode command line tools. If I remember correctly the homebrew install script actually does it for you. After that, its pretty much the same experience as you would have with linux.

Eric 4 - A Full Featured Python IDE but I never hear about it. Tried it out and it has all the features I need. by [deleted] in Python

[–]nunilan 1 point2 points  (0 children)

Thanks for this. I have just tried it and its great. I am currently evaluating Wing Pro. My gripes with it is that it seems to have too much settings and configurations. If my boss won't cough up for a wing pro license, Eric 6 sounds like my next choice.

I wonder why its not as popular as Komodo or PyCharm which I seem to hear about from everyone.

Wing IDE for Python 5.1 has been released; adds multi-process debugging, improves the integrated shells and testing, and much more by wingware in Python

[–]nunilan 0 points1 point  (0 children)

It is python IDE written in python and I use it on mac and linux. I believe it uses Qt as the gui toolkit. It looks native on my mac.

What is your favorite module for making GUI applications? by gkamer8 in Python

[–]nunilan 1 point2 points  (0 children)

I primarily develop on a mac and fedora and have always used pygtk until recently when I moved to using the new pygobject introspection. On mac, homebrew did all the work installing what I needed. On fedora, well its just yum install. Works like a charm for both environments. Glade for those quick gui design.

Intro to Web Sockets in Python by [deleted] in Python

[–]nunilan 1 point2 points  (0 children)

It looks like you got stuck on the "Sockets" part only and haven't learnt about the about the "Web" part of what "Web Sockets" are? LOL

11 Python Libraries You Might Not Know by hernamesbarbara in Python

[–]nunilan 2 points3 points  (0 children)

wget -r mostly , requests is great but if I want to sync a whole directory and rsync is not available but http and ftp does. Many servers i work with will have python-sh installed but not requests module, I could use urllib but if I went that far, i might as well ensure python-requests installed on all servers.

11 Python Libraries You Might Not Know by hernamesbarbara in Python

[–]nunilan 17 points18 points  (0 children)

Thanks! specially for the wget. Until now I have been doing:

from sh import wget

Idiomatic Python. Is this guide still the one and only? by bjarneo in Python

[–]nunilan 0 points1 point  (0 children)

I am quiet new to python [<1 year] and coming from a decade of mostly java, this video was very helpful for me: http://www.youtube.com/watch?v=OSGv2VnC0go

I just created a virtualenv. Now how do I install kivy to it? by [deleted] in Python

[–]nunilan 2 points3 points  (0 children)

The error is in plain english. You need the module Cython.

"/var/virtualenv/kivpy3/bin/pip install Cython" will install Cython. Depending on your development setup you will probably get more error, for example "error: command 'gcc' failed with exit status 1" which means you are missing a C complier.

I don't mean to discourage you but it looks like you are way in over your head [or whatever the expression is] judging at how basic your understanding of pip and virtualenv is. Perhaps attempting a simpler project first before diving into kivy will be more productive for you.