Re: Project Structure for Backend ETL Project

2018-08-21 Thread Terry Reedy
On 8/21/2018 11:46 AM, Jeff M wrote: Is this a good example to follow for a project that does mostly python to interact with external data sources including files, transformation, and import into Postgres? https://github.com/bast/somepackage AFAIK, the recommendations in the README are a pla

Re: Project Euler 20.

2017-09-24 Thread Paul Rubin
Ian Kelly writes: sum(int(c) for c in str(math.factorial(100))) Doh! Using int(c) didn't occur to me and I didn't know about math.factorial. Notice also that WJ hasn't yet dared posting his crap on comp.lang.haskell. -- https://mail.python.org/mailman/listinfo/python-list

Re: Project Euler 20.

2017-09-24 Thread Ian Kelly
On Sun, Sep 24, 2017 at 4:35 PM, Paul Rubin wrote: > > "Robert L." writes: > >> Find the sum of the digits in the number 100! > > In Python? > > So you have come to plague us here too. > > >>> sum(ord(c)-ord('0') for c in str(reduce(lambda a,b: a*b, range(1,101),1))) > 648 Or for any Python 2.6

Re: Project Euler 20.

2017-09-24 Thread Paul Rubin
"Robert L." writes: >> Find the sum of the digits in the number 100! > In Python? So you have come to plague us here too. >>> sum(ord(c)-ord('0') for c in str(reduce(lambda a,b: a*b, range(1,101),1))) 648 -- https://mail.python.org/mailman/listinfo/python-list

Re: Project, how to debug

2015-03-31 Thread Andrew Farrell
points of general advice: - As noted by Chris, you first need to figure out what the code is *supposed* to do. - Have a notebook and pencil next to you as you are working through this so that you can make notes and draw out the structure of things. - Write down the general structure of the code on

Re: Project, how to debug

2015-03-31 Thread Robert Clove
On Tue, Mar 31, 2015 at 5:19 PM, Peter Otten <__pete...@web.de> wrote: > Robert Clove wrote: > > > Hi All, > > > > I am facing a problem. > > I have been given a project written in python and asked to debug it. > > I have not been given the flow they said understand and debug. > > > > Can someone

Re: Project, how to debug

2015-03-31 Thread Chris Angelico
On Tue, Mar 31, 2015 at 10:23 PM, Robert Clove wrote: > > I am facing a problem. > I have been given a project written in python and asked to debug it. > I have not been given the flow they said understand and debug. > > Can someone suggest me how to debug it in Wings IDE. > Project have approx 10

Re: Project, how to debug

2015-03-31 Thread Peter Otten
Robert Clove wrote: > Hi All, > > I am facing a problem. > I have been given a project written in python and asked to debug it. > I have not been given the flow they said understand and debug. > > Can someone suggest me how to debug it in Wings IDE. Are those specific bugs that you are supposed

Re: Project Based python tutorials

2013-02-28 Thread Jean-Michel Pichavant
- Original Message - > On Wednesday, February 27, 2013 2:31:11 AM UTC-6, Alvin Ghouas wrote: > > > So, I desided to start learning programming a few months > > ago and by now i feel pretty confident about the basics of > > the python language, and programming in general. > > Variables, l

Re: Project Based python tutorials

2013-02-27 Thread llanitedave
On Wednesday, February 27, 2013 4:40:41 PM UTC-8, Rick Johnson wrote: > > Before you decide to start participating in outside projects may we have a > list of some of the software you've written for yourself? (With all due > respect) I very seriously doubt that someone with only a "few months" o

Re: Project Based python tutorials

2013-02-27 Thread llanitedave
On Wednesday, February 27, 2013 12:31:11 AM UTC-8, Alvin Ghouas wrote: > Hi everyone! > > > > First of all: Im new to this group and i dont know if there are any "rules" > or jargon around her. If so; pleas fill me in. > > > > So, I desided to start learning programming a few months ago and

Re: Project Based python tutorials

2013-02-27 Thread Rick Johnson
On Wednesday, February 27, 2013 2:31:11 AM UTC-6, Alvin Ghouas wrote: > First of all: Im new to this group and i dont know if > there are any "rules" or jargon around her. If so; pleas > fill me in. The only rules are there are no rules. All we can hope is that everyone will "try" to play nicely

