Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: PostgreSQL- import package
Post: PostgreSQL- import package
i am trying to use postgreSQL package , i had tried the following:
python -m pip install -U pip setuptoolspython get-pip.pypip install 'psycopg2'import postgresq2import postgresqlall what i get is inv... |
|
elhetch |
General Coding Help |
2 |
4,731 |
Jun-07-2017, 12:32 PM |
|
|
Thread: recursive action
Post: recursive action
i dont understand how this code works, as per my understanding every time the def function will be called , why it returns a result.
def rabbits(n):
if n<1:
return 0
else:
... |
|
elhetch |
General Coding Help |
6 |
5,266 |
Jun-06-2017, 01:01 PM |
|
|
Thread: Lists-compare lists
Post: RE: Lists-compare lists
i have edited adding the tags |
|
elhetch |
General Coding Help |
7 |
5,668 |
Mar-01-2017, 12:15 PM |
|
|
Thread: Lists-compare lists
Post: RE: Lists-compare lists
i would like The output to be "One shape" instead of "Not one shape" basically i want to compare the 1st list(1st set) with the 2nd list (2nd set),2nd list (1st set) to 3rd list (2nd set ) and so on.
... |
|
elhetch |
General Coding Help |
7 |
5,668 |
Mar-01-2017, 11:28 AM |
|
|
Thread: Lists-compare lists
Post: Lists-compare lists
i have a 2 set of lists each set has 4 sets , i would like to compare the 1st list(1st set) with the 2nd list (2nd set):
the code doesn't return any errors , it is just doesn't return the correct res... |
|
elhetch |
General Coding Help |
7 |
5,668 |
Mar-01-2017, 11:07 AM |
|
|
Thread: dxfgrabber-return lines start point
Post: RE: dxfgrabber-return lines start point
(Feb-26-2017, 12:10 PM)buran Wrote: OK, that's something different. Now, what the Traceback says:
'Line' object has no attribute 'line'
It's as clear as it gets - entity has no such attribute line.... |
|
elhetch |
General Coding Help |
3 |
4,672 |
Feb-26-2017, 12:22 PM |
|
|
Thread: dxfgrabber-return lines start point
Post: dxfgrabber-return lines start point
Hi
i wrote the below code to return the start point of the lines in drawing, but it return error:
import dxfgrabber
dwg = dxfgrabber.readfile("test.dxf")
print("DXF version:{} ".format(dwg.dxfversio... |
|
elhetch |
General Coding Help |
3 |
4,672 |
Feb-26-2017, 11:56 AM |
|
|
Thread: dxfgrabber
Post: dxfgrabber
hi ,
would like to know why this code is not working, i would like to get the start point of a line in a drawing;
import dxfgrabber
dwg = dxfgrabber.readfile("test.dxf")
print("DXF version:{} ".forma... |
|
elhetch |
General Coding Help |
2 |
3,518 |
Feb-23-2017, 11:13 AM |
|
|
Thread: dxfgrabber
Post: RE: dxfgrabber
(Feb-21-2017, 11:06 AM)buran Wrote: It's really by reading the docs. It becomes easier with the practice. Of course it depends also on the quality and completness of the documentation.
Reading the... |
|
elhetch |
General Coding Help |
7 |
8,605 |
Feb-21-2017, 11:15 AM |
|
|
Thread: dxfgrabber
Post: RE: dxfgrabber
(Feb-20-2017, 02:57 PM)buran Wrote: I had a more detailed look at the module and experimented with sample dxf files.
import dxfgrabber
dwg = dxfgrabber.readfile("test.dxf")
print("DXF version:{} ".... |
|
elhetch |
General Coding Help |
7 |
8,605 |
Feb-21-2017, 10:53 AM |
|
|
Thread: dxfgrabber
Post: RE: dxfgrabber
what about that:
import dxfgrabber
dwg = dxfgrabber.readfile("test.dxf")
print("DXF version:{} ".format(dwg.dxfversion))
all_lines = [entity for entity in dwg.entities if entity.dxftype == 'LINE']
pr... |
|
elhetch |
General Coding Help |
7 |
8,605 |
Feb-20-2017, 12:45 PM |
|
|
Thread: dxfgrabber
Post: dxfgrabber
Hello,
i am not sure why the below code doesnot return the layers as expected.
import dxfgrabber
test = dxfgrabber.readfile("test.dxf")
test = dxfgrabber.layers("test.dxf")
print("DXF version:{} ".... |
|
elhetch |
General Coding Help |
7 |
8,605 |
Feb-20-2017, 12:29 PM |
|
|
Thread: dxfgrabber
Post: RE: dxfgrabber
i dont understand how to write the code that return the start point of a line inside the drawing,
below is my code :
import dxfgrabber
dxf = dxfgrabber.readfile("test.dxf")
print("DXF version:{} ".for... |
|
elhetch |
General Coding Help |
5 |
6,544 |
Feb-18-2017, 03:31 PM |
|
|
Thread: dxfgrabber
Post: RE: dxfgrabber
i tried , but did not understand it , i |
|
elhetch |
General Coding Help |
5 |
6,544 |
Feb-18-2017, 02:56 PM |
|
|
Thread: dxfgrabber
Post: dxfgrabber
i would like to know how to use this library to get a start point of a line from DXF , |
|
elhetch |
General Coding Help |
5 |
6,544 |
Feb-18-2017, 01:37 PM |
|
|
Thread: how to show a value to the user?
Post: RE: how to show a value to the user?
(Feb-11-2017, 12:19 AM)metulburr Wrote: create a label and use the textvariable to make it change on the fly of the button
mate ,i am totally new in coding, basically i dont understand what you just... |
|
elhetch |
GUI |
4 |
4,320 |
Feb-11-2017, 01:13 AM |
|
|
Thread: how to show a value to the user?
Post: how to show a value to the user?
i created the below code to do some math, i would like to know how to show the value after running the code to the user?
import math
from Tkinter import *
def circle_weight():
area = math.pi*int... |
|
elhetch |
GUI |
4 |
4,320 |
Feb-11-2017, 12:06 AM |