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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,676
» Latest member: emmausa
» Forum threads: 38,648
» Forum posts: 175,063

Full Statistics

Online Users
There are currently 414 online users.
» 1 Member(s) | 407 Guest(s)
Bing, Yandex, Google, Baidu, Applebot, emmausa

Latest Threads
Custom Window Decorations...
Forum: General Coding Help
Last Post: emmausa
Less than 1 minute ago
» Replies: 4
» Views: 870
replace or remove text fr...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 20
» Views: 1,041
Sourcetrail project
Forum: News and Discussions
Last Post: paul18fr
4 hours ago
» Replies: 0
» Views: 25
Deciding on a Macbook Pro...
Forum: Bar
Last Post: techthiru
7 hours ago
» Replies: 0
» Views: 47
Pylance: "... is not a kn...
Forum: General Coding Help
Last Post: MvGulik
8 hours ago
» Replies: 2
» Views: 103
While loop is terminating...
Forum: Homework
Last Post: Plyth
Jul-05-2025, 01:49 AM
» Replies: 2
» Views: 258
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
Jul-04-2025, 10:56 PM
» Replies: 7
» Views: 19,829
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Jul-04-2025, 09:43 AM
» Replies: 5
» Views: 423
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Jul-04-2025, 07:18 AM
» Replies: 4
» Views: 350
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 197

 
  Name error : name 'honey' is not defined
Posted by: dila - Oct-25-2017, 11:18 AM - Forum: Web Scraping & Web Development - Replies (6)

I have no idea how to get rid of this error. I did read about changing the sys.path but I don't understand how to do it because it's not working at al..... More

Print this item

  VS2017 Enterprise, Python 3.6 Virutal Environment and .whl file installation. pip
Posted by: metalray - Oct-25-2017, 07:46 AM - Forum: General Coding Help - Replies (12)

Hi Python Guru's,
 I use Windows 10 and Visual Studio2017 64bit.I try to install pymssql but the corporate network ensures
that a network connection..... More

Print this item

  Do Machine Learning Employers care if I get a minor in Math on top of MS engineering
Posted by: AndrewScience - Oct-25-2017, 01:53 AM - Forum: News and Discussions - Replies (2)

I'm going to be signing up for classes in a few weeks, and I'm debating on wether I should obtain a math minor on top of my masters in Computer Engine..... More

Print this item

  Python Web Scrapping
Posted by: rob_john - Oct-25-2017, 01:44 AM - Forum: Web Scraping & Web Development - Replies (3)

I am in the process of creating a web scrapping tool from scratch that I will use at my job. I work at a medical transportation company and will be sc..... More

Print this item

  General advise for building a video manager
Posted by: ffrree - Oct-25-2017, 01:15 AM - Forum: General Coding Help - Replies (1)

Hi, I am a newbie to Python, though had built a small game as a practice already some months ago.

My real aim is to build a video library manager f..... More

Print this item

  Small game (school project)
Posted by: Ganesh - Oct-24-2017, 09:09 PM - Forum: Homework - Replies (7)

Hello,

I am not a native speaker...

