On Wed, Oct 15, 2014 at 4:57 PM, Jeffe wrote:
> Looking for a something basic yet operational, fee based or we can discuss
> equity if succesfully funded. Have some Big people interested with a solid
> business framework. Just need the software to show and its on..
>
Unfortunately, the Python J
Hi,
I am looking for anyone who knows python (C++ is also ok) well enough to write
a basic script login registration and tws ib api connected. Looking to build a
asset/security trading platform and have investors interested but want to see
it operational first.
Looking for a something basic y
Actuvally am having below XML File:
http://schemas.xmlsoap.org/soap/envelope/";>
13001
2014
12
178
On Wednesday, October 15, 2014 9:10:54 AM UTC+5:30, Anurag Patibandla wrote:
> Thanks for the response.
> Here is the code that I have tried.
> from operator import itemgetter
> keys = json.keys()
> order = list(keys)
> q1 = int(round(len(keys)*0.2))
> q2 = int(round(len(keys)*0.3))
> q3 = int(rou
'json' has my original larger dict
--
https://mail.python.org/mailman/listinfo/python-list
Thanks for the response.
Here is the code that I have tried.
from operator import itemgetter
keys = json.keys()
order = list(keys)
q1 = int(round(len(keys)*0.2))
q2 = int(round(len(keys)*0.3))
q3 = int(round(len(keys)*0.5))
b = [q1,q2,q3]
n=0
for i in b:
queues = order[n:n+i]
n =
On Wed, Oct 15, 2014 at 1:35 PM, Zachary Ware
wrote:
>> But ultimately, the
>> fault is almost certainly with the PDF.
>
> Agreed, although I'd say the PDF viewer could also be at fault.
Good point, there are some really terrible PDF viewers around. Either
way, the workaround of grabbing one line
On Tue, Oct 14, 2014 at 9:18 PM, Chris Angelico wrote:
> On Wed, Oct 15, 2014 at 1:13 PM, ryguy7272 wrote:
>> I'm just learning Python. It seems like indents are EXTREMELY important. I
>> guess, since there are no brackets, everything is controlled by indents.
>> Well, I'm reading a couple b
On Tue, Oct 14, 2014 at 7:13 PM, ryguy7272 wrote:
> I'm just learning Python. It seems like indents are EXTREMELY important. I
> guess, since there are no brackets, everything is controlled by indents.
> Well, I'm reading a couple books on Python now, and in almost all of the
> examples they
On Wednesday, October 15, 2014 7:35:18 AM UTC+5:30, Dave Angel wrote:
> anurag Wrote in message:
> > I have a dictionary that looks like this:
> > {"1":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> > "2":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> > "3":{"Key1":"Value1", "Key2
On Wed, Oct 15, 2014 at 1:13 PM, ryguy7272 wrote:
> I'm just learning Python. It seems like indents are EXTREMELY important. I
> guess, since there are no brackets, everything is controlled by indents.
> Well, I'm reading a couple books on Python now, and in almost all of the
> examples they
Using PyCharm is easy:
File > Settings > (IDE Settings) Editor > Smart Keys > Reformat on paste >
choose "Reformat Block"
On Tue, Oct 14, 2014 at 11:13 PM, ryguy7272 wrote:
> I'm just learning Python. It seems like indents are EXTREMELY important.
> I guess, since there are no brackets, everyt
I'm just learning Python. It seems like indents are EXTREMELY important. I
guess, since there are no brackets, everything is controlled by indents. Well,
I'm reading a couple books on Python now, and in almost all of the examples
they don't have proper indents, so when I copy/paste the code (
anuragpatiband...@gmail.com Wrote in message:
> I have a dictionary that looks like this:
> {"1":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> "2":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> "3":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> "4":{"Key1":"Value1", "Key
On Wed, Oct 15, 2014 at 10:04 AM, giacomo boffi wrote:
> Tim Chase writes:
>
>> On 2014-10-12 22:16, Marko Rauhamaa wrote:
>>> is equivalent with
>>>
>>> while ans.lower()[0] != 'y':
>>> ans = input('Do you like python?')
>>
>> And still better improved with
>>
>> while ans[:1].low
Tim Chase writes:
> On 2014-10-12 22:16, Marko Rauhamaa wrote:
>> is equivalent with
>>
>> while ans.lower()[0] != 'y':
>> ans = input('Do you like python?')
>
> And still better improved with
>
> while ans[:1].lower() != 'y':
> ans = input('Do you like python?')
yok is Turk
On 2014-10-14 22:15, Anurag Patibandla wrote:
On Tuesday, October 14, 2014 12:59:27 PM UTC-4, Dave Angel wrote:
anuragpatiband...@gmail.com Wrote in message:
> I have a dictionary that looks like this:
> {"1":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> "2":{"Key1":"Value1", "Key2":"V
On Tuesday, October 14, 2014 5:33:01 PM UTC-4, Skip Montanaro wrote:
> Shuffle the keys, then grab the first 20 for one dictionary, the next 30 for
> the second, and the last 50 for the third.
>
> Skip
Could you please be more specific?
--
https://mail.python.org/mailman/listinfo/python-list
i run win7 home premium.
during the installation of python 3.4.2 i have seen the tcl/tk
option activated!
Then python -m tkinter in Command Prompt should bring up a tk windows
with a bit a text and two buttons, one for exit. First try to find
Python 3.4 on the Start menu and start
Shuffle the keys, then grab the first 20 for one dictionary, the next 30
for the second, and the last 50 for the third.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, October 14, 2014 12:59:27 PM UTC-4, Dave Angel wrote:
> anuragpatiband...@gmail.com Wrote in message:
>
> > I have a dictionary that looks like this:
>
> > {"1":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
>
> > "2":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
>
>
On 14.10.2014 22:30, Ned Deily wrote:
In article ,
Wolfgang Maier wrote:
I'm not a regular MacPython user, but today I had to build Mac wheels
for different versions of Python. To test the wheel files I set up a
fresh Mac OS 10.9 Mavericks and and installed Python 3.2, 3.3, 3.4 from
the pytho
In article ,
Wolfgang Maier wrote:
> I'm not a regular MacPython user, but today I had to build Mac wheels
> for different versions of Python. To test the wheel files I set up a
> fresh Mac OS 10.9 Mavericks and and installed Python 3.2, 3.3, 3.4 from
> the python.org download page on it. Then
Hi,
I'm not a regular MacPython user, but today I had to build Mac wheels
for different versions of Python. To test the wheel files I set up a
fresh Mac OS 10.9 Mavericks and and installed Python 3.2, 3.3, 3.4 from
the python.org download page on it. Then I struggled for the rest of the
after
Adding python-list back into the CC list. I know nothing about Windows.
Perhaps someone else here can help. (Sorry about the top post all you
bottom post mavens. It seemed warranted in this case...)
Skip
On Tue, Oct 14, 2014 at 2:10 PM, wrote:
> hi,
>
> thank you so much for the quick reply
On Tue, Oct 14, 2014 at 1:13 PM, wrote:
> it doesnt seem to be present and doesnt react to the "python -m tkinter"
> -module not present
>
I don't know how it's spelled in 3.4.x, but in 2.7 it's spelled "Tkinter".
Give that a try. (Sorry, no 3.4 install handy or I'd verify it myself.)
The other
hello guys,
for half an hour now i am searching for something simple...
not IRC, not Fakebook, not Twitter...
simply an email where i can ask a question to a problem i have in python
3.4.2 and the tkinter (it doesnt seem to be present and doesnt react to the
"python -m tkinter" -module not prese
Shiva Wrote in message:
> Hi,
>
> Here is a small code that I wrote that downloads images from a webpage url
> specified (you can limit to how many downloads you want). However, I am
> looking at adding functionality and searching external links from this page
> and downloading the same number of
GENIUS, KING MIDAS, CIVIL HERO MICHELE NISTA micheleni...@gmx.com + 44 (0)
7939508007! HE GET IT RIGHT ON WORLDWIDE STOCKS, CURRENCIES & COMMODITIES
ALWAYS! ABOUT 5000 PREDICTIONS ON INTERNET SINCE 9.2007: 5000 SUCCESS! 100%
SHOCKING WINNING SCORE!!! GENIUS, KING MIDAS, CIVIL HERO MICHELE NISTA
anuragpatiband...@gmail.com Wrote in message:
> I have a dictionary that looks like this:
> {"1":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> "2":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> "3":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
> "4":{"Key1":"Value1", "Key
I have a dictionary that looks like this:
{"1":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
"2":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
"3":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"},
"4":{"Key1":"Value1", "Key2":"Value2", "Key3":"Value3"}}
Now if I have 100 object
On Tuesday, October 14, 2014 8:12:56 PM UTC+5:30, Shiva wrote:
> Hi,
> Here is a small code that I wrote that downloads images from a webpage url
> specified (you can limit to how many downloads you want). However, I am
> looking at adding functionality and searching external links from this page
On Tuesday, October 14, 2014 9:38:55 AM UTC-4, Johann Hibschman wrote:
> Marko Rauhamaa writes:
>
>
>
> > ryguy7272 :
>
> >
>
> >> I'm looking to start a team of developers, quants, and financial
>
> >> experts, to setup and manage an auto-trading-money-making-machine
>
> >
>
> > This has
On Monday, October 13, 2014 1:14:27 PM UTC-5, sly...@ilstu.edu wrote:
> Trying to get scipy 0.14 running on python 3.4.1 on SLES 11 SP2 LINUX system.
>
> Scipy seemed to compile fine using the command "python setup.py install" but
> when I try the scipy.test("full"), I get errors regarding gfortr
On Tue, Oct 14, 2014 at 10:54 AM, Chris Angelico wrote:
> On Wed, Oct 15, 2014 at 1:42 AM, Shiva
> wrote:
>> Here is a small code that I wrote that downloads images from a webpage url
>> specified (you can limit to how many downloads you want). However, I am
>> looking at adding functionality and
On Wed, Oct 15, 2014 at 1:42 AM, Shiva
wrote:
> Here is a small code that I wrote that downloads images from a webpage url
> specified (you can limit to how many downloads you want). However, I am
> looking at adding functionality and searching external links from this page
> and downloading the s
Hi,
Here is a small code that I wrote that downloads images from a webpage url
specified (you can limit to how many downloads you want). However, I am
looking at adding functionality and searching external links from this page
and downloading the same number of images from that page as well.(And
l
On Wed, Oct 15, 2014 at 1:28 AM, Ned Batchelder wrote:
> PEP 463 proposes a short syntax for this use case:
> http://legacy.python.org/dev/peps/pep-0463/
>
> I'm not sure what became of it.
Not quite; PEP 463 is about the case where you then want a different
value instead. I'm fairly sure the PEP
On 10/14/14 10:08 AM, Leonardo Giordani wrote:
Would it be feasible to propose a short syntax like this?
pass SomeException:
somecode
where the above example would become:
pass IndexError:
lst[0] = lst[0] + 1
I could not find if such a syntax has been already discussed elsewhere,
so plea
On Wed, Oct 15, 2014 at 1:08 AM, Leonardo Giordani
wrote:
> a lot of times the following pattern pops out in Python code:
>
> try:
> somecode
> except SomeException:
> pass
>
> Converting the code to a non-EAFP version, for example
>
> if len(lst) != 0:
> lst[0] = lst[0] + 1
This could be just
Click_ is another CLI framework.
It support multi-level nested command like git and it has some nice utilities.
I love it's design.
.. _click: http://click.pocoo.org/3/
—
Sent from Mailbox
On Tue, Oct 14, 2014 at 10:35 PM, vijnaana bhairava
wrote:
> Hi Folks,
> The requirement is to
Hi all,
a lot of times the following pattern pops out in Python code:
try:
somecode
except SomeException:
pass
A very simple example could be if you want to process a list that may be
empty
def process_list(lst):
try:
lst[0] = lst[0] + 1
except IndexError:
pass
or in more complex cases
On Wed, Oct 15, 2014 at 12:33 AM, vijnaana bhairava wrote:
> Another question i have is whether it uses argparse?
> If so, what value add does PYCLI do?
It depends what you mean by "CLI framework". If you simply mean
something like hg, where you have subcommands and options and so on,
all you rea
I am building a simple podcast program where I download all the data from a
feed with feedparser and store the data in sqlite3. I am spanking new to
sqlite and database programming. Should I create the database in the __init__
method of my class, or is that a bad idea. I haven't done any desi
Marko Rauhamaa writes:
> ryguy7272 :
>
>> I'm looking to start a team of developers, quants, and financial
>> experts, to setup and manage an auto-trading-money-making-machine
>
> This has already been done: http://en.wikipedia.org/wiki/Sampo
And mocked by MST3K ("sampo means flavor!"):
https
On Tue, Oct 14, 2014 at 7:04 PM, Revenant
wrote:
> As previously stated, I am new to Python and would also like to see if any of
> you programming gurus have some suggestions about how I can simplify code,
> and also if there are any other good starter programs to work on to improve
> my skills
Hi Folks,
The requirement is to develop a CLI framework in python for a linux router.
The suggestions i got is to use PyCli/Cliff. Not sure which would be the right
choice! Also, a few APIs are mentioned here:
https://pythonhosted.org/pyCLI/#module-cli.app
Since i couldn't find any actual imp
ryguy7272 :
> I'm looking to start a team of developers, quants, and financial
> experts, to setup and manage an auto-trading-money-making-machine
This has already been done: http://en.wikipedia.org/wiki/Sampo
Marko
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, Oct 14, 2014 at 7:16 AM, ryguy7272 wrote:
> I'm looking to start a team of developers, quants, and financial experts,
> to setup and manage an auto-trading-money-making-machine
>
Two things:
1. That's obviously much easier said than done. (I happen to develop
automated trading systems f
I'm looking to start a team of developers, quants, and financial experts, to
setup and manage an auto-trading-money-making-machine
#1) Setup a VM; must be a Windows machine (maybe Azure)
#2) Load & configure the software (Matlab, Python, R, Excel, and SQL Server)
#3) Develop and test code (Matlab
On 13/10/2014 22:00, Terry Reedy wrote:
On 10/13/2014 4:31 PM, Dennis Lee Bieber wrote:
On Mon, 13 Oct 2014 10:49:27 +0100, Robin Becker
declaimed the following:
c:\users\rptlab\tmp\tmcallister\build\pysqlite\src\connection.h(33) : fatal
error C1083: Cannot open include file: 'sqli
te3.h': No
Venugopal Reddy wrote:
> Ok, I will explain my problem in details :
>
> I have below XML:
>
>
>
>
> 1
> 2008
> 2009>
> 141100
>
>
>
>
> 4
> 2011
> 59900
>
>
>
> 68
> 2011
Michael Torrie Wrote in message:
> On 10/12/2014 08:05 PM, ryguy7272 wrote:
>> Ah!!! I didn't know I needed to run it from the command prompt! Ok,
>> not it makes sense, and everything works.
>>
>> Thanks to all!
>
> You don't have to run python apps from the command line. Apps that
> th
Revenant Wrote in message:
>
>
> One thing I want to try to add is a "Press any key to continue" function that
> occurs at the end of the program when the user decides to quit. I looked at
> some options online, but haven't quite figured it out yet.
>
Use the curses function getch, as
Ok, I will explain my problem in details :
I have below XML:
1
2008
2009>
141100
4
2011
59900
68
2011
13600
>From
Hi there! Welcome to Python.
On Tuesday, 14 October 2014 09:04:51 UTC+1, Revenant wrote:
> I am new to Python and would also like to see if any of you programming
> gurus have some suggestions about how I can simplify code, and also if
> there are any other good starter programs to work on to i
Hi all!
I'm new to Python and programming in general, and am trying to learn as much as
I can about it.
Anyway, for a basic first program I made a simple game of Paper, Rock,
Scissors. For this program, I incorporated a main menu that presented three
different options, allowed the user to pla
On 14/10/2014 06:19, Michael Torrie wrote:
On 10/12/2014 08:05 PM, ryguy7272 wrote:
Ah!!! I didn't know I needed to run it from the command prompt! Ok, not
it makes sense, and everything works.
Thanks to all!
You don't have to run python apps from the command line. Apps that
throw up
58 matches
Mail list logo