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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 31 Guest(s)
AOL, Bing, AOL, Google, Mojeek

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
10 hours ago
» Replies: 2
» Views: 342
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,364
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,765
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 733
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 982
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,042
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,084
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 655
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,636
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,857

 
  UnicodeEncodeError using Windows and IDE-Visual Studio
Posted by: Yaya33 - Oct-25-2017, 03:06 PM - Forum: General Coding Help - Replies (9)

I am new to Python and excited to learn and just hit the ground.
I have Windows and use Visual Studio as IDE. I have got everything set and started to..... More

Print this item

  calling python function in c++ callback getting segmentation fault error
Posted by: Jotirling - Oct-25-2017, 02:00 PM - Forum: General Coding Help - Replies (3)

Please check the below link I have explained all
https://stackoverflow.com/questions/4690...c-callback

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 10 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576135
  Tutorial Requ... 497697
  Web Scraping ... 440081
  Newbie with P... 383895
  New Users Int... 366443
Most reputation
buran 581
snippsat 508
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+ 12089
buran 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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