Replied To a Post in can't import module
Article by glao in Software Development
Hmm.. It worked fine now!! Thanks!
Joined the Community
Hi I have a master table Company info where information like revenue, profit, expenses etc are captured. Now i want to retrieve companies who has made profit every year since last 5 years. Issue is some company have latest data of 2017 and some have latest dat until 2016. How … Article by haria_kishore in Databases
Replied To a Post in Retrieving Record
Hi I have a master table Company info where information like revenue, profit, expenses etc are captured. Now i want to retrieve companies who has made profit every year since last 5 years. Issue is some company have latest data of 2017 and some have latest dat until 2016. How … First Post in Article by haria_kishore in Databases
1,313 Replied To a Post in can't import module
Article by glao in Software Development
I'd recommend using `python setup.py develop` first, which will install a symbolic link allowing python to import and use myapp without really installing the package. If you're using a virtualenv, make sure the command uses your virtualenv's python interpreter.
Sponsored 1,474 Replied To a Post in Need help with Dazah
Article by Dani in DaniWeb Community Feedback
It's not a paid gig. I'm looking for someone who wants to take on this project to create what could be a new SaaS business for themselves. In doing so, you get my full resources and marketing budget at your disposal. In other words, if you build and sell the …
Sponsored Began Watching
Hey guys ...

Over the last year or so that I've been hard at work with Dazah, I've received multiple requests from people offering to help. I am now in *way* over my head, and I would be eternally grateful for anyone who might be able to offer up their … Article by Dani in DaniWeb Community Feedback
Sponsored Replied To a Post in Need help with Dazah
Article by Dani in DaniWeb Community Feedback
How much do you pay and is there a deadline for this?
Joined the Community
I have this tree format.

> myapp->
> setup.py
> tests ->
> test_myapp.py
> myapp ->
> __init__.py
> myapp.py


And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'` Article by glao in Software Development
I have this tree format.

> myapp->
> setup.py
> tests ->
> test_myapp.py
> myapp ->
> __init__.py
> myapp.py


And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'` Article by glao in Software Development
I have this tree format.

> myapp->
> setup.py
> tests ->
> test_myapp.py
> myapp ->
> __init__.py
> myapp.py


And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'` Article by glao in Software Development
I have this tree format.

> myapp->
> setup.py
> tests ->
> test_myapp.py
> myapp ->
> __init__.py
> myapp.py


And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'` Article by glao in Software Development
Replied To a Post in can't import module
I have this tree format.

> myapp->
> setup.py
> tests ->
> test_myapp.py
> myapp ->
> __init__.py
> myapp.py


And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'` First Post in Article by glao in Software Development
Sponsored Began Watching
You may have noticed that messaging about earning rewards points that can be cashed out for real dollars has just now been removed from various pages.

It's not that I've completely called quits on the idea. When we switched over to the new platform, it was always in the pipeline … Article by Dani in DaniWeb Community Feedback
Joined the Community
1 Replied To a Post in Reduce excess code
Article by Siberian in Web Development
How about the other parts of the code, is it relevent; or can it be reduced ?
Joined the Community
hi everyone

i have 1 question regarding array in c# application

how i arrange numbers in ascending or descending order in array using c# software

i do this

int array=new int[1,2,3,4,5]

furhter i cant processed

plz can anyone tell me about this

thankx.. Article by diya45 in Software Development
Joined the Community
Article by k_manimuthu in Databases
Hi [AntrisP](https://www.daniweb.com/members/1073718/andrisp),
Thanks for you solution. But i didn't get results if maximum sales % having more than entries.

product1 division1 99
product2 division1 45
product3 division1 50
product4 division2 98
product5 division2 41
product6 division2 40
product7 division3 97
product8 division3 31
product9 division3 30
product10 division1 99
product11 …
854 Began Watching
hello i have a code in vb.net and my logic is if i will input 13973.88 the nearest number is 10000 but the output was 15833 can you please help me solving this code please?


Dim data(,) = {
{0.0, 0, 1},
{0.0, 0.05, 4167},
{41.67, 0.1, 5000},
{208.33, 0.15, … Article by Justin Kent in Software Development
854 Replied To a Post in vb.net closest number
Article by Justin Kent in Software Development
Not sure if we should be answering, since you didn't acknowledge any of the help you got on your other question about the same problem. Opening new questions about the same problem is not really going go get you anywhere. Also the code you're showing isn't even trying to solve …
Article by k_manimuthu in Databases
In to the subquery you can select `max(sales) group by Division` then `select * from SAMPLE where product not in (subquery)` eg

select
t.*
from
`sample` t
where
t.`product` not in (
select
s.`product` from (
select
m.`product`
,max(m.`sales`)
from
`sample` m
group by m.`Division`
) s
)
order by …
1,432 Replied To a Post in vb.net closest number
Article by Justin Kent in Software Development
13973.88 is closer to 15833 than it is to 10000 so what is the problem?
1,120 Replied To a Post in C++
Article by irbaaz in Programming
Another issue is your use of "\n" << endl; for end-of-lines. Leave out the "\n" the endl will deal with that for you. Common beginner mistake with C++ string output. Remember that endl will also flush the output stream. You only need the extra new-line if you want your output …
Sponsored 1,474 Replied To a Post in PayPal IPN error
Article by Lloyd_4 in Web Development
Are you sure you're getting the *same* error message?? What version of PHP are you using??
hello i have a code in vb.net and my logic is if i will input 13973.88 the nearest number is 10000 but the output was 15833 can you please help me solving this code please?


Dim data(,) = {
{0.0, 0, 1},
{0.0, 0.05, 4167},
{41.67, 0.1, 5000},
{208.33, 0.15, … Article by Justin Kent in Software Development
hello i have a code in vb.net and my logic is if i will input 13973.88 the nearest number is 10000 but the output was 15833 can you please help me solving this code please?


Dim data(,) = {
{0.0, 0, 1},
{0.0, 0.05, 4167},
{41.67, 0.1, 5000},
{208.33, 0.15, … Article by Justin Kent in Software Development
Replied To a Post in vb.net closest number
hello i have a code in vb.net and my logic is if i will input 13973.88 the nearest number is 10000 but the output was 15833 can you please help me solving this code please?


Dim data(,) = {
{0.0, 0, 1},
{0.0, 0.05, 4167},
{41.67, 0.1, 5000},
{208.33, 0.15, … First Post in Article by Justin Kent in Software Development