Re: Project Based python tutorials

2013-02-27 Thread alex23
On Feb 27, 6:31 pm, Alvin Ghouas wrote: > Yet despite my numerouse web searchs for project based tutorials,i cant > seem to find any good ones. Welcome to the python list. Guides on writing large projects are definitely few and far between. I can only think of a few, but they're all specifically

RE: Project Based python tutorials

2013-02-27 Thread Andriy Kornatskyy
I would advise try answer the question: what is my goal? Don't be surprised that not everyone become a programmer... many people fail and get back to market thinking it was waste of time. Thanks. Andriy Kornatskyy > Date: Wed, 27 Feb 2013 00:31:11 -08

Re: Project

2012-03-07 Thread Ben Finney
Dev Dixit writes: > Please, tell me how to develop project on "how people intract with > social networing sites". Step one: collect data. Step two: ??? Step three: project! -- \ “Try to become not a man of success, but try rather to become a | `\ man of

RE: Project

2012-03-07 Thread Prasad, Ramit
> > Pay a smart developer! > > What? For homework? Sure why not? Smart developers could use extra money ;) Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77002 work phone: 713 - 216 - 5423 -- This email is confidential and subject to

Re: Project

2012-03-07 Thread HoneyMonster
On Wed, 07 Mar 2012 13:06:38 -0500, Rodrick Brown wrote: > Pay a smart developer! What? For homework? -- http://mail.python.org/mailman/listinfo/python-list

RE: Project

2012-03-07 Thread Prasad, Ramit
> > Please, tell me how to develop project on "how people intract with > > social networing sites". > > This sounds more like a social sciences study than anything > programming related... > > And since I don't do such sites, it may be intractable... Or he could be wanting to know ho

Re: Project

2012-03-07 Thread Rodrick Brown
Pay a smart developer! Sent from my iPhone On Mar 7, 2012, at 4:46 AM, Dev Dixit wrote: > Please, tell me how to develop project on "how people intract with > social networing sites". > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-

Re: Project

2012-03-07 Thread John Gordon
In Dev Dixit writes: > Please, tell me how to develop project on "how people intract with > social networing sites". First you need a more detailed description of exactly what you want. -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is

Re: Project-wide variable...

2011-06-24 Thread Terry Reedy
On 6/24/2011 7:30 AM, Gnarlodious wrote: On Jun 24, 12:27 am, Terry Reedy wrote: 1) Can I tell Executable.py to share Data with ModuleTest.py? After the import is complete, yes. import ModuleTest ModuleTest.Data = Data This works if the use of Data is inside a function that is not called dur

Re: Project-wide variable...

2011-06-24 Thread Gnarlodious
On Jun 24, 12:27 am, Terry Reedy wrote: > > 1) Can I tell Executable.py to share Data with ModuleTest.py? > > After the import is complete, yes. > import ModuleTest > ModuleTest.Data = Data > > This works if the use of Data is inside a function that is not called > during import, not if the use of

Re: Project-wide variable...

2011-06-23 Thread Terry Reedy
On 6/23/2011 11:49 PM, Gnarlodious wrote: Let me restate my question. Say I have a script Executable.py that calls all other scripts and controls them: #!/usr/local/bin/python from Module import Data import ModuleTest ModuleTest.py has this: print(Data.Plist.Structure) Running Executable.py g

Re: Project-wide variable...

2011-06-23 Thread alex23
On Jun 24, 2:01 pm, Gnarlodious wrote: > Seems like it should already be invented. If you're finding you're importing the same data into every single module, then you're doing something wrong. Creating dependencies across modules like you're wanting is a recipe for suffering. -- http://mail.pyt

Re: Project-wide variable...

2011-06-23 Thread Gnarlodious
Idea: It occurs to me that my application class inherits "object". Can I set that to inherit an object that already includes data? So every subsequent class would start off with data loaded (except for class Data). Seems like it should already be invented. -- Gnarlie -- http://mail.python.org/ma

Re: Project-wide variable...

2011-06-23 Thread Gnarlodious
Let me restate my question. Say I have a script Executable.py that calls all other scripts and controls them: #!/usr/local/bin/python from Module import Data import ModuleTest ModuleTest.py has this: print(Data.Plist.Structure) Running Executable.py gives me this: NameError: name 'Data' is not

Re: Project-wide variable...

2011-06-23 Thread Steven D'Aprano
On Thu, 23 Jun 2011 19:01:59 -0700, Gnarlodious wrote: > On Jun 23, 12:10 pm, Terry Reedy wrote: > >> from test import ftest,itest >> >> def test_main(): >> >> if __name__ == '__main__': >>      test_main() > > I don't understand this. Can you explain, or refer me to some > documentation? What

Re: Project-wide variable...

2011-06-23 Thread Gnarlodious
On Jun 23, 12:10 pm, Terry Reedy wrote: > from test import ftest,itest > > def test_main(): > > if __name__ == '__main__': >      test_main() I don't understand this. Can you explain, or refer me to some documentation? -- Gnarlie http://Gnarlodious.com -- http://mail.python.org/mailman/listinf

Re: Project-wide variable...

2011-06-23 Thread Terry Reedy
On 6/23/2011 10:09 AM, Gnarlodious wrote: On Jun 23, 7:59 am, Noah Hall wrote: >from a import x I'm doing that: import Module.Data as Data However I end up doing it in every submodule, so it seems a little redundant. I wish I could load the variable in the parent program and have it be availa

Re: Project-wide variable...

2011-06-23 Thread Gnarlodious
On Jun 23, 11:42 am, Noah Hall wrote: > > What about using an environment variable? > > Yes, that's fine, but only if the data is suitable for it. In this case, the variable is a namespace containing the property of a folder full of plist files. I access any dictionary item anywhere in my webapp

Re: Project-wide variable...

2011-06-23 Thread Gnarlodious
On Jun 23, 8:42 am, Peter Otten wrote: > from Module import Data > > There, you saved three more characters . OK I get it, LOL. > But I don't think it's a good idea. Remember that "explicit is better than > implicit". Thanks, now I know what that means. -- Gnarlie -- http://mail.python.org/mail

Re: Project-wide variable...

2011-06-23 Thread Noah Hall
On Thu, Jun 23, 2011 at 6:18 PM, Guillaume Martel-Genest wrote: > On Jun 23, 9:41 am, Gnarlodious wrote: >> Is there a way to declare a project-wide variable and use that in all >> downstream modules? >> > What about using an environment variable? Yes, that's fine, but only if the data is suitab

Re: Project-wide variable...

2011-06-23 Thread Guillaume Martel-Genest
On Jun 23, 9:41 am, Gnarlodious wrote: > Is there a way to declare a project-wide variable and use that in all > downstream modules? > > -- Gnarlir What about using an environment variable? -- http://mail.python.org/mailman/listinfo/python-list

Re: Project-wide variable...

2011-06-23 Thread bruno.desthuilli...@gmail.com
On Jun 23, 4:42 pm, Peter Otten <__pete...@web.de> wrote: (snip) > > However I end up doing it in every submodule, so it seems a little > > redundant. I wish I could load the variable in the parent program and > > have it be available in all submodules. Am I missing something? > > You can modify th

Re: Project-wide variable...

2011-06-23 Thread Noah Hall
On Thu, Jun 23, 2011 at 3:09 PM, Gnarlodious wrote: > On Jun 23, 7:59 am, Noah Hall wrote: >> >>>from a import x > > I'm doing that: > import Module.Data as Data Well, that's not quite the same. You're using Module.Data as Data - I guess you've done this because you've realised that import Module

Re: Project-wide variable...

2011-06-23 Thread Peter Otten
Gnarlodious wrote: > On Jun 23, 7:59 am, Noah Hall wrote: >> >>>from a import x > > I'm doing that: > import Module.Data as Data from Module import Data There, you saved three more characters . > However I end up doing it in every submodule, so it seems a little > redundant. I wish I could loa

Re: Project-wide variable...

2011-06-23 Thread Gnarlodious
On Jun 23, 7:59 am, Noah Hall wrote: > >>>from a import x I'm doing that: import Module.Data as Data However I end up doing it in every submodule, so it seems a little redundant. I wish I could load the variable in the parent program and have it be available in all submodules. Am I missing someth

Re: Project-wide variable...

2011-06-23 Thread Noah Hall
On Thu, Jun 23, 2011 at 2:41 PM, Gnarlodious wrote: > Is there a way to declare a project-wide variable and use that in all > downstream modules? Well, the standard way you should do it is to use import to import a certain variable - for example - a.py - x = 3 >>>from a import x >>>x 3 -- ht

Re: Project-wide variable...

2011-06-23 Thread Calvin Spealman
No, but you can define a name in one module and import that into others. On Thu, Jun 23, 2011 at 9:41 AM, Gnarlodious wrote: > Is there a way to declare a project-wide variable and use that in all > downstream modules? > > -- Gnarlir > -- > http://mail.python.org/mailman/listinfo/python-list >

Re: Project euler no. 3

2009-09-12 Thread Dave Angel
Kee Nethery wrote: in checkPrime what do you return when "x" is less than 2? On Sep 12, 2009, at 8:46 AM, Someone Something wrote: But, I'm returning true or false right? On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: Someone Something wrote: Project euler (in case you don't know: projecte

Re: Project euler no. 3

2009-09-12 Thread Someone Something
Anyone? On Sat, Sep 12, 2009 at 11:46 AM, Someone Something wrote: > But, I'm returning true or false right? > > On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: > >> Someone Something wrote: >> >>> Project euler (in case you don't know: projecteuler.net < >>> http://projecteuler.net>) >>> >>> I'm

Re: Project euler no. 3

2009-09-12 Thread Kee Nethery
in checkPrime what do you return when "x" is less than 2? On Sep 12, 2009, at 8:46 AM, Someone Something wrote: But, I'm returning true or false right? On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: Someone Something wrote: Project euler (in case you don't know: projecteuler.net

Re: Project euler no. 3

2009-09-12 Thread MRAB
Someone Something wrote: But, I'm returning true or false right? No. If you don't explicitly return a value then None will be returned. On Sat, Sep 12, 2009 at 11:32 AM, MRAB > wrote: Someone Something wrote: Project euler (in case you don't kn

Re: Project euler no. 3

2009-09-12 Thread Someone Something
But, I'm returning true or false right? On Sat, Sep 12, 2009 at 11:32 AM, MRAB wrote: > Someone Something wrote: > >> Project euler (in case you don't know: projecteuler.net < >> http://projecteuler.net>) >> >> I'm trying to do the third one and here's my current code: >> >> 1 def checkPrime (x

Re: Project euler no. 3

2009-09-12 Thread MRAB
Someone Something wrote: Project euler (in case you don't know: projecteuler.net ) I'm trying to do the third one and here's my current code: 1 def checkPrime (x): 2 factors=2; 3 while factors<=x: 4 if x==factors: 5 return True;

Re: Project source code layout?

2009-06-05 Thread Lawrence D'Oliveiro
In message , Dave Angel wrote: > Lawrence D'Oliveiro wrote: > >> In message , Dave >> Angel wrote: >> >>> Rather than editing the source files at install time, consider just >>> using an environment variable in your testing environment, which would >>> be missing in production environment. >>>

Re: Project source code layout?

2009-06-05 Thread Dave Angel
Lawrence D'Oliveiro wrote: In message , Dave Angel wrote: Rather than editing the source files at install time, consider just using an environment variable in your testing environment, which would be missing in production environment. I'd still need to define that environment variabl

Re: Project source code layout?

2009-06-04 Thread Lawrence D'Oliveiro
In message , Jean-Paul Calderone wrote: > On Thu, 04 Jun 2009 21:33:13 +1200, Lawrence D'Oliveiro > wrote: > >>In message , Allen >>Fowler wrote: >> >>> I was hoping to keep the dev layout as close to deployment possible. >> >>Completely different purposes. For example, the actual production dat

Re: Project source code layout?

2009-06-04 Thread Lawrence D'Oliveiro
In message , Dave Angel wrote: > Rather than editing the source files at install time, consider just > using an environment variable in your testing environment, which would > be missing in production environment. I'd still need to define that environment variable in a wrapper script, which mea

Re: Project source code layout?

2009-06-04 Thread Dave Angel
Lawrence D'Oliveiro wrote: In message , Allen Fowler wrote: 1) Do you use virtualpython? No idea what that is. 2) How do you load the modules in your lib directory? At the beginning of my scripts, I have a sequence like test_mode = False # True for testing, False for

Re: Project source code layout?

2009-06-04 Thread Lawrence D'Oliveiro
In message , Allen Fowler wrote: > 1) Do you use virtualpython? No idea what that is. > 2) How do you load the modules in your lib directory? At the beginning of my scripts, I have a sequence like test_mode = False # True for testing, False for production if test_mode : home_

Re: Project source code layout?

2009-06-04 Thread Jean-Paul Calderone
On Thu, 04 Jun 2009 21:33:13 +1200, Lawrence D'Oliveiro wrote: In message , Allen Fowler wrote: I was hoping to keep the dev layout as close to deployment possible. Completely different purposes. For example, the actual production database and config files form no part of your development p

Re: Project source code layout?

2009-06-04 Thread Allen Fowler
> > I was hoping to keep the dev layout as close to deployment possible. > > Completely different purposes. For example, the actual production database > and config files form no part of your development project, do they? And > conversely, utility scripts that might be used, for example, to

Re: Project source code layout?

2009-06-04 Thread Lawrence D'Oliveiro
In message , Allen Fowler wrote: > I was hoping to keep the dev layout as close to deployment possible. Completely different purposes. For example, the actual production database and config files form no part of your development project, do they? And conversely, utility scripts that might be u

Re: Project source code layout?

2009-06-03 Thread Allen Fowler
> > I'm new to Python, and am looking for some suggestions as to the source > > code layout for a new project. > > Is this the development layout or the deployment layout? The two need not > bear any resemblance. > Looking for suggestions on both. I was hoping to keep the dev layout as clo

Re: Project source code layout?

2009-06-03 Thread Lawrence D'Oliveiro
In message , Allen Fowler wrote: > I'm new to Python, and am looking for some suggestions as to the source > code layout for a new project. Is this the development layout or the deployment layout? The two need not bear any resemblance. -- http://mail.python.org/mailman/listinfo/python-list

Re: Project structure - Best practices

2008-12-05 Thread Casey McGinty
> > This is first time that I am building python application that is > larger than a single module and I would like to do it right. I want to just say I am in agreement with the OP. Basically, there are a lot of factors to balance out and consider when starting a python application for the first

Re: Project structure - Best practices

2008-12-01 Thread Aahz
In article <[EMAIL PROTECTED]>, Rafe <[EMAIL PROTECTED]> wrote: > >...and I completely agree. I always use the standard import form >unless absolutely necessary. However, I use 'as' to shorten the path >to the last module. For example: import app.foo.bar as bar instance = bar.Class() Wh

Re: Project structure - Best practices

2008-12-01 Thread Rafe
On Nov 30, 11:43 pm, "Filip Gruszczyński" <[EMAIL PROTECTED]> wrote: > This is first time that I am building python application that is > larger than a single module and I would like to do it right. I google > it a bit, finding some stuff about not using src directory (which I > have seen so many t

Re: Project structure - Best practices

2008-11-30 Thread Martin P. Hellwig
Aaron Watters wrote: On Nov 30, 11:55 am, "Filip Gruszczyński" <[EMAIL PROTECTED]> wrote: http://jcalderone.livejournal.com/39794.html That's exactly what I have read before posting here ;-) -- Filip Gruszczyński I too would like to see a meatier discussion of best practices for python packa

Re: Project structure - Best practices

2008-11-30 Thread Aaron Watters
On Nov 30, 11:55 am, "Filip Gruszczyński" <[EMAIL PROTECTED]> wrote: > >http://jcalderone.livejournal.com/39794.html > > That's exactly what I have read before posting here ;-) > > -- > Filip Gruszczyński I too would like to see a meatier discussion of best practices for python packagizing. I par

Re: Project structure - Best practices

2008-11-30 Thread Filip Gruszczyński
> http://jcalderone.livejournal.com/39794.html That's exactly what I have read before posting here ;-) -- Filip Gruszczyński -- http://mail.python.org/mailman/listinfo/python-list

Re: Project structure - Best practices

2008-11-30 Thread Jean-Paul Calderone
On Sun, 30 Nov 2008 17:43:46 +0100, Filip Gruszczyński <[EMAIL PROTECTED]> wrote: This is first time that I am building python application that is larger than a single module and I would like to do it right. I google it a bit, finding some stuff about not using src directory (which I have seen s

Re: Project layout / Import files from different subdirectories

2008-11-15 Thread Gabriel Genellina
En Tue, 11 Nov 2008 09:29:44 -0200, Stef Mientki <[EMAIL PROTECTED]> escribió: On Tue, Nov 11, 2008 at 8:46 AM, Markus Mayer <[EMAIL PROTECTED]> wrote: I'm new to python and have a slight problem importing - or maybe understanding - modules. I'm writing a GUI application using Qt4 and wanted

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Almar Klein
> It works when the program you are executing is in the current working > directory, because Python always puts the directory containing the > program you are executing (not the current working directory) on the path. Aha, that makes sense. I also found with a quick test that importing a module fr

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Steve Holden
Almar Klein wrote: > If your main file is in the root of the project, you can just > use absolute imports. So you can use gui.anotherwindow > or project.important from all files. > > I'm not sure this is good practice though... > > I was first under the impression that you can always import > mod

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Almar Klein
If your main file is in the root of the project, you can just use absolute imports. So you can use gui.anotherwindow or project.important from all files. I'm not sure this is good practice though... I was first under the impression that you can always import modules that are in your current worki

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Jeremiah Dodds
On Tue, Nov 11, 2008 at 7:08 AM, Markus Mayer <[EMAIL PROTECTED]> wrote: > Steve Holden schrieb: > > If you want shorter names in your main code, of course, you can use > > > > import project.main as main > > import project.gui.mainwindow as window > > > > or somethihg similar. > > > > regards > >

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Markus Mayer
Steve Holden schrieb: > If you want shorter names in your main code, of course, you can use > > import project.main as main > import project.gui.mainwindow as window > > or somethihg similar. > > regards > Steve Yeah, I was going with the "from x import y" scheme by now, didn't know "as" was a

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Steve Holden
Markus Mayer wrote: > Diez B. Roggisch schrieb: >> By placing a __init__.py into project, and then >> >> import project.main >> import project.gui.mainwindow >> >> >> Diez > > Ouch. Thanks. > If you want shorter names in your main code, of course, you can use import project.main as main import p

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Stef Mientki
On Tue, Nov 11, 2008 at 8:46 AM, Markus Mayer <[EMAIL PROTECTED]> wrote: > Hi folks. > > I'm new to python and have a slight problem importing - or maybe > understanding - modules. I'm writing a GUI application using Qt4 and > wanted to separate the business from the view logic. So I have my folde

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Markus Mayer
Diez B. Roggisch schrieb: > > By placing a __init__.py into project, and then > > import project.main > import project.gui.mainwindow > > > Diez Ouch. Thanks. Markus -- PGP/GPG key 0x2EB39BF9 -- http://mail.python.org/mailman/listinfo/python-list

Re: Project layout / Import files from different subdirectories

2008-11-11 Thread Diez B. Roggisch
Markus Mayer schrieb: Hi folks. I'm new to python and have a slight problem importing - or maybe understanding - modules. I'm writing a GUI application using Qt4 and wanted to separate the business from the view logic. So I have my folder structure as following: project/ main.py import

Re: project in python

2008-10-29 Thread Terry Reedy
asit wrote: On Oct 28, 10:02 am, alex23 <[EMAIL PROTECTED]> wrote: On Oct 26, 2:51 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: The more you spam people with your repetitive postings, the less likely it becomes that they are willing to answer you. In asit's defence, the Google Groups interfac

Re: project in python

2008-10-29 Thread asit
On Oct 28, 10:02 am, alex23 <[EMAIL PROTECTED]> wrote: > On Oct 26, 2:51 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > > > The more you spam people with your repetitive postings, the less likely it > > becomes that they are willing to answer you. > > In asit's defence, the Google Groups interface

Re: project in python

2008-10-27 Thread alex23
On Oct 26, 2:51 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > The more you spam people with your repetitive postings, the less likely it > becomes that they are willing to answer you. In asit's defence, the Google Groups interface has been woefully broken for the past 3-4 days. If e had posted vi

Re: project in python

2008-10-25 Thread Stefan Behnel
asit wrote: > I am a newbie and learned python to some extent. > > I want to do some project in python based on network programming or > HTML/XML parsing. > > Can anyone suggest me about this ??? The more you spam people with your repetitive postings, the less likely it becomes that they are wil

Re: Project Question

2008-08-03 Thread ToshiBoy
Great, I think that's exactly what I'm after. Thank you! Simon Brunning wrote: 2008/8/3 ToshiBoy <[EMAIL PROTECTED]>: Currently, I'm using iMacro, an add-on to Firefox, which runs a macro and enters all the info. It's great, but I would like to try and write a program for this in Python. It

Re: Project Question

2008-08-03 Thread Simon Brunning
2008/8/3 ToshiBoy <[EMAIL PROTECTED]>: > Currently, I'm using iMacro, an add-on to Firefox, which runs a macro > and enters all the info. It's great, but I would like to try and write > a program for this in Python. It needs to collect some user input at > the beginning, and then open the default w

Re: Project naming suggestions?

2008-02-05 Thread Wildemar Wildenburger
Neil Cerutti wrote: > On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote: >> I'm considering writing a little interpreter for a python-like >> language and I'm looking for name suggestions. :-) >> >> Basically, I don't want to change a whole lot about Python. In fact, >> I see myself starting with

Re: Project naming suggestions?

2008-02-05 Thread Kay Schluehr
On 5 Feb., 14:41, "Neil Cerutti" <[EMAIL PROTECTED]> wrote: > On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote: > > > > > I'm considering writing a little interpreter for a python-like > > language and I'm looking for name suggestions. :-) > > > Basically, I don't want to change a whole lot about

Re: Project naming suggestions?

2008-02-05 Thread Kay Schluehr
On 5 Feb., 14:41, "Neil Cerutti" <[EMAIL PROTECTED]> wrote: > On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote: > > > > > I'm considering writing a little interpreter for a python-like > > language and I'm looking for name suggestions. :-) > > > Basically, I don't want to change a whole lot about

Re: Project naming suggestions?

2008-02-05 Thread Kay Schluehr
On 5 Feb., 14:41, "Neil Cerutti" <[EMAIL PROTECTED]> wrote: > On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote: > > > > > I'm considering writing a little interpreter for a python-like > > language and I'm looking for name suggestions. :-) > > > Basically, I don't want to change a whole lot about

Re: Project naming suggestions?

2008-02-05 Thread Neil Cerutti
On Feb 3, 2008 1:17 PM, <[EMAIL PROTECTED]> wrote: > I'm considering writing a little interpreter for a python-like > language and I'm looking for name suggestions. :-) > > Basically, I don't want to change a whole lot about Python. In fact, > I see myself starting with the compiler module from P

Re: Project naming suggestions?

2008-02-04 Thread [EMAIL PROTECTED]
On 4 fév, 18:26, Kay Schluehr <[EMAIL PROTECTED]> wrote: > On Feb 3, 7:17 pm, [EMAIL PROTECTED] wrote: > > > > > I'm considering writing a little interpreter for a python-like > > language and I'm looking for name suggestions. :-) > > > Basically, I don't want to change a whole lot about Python. I

Re: Project naming suggestions?

2008-02-04 Thread Kay Schluehr
On Feb 3, 7:17 pm, [EMAIL PROTECTED] wrote: > I'm considering writing a little interpreter for a python-like > language and I'm looking for name suggestions. :-) > > Basically, I don't want to change a whole lot about Python. In fact, > I see myself starting with the compiler module from Python 2.

Re: Project naming suggestions?

2008-02-03 Thread alex23
On Feb 4, 3:09 pm, alex23 <[EMAIL PROTECTED]> wrote: > Phil Hassey is currently working on a small python derivative called > tinypy. Sorry, I meant to include a relevant link: http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/ -alex23 -- http://mail.python.org/mailman/listinfo/

Re: Project naming suggestions?

2008-02-03 Thread alex23
I really like the Whython suggestion :) Phil Hassey is currently working on a small python derivative called tinypy. It's so recent I don't think he's gotten a project page up for it, so you'd need to backtrack through his blog posts for an overview. But as he's just done a _lot_ of what you're ab

Re: Project naming suggestions?

2008-02-03 Thread Robert Kern
[EMAIL PROTECTED] wrote: > On Feb 3, 2:37 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: > >> Are you really thinking about creating an entire language, simply >> because you don't like 'for dummy in xrange (n):'? > > No. I now wish I had posted this before that. :-) > > Basically, I want t

Re: Project naming suggestions?

2008-02-03 Thread miller . paul . w
On Feb 3, 2:37 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: > Are you really thinking about creating an entire language, simply > because you don't like 'for dummy in xrange (n):'? No. I now wish I had posted this before that. :-) Basically, I want to tweak a programming language and a co

Re: Project naming suggestions?

2008-02-03 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > I'm considering writing a little interpreter for a python-like > language [...] > I'd also like to implement most of the planned Python 3000 changes. In case you're interested in a real project, consider taking a look at Cython, which is a Python-to-C compiler for writin

Re: Project naming suggestions?

2008-02-03 Thread Thomas Dybdahl Ahle
On Sun, 2008-02-03 at 10:17 -0800, [EMAIL PROTECTED] wrote: > I'm considering writing a little interpreter for a python-like > language and I'm looking for name suggestions. :-) > > Basically, I don't want to change a whole lot about Python. In fact, > I see myself starting with the compiler mod

Re: Project naming suggestions?

2008-02-03 Thread miller . paul . w
On Feb 3, 2:36 pm, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I'm considering writing a little interpreter for a python-like > > language and I'm looking for name suggestions. :-) > > How about "Whython"? > > /W I like it. :P If you were wondering why I was th

Re: Project naming suggestions?

2008-02-03 Thread Wildemar Wildenburger
[EMAIL PROTECTED] wrote: > I'm considering writing a little interpreter for a python-like > language and I'm looking for name suggestions. :-) > How about "Whython"? /W -- http://mail.python.org/mailman/listinfo/python-list

Re: project - trivia game

2007-12-04 Thread Ramsey Nasser
Shawn, First of all, next time try and isolate the problem yourself and send a short snippet of code demonstrating the behavior you're having trouble with. This makes it easier for other people to understand what is going on and help you in a more focused way. On Dec 5, 2007 2:43 AM, Shawn Minisa

RE project - trivia game

2007-12-04 Thread Shawn Minisall
Sorry, 4got to send it in html for the bold parts. thx def drawMainMenu(win): #define and draw the buttons mainMenuList = [] mainMenuList.append (CreateRect(4,6,7,8,"grey",win)) mainMenuList.append (CreateRect(3.5,6.5,5,6,"grey",win)) mainMenuList.append (CreateRect(3.5,6.5,3,4,"g

Re: Project organization and import

2007-03-07 Thread [EMAIL PROTECTED]
> package_name/ > package_pre.py - contains globals for the package > component_a.py- a useful-sized collection of functionality > component_b.py- another > component_c.py- another > package_post.py - stuff that relies on the prior stuff > __init__.py

Re: Project organization and import

2007-03-06 Thread Michele Simionato
On Mar 5, 1:21 am, "Martin Unsal" <[EMAIL PROTECTED]> wrote: > 2) Importing and reloading. I want to be able to reload changes > without exiting the interpreter. What about this? $ cat reload_obj.py """ Reload a function or a class from the filesystem. For instance, suppose you have a module $

Re: Project organization and import

2007-03-06 Thread Terry Hancock
Martin Unsal wrote: > I'm using Python for what is becoming a sizeable project and I'm > already running into problems organizing code and importing packages. > I feel like the Python package system, in particular the isomorphism > between filesystem and namespace, doesn't seem very well suited for

Re: Project organization and import

2007-03-06 Thread [EMAIL PROTECTED]
On Mar 6, 4:58 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > "Martin Unsal" <[EMAIL PROTECTED]> writes: > > I think you should be asking yourselves, "Did we all abandon reload() > > because it is actually an inferior workflow, or just because it's > > totally broken in Python?" > > I never "abandoned

  1   2   >