On Sat, Jul 19, 2014 at 4:51 PM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> On Sat, Jul 19, 2014 at 4:10 PM, Marko Rauhamaa wrote:
>>> Martin S :
>>>
Is there a point to still use Usenet? Last time I checked noise
overwhelmed signal by a factor of something close to 542.
>>>
>>> Well
Earlier, I mentioned a considerable number of IDEs which are available
for Python, including:
PyDev, Eric, Komodo, PyCharm, WingIDE, SPE, Ninja-IDE, Geany, IEP,
Spyder, Boa Constructor, PyScripter, NetBeans, Emacs, KDevelop, and
BlackAdder.
https://wiki.python.org/moin/IntegratedDevelopmentEnvir
Chris Angelico :
> On Sat, Jul 19, 2014 at 4:51 PM, Marko Rauhamaa wrote:
>> There's a lot of hot air but I have yet to encounter spam.
>
> That means you have good filtering.
Interesting. Who's filtering comp.lang.python?
Marko
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, Jul 19, 2014 at 5:32 PM, Marko Rauhamaa wrote:
> Chris Angelico :
>
>> On Sat, Jul 19, 2014 at 4:51 PM, Marko Rauhamaa wrote:
>>> There's a lot of hot air but I have yet to encounter spam.
>>
>> That means you have good filtering.
>
> Interesting. Who's filtering comp.lang.python?
Possib
Hi,
I am trying to package my file, but I am having problems with
installing my Scripts. Here is my package:
https://github.com/yasar11732/tklsystem
Here is my package's PyPi page: https://pypi.python.org/pypi/TkLsystem
The problem I face is that, when I run `python setup.py install` from
my dev
Chris Angelico :
> On Sat, Jul 19, 2014 at 5:32 PM, Marko Rauhamaa wrote:
>> Interesting. Who's filtering comp.lang.python?
>
> Possibly your provider, possibly your client, hard to say. But I'm
> pretty confident you do NOT see all the spam that goes through,
> because it's definitely there.
We
On Jul 18, 2014, at 8:19 PM, Dan Stromberg wrote:
> There's comp.lang.java if you have an NNTP feed.
>
> There are also the OpenJDK mailing lists.
>
> I had a Java problem once - I'd decided to recode one of my Python
> scripts into Java, just to demonstrate to myself that I could do i
On Sat, Jul 19, 2014 at 1:23 AM, Terry Reedy wrote:
> On 7/18/2014 2:56 PM, Chris “Kwpolska” Warrick wrote:
>
>> It’s also slightly easier to find pre-made binaries for 32-bit than
>> 64-bit.
>
>
> Searching 'python windows binaries' on Google and the first hit is
> http://www.lfd.uci.edu/~gohlke/
On Sat, Jul 19, 2014 at 9:19 AM, Yaşar Arabacı wrote:
> Hi,
>
> I am trying to package my file, but I am having problems with
> installing my Scripts. Here is my package:
> https://github.com/yasar11732/tklsystem
>
> Here is my package's PyPi page: https://pypi.python.org/pypi/TkLsystem
>
> The pr
memilanuk wrote:
>
> Guess where I'm going with this is... is there anything out there worth
> trying - on Linux - that I'm missing?
>
If slrn was a maybe then there's also tin for text mode news readers,
it's what I have always used. I don't know what it does with HTML as
none of the groups I
Sturla Molden wrote:
> > Guess where I'm going with this is... is there anything out there worth
> > trying - on Linux - that I'm missing?
>
> leafnode
>
That doesn't address the problem at all! :-) You still need a news
reader.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/p
Ok so i am trying to learn this and i do not understand some of it. I also
tried to searched the web but i couldnt find any answers.
1. I dont understand when i will need to use a function that returns another
function.
eg
def outer():
def inner():
On Sat, Jul 19, 2014 at 8:52 PM, Jerry lu wrote:
> Ok so i am trying to learn this and i do not understand some of it. I also
> tried to searched the web but i couldnt find any answers.
>
> 1. I dont understand when i will need to use a function that returns another
> function.
> eg
>
oh yeah i forgot about the decorators. Um say that you wanted to decorate a
function with the outer() func you would just put @outer on top of it? And this
is the same as passing another func into the outer func?
and also with the first example you say x is in the scope when is was created
can
On Sat, Jul 19, 2014 at 9:40 PM, Jerry lu wrote:
> oh yeah i forgot about the decorators. Um say that you wanted to decorate a
> function with the outer() func you would just put @outer on top of it? And
> this is the same as passing another func into the outer func?
>
> and also with the first
libffi fails on cavium for python 2.7 ctypes still doesnt build :(O
On Wednesday, 7 March 2012 11:25:59 UTC-8, Terry Reedy wrote:
> On 3/7/2012 12:43 PM, Naresh Bhat wrote:
>
> > Hi All,
>
> >
>
> > I have the following setup
>
> >
>
> > Kernel version: linux-2.6.32.41
>
> > Python Version:
Ok thanks man I have never used forums and stuff before but it is great help
thank you so much.
--
https://mail.python.org/mailman/listinfo/python-list
Hi Chris,
Thanks a lot for your fixes. I have merged your PR and updated PyPi package.
I have one more question; is it documented somewhere that one
shouldn't use dash for stable version names? I am not professional in
programming and I thought for some reason that release numbers should
be separ
On 19/07/14 11:52, Jerry lu wrote:
Ok so i am trying to learn this and i do not understand some of it. I also
tried to searched the web but i couldnt find any answers.
1. I dont understand when i will need to use a function that returns another
function.
eg
def outer():
On 19/07/14 11:52, Jerry lu wrote:
Ok so i am trying to learn this and i do not understand some of it. I also
tried to searched the web but i couldnt find any answers.
1. I dont understand when i will need to use a function that returns another
function.
eg
def outer():
On 19/07/14 12:40, Jerry lu wrote:
oh yeah i forgot about the decorators. Um say that you wanted to decorate a
function with the outer() func you would just put @outer on top of it? And this
is the same as passing another func into the outer func?
yes.
syntax was added because with very long f
This is a cross-post from stackoverflow:
http://stackoverflow.com/q/24841130/886669
I am not sure about cross-posting policies of python-list. I am sorry
if this is discouraged.
Here is my problem;
I want to create a start menu or Desktop shortcut for my Python
windows installer package. I am tr
Am 18.07.2014 20:45, schrieb Chris “Kwpolska” Warrick:
Yes, exceptions do exist. But most video tutorials are produced by
people without enough knowledge, and people that should not be working
on educational material. This is especially visible in videos about
basic things: they can be produced b
On Friday, July 18, 2014 8:21:36 PM UTC-5, Terry Reedy wrote:
> What ancient version, or oddball system are you using? For
> me, Win 7, both 2.7.8 and 3.4.1 "CONTROL+LEFT_ARROW" and
> the cursor is before the 'a' of [>>> abc]. The HOME key
> goes to the same place first, and they before >>> on the
On Sun, Jul 20, 2014 at 2:29 AM, Rick Johnson
wrote:
> On versions 2.7.2 and 3.2.2 CONTROL+LEFT_ARROW is landing
> *properly* in front of the prompt, so apparently that bug was
> fixed since last i checked, my apologies for being ignorant
> of the situation, but you should understand that i had gi
On Sat, Jul 19, 2014 at 5:44 PM, Sibylle Koczian wrote:
> Am 18.07.2014 20:45, schrieb Chris “Kwpolska” Warrick:
>
>> Yes, exceptions do exist. But most video tutorials are produced by
>> people without enough knowledge, and people that should not be working
>> on educational material. This is esp
On Sun, Jul 20, 2014 at 2:36 AM, Chris “Kwpolska” Warrick
wrote:
> On Sat, Jul 19, 2014 at 5:44 PM, Sibylle Koczian
> wrote:
>> Am 18.07.2014 20:45, schrieb Chris “Kwpolska” Warrick:
>>
>>> Yes, exceptions do exist. But most video tutorials are produced by
>>> people without enough knowledge, an
Greetings,
I typically write a Python 2.7 string function in my library like this:
def getCompletedTime(start, end): return "Time completed:", str(end
- start)
And called it like this:
print getCompletedTime(start, end)
Since every Python script I write is executed from the command
On Sat, Jul 19, 2014 at 10:41 AM, Chris Angelico wrote:
>> However, a *bare* HOME_KEY press is placing the insertion
>> cursor *BEHIND* the prompt of the current line. In a shell
>> environment, you never want to be *BEHIND* the command
>> prompt.
>
> I don't know about the old versions, but in 3.
On 7/19/2014 12:28 AM, Steven D'Aprano wrote:
Earlier, I mentioned a considerable number of IDEs which are available
for Python, including:
I prefer to use Notepad++ (Windows) and TextWrangler (Mac). Text editors
with code highlighting can get the job done as well, especially if the
project i
On 19/07/2014 18:38, C.D. Reimer wrote:
Greetings,
I typically write a Python 2.7 string function in my library like this:
def getCompletedTime(start, end): return "Time completed:", str(end
- start)
And called it like this:
print getCompletedTime(start, end)
Since every Python scr
On 7/19/2014 3:28 AM, Steven D'Aprano wrote:
So why does Python ship with IDLE?
On Windows the Idle shell is needed for sensible interactive use. For
simply editing a Python file, running it, and fixing it, the Idle editor
seems *about* as good as anything.
It's not because Python require
On 7/19/2014 11:24 AM, Mark Lawrence wrote:
Besides that I wouldn't write the function on one line, the first.
I've seen code samples for simple functions with the definition and
return statements written on one line.
Once you return your data you can do what you want with it.
Returning
On Sat, Jul 19, 2014 at 12:24 PM, Mark Lawrence wrote:
> Besides that I wouldn't write the function on one line, the first. Once you
> return your data you can do what you want with it. The second you can only
> write by default to stdout. The third is really horrible in my book, YMMV.
I agree
On Sat, Jul 19, 2014 at 12:52 PM, C.D. Reimer wrote:
> I've seen code samples for simple functions with the definition and return
> statements written on one line.
Personally, I use this style sometimes for easily understood one-line
if statements or loops. Named functions consist of an interface
On 19/07/2014 18:38, C.D. Reimer wrote:
Greetings,
I typically write a Python 2.7 string function in my library like this:
def getCompletedTime(start, end): return "Time completed:", str(end
- start)
Further to my earlier post are you aware of the behaviour of your
"string function"?
On 7/19/2014 11:56 AM, Ian Kelly wrote:
On Sat, Jul 19, 2014 at 12:24 PM, Mark Lawrence wrote:
Also notice that I changed the function naming style from mixedCase to
lower_case_with_underscores. This is the style recommended for Python
by PEP 8, which you should read if you haven't already.
h
On 7/19/2014 12:14 PM, Mark Lawrence wrote:
Is this what you intended?
I'm in the process of generalizing a library module from my first Python
programming project to make it more accessible to other projects. The
code I wrote for that project doesn't make sense anymore. As I
generalize t
On Sunday, July 13, 2014 10:16:47 PM UTC+2, Orochi wrote:
> Hi,
> I am beginner in Python
> I have Completed Basic Python Course from Codecademy.com .
> Now that I have a hands on the basics what is the next thing I should do.
> I mean should I learn more or start a small Project(Any Ideas are Welc
[A missed point from my last reply...]
Terry Reedy said:
> I believe there is a proposal to be able to clear the
> shell window. We just need to add "Clear and restart
> shell".
A command that allows clearing the *entire* shell display
and also resets the global and local symbol tables,
*WITHOUT
On 7/19/2014 12:29 PM, Rick Johnson wrote:
On Friday, July 18, 2014 8:21:36 PM UTC-5, Terry Reedy wrote:
What ancient version, or oddball system are you using? For
me, Win 7, both 2.7.8 and 3.4.1 "CONTROL+LEFT_ARROW" and
the cursor is before the 'a' of [>>> abc]. The HOME key
goes to the same p
On 20 July 2014 04:08, C.D. Reimer wrote:
> On 7/19/2014 12:28 AM, Steven D'Aprano wrote:
>
>> Earlier, I mentioned a considerable number of IDEs which are available
>> for Python, including:
>>
>
> I prefer to use Notepad++ (Windows) and TextWrangler (Mac). Text editors
> with code highlighting
On 19/07/14 18:38, C.D. Reimer wrote:
Greetings,
I typically write a Python 2.7 string function in my library like this:
def getCompletedTime(start, end): return "Time completed:",
str(end - start)
And called it like this:
print getCompletedTime(start, end)
Since every Python scrip
Martin S wrote:
> Is there a point to still use Usenet? Last time I checked noise
> overwhelmed signal by a factor of something close to 542.
news.gmane.org can be a convinient way to read mailing lists instead of
getting tons of mail.
Sturla
--
https://mail.python.org/mailman/listinfo/python-
wrote:
> That doesn't address the problem at all! :-) You still need a news
> reader.
The problem was that Thunderbird does not support killfiles when used as a
newsreader. Leafnode adds filtering capabilities which Thunderbird
(supposedly) does not have.
Sturla
--
https://mail.python.org/ma
[A missed point from my last reply...]
Terry Reedy said:
> I believe there is a proposal to be able to clear the
> shell window. We just need to add "Clear and restart
> shell".
A command that allows a user to clear the *ENTIRE* "shell
IO" and *ALSO* resets the global and local symbol tables
*WI
On Sun, Jul 20, 2014 at 4:00 AM, Ian Kelly wrote:
> On Sat, Jul 19, 2014 at 10:41 AM, Chris Angelico wrote:
>>> However, a *bare* HOME_KEY press is placing the insertion
>>> cursor *BEHIND* the prompt of the current line. In a shell
>>> environment, you never want to be *BEHIND* the command
>>> p
On Sun, Jul 20, 2014 at 6:39 AM, Rick Johnson
wrote:
> To solve this dilemma in *MY* command shell, i use the
> "ALT+UP_ARROW" to delete everything from the "last command
> prompt" to the "end of the text buffer". I think IDLE needs
> both functionality!
Okay, now I understand Rick's attitude. So
On Sun, Jul 20, 2014 at 7:50 AM, Tim Delaney
wrote:
> IMO there is no project so modest that it doesn't require version control.
> Especially since version control is as simple as:
>
> cd project
> hg init
> hg add
> hg commit
That said, though, there are some projects so modest they don't
requir
On 7/19/2014 6:50 PM, Rick Johnson wrote:
[A missed point from my last reply...]
Terry Reedy said:
I believe there is a proposal to be able to clear the
shell window. We just need to add "Clear and restart
shell".
# In order to prevent confusion with the typical "edit-#
# undo
On 20 July 2014 09:19, Chris Angelico wrote:
> On Sun, Jul 20, 2014 at 7:50 AM, Tim Delaney
> wrote:
> > IMO there is no project so modest that it doesn't require version
> control.
> > Especially since version control is as simple as:
> >
> > cd project
> > hg init
> > hg add
> > hg commit
>
>
On Sun, Jul 20, 2014 at 4:40 AM, Wojciech Giel wrote:
> You might look into PEP8 "Style Guide for Python Code" it will give you
> recommendation how to write a code. among other gives most sensible answer:
> "Consistency within a project is more important. Consistency within one
> module or funct
On 19/07/2014 23:38, Sturla Molden wrote:
wrote:
That doesn't address the problem at all! :-) You still need a news
reader.
The problem was that Thunderbird does not support killfiles when used as a
newsreader. Leafnode adds filtering capabilities which Thunderbird
(supposedly) does not hav
On Sun, Jul 20, 2014 at 10:41 AM, Tim Delaney
wrote:
> On 20 July 2014 09:19, Chris Angelico wrote:
>>
>> That said, though, there are some projects so modest they don't
>> require dedicated repositories. I have a repo called "shed" - it's a
>> collection of random tools that I've put together, n
On 7/19/2014 5:41 PM, Tim Delaney wrote:
The main thing is that versioning should be automatic now - it's
almost free, and the benefits are huge because even trivial scripts
end up evolving.
I keep my modest Python scripts in a Dropbox directory and run a weekly
Python script to zip up the Dr
On Sat, 19 Jul 2014 14:31:10 -0400, Terry Reedy wrote:
> On 7/19/2014 3:28 AM, Steven D'Aprano wrote:
>
>> So why does Python ship with IDLE?
>
> On Windows the Idle shell is needed for sensible interactive use.
One might say that *some* IDE is needed, but Idle itself isn't
compulsory :-)
It
On Sun, Jul 20, 2014 at 6:26 AM, wrote:
> But mostly, just code. Anything. For my studies, I get assignments to go
> through large bodies of text and sort them for some criteria, and while I'm
> given tools to do it, I try to make my own tools to get the job done. That is
> to say, if there's
On Saturday, July 19, 2014 3:45:07 PM UTC-5, Terry Reedy wrote:
> On 7/19/2014 12:29 PM, Rick Johnson wrote:
> [2.7.2 and 3.2.2] are ancient versions from years ago that
> no one should be running Idle on now.
I have just downloaded and installed versions 2.7.8 and
3.4.1, and i am happy to report
On Sun, Jul 20, 2014 at 11:23 AM, Steven D'Aprano
wrote:
> If I recall correctly, it [Python under cmd.exe] is
> missing any sort of command history or line editing other than backspace,
Not quite, but it has some extreme oddities. I'd have to call them
features because I can't imagine them to be
On Sun, Jul 20, 2014 at 11:31 AM, Rick Johnson
wrote:
> Does the IDLE bug-tracker exist to *SOLVE* problems or to
> *PERPETUATE* them?
Definitely the latter. If it weren't for that tracker, bugs would just
quietly die on their own. The PSU has a roster for feeding the bugs,
changing their litter,
On Sat, 19 Jul 2014 10:38:47 -0700, C.D. Reimer wrote:
> Greetings,
>
> I typically write a Python 2.7 string function in my library like this:
>
> def getCompletedTime(start, end):
> return "Time completed:", str(end - start)
>
> And called it like this:
>
> print getCompl
On 7/19/2014 6:23 PM, Steven D'Aprano wrote:
I haven't used Python on Windows much, but when I did use it, I found
the standard Python interactive interpreter running under cmd.exe to
be bare- bones but usable for testing short snippets. If I recall
correctly, it is missing any sort of command
On Sat, Jul 19, 2014 at 12:28 AM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> For Python users, the IDEs from
> Wingware and Activestate are notable:
>
> https://wingware.com/
> http://komodoide.com/
>
I would say that since PyCharm (https://www.jetbrains.com/pycharm/
ok I seem to very confused about this. Is there like a page or web page that
like completely sums this up so i can study. I am going to look up 'functions
in python'. I am not sure if this is what we a talking about as a whole here
but I'am sure that I'll find something. I am all good with decor
On Sun, Jul 20, 2014 at 12:24 PM, Jerry lu wrote:
> ok I seem to very confused about this. Is there like a page or web page that
> like completely sums this up so i can study. I am going to look up 'functions
> in python'.
Yep, look up stuff like that. I gave you some keywords to search for
(we
Ok thanks so much i really want to get good. I also found this MIT open course
lectures for python. Is this good to use as a source of learning? I think it
would because it is MIT.
--
https://mail.python.org/mailman/listinfo/python-list
On 7/19/2014 7:03 PM, TP wrote:
I would say that since PyCharm (https://www.jetbrains.com/pycharm/)
now has a free Community Edition it is an even more notable IDE as the
above two programs cost $.
PyCharm look really nice as an IDE. Thanks for the heads up.
Chris Reimer
--
https://mail.pyth
>From what I've seen so far it's more like your limited standard mail filtering
>tool.
IIRC when I used Usenet much gnus on Emacs had much more powerful capabilities.
/martin s
On 20 Jul 2014, Mark Lawrence wrote:
On 19/07/2014 23:38, Sturla Molden wrote:
<
c...@isbd.net> wrote:
That does
>From what I've seen so far it's more like your limited standard mail filtering
>tool.
IIRC when I used Usenet much gnus on Emacs had much more powerful capabilities.
/martin s
On 20 Jul 2014, Mark Lawrence wrote:
>On 19/07/2014 23:38, Sturla Molden wrote:
>> wrote:
>>
>>> That doesn't addr
On 2014-07-19, Martin S wrote:
> Is there a point to still use Usenet? Last time I checked noise overwhelm
> ed signal by a factor of something close to 542.
Martin,
Fair enough question. Seems like a lot of usenet groups have become
spam-fests, and using it to d/l various binaries of questiona
On 2014-07-19, c...@isbd.net wrote:
> memilanuk wrote:
>>
>> Guess where I'm going with this is... is there anything out there worth
>> trying - on Linux - that I'm missing?
>>
> If slrn was a maybe then there's also tin for text mode news readers,
> it's what I have always used. I don't know
On 20 July 2014 11:53, C.D. Reimer wrote:
>
> On 7/19/2014 6:23 PM, Steven D'Aprano wrote:
>
>> I haven't used Python on Windows much, but when I did use it, I found the
>> standard Python interactive interpreter running under cmd.exe to be bare-
>> bones but usable for testing short snippets. If
On Sun, Jul 20, 2014 at 1:44 PM, Monte Milanuk wrote:
> That said, the irony that there seems to be a distinct *lack* of GUI
> usenet reader programs for Linux just kills me. Seems like its either Pan,
> or knode if you're into KDE. Otherwise... you get to go dredge up old
> CLI programs like thi
On Sun, Jul 20, 2014 at 1:48 PM, Monte Milanuk wrote:
> For whatever reason I never really tried tin (or trn). I might have to
> give them a whirl... though I must say that using slrn seems kind of
> like riding a bicycle... my fingers apparently remember more than my
> brain does ;)
Heh, totall
Chris Angelico wrote:
Other people had, for instance, a C:\BELFRY (best place to have BATs,
you know), or other such names. What's your favorite
directory/repository name for a concretion of ... random stuff?
My project directories typically contain a directory
called "Attic" for putting stuff
On Sat, 19 Jul 2014 03:52:18 -0700, Jerry lu wrote:
> Ok so i am trying to learn this and i do not understand some of it. I
> also tried to searched the web but i couldnt find any answers.
>
> 1. I dont understand when i will need to use a function that returns
> another function. eg
>
76 matches
Mail list logo