Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #83304 > unrolled thread

application console with window

Started byadam <adam@poczta.emiter-uslugi.pl>
First post2015-01-07 22:17 +0100
Last post2015-01-08 18:09 -0800
Articles 13 — 6 participants

Back to article view | Back to comp.lang.python


Contents

  application console with window adam <adam@poczta.emiter-uslugi.pl> - 2015-01-07 22:17 +0100
    Re: application console with window jacek pozniak <jacek.pozniak@flowservice.pl> - 2015-01-07 22:51 +0100
      Re: application console with window adam <adam@poczta.emiter-uslugi.pl> - 2015-01-08 17:07 +0100
        Re: application console with window jacek pozniak <jacek.pozniak@flowservice.pl> - 2015-01-08 23:32 +0100
    Re: application console with window Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-07 20:32 -0500
      Re: application console with window adam <adam@poczta.emiter-uslugi.pl> - 2015-01-08 17:11 +0100
        Re: application console with window Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-08 22:17 -0500
    Re: application console with window Emil Oppeln-Bronikowski <emil@fuse.pl> - 2015-01-08 04:16 +0100
      Re: application console with window adam <adam@poczta.emiter-uslugi.pl> - 2015-01-08 17:18 +0100
        Re: application console with window Emil Oppeln-Bronikowski <emil@fuse.pl> - 2015-01-08 17:32 +0100
          Re: application console with window adam <adam@poczta.emiter-uslugi.pl> - 2015-01-08 17:42 +0100
        Re: application console with window Chris Warrick <kwpolska@gmail.com> - 2015-01-08 17:53 +0100
          Re: application console with window Rick Johnson <rantingrickjohnson@gmail.com> - 2015-01-08 18:09 -0800

#83304 — application console with window

Fromadam <adam@poczta.emiter-uslugi.pl>
Date2015-01-07 22:17 +0100
Subjectapplication console with window
Message-ID<m8k10h$cpe$1@news.icm.edu.pl>
Is in here maybe someone who speak Polish?

I would like to write application witch looks like this 
http://linuxiarze.pl/obrazy/internet1/ceni1.png

I'm looking for some libs, tutorials, or other informations.
I'm searching this informations for python3.

adam

[toc] | [next] | [standalone]


#83305

Fromjacek pozniak <jacek.pozniak@flowservice.pl>
Date2015-01-07 22:51 +0100
Message-ID<54adaa47$0$2652$65785112@news.neostrada.pl>
In reply to#83304
adam wrote:

> Is in here maybe someone who speak Polish?
> 
> I would like to write application witch looks like this
> http://linuxiarze.pl/obrazy/internet1/ceni1.png
Jeśli chodzi Ci o przeniesienie na wersję okienkową to na przykład: tkinter.

jp

> 
> I'm looking for some libs, tutorials, or other informations.
> I'm searching this informations for python3.
> 
> adam

[toc] | [prev] | [next] | [standalone]


#83350

Fromadam <adam@poczta.emiter-uslugi.pl>
Date2015-01-08 17:07 +0100
Message-ID<m8m38d$6ng$1@news.icm.edu.pl>
In reply to#83305
Hej, no właśnie niechodzi o przeniesienie do okienek tylko jeśli znasz taki 
program jak np fk dla dos-a to chodzi mi o taki efekt. Czyli aplikacja 
konsolowa z pseudo okienkami.

Adam

jacek pozniak wrote:

> adam wrote:
> 
>> Is in here maybe someone who speak Polish?
>> 
>> I would like to write application witch looks like this
>> http://linuxiarze.pl/obrazy/internet1/ceni1.png
> Jeśli chodzi Ci o przeniesienie na wersję okienkową to na przykład:
> tkinter.
> 
> jp
> 
>> 
>> I'm looking for some libs, tutorials, or other informations.
>> I'm searching this informations for python3.
>> 
>> adam

[toc] | [prev] | [next] | [standalone]


#83370

