Hi Guys,
I am very new to python and am trying to learn python.
I want to automate my email login through browser,in a way that when my
computer boots up,it must be automatically logged into my mailbox.
Please provide your suggestions on this :)
Thanks & Regards,
Subin Alex.
--
https://mail.py
On Fri, Aug 29, 2014 at 3:50 PM, Marko Rauhamaa wrote:
> Ian Kelly :
>
>> On Wed, Aug 27, 2014 at 11:58 PM, Marko Rauhamaa wrote:
>>> I don't see why git has staging or branches, for example.
>>
>> I use short-lived development branches in git all the time. Start
>> working on a bug or feature, c
On Fri, Aug 29, 2014 at 3:59 PM, Marko Rauhamaa wrote:
> Where I work, we actually have "made a science" out of componentization.
> The individual components are very similar to linux's development
> packages. They are released internally and have their own life cycles.
> In particular, they are n
Marko Rauhamaa writes:
> Chris Angelico :
>
>> What you're saying, though, is that there's something inherently
>> special about file boundaries. You want files to be magically
>> separable within a repo. Why? What's the significance of the file?
>
> Files do have that magic property. That's only
Chris Angelico :
> Why fork the repo when you can just branch? That makes no sense.
Why branch when you can just fork? That makes no sense.
I see branches as conceptual clutter.
> One easy way is to never "git add" new files without immediately
> committing...
My original statement was there w
Chris Angelico :
> On Fri, Aug 29, 2014 at 3:59 PM, Marko Rauhamaa wrote:
> Then they're fundamentally separate, and they belong in separate
> repos. Do you actually enforce that one file == one component
> everywhere?
No, not quite. One-file components exist, but the typical component is
smalli
Lele Gaifax :
> Well, even conceding the file specialty, and more than that acknowledging
> the extraordinary beauty of the darcs model, it too considers a patch
> spanning several files as an atomic operation.
Yes. Darcs wants to get it right.
> So, even if it makes very very easy to "cherry-pi
Python v3.4.1 x64 on Windows 7 x64.
I've a situation where the c:/Python34 directory was irrecoverably deleted.
When I run the python-3.4.1.amd64.msi installer and choose Remove, it
gives me a dialog saying a required file is missing about halfway
through. It gives me no clue as to what this f
what?
So...My 3.4 can't use this package?
now
i use http.client
reg_ids = []
reg_ids.append(GetCustomerGCMId[0])
API_KEY = 'xxx'
mydata = {'registration_ids': reg_ids, 'data': data}
jqs = json.dumps(mydata)
Have you tried Selenium Python? http://selenium-python.readthedocs.org/
Beau
On Fri, Aug 29, 2014 at 4:11 PM, subin alex wrote:
> Hi Guys,
>
> I am very new to python and am trying to learn python.
> I want to automate my email login through browser,in a way that when my
> computer boots up,it
During developing web-projects, manager always need to test new features.
Typically, this is done using test servers. Often, manager cannot run a test
server himself to see new features and has to ask the developers for the help,
distracting them from their work. Besides purchased test equipment
So I am super enthused about the acceptance of PEP440 since it provides
some useful structure to the version attribute. I am trying to reconcile
its usage with my release cycle and ran into a snag. The release cycle
that I use is pretty simple.
1. A final release version (e.g., 1.1, 1.0.3) is re
Hi all
Now that I have bitten the bullet and published my repository, I am forced
to change my working practices (which is a good thing!).
The project is inherently database-driven. The python code expects to find
certain tables and columns in the database. As I develop new features, I
sometim
On Friday, August 29, 2014 6:12:06 PM UTC+5:30, Frank Millman wrote:
> Hi all
> Now that I have bitten the bullet and published my repository, I am forced
> to change my working practices (which is a good thing!).
> The project is inherently database-driven. The python code expects to find
> ce
On Fri, Aug 29, 2014 at 10:42 PM, Frank Millman wrote:
> It is a simple matter to write a program that updates the database
> automatically. The question is, what should trigger such an update? My first
> thought is to use a version number - store a version number in the working
> directory, and h
"Rustom Mody" wrote in message
news:1cdf6e52-e09b-40f1-8db1-db6cbbee9...@googlegroups.com...
> On Friday, August 29, 2014 6:12:06 PM UTC+5:30, Frank Millman wrote:
>> Hi all
>
>> Now that I have bitten the bullet and published my repository, I am
>> forced
>> to change my working practices (whi
"Chris Angelico" wrote in message
news:CAPTjJmrJBciRuterUKWP=qtqxd8xyqum4nx+ofd-twm5oos...@mail.gmail.com...
> On Fri, Aug 29, 2014 at 10:42 PM, Frank Millman
> wrote:
>> It is a simple matter to write a program that updates the database
>> automatically. The question is, what should trigger s
On Fri, Aug 29, 2014 at 11:31 PM, Frank Millman wrote:
> Right now I am writing a tool to allow users to view and modify menu
> definitions. The tool is effectively a form definition, which in my system
> is expressed in xml and stored in the database in the 'sys_form_defns'
> table. The raw xml w
"Chris Angelico" wrote in message
news:captjjmp68kh5zcxq50pi0yeaaapnqotxybg1+f58mv__xd9...@mail.gmail.com...
> On Fri, Aug 29, 2014 at 11:31 PM, Frank Millman
> wrote:
>> Right now I am writing a tool to allow users to view and modify menu
>> definitions. The tool is effectively a form definit
On Sat, Aug 30, 2014 at 12:12 AM, Frank Millman wrote:
> Once downloaded, the 'py' files are automatically 'live', because that is
> how python works. But the xml file will just be sitting in a directory.
> *Something* has to trigger running a program that reads the xml file and
> inserts it into
In article ,
"Frank Millman" wrote:
> The project is inherently database-driven. The python code expects to find
> certain tables and columns in the database. As I develop new features, I
> sometimes need to modify the database structure. In the bad old days (like
> yesterday) I would just ma
- Original Message -
> From: "Roy Smith"
>
> Yeah, schema migration is an ugly problem. There's a number of tools
> to
> help here, most of which reduce the suckitude, but don't eliminate it
> completely. Some things you might want to look at:
>
> * SQLAlchemy Migrate
> * South (djan
On 29/08/2014 09:35, Frank Liou wrote:
what?
So...My 3.4 can't use this package?
now
i use http.client
reg_ids = []
reg_ids.append(GetCustomerGCMId[0])
API_KEY = 'xxx'
mydata = {'registration_ids': reg_ids, 'data'
On 29/08/2014 09:40, Beau Taylor wrote:
Have you tried Selenium Python? http://selenium-python.readthedocs.org/
Beau
or intersperse your answers when using this list, thank you.
On Fri, Aug 29, 2014 at 4:11 PM, subin alex mailto:alexkutt...@gmail.com>> wrote:
Hi Guys,
I am very ne
On Fri, Aug 29, 2014 at 9:54 AM, Roy Smith wrote:
> Yeah, schema migration is an ugly problem.
It's not really any worse than any other sort of complex data
structure change, is it? If your persistent data lived in a pickle
file, it would likely be as bad or worse.
> ... suckitude ...
Nice word
On 08/29/2014 10:04 AM, Skip Montanaro wrote:
On Fri, Aug 29, 2014 at 9:54 AM, Roy Smith wrote:
Yeah, schema migration is an ugly problem.
It's not really any worse than any other sort of complex data
structure change, is it? If your persistent data lived in a pickle
file, it would likely be
On 29/08/2014 09:19, Curtis Clauson wrote:
Python v3.4.1 x64 on Windows 7 x64.
I've a situation where the c:/Python34 directory was irrecoverably deleted.
When I run the python-3.4.1.amd64.msi installer and choose Remove, it
gives me a dialog saying a required file is missing about halfway
thro
Roy Smith writes:
> Yeah, schema migration is an ugly problem. There's a number of tools
> to help here, most of which reduce the suckitude, but don't eliminate
> it completely. Some things you might want to look at:
>
> * SQLAlchemy Migrate
> * alembic
I can strongly recommend SQLAlchemy. It ha
What is the logic behind that?
Couldn't help do the same thing as help()?
But the reason I ask is that I see (from a video of Getting Started
with Python) that older versions of python would allow ? as help. I
get syntax error when I try ?
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Aug 29, 2014 at 4:40 PM, Seymore4Head
wrote:
> What is the logic behind that?
It would seem that help() is a function. You are in the python shell
when you type it, and it runs the function that displays help.
> Couldn't help do the same thing as help()?
> But the reason I ask is that I
Your invalid email address is annoying to anyone who uses gmail to
respond to this group. It requires send all, and every time I answer
you, I get a mail notice telling me about your bad email address.
What exactly is the reason you don't supply a correct address?
--
Joel Goldstick
http://joelgol
According to the message box that appears when it is run, w9xpopen.exe is only
used on Windows 95/98. If that is the case, why it is still included in Python
2.7, since Python 2.5.4 is the last version that works on Windows 9x?
I've been excluding w9xpopen.exe in my py2exe setup script for my Py
On Fri, 29 Aug 2014 17:15:11 -0400, Joel Goldstick
wrote:
>Your invalid email address is annoying to anyone who uses gmail to
>respond to this group. It requires send all, and every time I answer
>you, I get a mail notice telling me about your bad email address.
>What exactly is the reason you d
On Sat, Aug 30, 2014 at 7:15 AM, Joel Goldstick
wrote:
> Your invalid email address is annoying to anyone who uses gmail to
> respond to this group. It requires send all, and every time I answer
> you, I get a mail notice telling me about your bad email address.
> What exactly is the reason you d
On Sat, Aug 30, 2014 at 3:04 AM, Skip Montanaro wrote:
> On Fri, Aug 29, 2014 at 9:54 AM, Roy Smith wrote:
>> Yeah, schema migration is an ugly problem.
>
> It's not really any worse than any other sort of complex data
> structure change, is it? If your persistent data lived in a pickle
> file, i
On Sat, Aug 30, 2014 at 5:02 AM, Ethan Furman wrote:
> Speaking of suckitude, we could classify technologies that way:
>
> xml: major suckitude
>
> rpc: no suckitude
>
> python: negative suckitude
I disagree with your last two qualifications. RPC still sucks, just
not as much as some things do. A
On Fri, Aug 29, 2014 at 6:22 PM, Chris Angelico wrote:
> On Sat, Aug 30, 2014 at 7:15 AM, Joel Goldstick
> wrote:
>> Your invalid email address is annoying to anyone who uses gmail to
>> respond to this group. It requires send all, and every time I answer
>> you, I get a mail notice telling me a
On Sat, Aug 30, 2014 at 8:40 AM, Joel Goldstick
wrote:
> On this list I use reply all (using gmail) because reply takes the
> first recipient, which is the poster. I am on another list where this
> isn't true.
Yes, and I've been on a few lists that have gone through the
discussion of why it shou
On Fri, Aug 29, 2014 at 6:54 PM, Chris Angelico wrote:
> On Sat, Aug 30, 2014 at 8:40 AM, Joel Goldstick
> wrote:
>> On this list I use reply all (using gmail) because reply takes the
>> first recipient, which is the poster. I am on another list where this
>> isn't true.
>
> Yes, and I've been o
On Sat, Aug 30, 2014 at 9:02 AM, Joel Goldstick
wrote:
> That was enlighting Chris. I apologize to list readers if they are
> getting two versions of everything I send. I don't get two versions
> sent to me, so I assumed others wouldn't either. I'm not sure why I
> assumed that, as it really do
In article ,
Chris Angelico wrote:
> On Sat, Aug 30, 2014 at 5:02 AM, Ethan Furman wrote:
> > Speaking of suckitude, we could classify technologies that way:
> >
> > xml: major suckitude
> >
> > rpc: no suckitude
> >
> > python: negative suckitude
>
> I disagree with your last two qualificatio
It doesn't look like Gustavo Niemeyer is actively working on
python-dateutil. Tomi Pievilaeinen is listed on PyPI as the author, but I
have no email address for him, so I'm tossing this message in a bottle out
into the Gulf Stream in hopes that Gustavo or Tomi notice it.
I'm using imaplib to downl
On Sat, Aug 30, 2014 at 9:19 AM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> On Sat, Aug 30, 2014 at 5:02 AM, Ethan Furman wrote:
>> > Speaking of suckitude, we could classify technologies that way:
>> >
>> > xml: major suckitude
>> >
>> > rpc: no suckitude
>> >
>> > python: ne
On Sat, Aug 30, 2014 at 9:35 AM, Skip Montanaro wrote:
> I'm using imaplib to download and process messages from Gmail. I use
> dateutil.parser.parse to parse the Date header into a datetime object, then
> use the most recent date I've seen to decide where to start up on the next
> run.
>
> Every
On 30/08/2014 00:35, Skip Montanaro wrote:
It doesn't look like Gustavo Niemeyer is actively working on
python-dateutil. Tomi Pievilaeinen is listed on PyPI as the author, but
I have no email address for him, so I'm tossing this message in a bottle
out into the Gulf Stream in hopes that Gustavo o
On Aug 29, 2014 5:34 PM, "Chris Angelico" wrote:
> I'm not sure how suckitude is affected by bugs, exactly; possibly O(N
> log N), because each bug has a small probability of affecting another
> bug.
OTOH, bug fixes often have a fairly high probability of adding more bugs to
the system, especial
On 08/29/2014 04:47 PM, Skip Montanaro wrote:
On Aug 29, 2014 5:34 PM, "Chris Angelico" wrote:
I'm not sure how suckitude is affected by bugs, exactly; possibly O(N
log N), because each bug has a small probability of affecting another
bug.
OTOH, bug fixes often have a fairly high probability
On 8/29/2014 6:08 PM, ps16thypresenceisfullnessof...@gmail.com wrote:
According to the message box that appears when it is run,
w9xpopen.exe is only used on Windows 95/98. If that is the case, why
it is still included in Python 2.7,
Please be more specific as to python installer source, python
On Friday, August 29, 2014 8:54:47 PM UTC-4, Terry Reedy wrote:
> Please be more specific as to python installer source, python version,
>
> and location. I do not see it in my 2.7.8 directory installed by the psf
>
> .msi installer.
I'm also using the Python 2.7.8 MSI installer from the PSF,
On 8/29/2014 4:40 PM, Seymore4Head wrote:
What is the logic behind that?
You should better ask, "How does that happen?". Attend carefully and
you should learn much.
In expressions, python replaces names with the object the name is bound
to. In batch mode, a bare name is equivalent to 'pass
On Fri, Aug 29, 2014 at 8:41 PM, Terry Reedy wrote:
> On 8/29/2014 4:40 PM, Seymore4Head wrote:
>> older versions of python would allow ? as help.
>
> If I ever knew that, I have forgotten. The interpreter must have treated
> '?' as a special case for interactive input. I suspect help was changed
On Fri, Aug 29, 2014 at 6:54 PM, Ethan Furman wrote:
> Thus endeth my attempts to train Skip's Polly. But I am curious -- if
> 'suckitude' is in immediate contact with punctuation such as just now, or at
> the end of a sentence, does it not count? That would be suckitude indeed! ;)
Thank you
On Sat, Aug 30, 2014 at 12:14 PM, Skip Montanaro wrote:
> Yes, "words" are skipped if they contain anything other than lower
> case alphabetic characters. Really simple words = text.split(), then
> discard words not meeting the criteria.
Easy way to catch a few more: Just .strip() off a few commo
On Fri, 29 Aug 2014 21:41:30 -0400, Terry Reedy
wrote:
>On 8/29/2014 4:40 PM, Seymore4Head wrote:
>> What is the logic behind that?
>
>You should better ask, "How does that happen?". Attend carefully and
>you should learn much.
>
>In expressions, python replaces names with the object the name i
On 8/29/2014 12:53 PM, Tim Golden wrote:
On 29/08/2014 09:19, Curtis Clauson wrote:
Unfortunately I don't think there's a simple answer to this one. (Altho'
I'm not an MSI expert and I'd be very happy to be overruled).
msiexec.exe, which is the program which actually runs the MSIs, has a
number
Seymore4Head wrote:
> What is the logic behind that?
> Couldn't help do the same thing as help()?
Not without being annoyingly, obnoxiously "too clever by half".
In Python, all values are objects, so apart from a handful of statements
(such as "if blah blah:", "for x in blah:" etc.) everything y
On 8/29/2014 9:16 PM, ps16thypresenceisfullnessof...@gmail.com wrote:
On Friday, August 29, 2014 8:54:47 PM UTC-4, Terry Reedy wrote:
Please be more specific as to python installer source, python
version,
and location. I do not see it in my 2.7.8 directory installed by
the psf
.msi installer.
On 8/29/2014 11:26 PM, Llelan D. wrote:
Actually, I do know more than a little about the Windows MSI service and
application, and had already perused the logs to no avail. All of the
listed registry keys were deleted without changing the problem. The
missing file is of no importance since I alre
"Frank Millman" writes:
> ...
> It is a simple matter to write a program that updates the database
> automatically. The question is, what should trigger such an update? My first
> thought is to use a version number - store a version number in the working
> directory, and have a matching number
59 matches
Mail list logo