Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,238
» Latest member: Reema
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

Online Users
There are currently 33 online users.
» 2 Member(s) | 27 Guest(s)
Google, Bing, Apple, Reema, skymindus5Dip

Latest Threads
print two different seque...
Forum: General Coding Help
Last Post: Reema
Less than 1 minute ago
» Replies: 3
» Views: 2,872
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
6 hours ago
» Replies: 1
» Views: 92
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 143
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 124
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 124
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,252
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,377
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,577
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,208

 
  OhodO optical marks recogination
Posted by: mintsilver - Jan-21-2017, 01:51 PM - Forum: Code sharing - No Replies

Hi, this my program:
the name: OhodO
ver: 1.0
Prog language: python 3.6 + opencv
Lic : Free + Gpl
interface language: Arabic - English
For: opti..... More

Print this item

  local variable 'l' referenced before assignment...
Posted by: darkreaper1959 - Jan-21-2017, 01:05 PM - Forum: Homework - Replies (4)

Hi everyone, this code is going well but my brain cannot take it any more, could someone please help me. This is my traceback error and I have tried m..... More

Print this item

  how to draw terrain like minecraft in python using opengl with perlin noise value?
Posted by: hsunteik - Jan-21-2017, 11:45 AM - Forum: General Coding Help - No Replies

In my previous thread/post ,I have asked a question about drawing Perlin noise terrain,mekire have helped me quite a lot by teaching me how to draw 2d..... More

Print this item

  what is [o,]?
Posted by: landlord1984 - Jan-21-2017, 08:48 AM - Forum: General Coding Help - Replies (6)

I am studying following teaching me about composition of class objects. What is o doing here?    