Fromjacek pozniak <jacek.pozniak@flowservice.pl>
Date2015-01-08 23:32 +0100
Message-ID<54af0567$0$2658$65785112@news.neostrada.pl>
In reply to#83350
adam wrote:

> Hej, no właśnie niechodzi o przeniesienie do okienek tylko jeśli znasz
> taki program jak np fk dla dos-a to chodzi mi o taki efekt. Czyli
> aplikacja konsolowa z pseudo okienkami.
Napisz sobie w bashu z wykorzystaniem programu dialog (man dialog) i 
ewntualnym wołaniem skryptów pythona o ile zajdzie taka potrzeba.


jp

> 
> Adam
> 
> jacek pozniak wrote:
> 
>> adam wrote:
>> 
>>> Is in here maybe someone who speak Polish?
>>> 
>>> I would like to write application witch looks like this
>>> http://linuxiarze.pl/obrazy/internet1/ceni1.png
>> Jeśli chodzi Ci o przeniesienie na wersję okienkową to na przykład:
>> tkinter.
>> 
>> jp
>> 
>>> 
>>> I'm looking for some libs, tutorials, or other informations.
>>> I'm searching this informations for python3.
>>> 
>>> adam

[toc] | [prev] | [next] | [standalone]


#83310

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2015-01-07 20:32 -0500
Message-ID<mailman.17457.1420680810.18130.python-list@python.org>
In reply to#83304
On Wed, 07 Jan 2015 22:17:09 +0100, adam <adam@poczta.emiter-uslugi.pl>
declaimed the following:

>Is in here maybe someone who speak Polish?
>
>I would like to write application witch looks like this 
>http://linuxiarze.pl/obrazy/internet1/ceni1.png
>
	Based upon the image, that is mainly an addressable console application
with a line-draw character set. Something maybe possible using MS-DOS 3.x

	What OS are you using?

>I'm looking for some libs, tutorials, or other informations.

	Check the documentation for the Python curses library.

-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#83351

Fromadam <adam@poczta.emiter-uslugi.pl>
Date2015-01-08 17:11 +0100
Message-ID<m8m3f5$6ng$2@news.icm.edu.pl>
In reply to#83310
Dennis Lee Bieber wrote:

> On Wed, 07 Jan 2015 22:17:09 +0100, adam <adam@poczta.emiter-uslugi.pl>
> declaimed the following:
> 
>>Is in here maybe someone who speak Polish?
>>
>>I would like to write application witch looks like this
>>http://linuxiarze.pl/obrazy/internet1/ceni1.png
>>
> Based upon the image, that is mainly an addressable console application
> with a line-draw character set. Something maybe possible using MS-DOS 3.x
> 
> What OS are you using?
Linux, fedora, debian, centOS, maybe windows 7 or 8.1
> 
>>I'm looking for some libs, tutorials, or other informations.
> 
> Check the documentation for the Python curses library.
> 
Thank you

[toc] | [prev] | [next] | [standalone]


#83401

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2015-01-08 22:17 -0500
Message-ID<mailman.17504.1420773687.18130.python-list@python.org>
In reply to#83351
On Thu, 08 Jan 2015 17:11:22 +0100, adam <adam@poczta.emiter-uslugi.pl>
declaimed the following:


>Linux, fedora, debian, centOS, maybe windows 7 or 8.1

	Windows will be the problem... Python's curses library is UNIX/Linux.
The Windows console driver no longer supports the capability needed
(WfW3.11 was old enough to have a fully capable console, as I recall, but
W9x and later phased out the standard control codes used).
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [next] | [standalone]


#83315

FromEmil Oppeln-Bronikowski <emil@fuse.pl>
Date2015-01-08 04:16 +0100
Message-ID<mailman.17463.1420686742.18130.python-list@python.org>
In reply to#83304
On Wed, Jan 07, 2015 at 10:17:09PM +0100, adam wrote:
> Is in here maybe someone who speak Polish?

Mówię, a raczej piszę.