I have been assigned to a group of 5 students. We have had an introduction to python last year (30h theory +..... More

Print this item

  Convert list of integers to bit-mapped byte
Posted by: eccles - Oct-24-2017, 09:07 PM - Forum: General Coding Help - Replies (10)

I have a list of integers that represents solenoid numbers to turn ON.
For example, the list [1, 3, 4, 7], where:
- the number “1” represents the 1s..... More

Print this item

  urlparse to urllib.parse - the script stopped working
Posted by: apollo - Oct-24-2017, 08:23 PM - Forum: General Coding Help - Replies (5)

dear community


The following code runned - like a charme - all is nice. Very well. in python version 2.xy


[python]

import urllib
impor..... More

Print this item

  General Guidance in Project
Posted by: JMiller184 - Oct-24-2017, 08:21 PM - Forum: General Coding Help - Replies (1)

Howdy! I am completely new to programming as a whole and would like to know the difficulty involved in a project I volunteered for in school. I would ..... More

Print this item

  Polynomial value between a interval
Posted by: RiceGum - Oct-24-2017, 07:40 PM - Forum: Homework - Replies (3)

[python]
n1 = eval(input())
n2 = eval(input())

(M, m) = (n1, n2) if n1 > n2 else (n2, n1)


i = m
while i < M:
i += 0.5
print(3* i*..... More

Print this item

  grayscale image processing
Posted by: zyb1003 - Oct-24-2017, 07:34 PM - Forum: Data Science - Replies (10)

Hello guys,

I am rookie to python, and have trouble in image processing.

Now I have an image showing a beam spot, only the beam spot is white ..... More

Print this item

  Regular Expressions with inputs
Posted by: MethodRunner147 - Oct-24-2017, 06:49 PM - Forum: General Coding Help - Replies (1)

Hi, I am trying to let a user input a username that is 8 characters long . Then if they enter it incorrectly, display an error message and ask them to..... More

Print this item

  NumPy array; selecting the a single column
Posted by: econmajor - Oct-24-2017, 04:25 PM - Forum: Data Science - No Replies

I have a numpy array with data. How do I select the first column

my_array =numpy.array([[1,2,3], [1,2,3]])
I can get the firs..... More

Print this item

  Insert data to SQL through pymysql and flask
Posted by: iainstott - Oct-24-2017, 01:44 PM - Forum: Web Scraping & Web Development - Replies (3)

Wonder if someone can help as I'm going round in circles on something that should be simple.

All I am trying to do is input some data from a form i..... More

Print this item

  Decode data of udp connection
Posted by: deividnastri - Oct-24-2017, 01:03 PM - Forum: Networking - Replies (2)

Hi, i am receiving data from a UDP connection and don't know how decode this.

Code where i receive the data:

[python]
import socket

# Set up..... More

Print this item

  How to define a method in a class
Posted by: 1885 - Oct-24-2017, 12:57 PM - Forum: GUI - Replies (2)

I copied this code from zetcode.com
What I want to do is call a method dec3hex2 that returns a string in the form of #000000
I have the dec to hex ..... More

Print this item

  Begginer - How to choose a server to run my Python script with MongoDB?
Posted by: Mapl - Oct-24-2017, 12:40 PM - Forum: Web Scraping & Web Development - Replies (1)

I've run my Python script on my local desktop. It mainly builds a dataset by scraping data from a few websites, and saves the data to my local MongoDB..... More

Print this item

  List out of range error
Posted by: juniorcoder - Oct-24-2017, 12:38 PM - Forum: General Coding Help - Replies (3)

Hi guys,
N=3 (will be 2 at most in the loop I want to create)
T=5 (will start from 2 in the loop I want to create)
I want to print:
x(1)(2),I(1)(1)
..... More

Print this item

  Defining an fsolve function to call later
Posted by: hegdep - Oct-24-2017, 12:09 PM - Forum: General Coding Help - Replies (1)

[python]
def myFunction_2(p,skewness,kurtosis):
x=p[0]
y=p[1]
z=p[2]
f=empty((3))
f[0]=pow(x,2)+pow(y,2)+6*x*y+15*pow(z,..... More

Print this item

  checking for matches between lists
Posted by: henrik0706 - Oct-24-2017, 10:38 AM - Forum: General Coding Help - Replies (2)

Hey guys

so here's the problem
I have 2 lists:

numbers = [1,2,3,4,5,6,7,8,9]
given = [1,1,2]
how do i find the amount of eleme..... More

Print this item

  Converting pseudocode to Python
Posted by: qwertyK - Oct-24-2017, 10:14 AM - Forum: Homework - Replies (3)

hi there,

First python project, need to convert the psuedocode which I wrote below to python. Don't actually need the program to work just need the..... More

Print this item

  Battleships Program must display how many ships are left after each turn
Posted by: FnaticPutin - Oct-24-2017, 09:37 AM - Forum: Game Development - Replies (1)

Hello everyone. This is my Battleships program for python. I currently want to make the program to display how many ships are left after each turn. Th..... More

Print this item

  Numpy Help
Posted by: BlackHeart - Oct-23-2017, 11:28 PM - Forum: Web Scraping & Web Development - Replies (6)

Hey everyone,

This is my first time posting on this forum. I am very very new to python, so please bare with me. I'll try and give as much accurate..... More

Print this item

  Tkinter box model
Posted by: Sebastian_Adil - Oct-23-2017, 08:17 PM - Forum: GUI - Replies (2)

In Tkinter there are six of standard options (-width -height -padx -pady -borderwidth -background) which can be gathered together in a flowchart and f..... More


Attached Files

Thumbnail(s)
   
Print this item

  enumerate and output control
Posted by: atux_null - Oct-23-2017, 07:56 PM - Forum: Homework - Replies (7)

[nodisplay]please give a runnable sample of your code with the full error text or a clear description of the problem

Please use python tags for cod..... More

Print this item

  Simple cli menu quits on selection
Posted by: pamamolf - Oct-23-2017, 06:50 PM - Forum: General Coding Help - Replies (19)

Hello,

First day on Python :)

I was looking to create a simple cli sample menu for my Ubuntu 17.10 and default Python 3.6.3 and i end up to this one..... More

Print this item

  openCV + GUI
Posted by: Konstantin - Oct-23-2017, 05:14 PM - Forum: GUI - Replies (3)

I am completely new to Python.
Here is the task:
I need openCV window with video stream; on right click in window area I need a small GUI panel to p..... More

Print this item

  Subtitle Downloader (Subdb and Opensubtitles)
Posted by: hbknjr - Oct-23-2017, 04:50 PM - Forum: Code sharing - No Replies

I recently discovered opensubtitle API. So here's a script that uses SubDB and OpenSub..... More

Print this item

  print a * pyramid
Posted by: drogers10940 - Oct-23-2017, 04:16 PM - Forum: Homework - Replies (5)

[nodisplay]please give a runnable sample of your code with the full error text or a clear description of the problem

Please use python tags for cod..... More

Print this item

  SQL Alchemy, database does not work
Posted by: Peter_EU - Oct-23-2017, 03:18 PM - Forum: Web Scraping & Web Development - Replies (3)

Hallowings,

I am trying to make my very first database app according to this tutorial - https://www.youtube.com/watch?v=0FsvqwRh...PLXmMXHVSv..... More

Print this item

  Red color enhancement
Posted by: OmarSinno - Oct-23-2017, 01:19 PM - Forum: General Coding Help - Replies (2)

So I wrote this code and my goal is to increase the red intensity by 50% in every pixel, help?
[python]from PIL import Image
im= Image.open('monkey.jp..... More

Print this item

  PIN Number Tool
Posted by: jgarrido - Oct-23-2017, 01:14 PM - Forum: General Coding Help - No Replies

Good morning everyone,

I'm kinda new to Python but have been able to create a lot of tasks that allow me to automate certain functions that we used..... More

Print this item

  Dont know How
Posted by: papampi - Oct-23-2017, 01:08 PM - Forum: General Coding Help - Replies (2)

Hi
A bash script helper create a file for my python script posted here
..... More

Print this item

  Error in Matrix operation
Posted by: poorikanna - Oct-23-2017, 12:14 PM - Forum: General Coding Help - No Replies

from sympy import *
from time import time
from mpmath import radians
from math import *
import tf

'''
Format of test case is [ [[EE position],..... More

Print this item

  lxml saves empty tags with None text
Posted by: urano1981 - Oct-23-2017, 11:45 AM - Forum: General Coding Help - No Replies

I am modifying an XML file to change , into <,> (&lt;,&gt;). However when I find an empty element, it returns None.
My original XML value would be so..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Custom Window Decorations... Less than 1 minute ago Beenman11 emmausa General Codin...
  replace or remove text fr... 1 hour ago Curbie Pedroski55 General Codin...
  Sourcetrail project 4 hours ago paul18fr paul18fr News and Disc...
  Deciding on a Macbook Pro... 7 hours ago techthiru techthiru Bar
  Pylance: "... is not a kn... 8 hours ago MvGulik MvGulik General Codin...
  While loop is terminating... 07-05, 01:49 jumpsworthnow Plyth Homework
  PythonPath file 07-04, 22:56 JohnRLaw Pedroski55 General Codin...
  Python Install Mager Help 07-04, 09:43 bowens1983 snippsat News and Disc...
  RemoTe server operation w... 07-04, 07:18 mario17 mario17 General Codin...
  [WxPython] Hide CLI while... 07-03, 08:12 Winfried Gribouillis GUI
  Venv - Python Virtual Env... 07-02, 17:41 DanneA Larz60+ General Codin...
Most views
  The best Prog... 572438
  Tutorial Requ... 485322
  Web Scraping ... 436970
  Newbie with P... 379826
  Thread remain... 351278
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12071
buran 8173
snippsat 7346
deanhystad 6846
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
emmausa Today
KhaledBaqri Today
CarlaRogersWI Yesterday
techthiru Yesterday
skylarkuk Yesterday

User Panel Messages

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