[python]def print_all_2(self):
        def gen(o..... More

Print this item

  chat system
Posted by: x64 - Jan-21-2017, 07:39 AM - Forum: Web Scraping & Web Development - Replies (2)

i can do socket chat in ubuntu terminal based but i can't implement it to django. If it is possible please help.Or if you know any other module to cre..... More

Print this item

  voronoi vs perlin noise?
Posted by: hsunteik - Jan-21-2017, 07:20 AM - Forum: General Coding Help - Replies (1)

what is the pros and cons of the both noise respectively?
what can be done in one noise ,but not the other noise?
which is recommend to create game ..... More

Print this item

  what should i do after generating the perlin noise value?
Posted by: hsunteik - Jan-21-2017, 05:59 AM - Forum: General Coding Help - Replies (8)

after generating the 3d perlin noise value(x,y and z respectively(the value is between -1 and 1)),how do i use the generated value to create texture o..... More

Print this item

  want to know the kind of object whether its a python or json object
Posted by: johnkennykumar - Jan-21-2017, 05:34 AM - Forum: General Coding Help - Replies (5)

[code]import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
   # Request headers
   'Content-Type': 'application/j..... More

Print this item

  bind hover on tkinter.ttk.Treeview
Posted by: Larz60+ - Jan-21-2017, 03:46 AM - Forum: GUI - Replies (4)

I have been trying to find an example that shows how to bind mouse over Treeview cell without much success.
I thought that '<Enter>' could be used, b..... More

Print this item

  Why Python's standard library is hard to read?
Posted by: landlord1984 - Jan-20-2017, 10:41 PM - Forum: Data Science - Replies (2)

Are you guys generally search and read from here: https://docs.python.org/3/library/funct[url=https://python-forum.io/thread-1694.html]..... More

Print this item

  Using a range and for loop - temp converter
Posted by: rattlerskin - Jan-20-2017, 05:53 PM - Forum: Homework - Replies (5)

Hello,

     This is my first post and my first exposure to Python as a result of a college course I'm taking. My assignment asks to modify a progra..... More

Print this item

  Can this be done?
Posted by: SteveMann - Jan-20-2017, 05:51 PM - Forum: General Coding Help - Replies (4)

I have been using a Tingbot which runs on a modified version of Jessie.  There is an interesting feature (called a decorator) in the Tingbot Python th..... More

Print this item

  Why is choicebox not displayed?
Posted by: merlem - Jan-20-2017, 04:54 PM - Forum: GUI - Replies (2)

The code:
[python]
import wx

showliste = ["item1", "item2", "item3"]

class Mainframe(wx.Frame):
    def __init__(self, parent, id, title):
 ..... More

Print this item

  HTTPError: Forbidden when try download image
Posted by: b33g33 - Jan-20-2017, 04:53 PM - Forum: Web Scraping & Web Development - Replies (8)

i want to download picture on wallhaven.cc and i can get picture url but image is not download its give an error ; 

my code is ;

[python]import ..... More

Print this item

  Neighbours in an array
Posted by: MattaFX - Jan-20-2017, 04:26 PM - Forum: Homework - Replies (10)

Hi everyone,

I've got the following problem: 

Example: 
If the original Input is:


[python]
[[0 0 0 0 0 0 0 1]
[0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0]
..... More

Print this item

  Variable not defined
Posted by: ASDF - Jan-20-2017, 12:53 PM - Forum: General Coding Help - Replies (2)

This is very simple (as I am new to coding) but why does this keep saying 'yes' is not defined?
[python]def shop(answer):

    if answer == yes
  ..... More

Print this item

  looking 4 py code: file byte/character frequency
Posted by: Skaperen - Jan-20-2017, 05:08 AM - Forum: Bar - Replies (2)

the command line argument would be a filename in the coding used by the host system.  if the given name is what the platform normally uses to designat..... More

Print this item

  Class - Error Message (Indentation)
Posted by: tkj80 - Jan-20-2017, 03:55 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a writing a Class definition. However, I got error msg: 

[error]SyntaxError: inconsistent use of tabs and spaces in indentation[/erro..... More

Print this item

  Learning Python from Jython
Posted by: NewtoPy - Jan-20-2017, 01:50 AM - Forum: Homework - Replies (1)

I 've learned the very basic of Jython in university. Now I would like to learn Python in the essence of interacting with MS SQL. In that case, which ..... More

Print this item

  Need some help with list and dictionary .txt
Posted by: GeekLife97 - Jan-20-2017, 12:06 AM - Forum: Homework - Replies (3)

Hello buddies, I need some help with 4 questions , thanks for your time
 
Implement a program for:
• Read data in files of format similar to the ex..... More

Print this item

  The problem of the cuts
Posted by: ics - Jan-19-2017, 07:35 PM - Forum: Homework - Replies (8)

Hi.
I received this problem as one of my homework problems, and I'm catching my ears with it. I would like some help with it:

Python 2.7

The pr..... More

Print this item

  what is my standard in python currently?
Posted by: hsunteik - Jan-19-2017, 10:34 AM - Forum: General Coding Help - Replies (3)

Is there a way to measure how good am I in python(beginner,intermediate,master,advanced,professional,etc)by the things I know?

I don't know what I ..... More

Print this item

  Find the complement of a number
Posted by: landlord1984 - Jan-19-2017, 07:50 AM - Forum: General Coding Help - Replies (4)

I want to find the complement of a number
For example:

The binary representation of 5 is 101 (no leading zero bits), and its complement is 010. So yo..... More

Print this item

  Methods
Posted by: infernoblaze - Jan-19-2017, 06:20 AM - Forum: Homework - Replies (13)

Does anyone here knows how to do methods inside a class? 
I need help to find:

[font=Courier New][size=x-small][font=Times New Roman][size=large]1..... More

Print this item

  i thought everything was utf-8 in python3
Posted by: Skaperen - Jan-19-2017, 05:46 AM - Forum: General Coding Help - Replies (10)

i thought everything was utf-8 in python3.  but apparently, this is not so.   what suggests this to me is the "ascii" in the error message.

this is..... More

Print this item

  Why am I getting a type error?
Posted by: WagmoreBarkless - Jan-19-2017, 02:01 AM - Forum: Data Science - Replies (7)

This should be simple.

I am using NumPy's ndarray, and taking the shape() of the 1st element like this:X.shape[0]. As expected, this is an integer th..... More

Print this item

  Problem of getting XLS file data into python
Posted by: klllmmm - Jan-19-2017, 01:50 AM - Forum: Data Science - Replies (3)


.xls   May.XLS (Size: 50.75 KB / Downloads: 206)
.xls   Apr.XLS (Size: 54.54 KB / Downloads: 199)
I'm trying to get the data from 2 XLS files into python. These XLS files were exported files from SAP system.

How..... More

Print this item

  meta array question
Posted by: meems - Jan-18-2017, 10:03 PM - Forum: Data Science - Replies (5)

I'm modelling a 3D space.

I'd like to create a large multi dim array , like numpy.empty((720,720,720),dtype=object) in size, but anticipate for mos..... More

Print this item

  PyQt5 Question
Posted by: Miton - Jan-18-2017, 09:51 PM - Forum: General Coding Help - No Replies

Hello,

[color=#333333][size=small][font=..... More

Print this item

  Time complexity different between operating systems. Why?
Posted by: Mekire - Jan-18-2017, 09:26 PM - Forum: News and Discussions - Replies (2)

Mekire: Migrating a thread from the old forum which I think provided good discussion so as to avoid linking to the dead forum...... More

Print this item

  Infinitely repeating 2D map
Posted by: schmidtbag - Jan-18-2017, 08:36 PM - Forum: Game Development - Replies (8)

I'm creating a 2D game with a top-down camera.  I think something that would make the game a lot better is if I could have the map infinitely repeat i..... More

Print this item

  [split] Time Complexity of Counting
Posted by: Mekire - Jan-18-2017, 07:52 PM - Forum: General Coding Help - Replies (9)

micseydel speaking here: this is a split from https://python-forum.io/Thread-List-show...-instances

[quote='wavic' pid='849..... More

Print this item

  Queuing the file content and run the thread.
Posted by: pythonlover - Jan-18-2017, 07:05 PM - Forum: General Coding Help - Replies (8)

Hello,
I have a list of network devices in a file (each line is a device). I am passing each device or each line of that file as an argument to a cur..... More

Print this item

  leading zeros
Posted by: kerzol81 - Jan-18-2017, 06:38 PM - Forum: General Coding Help - Replies (7)

Hi,

A wrote a script that moves files into folders according to the files creation time, but I could not figure out how to add a leading zero to th..... More

Print this item

  How to store python output into a file?
Posted by: edithegodfather - Jan-18-2017, 06:14 PM - Forum: Web Scraping & Web Development - Replies (5)

hey guys,

i've recently finished a web crawler app for an ads website that prints the ad title, ad link and the number of views each ad has.
the c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 6 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578718
  Tutorial Requ... 509367
  Web Scraping ... 441863
  Newbie with P... 385820
  New Users Int... 375252
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Reema Today
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020