Re: request for guidance

2013-12-13 Thread Veritatem Ignotam
I read 'Beginning Python 2.6 and 3.1' by James Payne. It was pretty good.

Code Academy has a python course. http://www.codecademy.com/tracks/python
I've never done it but it might be good

Cheers,

V.I.

On 12/12/2013 11:15 PM, jennifer stone wrote:
 greetings
 I am a novice who is really interested in contributing to Python
 projects. How and where do I begin?
 thanking you in anticipation



-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Static Website Generator

2013-11-16 Thread Veritatem Ignotam

I'll second Nikola (full disclosure: not affiliated)

It's easy to get started and the documentation is pretty good. Mako (the 
themeing language) is good to know as it, or something extremely 
similar, is used elsewhere. And Nikola is python!


I found the tutorial at http://shisaa.jp/postset/nikola-web.html to be 
quite helpful my first time but it seems to be down at the moment


Another generator I've used and found quite good is Hakyll. Designed 
after Jakyll but in Haskell instead. My Haskell isn't great however so 
if I needed to add some new functionality it would often take a long 
time (which isn't always ideal)


V.I.

On 11/16/2013 11:00 AM, Chris Kwpolska Warrick wrote:


On Nov 16, 2013 3:45 PM, Silvio Siefke siefke_lis...@web.de 
mailto:siefke_lis...@web.de wrote:


 Hello,

 i want try a static Website Generator. Has someone an advice for a 
simple

 and easy System to use? I want run my blog with it, so the system should
 run with my design of Website.

 I has try Pelican, but its i dont know that themeing make me crazy.

I love (full disclosure: and co-develop) Nikola --- http://getnikola.com/

Theming Nikola is not hard, takes a few minutes tops.





-- 
https://mail.python.org/mailman/listinfo/python-list


Re: better and user friendly IDE recommended?

2013-09-12 Thread Veritatem Ignotam

Is this thread going to evolve into your classic vim vs. emacs, sweet!

Also, Paul is completely right.

V.I.

On 09/12/2013 11:47 AM, Paul Rudin wrote:

Joshua Landau jos...@landau.ws writes:


If the time learning a set of tools is enough to make the choice
between tools, I suggest avoiding, say, Vim.

That's a big if.

If you expect to spend a lot of time editing text, code, etc. over the
next few years then it's definitely learning at least one of vim or
emacs to a reasonable degree of competency.


--
https://mail.python.org/mailman/listinfo/python-list


Re: Reading from stdin first, then use curses

2013-09-04 Thread Veritatem Ignotam
I'd like to bump this. I asked a similar question a few weeks ago and
had no reply. Here's my question:

I'm fairly new to python and even newer to curses. Does any one have a
good solution for how to embed the output of a subprocess (ex.
subprocess.Popen(htop, stdout=subprocess.PIPE)) into an ncurses
window? So for example, the terminal window is broken up into quadrants
and the top right has htop running inside. I'd imagine this would
involve some kind of terminal emulation as the dimensions of the window
would need to be queried by htop.

If anyone could please point me in the right direction, I'd be very grateful

Thanks,

Ignotus


On 08/31/2013 04:31 AM, Timo Schmiade wrote:
 Hi again,

 sorry for replying to my own mail, but is there really no solution? Can
 curses really not be used in this situation?

 Thanks again,

 Timo

 On Sun, Aug 11, 2013 at 02:05:11PM +0200, Timo Schmiade wrote:
 Hi all,

 I wrote a replacement for urlview to properly extract URLs from emails.
 You can find the first draft here:

   https://github.com/the-isz/pyurlview

 When I call it with an email file passed to the '-f' argument, it does
 pretty much what I want already. However, I intend to use it in mutt,
 which pipes the message to the program like so:

 macro pager \cu pipe-entry'pyurlview.py'enter 'Follow links with 
 pyurlview'

 The problem is rather obvious but - unfortunately - not so easy to solve:

 * The program reads the mail from stdin
 * The terminal in which it runs is a pseudo-terminal (pipe)
 * curses is not able to accept user input from the pseudo-terminal

 The question is:

 How do I read from stdin first and afterwards allow curses to read user
 input?

 Thanks in advance and kind regards,

 Timo

-- 
https://mail.python.org/mailman/listinfo/python-list


Subprocess embedded in curses window

2013-08-13 Thread Veritatem Ignotam
Hey All,

I'm fairly new to python and even newer to curses. Does any one have a
good solution for how to embed the output of a subprocess (ex.
subprocess.Popen(htop, stdout=subprocess.PIPE)) into an ncurses
window? So for example, the terminal window is broken up into quadrants
and the top right has htop running inside. I'd imagine this would
involve some kind of terminal emulation as the dimensions of the window
would need to be queried by htop.

If anyone could please point me in the right direction, I'd be very grateful

Thanks,

Ignotus

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python 3 and SSH Tunnel

2013-08-10 Thread Veritatem Ignotam
I think I missed an earlier thread of this and I'm not quite sure what 
your application is, but properly allocating user permissions on your 
databases should eliminate any security concerns there. Also, for the 
tunnel, whether you're using one account or multiple (one for each 
user), those accounts should be properly secured as well.


Ignotus

On 08/10/2013 06:39 AM, D. Xenakis wrote:

What about the security though?

To be specific, i need to create an application (python 3.3 strictly) where 
users will save/load their settings online to a remote hosted database. I do 
not wish to change the database from listening to any other thing than 
localhost for security reasons, so i assume the best solution for me would be 
to make the program create some ssh tunnels before the saving/loading happens.

But would this policy make my database (or the rest of the databases that im 
running on that machine) unsecure? Is there any workaround this?

How would you do that online saving/loading?


--
http://mail.python.org/mailman/listinfo/python-list