> I'm looking for some libs, tutorials, or other informations.

This is terminal application using (n)curses or smilar library that helps you draw & interact with windows, forms and other widgets.

You can use curses library, but it's a little big hairy. There are a few extra libraries that make writing "full-screen" terminal application a breeze.

The most popular one (…and complete?) is urwid, and there are pages of tutorial once you google for it. 

PS. if you need some help feel free to e-mail me off-list.

-- 
vag·a·bond adjective \ˈva-gə-ˌbänd\
 a :  of, relating to, or characteristic of a wanderer 
 b :  leading an unsettled, irresponsible, or disreputable life

[toc] | [prev] | [next] | [standalone]


#83353

Fromadam <adam@poczta.emiter-uslugi.pl>
Date2015-01-08 17:18 +0100
Message-ID<m8m3rr$9k0$1@news.icm.edu.pl>
In reply to#83315
Emil Oppeln-Bronikowski wrote:

> On Wed, Jan 07, 2015 at 10:17:09PM +0100, adam wrote:
>> Is in here maybe someone who speak Polish?
> 
> Mówię, a raczej piszę.
> 
>> I'm looking for some libs, tutorials, or other informations.
> 
> This is terminal application using (n)curses or smilar library that helps
> you draw & interact with windows, forms and other widgets.
> 
> You can use curses library, but it's a little big hairy. There are a few
> extra libraries that make writing "full-screen" terminal application a
> breeze.
> 
> The most popular one (…and complete?) is urwid, and there are pages of
> tutorial once you google for it.
> 
> PS. if you need some help feel free to e-mail me off-list.
> 
thank you,

I just learn python. If you write in Polish it will be easier for me to 
explain any problem, because my English is very thin.

adam

[toc] | [prev] | [next] | [standalone]


#83354

FromEmil Oppeln-Bronikowski <emil@fuse.pl>
Date2015-01-08 17:32 +0100
Message-ID<mailman.17479.1420734504.18130.python-list@python.org>
In reply to#83353
On Thu, Jan 08, 2015 at 05:18:07PM +0100, adam wrote:

> I just learn python.

We all do. It's a constant process.

> If you write in Polish it will be easier for me to 
> explain any problem, because my English is very thin.

I don't really want to force others to read Polish, hit me private if you have any questions.

-- 
vag·a·bond adjective \ˈva-gə-ˌbänd\
 a :  of, relating to, or characteristic of a wanderer 
 b :  leading an unsettled, irresponsible, or disreputable life

[toc] | [prev] | [next] | [standalone]


#83355

Fromadam <adam@poczta.emiter-uslugi.pl>
Date2015-01-08 17:42 +0100
Message-ID<m8m59a$3v4$1@news.icm.edu.pl>
In reply to#83354
Emil Oppeln-Bronikowski wrote:

> On Thu, Jan 08, 2015 at 05:18:07PM +0100, adam wrote:
> 
>> I just learn python.
> 
> We all do. It's a constant process.
> 
>> If you write in Polish it will be easier for me to
>> explain any problem, because my English is very thin.
> 
> I don't really want to force others to read Polish, hit me private if you
> have any questions.
> 

Ok no problem

[toc] | [prev] | [next] | [standalone]


#83356

FromChris Warrick <kwpolska@gmail.com>
Date2015-01-08 17:53 +0100
Message-ID<mailman.17480.1420736048.18130.python-list@python.org>
In reply to#83353
On Thu, Jan 8, 2015 at 5:18 PM, adam <adam@poczta.emiter-uslugi.pl> wrote:
> I just learn python. If you write in Polish it will be easier for me to
> explain any problem, because my English is very thin.

You cannot really learn to program without speaking English well.  If
you can’t speak English, you will have lots of issues: it will be
harder to memorize things, you will be writing function/… names
brainlessly and, most importantly, you won’t be able to communicate
with other programmers (as demonstrated here).  English IS the
official language of technology, period. You should improve your
English first if you want to succeed in the industry (or create
anything advanced).

