On Thu, 15 Aug 2013, Jake Wohldmann wrote:
Hello I am a beginner to using any type of programming lanhuage How long
does it take to become fluent at a script? Do you know and good sites to
learn python? I will only be able to practice python on weekends since
school is starting. I was also w
On Sun, 21 Apr 2013, Steven D'Aprano wrote:
On 21/04/13 04:32, Jim Mooney wrote:
I was looking at google pengine for python and it only supports 2.7. I've
installed 3 and would rather not go back (I kept doing Print without the
parentheses for awhile and it was really annoying ;')
So the quest
On Sun, 14 Apr 2013, Don Jennings wrote:
On Apr 14, 2013, at 7:06 AM, Albert-Jan Roskam wrote:
> Subject: Re: [Tutor] design question (Django?)
On 13/04/13 09:48, Albert-Jan Roskam wrote:
I think I have to make a diagram of this. This stuff is quite hard
Would it also be a good idea
On Fri, 12 Apr 2013, Alan Gauld wrote:
On 11/04/13 23:33, Scurvy Scott wrote:
the other for something like this. I have no intention of doing
anything professional/shady/annoying with this code and want to write
it purely for my own amusement as well as to learn and obviously to
perhaps win so
On Thu, 11 Apr 2013, Timo wrote:
Op 11-04-13 12:41, w qj schreef:
I found this under Windows Python3
l="http://f/";
l[-1] is not '/'
False
and this under Linux Python3
l = "http://ff.f/";
l[-1]
'/'
l[-1] is not '/'
True
It's Looks like a python bug?
This looks like a "is not" versus "!="
On Sat, 9 Feb 2013, mann kann wrote:
Dear Jedi,
I wrote my first program but it doesn't open a website as I intended it to.
Please correct my mistake.
Sincerely,
Mann
You'll actually want the webbrowser module, which will open the links in
your web browser - at least if you want to load s
On Thu, 10 Jan 2013, Fowler, Trent wrote:
I am running Windows 7 and I've installed two versions of python, 3.3 and 2.7.
Python 3.3 was the first version I installed and I was able to run scripts from
the desktop (not the command line). I installed python 2.7 so that I could get
numpy, scipy,
On Thu, 3 Jan 2013, Japhy Bartlett wrote:
The general idea is to write tests that use your code in realistic ways and
check the results. So if you have a function that takes an input and returns
a result, you write a test that passes that function an input checks the
result. If some inputs s
On Thu, 3 Jan 2013, Bjorn Madsen wrote:
Hello PythonTutor- I'm a scientist and very happy with python 2.7. I have been
asked to assist a development program where everything is written in dotNET/
C# (visual studio 2012) and luckily Microsoft Visual Studio supports IronPython
which is a clean P
On Fri, 14 Dec 2012, boB Stepp wrote:
This is obviously not a directly python-related question; however, I
do believe that it would be of interest to many aspiring programmers
who are diligently learning python on their own.
So, through self-study, I would like to be able to acquire the
knowled
On Tue, 4 Dec 2012, Steven D'Aprano wrote:
On Mon, Dec 03, 2012 at 05:56:30PM -0600, Luke Paireepinart wrote:
I just wanted to make the observation that, at least in gmail, the default
behavior is to hide the entire quoted text behind an innocuous "..."
button.
Good lord, the more I hear abo
On Tue, 9 Oct 2012, Prasad, Ramit wrote:
You can even think about switching later if necessary. Although, it is probably
easier to
go from 2 to 3 due to the existence of automated conversion tools.
There is actually a python 3to2.py script now. And if you pick up Python 3
you'll have much le
On Sun, 7 Oct 2012, Steven D'Aprano wrote:
It is a little-known fact that Unix sys admins, and C programmers, can
only type a fixed number of keys before their brains explode. Sad but
true. Since nobody knows how many keys that will be, but only that it is
fixed at birth, they have a horror of t
On Sat, 29 Sep 2012, Wayne Werner wrote:
On Sat, 29 Sep 2012, Oscar Benjamin wrote:
On Sep 29, 2012 2:25 AM, "Alan Gauld" wrote:
>
> On 28/09/12 21:32, Jim Apto wrote:
>
>> I'm relatively new to python, and was asked to program a lotka-volterra
>> model (p
On Sat, 29 Sep 2012, Oscar Benjamin wrote:
On Sep 29, 2012 2:25 AM, "Alan Gauld" wrote:
>
> On 28/09/12 21:32, Jim Apto wrote:
>
>> I'm relatively new to python, and was asked to program a lotka-volterra
>> model (predator and prey relation) simulator.
>
>
>> x represents prey population
>> y re
On Fri, 28 Sep 2012, Jim Apto wrote:
Hello folks,
I'm relatively new to python, and was asked to program a lotka-volterra model
(predator and prey
relation) simulator. The program basically will basically have a menu that
takes user input, collect
data, and then create a graph. Currently i'v
On Fri, 28 Sep 2012, Bod Soutar wrote:
On Sep 28, 2012 4:47 AM, "Dwight Hutto" wrote:
> Yeah, all up in my fucking cranium with nothing but me and God to hold
> on to one another.
>
> --
> Best Regards,
> David Hutto
> CEO: http://www.hitwebdevelopment.com
Probably not a good idea to advertis
On Mon, 17 Sep 2012, DM wrote:
Hi I've learned a little python via MIT's 6.01SC and would like to
gain experience with personal projects. I'd like to make a web form
filler for the desktop. I'd appreciate it if someone could suggest
what resources I would need to build it. Thanks!
Do you mean
On Sat, 15 Sep 2012, leam hall wrote:
Hey all, not trying to contribute to the flames of one graphical IDE over
another. I'm just trying to figure out if they are worth the learning curve? I
have been doing most of my work in vi and the graphical IDE I'm supposed to use
for a class keeps adding
On Tue, 4 Sep 2012, Matthew Ngaha wrote:
a) IF you happen to have used both, which one fills you with joy and
is more fun for you to program with, GUI programming, or web related /
Framework programming?
Honestly - both. It's really a highly subjective question and depends what
you want to do
On Tue, 4 Sep 2012, Garry Willgoose wrote:
Oscar,
I actually just want the functionality of a shortcut so that I can put an
icon on the desktop. symlink allows that in Unix (and a few other
capabilities that I'm not that intersted in) and just want something
equivalent to the menu item for maki
On Mon, 3 Sep 2012, William R. Wing (Bill Wing) wrote:
junk = raw_input("Yes Master?")
You don't even need the 'junk' bit:
raw_input("Yes Master?")
Will run just fine.
HTH,
-Wayne
___
Tutor maillist - Tutor@python.org
To unsubscribe or change sub
On Thu, 30 Aug 2012, Abhishek Pratap wrote:
Hi Guys
I have a with few million lines. I want to process each block of 8
lines and from my estimate my job is not IO bound. In other words it
takes a lot more time to do the computation than it would take for
simply reading the file.
I am wondering
On Thu, 30 Aug 2012, Steven D'Aprano wrote:
On 28/08/12 21:24, Wayne Werner wrote:
On Mon, 27 Aug 2012, Richard D. Moores wrote:
What the best way to test if something's an integer?
try:
whatever_you_want(supposed_integer)
except ValueError:
print("Oops, that wa
On Mon, 27 Aug 2012, Richard D. Moores wrote:
On Mon, Aug 27, 2012 at 6:33 PM, Japhy Bartlett wrote:
something like:
def _validate_int(obj):
"""Raise an exception if obj is not an integer."""
m = int(obj + 0) # May raise TypeError.
if obj != m:
raise ValueError('expected
On Fri, 10 Aug 2012, Dave Angel wrote:
On 08/10/2012 03:53 PM, Joel Goldstick wrote:
The clue was actually in his code. See his shebang line -- he's using
Python 3. So the error is on the data that the user inputs.
The other clue, that I noticed, was that his innermost error was on line
1,
On Fri, 20 Jul 2012, Steven D'Aprano wrote:
Bala subramanian wrote:
Friends,
At present i write programs using vi editor. I am interested to change to
something else. My specific need is that i want to select a portion/small
segment of my program (for eg. a nested loop) and then monitor proce
On Thu, 19 Jul 2012, Bala subramanian wrote:
Friends,
At present i write programs using vi editor. I am interested to change to
something else. My specific need is that i want to select a portion/small
segment of my
program (for eg. a nested loop) and then monitor processing time it takes for
Just a few notes...
On Wed, 18 Jul 2012, Ryan Waples wrote:
import glob
my_in_files = glob.glob ('E:/PINK/Paired_End/raw/gzip/*.fastq')
for each in my_in_files:
#print(each)
out = each.replace('/gzip', '/rem_clusters2' )
#print (out)
INFILE = open (each, 'r')
I'll preface my response by saying that I know/understand fairly little about
it, but since I've recently been smacked by this same issue when converting
stuff to Python3, I'll see if I can explain it in a way that makes sense.
On Wed, 18 Jul 2012, Jordan wrote:
OK so I have been trying for a c
On Mon, 16 Jul 2012, Walter Prins wrote:
Hi again Matthew,
I forgot to include the following link which I originally thought to
include, which is one guy's set of (IMHO very cogent) criticisms
against PHP as programming language: http://is.gd/z1POXC Hopefully
it gives you something else to t
On Mon, 16 Jul 2012, Bala subramanian wrote:
Friends,
I want to define a function that can populate an array by taking its name
(which is defined globally).
Are you sure this is what you really want to do? I've noticed that many times
that I want to do something, but only because I don't under
On Wed, 11 Jul 2012, Steven D'Aprano wrote:
Chris Hare wrote:
Okay - I am officially embarrassed.
[...]
Meh, don't beat yourself up too badly. We've all been where you are now.
Sometimes I look back at my early Python code... I tell you, that's always a
good antidote for a big head.
I re
While you can't do it with a straight generator, you can create your own:
class MyIter:
def __init__(self, start, stop, step=1):
self.start = start
self.stop = stop
self.step = step
def __iter__(self):
self.cur = self.start
while self.cur < self.sto
On Sun, 17 Jun 2012, Alan Gauld wrote:
On 17/06/12 02:45, mariocatch wrote:
after each row?
#it's causing multiple line separations when writing back out
to file (because each
# time we finish reading, it ends with a trailing newline).
f.write("{0}{1}{2}\n".format(k
On Wed, 25 Apr 2012, Prasad, Ramit wrote:
Useful to
know both though, since lots of people swear by % substitution.
And % formatting is slightly faster - if you end out doing tons of
formatting and you find your script isn't fast enough, it's worth taking a
look there.
-Wayne
_
On Thu, 19 Apr 2012, Tino Dai wrote:
Hi!
I have a question about style. In PEP-8, it says
don't exceed 79 characters, but can this rule ever be
trumped by
readability?
PEP 8 is style guidelines, not hard and fast rules or they wouls be syntax
errors. But that would just be annoying, so
On Fri, 6 Apr 2012, Khalid Al-Ghamdi wrote:
hi all,
I'm trying to extract the domain in the following string. Why doesn't my
pattern (patt) work:
>>> redata
'Tue Jan 14 00:43:21 2020::eax...@gstwyysnbd.gov::1578951801-6-10 Sat Jul 31
15:17:39 1993::rz...@wgxvhx.com::744121059-5-6 Mon Sep 21 2
On Sat, 31 Mar 2012, Modulok wrote:
If you're just starting out, go with 3.x. If you have a need for some third
party modules that aren't yet available for 3.x, you'll have to stick with 2.x.
For a handy list, check out the Python3 Wall of Shame (soon to be superpowers?)
http://python3wos.appsp
d luck and welcome to Python!
-Wayne Werner
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Wed, 21 Mar 2012, Abhishek Pratap wrote:
Hi Guys
I am in the process of perl to python transition for
good.
Welcome!
1. stitch pipelines : I want python to act as a glue
allowing me to run various linux shell based programs.
If needed wait for a program to finish and then move on,
logs if
On Thu, 23 Feb 2012, Saad Javed wrote:
I am learning python and need guidance for
writing some code. I've written a simple
program (with pointers from people) that
parses an tv show xml feed and prints their
values in plain text after performing some
string operations.
Unless you're really i
On Wed, Jan 18, 2012 at 6:00 AM, Selwyn Mileham wrote:
> Help someone
>
> Trying to print to printer using python 3.2.2
>
> Get error load dll error can’t find win32print.
>
> It is in site library
>
What have you tried? If you get an exception, please post the exact text of
the trac
ake much), can someone explain this to me, please??
>
> Here's an example to use. It's kinda long, so, if you'd rather provide
> your own shorter ex, that'd be fine. Thanks for any help as always.
>
Here's a quick example:
import re
data = 'Wayne Werner
On Thu, Jan 5, 2012 at 9:22 AM, daedae11 wrote:
> **
> The exercise is:
>
> Write a function which has 3 parameters. First parameter is a char, second
> parameter is a integer, third parameter is a integer.
> The function would create a file which have following requests:
> 1. the length of the f
class, examine function,
> in the first print statement.
>
> I have added the traceback following a suggestion from Wayne Werner.
>
That's much more useful. As a slight aside, it probably would have been
better to just reply-all to the original thread with the traceback.
>
On Fri, Dec 16, 2011 at 7:17 PM, Robert Sjoblom wrote:
> > Some improvements to think about, in order of least secure (easiest) to
> most
> > secure (hardest).
> >
> > (1) "my secret password.txt" is a crappy name. Is there a better name?
>
> I'm going to go with "EULA.txt"; the reasons should be
On Fri, Dec 16, 2011 at 1:43 PM, Modulok wrote:
> >> How do I tell if it succeeded (short of trying an operation that should
> be
> >> blocked by foreign keys)? How do I use that cursor object returned by
> the
> >> pragma query to tell if its a '1' (on) or a '0' (off) and verify the
> state?
>
On Sun, Dec 18, 2011 at 4:06 PM, Russell Shackleton wrote:
> I am learning Python classes by writing an adventure game. I have
> extracted just the relevant code. The player can look, go, drop, take,
> inventory but not examine.
>
> Python produces the error message in the Player class, examine fu
On Wed, Dec 14, 2011 at 8:13 AM, surya k wrote:
>
> This is a project Euler puzzle. http://projecteuler.net/problem=30
> I applied brute force way and here is my code
> k=0for p in range(1,10):for q in range(0,10):for r in
> range(0,10):for s in range(0,10):
On Dec 11, 2011 8:41 AM, "Pete O'Connell"
wrote:
>
> Hi I have been writing python code for a while now and I never return
anything within any of my functions, I just (eg.) print stuff or make
directories or update a log or what have you. When I look at other people's
code they are always returnin
On Fri, Dec 9, 2011 at 12:41 PM, Homme, James wrote:
> Hi,
>
> Can Python easily be installed on a Windows Vista computer without needing
> administrative rights to that machine?
>
>
>
If you use portable python: http://www.portablepython.com/ that might work
for you.
HTH,
Wayne
On Thu, Dec 8, 2011 at 7:43 AM, Dario Lopez-Kästen wrote:
>
>
> In that case a for loop with a try-except would better:
>
> strNum = raw_input("enter numbers, separated by space: ").split()
> num_list = []
>
> for token in strNum:
> try:
> num_list.append(int(token))
> except Valu
On Sun, Dec 4, 2011 at 2:51 AM, wesley chun wrote:
>
> Does anyone else have similar stories? (I think I may be biased as I use
> Python for everything, trouble or otherwise, so I can't tell the difference
> anymore!)
>
I work in a .NET shop, and the last project I worked on required us to
re-im
On Thu, Dec 1, 2011 at 7:15 AM, Robert Sjoblom wrote:
> So I've recently started poking at the Project Euler site, because I
> feel that I need to practice writing code. For those of you interested
> in solving the problems on your own I advice you to not read this, as
> it will spoil the solution
On Wed, Nov 30, 2011 at 3:34 PM, Norman Khine wrote:
> hello,
>
> is there a better way to organise this code or optimise it.
>
> http://pastie.org/2944797
>
>
After glancing at it the only change that I would recommend (possibly)
making is lines 58 and 39 - you can wrap the dictionaries (line li
On Wed, Nov 30, 2011 at 3:08 PM, stm atoc wrote:
> Hi there,
>
> I have a question regarding plotting with Python.
>
>
> ValueError: x and y must have same first dimension
>
>
It looks like something is wrong with the data that you're trying to plot.
Specifically, the data that you're trying to
On Wed, Nov 30, 2011 at 8:32 AM, Cranky Frankie wrote:
> Peter Otten <__pete...@web.de> wrote:
> Peter thanks again. The msg_widget is still resizing vertically
> depending on the lenght of the quote, but at least now the horizontal
> sizing is staying the same. Ideally the msg_widget would be the
On Tue, Nov 29, 2011 at 3:40 PM, Mayo Adams wrote:
> I cant immediately see how anything in a script is
> anything other than a representation of some kind, hence the
> distinction between representamen and object does no work for me.
>
That's exactly it - when you have something like this in a
On Tue, Nov 29, 2011 at 3:04 PM, ADRIAN KELLY wrote:
> thanks guy, i was thinking of using a dictionary:-
> Stock_list = {"White Bread": 1.24,
> "Biscuits": 1.77,
> "Banana" : 0.23,
> "Tea Bags" : 2.37,
> "Eggs" : 1.23,
> "Beans" : 0.57
On Tue, Nov 29, 2011 at 2:31 PM, ADRIAN KELLY wrote:
> i am trying to create a program that will allow users to enter items and
> their prices; should i be looking at a list, tuple or what?
>
The entering part isn't as important as how you want to display the data.
For instance, here's a program
On Tue, Nov 29, 2011 at 10:09 AM, Dave Angel wrote:
> tkinter provides a couple of specific timer events, and I now see
> your reply to a message that said to use the after() method, which is a
> one-shot. I believe there's another one that sets a periodic timer so you
> don't have to do an afte
On Tue, Nov 29, 2011 at 9:54 AM, Cranky Frankie wrote:
> Peter Otten <__pete...@web.de> wrote:
>
>
Isn't msg_widget an object, like everything else in Python. If so, why is
> it not
>
> def display_quote():
> msg_widget.text = choose_quote()
>
> That is one of the things I tried. I don't under
On Sun, Nov 27, 2011 at 7:52 AM, surya k wrote:
> Hi,
>
>
> Actually, I want to develop a multiplayer Bingo game. So, I would like to
> develop it in python & C. As I am not familiar with game development, could
> you please tell me what libraries I should use for development?... etc
>
You coul
On Wed, Nov 23, 2011 at 12:03 PM, Cranky Frankie
wrote:
> [...]
> The reason why I'm "pickling" is I'm trying to include information on
> Python data structures in the presentaton I'm preparing. [...]
>
In your context why not just use modules?
# data.py
Qb_dict = {"Montana": ["Joe", "Montana"
On Wed, Nov 23, 2011 at 7:04 AM, Cranky Frankie wrote:
> In playing around with Pyton 3 dictionaries I've come up with 2 questions
>
> 1) How are duplicate keys handled? For example:
>
> Qb_Dict = {"Montana": ["Joe", "Montana", "415-123-4567",
> "joe.mont...@gmail.com","Candlestick Park"],
> "Tark
On Fri, Nov 18, 2011 at 11:17 AM, Max gmail wrote:
> Thank you. This will work perfectly.
>
> On Nov 18, 2011, at 11:58 AM, Prasad, Ramit wrote:
>
> >
> > Any file will eventually be able to be reverse engineered, but it
> matters how much effort you care to obfuscate it. The way you can do it
On Fri, Nov 18, 2011 at 9:26 AM, Prasad, Ramit wrote:
> Forwarding to the list since I wasn't the only person who helped ;)
>
> From: ADRIAN KELLY [mailto:kellyadr...@hotmail.com]
> Sent: Thursday, November 17, 2011 6:08 PM
> To: Prasad, Ramit
> Subject: RE: [Tutor] urgent help!! THANKS EVERYONE!
Forwarding on to the list... (hit reply to all next time)
On Thu, Nov 17, 2011 at 8:45 PM, Mark Lybrand wrote:
> so, use my 2.7 and not my 3.2 for my study? Or use my 3.2 for study and
> then do what I have to in 2.7 after including those lines?
>
> Thanks for the quick reply by the way. I am st
On Nov 17, 2011 8:28 PM, "Mark Lybrand" wrote:
>
> Okay, so I am about to take up the banner of learning Python again. I had
started with 3.2 and I have a book that I like. But all of the things that
I want to use Python for appear to be 2.x specific. Will I be setting
myself up for failure if I
On Thu, Nov 17, 2011 at 4:32 PM, ADRIAN KELLY wrote:
>
> thanks very much, great response really really appreciated it and now i
> understand. i hate to ask again but can you see why it won't print the
> 'enter and amount over 50' in the right place??
>
Computers are unfailingly stupid machines.
On Thu, Nov 17, 2011 at 3:29 PM, ADRIAN KELLY wrote:
> def main():
> amount = float(raw_input('how much do you want to change:'))
> while amount<50:
> print 'Sorry, cannot convert an amount under €50 '
>
>
When do you reassign amount?
HTH,
Wayne
___
On Thu, Nov 17, 2011 at 3:19 PM, ADRIAN KELLY wrote:
> i have tried everything, i am trying to build in a loop to my 2 functions
> which worked fine up until my latest sorti.
>
> please have a look if you can..
>
> def exchange(cash_in):
> euro=1
> dollar=1.35
> base=50
>
On Thu, Nov 17, 2011 at 1:17 PM, Mic wrote:
> I have now worked to stop using the global scope and instead put my
> prior global variable into
> the constructor in the class. I believe that I have managed to do that now.
>
> Do you believe that this is correctly done?
>
>
> #Trying putting the_
On Thu, Nov 17, 2011 at 8:57 AM, Mic wrote:
>
>
> Okay, to begin with, I hope I am replying correctly now.
>
Better, though there was quite a lot of my email that you could have
removed.
>
> I wonder, how do I add a background picture to my GUI window?
>
> So far, I thought I could make a l
On Wed, Nov 16, 2011 at 4:04 PM, Steven D'Aprano wrote:
> Wayne Werner wrote:
>
>> It was explained to me once that in
>
> this case:
>>
>> "%s" % 42
>>
>> That since python expects to see a single-element tuple it treats it as or
>>
On Wed, Nov 16, 2011 at 1:41 PM, Nidian Job-Smith wrote:
> Hi all,
>
> Just installed python 2.7.2 on my windows 7 32-bit laptop. However
> when I attempt to run idle it wont open (nothing happens)
>
> Wondered if any of you have had this problem and have any tips?
>
This is more of a Windows is
On Wed, Nov 16, 2011 at 11:44 AM, Mic wrote:
> I wonder if you have any suggestions regarding how to place widgets in
> my window.
>
Even though I try to arrange them as orderly as possible they get placed
> at all different kind of places in the window.
> I use the grid method and place them
On Wed, Nov 16, 2011 at 10:59 AM, Mic wrote:
> Thanks for your quick answer. Hmm, I never thought that didn’t have to
> use a global variable.
>
That's often the point of using classes - you want to collect related data
and functions in one place. In this case, you're creating a clock widget,
On Wed, Nov 16, 2011 at 10:09 AM, Steven D'Aprano wrote:
> Wayne Werner wrote:
>
>
>> In old style formatting, you use a string with format specifiers (%s, %d,
>> etc.) followed by a tuple of arguments. Here, the lengths have to match
>> exactly - if you have one
On Wed, Nov 16, 2011 at 9:28 AM, Mic wrote:
> Hi!
> It is no homework, in fact am I working ahead of class. I have now, after
> five minutes thinking, solved my problem, but a new problem has risen.
> But to begin with, here is how I solved the problem:
>
>
>
> from tkinter import*
> import tim
On Wed, Nov 16, 2011 at 9:46 AM, ADRIAN KELLY wrote:
> Please can anyone tell me how i can print this without all the brackets
> and commas, i know i need the modulus symbol but i dont know how it works.
> any advice would be appreciated
>
> regards
> adrian
>
> def arguments():
> name=raw_in
On Tue, Nov 15, 2011 at 2:00 PM, Mic wrote:
> Hi!
> I am new to programming and I hop this question isn’t stupid.
>
Welcome!
> I am making a small GUI program. It is supposed to have a button and a
> clock in it that displays the same time as it is according to the computer.
> So as far as
irstname
lastname
phone
email
address
And since in my mind, real people already have those things, it's easier
for me to think of myself as:
wayne = People()
wayne.firstname = "Wayne"
wayne.lastname = "Werner"
wayne.phone = "555-555-"
wayne.email = "waynejw
On Mon, Nov 14, 2011 at 4:08 PM, Wayne Watson
wrote:
> I had py 2.5.2 installed (Yes, I know it's old) on my Win 7 64-bit PC
> earlier this year, but it began to fail back in June. I tried a
> uninstall/install, but that got me nowhere. I tried again yesterday.
> Uninstalled, then puzzled over w
On Sat, Nov 12, 2011 at 6:07 AM, Cameron Macleod wrote:
> Hi,
>
> I've been trying to code a timer that tells you how long you've been on
> the net and I can't figure out how to produce a figure in hours, minutes
> and seconds that is constantly being updated. If anyone could point out a
> module
On Thu, Nov 10, 2011 at 12:01 PM, Wayne Werner wrote:
>
> On Thu, Nov 10, 2011 at 11:55 AM, Nathaniel Trujillo <
> hothottr...@gmail.com> wrote:
>
>> Could you tell me where I can get a free download of livewires for python
>> version 3.1.1 ? And one that does not
On Thu, Nov 10, 2011 at 11:55 AM, Nathaniel Trujillo
wrote:
> Could you tell me where I can get a free download of livewires for python
> version 3.1.1 ? And one that does not have a trial period please. I looked
> and looked but all I found was the one for version 2.x. I thought I had the
> one f
On Thu, Nov 10, 2011 at 7:05 AM, lina wrote:
> Hi,
>
> Thanks all again for your help in previous post.
>
> Here I meet something I am not experienced, about:
>
> from 10 groups of data (namely from 1-84) find some pathway, or network.
>
> such as
> Group 1 (file 1): 1 3 8 5 7 4
> Group 2 (file
On Wed, Nov 9, 2011 at 6:26 AM, Albert-Jan Roskam wrote:
> Ah, good that they've renamed it to lowercase. Isn't there a convention
> to only use a capital for class names? (and of course for constants, which
> are all caps).
>
I think so, I know to adhere PEP 8 that is definitely required for na
On Tue, Nov 8, 2011 at 6:56 AM, Jose Amoreira wrote:
> **
>
> On Tuesday, November 08, 2011 12:38:19 PM Dave Angel wrote:
>
> > On 11/07/2011 09:45 PM, Jose Amoreira wrote:
>
> > > Is there any way to configure tkFileDialogs so that they don't display
>
> > > hidden files?
>
> "Hidden files" mea
On Fri, Nov 4, 2011 at 4:21 PM, Max S. wrote:
> Is it possible to create a variable with a string held by another variable
> in Python? For example,
>
> >>> var_name = input("Variable name: ")
> (input: 'var')
> >>> var_name = 4
> >>> print(var)
> (output: 4)
>
> (Yeah, I know that if this gets
On Thu, Nov 3, 2011 at 9:41 AM, Chris Hare wrote:
> Thanks Peter. Actually, I have read a bunch of stuff and looked at
> example code. The problem in this case is I am using a defined method -
> focus_set(), which is part of Tkinter and isn't part of my code. since I
> am using it in the manne
On Nov 1, 2011 4:17 PM, "Joel Montes de Oca" wrote:
>
> On 11/01/2011 02:18 PM, Alan Gauld wrote:
>>
>> On 01/11/11 18:09, Alexander Etter wrote:
>>
>>> Hi, hopefully a more experience hacker can provide clarity, but how
>>> secure does this login need to be? I dont much about python in DRAM but
>
On Tue, Nov 1, 2011 at 3:24 PM, Steve Willoughby wrote:
> On 01-Nov-11 13:19, Alexander Etter wrote:
>
>> I like than .png image! It does appear vi biased though!
>>
>
> Not quite, notice the initial steep climb. :) Yes, it's tongue-in-cheek,
> but feels about right, once you master vi (or emac
On Tue, Nov 1, 2011 at 6:31 AM, Alexander Etter wrote:
> There is a learning curve.
Yes, and for a graphical comparison of learning curves:
http://jeetworks.org/files/images/emacs_learning_curves.png
;)
> One may find a learning curve with everything in existence, whereas I
> repudiate one di
On Tue, Nov 1, 2011 at 1:57 PM, Chris Hare wrote:
> Here is a code snippet I have pulled out of the project. It is as bare
> bones as I can make it to get the point across.
>
> the problems I am having:
>
> 1. I would really like the window to be centered in the user's screen,
> but setting the
On Mon, Oct 31, 2011 at 1:14 PM, Marc Tompkins wrote:
>
> You could simplify it even further by actually using the "while":
>
> > def UserChoice ():# The function that returns the choice from the
> user
> >choice = ''
> >attempt = 0
> >while choice.lower() not in ('p', 'r','s'):
>
On Mon, Oct 24, 2011 at 1:04 PM, Johan Martinez wrote:
> Hi,
>
> I am struggling to understand Python string immutability. I am able to
> modify Python string object after initializing/assigning it a value. So how
> does immutability work? I am not following it. Sorry for really stupid
> question
On Sun, Oct 23, 2011 at 11:06 PM, Marc Tompkins wrote:
> Things to remember:
> -you can get a value from a method, but you can't assign to it:
> variable = object.method()
> but NOT
> object.method() = variable
>
As a slight aside, you _can_ assign to the method name:
object.method = var
1 - 100 of 331 matches
Mail list logo