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,416
» Latest member: F_S
» Forum threads: 38,828
» Forum posts: 176,069

Full Statistics

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

Latest Threads
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
10 hours ago
» Replies: 4
» Views: 398
python re.finditer return...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:28 PM
» Replies: 7
» Views: 437
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 764
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,700
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 674
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 999
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,596
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 713
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,342
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 558

 
  Rendering a list in a mako template
Posted by: getre222 - Oct-25-2017, 03:41 PM - Forum: General Coding Help - Replies (10)

[python]
import os
from mako.template import Template

def N_water(z) : # return number of molecules of water [molecule/cm3] in tvs at position z ..... More

Print this item

  Stuck with SQL, singup page plz HELP!
Posted by: Peter_EU - Oct-25-2017, 03:14 PM - Forum: Web Scraping & Web Development - Replies (1)

Hallo,

I don't know what to do!

I am following tutorial: https:https://www.youtube.com/watch?v=0FsvqwRhYdM&t=688s

and I get stuck with comman..... More

Print this item

  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Exponential Number Conver... 10 hours ago Tuurbo46 DeaD_EyE General Codin...
  python re.finditer return... Yesterday, 18:28 arbiel snippsat General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
Most views
  The best Prog... 580708
  Tutorial Requ... 521883
  Web Scraping ... 442894
  New Users Int... 387845
  Newbie with P... 387121
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
F_S Yesterday
cruisesfares Yesterday
aalexfracesoz1783 01-08
Jessicaadams 01-08
alexajames 01-08

User Panel Messages

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