This Usenet newsgroup/mailing list is for English-language discussion
only.  Polish-language communities exist, you can search around if you
want.

As Emil said, urwid is the package to use to create a CLI
(command-line interface).  However, the list of OSes you provided
includes Windows, which makes it very problematic (you would have to
install Cygwin).  You could also switch to a GUI (graphical user
interface) with eg. Tkinter or something else that looks much better
than ugly old Tkinter (eg. PyQT).

---

Nie możesz się nauczyć programować bez dobrej znajomości angielskiego.
Jeśli nie umiesz mówić po angielsku, będziesz miał wiele problemów:
trudniej będzie Ci zapamiętać wszystko, będziesz zapisywał nazwy
funkcji/… bezmyślnie i, co najważniejsze, nie będziesz mógł się
komunikować z innymi programistami (co zostało tu zademonstrowane).
Angielski JEST językiem oficjalnym technologii.  Powinieneś
podszlifować swój angielski jeśli chcesz odnieść sukces w branży (lub
nawet napisać coś bardziej zaawansowanego)

Ta grupa Usenetowa/lista dyskusyjna jest przeznaczona tylko do
dyskusji w języku angielskim.  Grupy w języku polskim na pewno
istnieją, możesz poszukać.

Jak powiedział Emil, powinienieś użyć pakietu urwid jeśli chcesz
utworzyć CLI (interfejs wiersza poleceń).  Na liście systemów
operacyjnych jest Windows, co bardzo utrudnia sprawę (musiałbyś
zainstalować Cygwina).  Możesz też przejść na GUI (graficzny interfejs
użytkownika), np. przy użyciu biblioteki Tkinter lub czegoś innego co
wygląda lepiej niż stary brzydki Tkinter (np. PyQT)

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

[toc] | [prev] | [next] | [standalone]


#83388

FromRick Johnson <rantingrickjohnson@gmail.com>
Date2015-01-08 18:09 -0800
Message-ID<2aa9be1c-dd66-459f-968f-444976f4f58e@googlegroups.com>
In reply to#83356
On Thursday, January 8, 2015 at 10:54:22 AM UTC-6, Chris Warrick wrote:
> On Thu, Jan 8, 2015 at 5:18 PM, adam wrote:
> > I just learn python. If you write in Polish it will be easier for me to
> > explain any problem, because my English is very thin.
> 
> You cannot really learn to program without speaking English well.  If
> you can't speak English, you will have lots of issues: it will be
> harder to memorize things, you will be writing function/... names
> brainlessly and, most importantly, you won't be able to communicate
> with other programmers (as demonstrated here).  English IS the
> official language of technology, period. You should improve your
> English first if you want to succeed in the industry (or create
> anything advanced).

Although your response will most likely illicit rebukes from
the bleeding-heart emotional little whine bags, i must say i
agree 100%, and i'm overjoyed to witness someone besides
myself who has the testicular fortitude to speak the truth!

    YOU SIR, ARE MY "HERO OF THE YEAR"!

Listen folks, we are not trying to be imperialist here, we
did not "personally" choose for English to be the "lingua
franca" of the world, but that *IS* the reality in which we
live.

If the Chinese or Russians had set up colonies around the
would, instead of the western Europeans, we'd all be
speaking Chinese or Russian today. The whining about who won
is just a waste of time. Instead of being sore losers, we
need to intelligently play the hand we were dealt. Besides,
there is an old Chinese proverb that goes something like:

    "If you wait long enough on the river bank, 
    the bodies of your enemies will float by"
    
What does that mean? It means that those who win today will
eventually lose -- this is the way of the universe. The
universe is using all of us as pawns, we are all in this
*together*, and all we can do is do our best with what we
are given. So stop whining and start communicating! All we
need to do is keep talking...

    https://www.youtube.com/watch?v=tS-qsh6eTik 

Anytime we can break down barriers to communication, we will
*ALL* benefit from the synergy of ideas.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web