Τη Τετάρτη, 20 Μαρτίου 2013 2:55:22 π.μ. UTC+2, ο χρήστης Terry Reedy έγραψε:
> On 3/19/2013 8:12 PM, D. Xenakis wrote:
>
> > Hi there, Im searching for an installation guide for PyQt toolkit. To
>
> > be honest im very confused about what steps should i follow for a
>
> > complete and clean ins
Thanks DAVE
On Tuesday, March 19, 2013 8:24:24 PM UTC+5:30, Dave Angel wrote:
> On 03/19/2013 10:20 AM, razinzam...@gmail.com wrote:
>
> > I'm currently trying to extract some data between 2 lines of an input file
>
>
>
> Your subject line says "from word". I'm only guessing that you might
>
Thanks steven
On Tuesday, March 19, 2013 8:11:22 PM UTC+5:30, Steven D'Aprano wrote:
> On Tue, 19 Mar 2013 07:20:57 -0700, razinzamada wrote:
>
>
>
> > I'm currently trying to extract some data between 2 lines of an input
>
> > file using Python. the infile is set up such that there is a line
On 19/03/2013 17:03, Dave Angel wrote:
On 03/19/2013 10:29 AM, Frank Millman wrote:
On 19/03/2013 14:46, Dave Angel wrote:
As you say, there is a variety of types of data that one might to store
externally. My current scenario is that, in my business/accounting
application, I use xml to store f
On Tue, Mar 19, 2013 at 9:46 PM, Mark Janssen wrote:
> Hopefully this won't be considered mail spam, but another quora answer that
> gets to the idea I'm after: http://qr.ae/TMh7A
>
> Reposted here for those who don't have accounts:
>
> Q. Is it time for us to dump the OOP paradigm? If yes, what
Thanks for the info.
I now suspect that the free lists are taking up the memory which won't be
released unless we do a collect. I'm verifying that.
On Tuesday, March 19, 2013 10:43:11 PM UTC+5:30, Dave Angel wrote:
> On 03/19/2013 12:36 PM, Bodhi wrote:
>
> > I know this, but my question is what
Hopefully this won't be considered mail spam, but another quora answer that
gets to the idea I'm after: http://qr.ae/TMh7A
Reposted here for those who don't have accounts:
Q. Is it time for us to dump the OOP paradigm? If yes, what can replace it?
When I was using C++ and Java, more of my time
On Tue, Mar 19, 2013 at 1:09 PM, Terry Reedy wrote:
> On 3/18/2013 11:31 PM, Andrew Barnert wrote:
>
>> The idea that message passing is fundamentally different from method
>> calling also turned out to be one of those strange ideas, since it
>> only took a couple years to prove that they are theo
On 3/19/2013 10:16 PM, Ranting Rick wrote:
import tkinter as tk
from tkinter.constants import LEFT
def cbButton(self):
print('I should do something here!')
root = tk.Tk()
root.title("Window")
w=tk.Label(root, text="Enter a string")
w.pack(side=LEFT)
e1 = tk.Entry(root, bd=5)
e1.pack(side=L
On Tuesday, March 19, 2013 9:36:28 PM UTC-5, maiden129 wrote:
> So should I redo my other code that I created with
> the radioButtons to change the colors of a text?
I believe so. Although you really should explain what your trying to achieve
with this code. There is nothing wrong with wrapping
On Tuesday, March 19, 2013 10:16:25 PM UTC-4, Rick Johnson wrote:
> On Mar 19, 8:25 pm, maiden129 wrote:
So should I redo my other code that I created with the radioButtons to change
the colors of a text?
from tkinter import *
class buttons:
def __init__(self):
window = Tk()
On Mar 19, 8:25 pm, maiden129 wrote:
> Here is my try to answer some of questions:
>
> [snip code]
I don't understand why you are wrapping this code into a class. Are
you trying to create something reuseable?
> I'm just struggling with only how to create an object that
> will hold a single chara
On Tue, Mar 19, 2013 at 9:25 PM, maiden129 wrote:
> On Tuesday, March 19, 2013 8:57:42 PM UTC-4, Rick Johnson wrote:
> > On Tuesday, March 19, 2013 2:01:24 PM UTC-5, maiden129 wrote:
> >
> > > Hello,
> >
> > >
> >
> > > I'm using python 3.2.3 and I'm making a program that show
> >
> > > the of occ
On Tue, 19 Mar 2013 15:58:51 +, Robert Flintham wrote:
> Joel: The 2.7 is the version number of the PyDev plugin for Eclipse,
> rather than the Python version number.
>
> Dave: I don't have access to the system's PATH environment variable
> because this computer is very tightly controlled. H
I find the stateless SOA architecture to be increasingly useful and relevant.
For example, it allows you to write once; deploy to:
- Website (for viewing in web browsers)
- Native mobile apps (using Adobe PhoneGap or similar)
- Ubuntu apps
- Windows Metro Store apps (for Windows 8)
In article ,
Dave Angel wrote:
> But you should switch to using the csv module. And unless you have data
> that consists of millions of lines, you should just read the whole thing
> in once, and then extract the various columns by simple list
> manipulations and/or comprehensions.
Another p
On Tuesday, March 19, 2013 8:57:42 PM UTC-4, Rick Johnson wrote:
> On Tuesday, March 19, 2013 2:01:24 PM UTC-5, maiden129 wrote:
>
> > Hello,
>
> >
>
> > I'm using python 3.2.3 and I'm making a program that show
>
> > the of occurrences of the character in the string in
>
> > Tkinter.
>
> >
On 03/19/2013 06:59 PM, C.T. wrote:
Hello,
Currently doing a project for class an I'm stuck. I have a csv file that I'm
suppose to extract some information from. I've created a function that ignores
the first six lines of the csv file and creates a list of values in a
particular column. Here
On Tuesday, March 19, 2013 2:01:24 PM UTC-5, maiden129 wrote:
> Hello,
>
> I'm using python 3.2.3 and I'm making a program that show
> the of occurrences of the character in the string in
> Tkinter.
>
> My questions are:
>
> How can I make an empty Entry object that will hold a word
> that a use
On 3/19/2013 8:12 PM, D. Xenakis wrote:
Hi there, Im searching for an installation guide for PyQt toolkit. To
be honest im very confused about what steps should i follow for a
complete and clean installation. Should i better choose to install
the 32bit or the 64bit windows version?
I am rather
My current Test_Sort.csv looks like this (which constantly changes-although
never more than 4 records, thus far anyway):
RecNo,Count,District,Fruit,StoreNo
1,100,0,oranges,1254
2,30,3,apples,654
3,100,0,bananas,21
4,0,4,grapes,478
I wrote the following python 2.7 script (stuck with 2.7)
---
Hi there,
Im searching for an installation guide for PyQt toolkit.
To be honest im very confused about what steps should i follow for a complete
and clean installation. Should i better choose to install the 32bit or the
64bit windows version? Or maybe both? Any chance one of them is more/less
bu
In article <1d7fcebe-8677-42ec-a53d-284214296...@googlegroups.com>,
"C.T." wrote:
> Currently doing a project for class an I'm stuck. I have a csv file that I'm
> suppose to extract some information from. I've created a function that
> ignores the first six lines of the csv file and creates a
On Monday, March 18, 2013 12:55:18 PM UTC, John Rowland wrote:
> For just today, the book "Learn Python Quickly" is free to download from
> Amazon.
>
> Also, go to www.learnpythonquickly.com for more information.
To Terry Reedy. That's just the sort of constructive criticism I was hoping
would
Hello,
Currently doing a project for class an I'm stuck. I have a csv file that I'm
suppose to extract some information from. I've created a function that ignores
the first six lines of the csv file and creates a list of values in a
particular column. Here is the code:
def get_values(file, in
On Tuesday, March 19, 2013 5:39:51 PM UTC-4, Chris Angelico wrote:
> On Wed, Mar 20, 2013 at 6:01 AM, maiden129 wrote:
>
> > Hello,
>
> >
>
> > I'm using python 3.2.3 and I'm making a program that show the of
> > occurrences of the character in the string in Tkinter.
>
>
>
> This sounds like
On Tue, Mar 19, 2013 at 8:44 AM, Tim Chase
wrote:
> On 2013-03-19 14:07, Neil Cerutti wrote:
>> On 2013-03-18, Ana Dion?sio wrote:
>> > But I still get the error and I use Excel 2010.
>> >
>> > I'm trying to export data in a list to Excel
>>
>> xlrd: Library for developers to extract data from Mi
On Wed, Mar 20, 2013 at 6:01 AM, maiden129 wrote:
> Hello,
>
> I'm using python 3.2.3 and I'm making a program that show the of occurrences
> of the character in the string in Tkinter.
This sounds like homework. Have you had a try at it yourself before
asking? If so, show us your code, and point
On 3/18/2013 11:31 PM, Andrew Barnert wrote:
The idea that message passing is fundamentally different from method
calling also turned out to be one of those strange ideas, since it
only took a couple years to prove that they are theoretically
completely isomorphic—and,
Since the isomorphism is
Hello,
I'm using python 3.2.3 and I'm making a program that show the of occurrences of
the character in the string in Tkinter.
My questions are:
How can I make an empty Entry object that will hold a word that a user will
enter?
How to make an empty Entry object that will hold a single charact
On 03/19/2013 12:36 PM, Bodhi wrote:
I know this, but my question is what does gc.collect do which results in the c
library to free memory? Usually it is because of unreferenced objects in a
cycle or something, but here that doesn't seem to be the case.
As I said, python calls the C free() f
I know this, but my question is what does gc.collect do which results in the c
library to free memory? Usually it is because of unreferenced objects in a
cycle or something, but here that doesn't seem to be the case.
On Tuesday, March 19, 2013 9:32:27 PM UTC+5:30, Dave Angel wrote:
> On 03/19/20
On Tue, Mar 19, 2013 at 11:54 AM, wrote:
> hi, im new to python. I need to know how data can be sent from excel to a
> webpage form.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
This is the second or third time this question has been asked. All from
different email addresses, b
On Mar 19, 8:36 pm, Cathy James wrote:
> Dear All,
> I need some assistance with Python so that values in the "Name" field e.g.
> Murray - James - Leo can be labeled as:
>
> Murray
> James
> Leo
>
> with a new line replacing every dash.
>
> Basically I need the equivalent of this VB in Python:
> r
On 03/19/2013 11:47 AM, Bodhi wrote:
I have a python process that does some operations and is supposed to release
memory after those. The issue is that memory is not released (as seen through
top). So I do a gc.collect() to see if there is any cycle etc. Immediately
after doing the collect mem
hi, im new to python. I need to know how data can be sent from excel to a
webpage form.
--
http://mail.python.org/mailman/listinfo/python-list
Joel: The 2.7 is the version number of the PyDev plugin for Eclipse, rather
than the Python version number.
Dave: I don't have access to the system's PATH environment variable because
this computer is very tightly controlled. However, my user PATH environment
contains "K:\Python33", which I ha
On 2013-03-19, Cathy James wrote:
> Dear All,
> I need some assistance with Python so that values in the "Name"
> field e.g. Murray - James - Leo can be labeled as:
>
> Murray
> James
> Leo
>
> with a new line replacing every dash.
>
> Basically I need the equivalent of this VB in Python:
> replac
On 03/19/2013 11:36 AM, Cathy James wrote:
Dear All,
I need some assistance with Python so that values in the "Name" field e.g.
Murray - James - Leo can be labeled as:
Murray
James
Leo
with a new line replacing every dash.
Basically I need the equivalent of this VB in Python:
replace ( [Name]
On Tue, Mar 19, 2013 at 11:36 AM, Cathy James wrote:
> Dear All,
> I need some assistance with Python so that values in the "Name" field e.g.
> Murray - James - Leo can be labeled as:
>
> Murray
> James
> Leo
>
> with a new line replacing every dash.
>
> Basically I need the equivalent of this VB
I have a python process that does some operations and is supposed to release
memory after those. The issue is that memory is not released (as seen through
top). So I do a gc.collect() to see if there is any cycle etc. Immediately
after doing the collect memory usage drops as expected, but strang
Dear All,
I need some assistance with Python so that values in the "Name" field e.g.
Murray - James - Leo can be labeled as:
Murray
James
Leo
with a new line replacing every dash.
Basically I need the equivalent of this VB in Python:
replace ( [Name] , "-", vbNewLine)
I tried this but no luck:
Τη Τρίτη, 19 Μαρτίου 2013 5:23:47 μ.μ. UTC+2, ο χρήστης NZach έγραψε:
> Τη Τρίτη, 19 Μαρτίου 2013 3:57:30 π.μ. UTC+2, ο χρήστης NZach έγραψε:
>
> > Hello everyone,
>
> >
>
> >
>
> >
>
> > i am using the MMK.py example from a SimPy tutorial, which can be found
> > here: http://heather.cs.uc
On Tue, Mar 19, 2013 at 11:10 AM, Robert Flintham <
robert.flint...@uhb.nhs.uk> wrote:
> Hi,
>
> ** **
>
> I’m trying to run the following, with representing an array of
> floating point numbers:
>
> ** **
>
>
>
> import num
On 18/03/2013 15:50, Steven D'Aprano wrote:
[...]
Gnumeric is Linux-only
No it isn't. I use it on Windows 7 with no problem.
--
I have made a thing that superficially resembles music:
http://soundcloud.com/eroneity/we-berated-our-own-crapiness
--
http://mail.python.org/mailman/listinfo/pyth
Τη Τρίτη, 19 Μαρτίου 2013 3:57:30 π.μ. UTC+2, ο χρήστης NZach έγραψε:
> Hello everyone,
>
>
>
> i am using the MMK.py example from a SimPy tutorial, which can be found here:
> http://heather.cs.ucdavis.edu/~matloff/156/PLN/DESimIntro.pdf
>
>
>
> I have made very little changes to the code an
On 03/19/2013 11:10 AM, Robert Flintham wrote:
Hi,
I'm trying to run the following, with representing an array of
floating point numbers:
import numpy as np
import scipy as sp
from scipy import optimize
xdata=
ydata=
def t2fit(x,T
On 19 March 2013 15:09, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Tue, 19 Mar 2013 07:44:47 -0700, NZach wrote:
>
> > OK, i changed the code again. Delete the G class (The purpose of G class
> > was to refer to global variables). Add Rnd.seed(12345) in main()
> > function
Hi,
I'm trying to run the following, with representing an array of
floating point numbers:
import numpy as np
import scipy as sp
from scipy import optimize
xdata=
ydata=
def t2fit(x,T2,A):
return A * np.exp(-x/T2)
popt, pcov =
On 19 March 2013 14:44, NZach wrote:
> OK, i changed the code again. Delete the G class (The purpose of G class
> was to refer to global variables). Add Rnd.seed(12345) in main() function.
> The new code : http://codeviewer.org/view/code:30da
>
> i print the Rnd.expovariate(ArrivalClass.ArvRate).
On Tue, 19 Mar 2013 07:44:47 -0700, NZach wrote:
> OK, i changed the code again. Delete the G class (The purpose of G class
> was to refer to global variables). Add Rnd.seed(12345) in main()
> function. The new code : http://codeviewer.org/view/code:30da
>
> i print the Rnd.expovariate(ArrivalCla
On 03/19/2013 10:29 AM, Frank Millman wrote:
On 19/03/2013 14:46, Dave Angel wrote:
On 03/19/2013 04:21 AM, Frank Millman wrote:
On 19/03/2013 09:55, Peter Otten wrote:
Frank Millman wrote:
I want to locate a file relative to the directory from which the main
program was launched.
I have fo
On 03/19/2013 10:20 AM, razinzam...@gmail.com wrote:
I'm currently trying to extract some data between 2 lines of an input file
Your subject line says "from word". I'm only guessing that you might
mean Microsoft Word, a proprietary program that does not, by default,
save text files. The fol
OK, i changed the code again. Delete the G class (The purpose of G class was to
refer to global variables). Add Rnd.seed(12345) in main() function.
The new code : http://codeviewer.org/view/code:30da
i print the Rnd.expovariate(ArrivalClass.ArvRate).
The output i get be executing the above code
On Tue, 19 Mar 2013 07:20:57 -0700, razinzamada wrote:
> I'm currently trying to extract some data between 2 lines of an input
> file using Python. the infile is set up such that there is a line
> -START- where I need the next 10 lines of code if and only if the -END-
> condition occurs before the
On Tue, Mar 19, 2013 at 10:22 AM, Neil Cerutti wrote:
> On 2013-03-19, s.arun...@gmail.com wrote:
> > Hi, im new to python. Wanted to know how to extract data from
> > excel sheet and send it to webpage form. Thanks in advance.
>
> Can you be more clear about what you want to do with this data?
On 2013-03-19 14:07, Neil Cerutti wrote:
> On 2013-03-18, Ana Dion?sio wrote:
> > But I still get the error and I use Excel 2010.
> >
> > I'm trying to export data in a list to Excel
>
> xlrd: Library for developers to extract data from Microsoft Excel
> (tm).
>
> It is for *reading* Excel files
On 2013-03-19, s.arun...@gmail.com wrote:
> Hi, im new to python. Wanted to know how to extract data from
> excel sheet and send it to webpage form. Thanks in advance.
I like to export Excel documents as csv files and read them using
the csv module's DictReader class.
You can read from them dire
I'm currently trying to extract some data between 2 lines of an input file
using Python. the infile is set up such that there is a line -START- where I
need the next 10 lines of code if and only if the -END- condition occurs before
the next -START-. The -START- line occurs many times before the
On Tue, 19 Mar 2013 15:07:54 +0100, Neil Cerutti wrote:
On 2013-03-18, Ana Dion?sio wrote:
But I still get the error and I use Excel 2010.
I'm trying to export data in a list to Excel
xlrd: Library for developers to extract data from Microsoft Excel
(tm).
It is for *reading* Excel files,
On 19/03/2013 14:46, Dave Angel wrote:
On 03/19/2013 04:21 AM, Frank Millman wrote:
On 19/03/2013 09:55, Peter Otten wrote:
Frank Millman wrote:
I want to locate a file relative to the directory from which the main
program was launched.
I have found two ways of finding the starting directory
Probably a better code : http://codeviewer.org/view/code:30d9
I run the program once using comment in line 39 and then using comment in line
62.
The results are not the same. The problem is with the Random. Although, i use
seed value equal to 12345, i do not take the same results. :[
Any idea
On Tue, 19 Mar 2013 06:50:34 -0700, NZach wrote:
> Sorry, my previous reply was completely wrong. The time is initialized
> through the initialize() to 0. So, each time i call main() the
> simulation time is initialized to 0.
>
> I changed the code in order to print and check the values of
>
> G
> >> Will look at Pypapi and SQLkit.
> >
> Did look: SQLkit needs Python 2.
Personally I would be more concerned about the apparent end-of-life of
PyGTK.
> Pypapi, from the link you gave: "The new release of PyPaPi is written
> in Java. You can find more info in the official site." On this
> offi
> As far as Dabo is concerned, at the moment I just have to know how to
> spell "crash" ...
Seems like someone is in desperate need of what they call "release
management". X-(
Sincerely,
Wolfgang
--
http://mail.python.org/mailman/listinfo/python-list
On 19 March 2013 13:50, NZach wrote:
> Sorry, my previous reply was completely wrong. The time is initialized
> through the initialize() to 0. So, each time i call main() the simulation
> time is initialized to 0.
>
> I changed the code in order to print and check the values of
>
> G.Rnd.expovari
On 2013-03-16, Chris Angelico wrote:
> On Sun, Mar 17, 2013 at 2:34 AM, Yves S. Garret
> wrote:
>> *facepalm*
>>
>> Yep, I see it :) . Thanks for your help.
>
> Glad to be of service. Welcome to a life of programming, where
> the palm meets the face on a regular basis... more frequently
> if you
On 2013-03-18, Ana Dion?sio wrote:
> But I still get the error and I use Excel 2010.
>
> I'm trying to export data in a list to Excel
xlrd: Library for developers to extract data from Microsoft Excel
(tm).
It is for *reading* Excel files, not writing them. To get data
into Excel use the csv modu
Thank you for your response,in case if its a word file how could i do this.
On Tuesday, March 19, 2013 7:16:00 PM UTC+5:30, Joel Goldstick wrote:
> On Tue, Mar 19, 2013 at 9:16 AM, wrote:
>
> Hello,
>
>
>
> I need to extract certain set of lines from PDF
>
> Ex:-
>
> IF(..)
>
> ..
Hi, im new to python. Wanted to know how to extract data from excel sheet and
send it to webpage form.
Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list
Sorry, my previous reply was completely wrong. The time is initialized through
the initialize() to 0. So, each time i call main() the simulation time is
initialized to 0.
I changed the code in order to print and check the values of
G.Rnd.expovariate(MachineClass.SrvRate) and
G.Rnd.expovariate
On Tue, Mar 19, 2013 at 9:16 AM, wrote:
> Hello,
>
> I need to extract certain set of lines from PDF
> Ex:-
> IF(..)
> ..
> ..
>IF(.)
>...
>...
>ENDIF
> ENDIF
>
> I need to copy entire lines from first "IF" till last "ENDIF".and extract
> it
Hello,
I need to extract certain set of lines from PDF
Ex:-
IF(..)
..
..
IF(.)
...
...
ENDIF
ENDIF
I need to copy entire lines from first "IF" till last "ENDIF".and extract it to
seperate row of excel sheet.when ever a new occurrance of this k
On 03/19/2013 04:21 AM, Frank Millman wrote:
On 19/03/2013 09:55, Peter Otten wrote:
Frank Millman wrote:
I want to locate a file relative to the directory from which the main
program was launched.
I have found two ways of finding the starting directory -
1.
import os
dir = os.getcwd()
Thi
Thank you @sven ! I thought that the time was reset automatically after calling
the second main. Yes, i checked the values and they are the same.
--
http://mail.python.org/mailman/listinfo/python-list
On 19 March 2013 10:54, NZach wrote:
> @eli m : The problem is that i execute on lines 83 and 90 the main() and
> although the seed value is the same, equal to 12345, i receive different
> results from lines 85 and 92.
>
> @alex23: I changed the code, http://codeviewer.org/view/code:30d4, but i
>
@eli m : The problem is that i execute on lines 83 and 90 the main() and
although the seed value is the same, equal to 12345, i receive different
results from lines 85 and 92.
@alex23: I changed the code, http://codeviewer.org/view/code:30d4, but i still
receive have the same problem. The resul
@eli m : The problem is that i execute on lines 83 and 90 the main() and
although the seed value is the same, equal to 12345, i receive different
results from lines 85 and 92.
@alex23: I changed the code, http://codeviewer.org/view/code:30d4, but i still
receive have the same problem. The resul
On Mar 19, 1:38 am, Victor Hooi wrote:
> We currently use a collection of custom Python scripts to validate various
> things in our production environment/configuration.
>
> Many of these are simple XML checks (i.e. validate that the value of this XML
> tag here equals the value in that file ove
- Original Message -
> HI,
>
> NB: I've posted this question on Reddit as well (but didn't get many
> responses from Pythonistas) - hope it's ok if I post here as well.
>
> We currently use a collection of custom Python scripts to validate
> various things in our production environment/co
On 19/03/2013 09:55, Peter Otten wrote:
Frank Millman wrote:
I want to locate a file relative to the directory from which the main
program was launched.
I have found two ways of finding the starting directory -
1.
import os
dir = os.getcwd()
This gives the current working directory...
2.
Frank Millman wrote:
> I want to locate a file relative to the directory from which the main
> program was launched.
>
> I have found two ways of finding the starting directory -
>
> 1.
> import os
> dir = os.getcwd()
This gives the current working directory...
> 2.
> import os.path
> import
Hi all
I want to locate a file relative to the directory from which the main
program was launched.
I have found two ways of finding the starting directory -
1.
import os
dir = os.getcwd()
2.
import os.path
import __main__
dir = os.path.dirname(__main__.__file__)
I know that the first one wi
On Mon, 18 Mar 2013 16:17:27 -0500, Peng Yu wrote:
> Hi,
>
> I don't quite understand how -m option is used. And it is difficult to
> search for -m in google. Could anybody provide me with an example on how
> to use this option? Thanks!
>
>-m module-name
> Searches sys.path
84 matches
Mail list logo