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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,924

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 29 Guest(s)
Bing, Applebot, Google, AOL, buran

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 12
» Views: 340
Python compiler
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:50 AM
» Replies: 1
» Views: 83
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Nov-29-2025, 07:34 PM
» Replies: 5
» Views: 96
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Nov-29-2025, 05:51 PM
» Replies: 0
» Views: 58
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Nov-29-2025, 07:39 AM
» Replies: 3
» Views: 11,145
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 222
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 752
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,850
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 224
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 177

 
  Submit button not working when using form
Posted by: tuannv562 - Apr-23-2018, 03:49 AM - Forum: Web Scraping & Web Development - No Replies

Hi all. I'm studying Django and i want to create a forum.
This is the html code code:

{% extends 'base.html' %}

{% load static %}
{% load cris..... More

Print this item

  generators as filters
Posted by: Skaperen - Apr-23-2018, 03:30 AM - Forum: News and Discussions - No Replies

suppose you have a couple routines in separate contexts that send data objects back and forth to each other? how easy is it to insert a generator to ..... More

Print this item

  financial technical indicators
Posted by: ian - Apr-23-2018, 03:23 AM - Forum: General Coding Help - Replies (2)

I am looking for packages of financial technical indicators that can be used to analyze financial data.
And I found pyti 0.2.1. Can anyone recommend ..... More

Print this item

  Python openCV "img" is not defined error
Posted by: Arontbt - Apr-23-2018, 03:15 AM - Forum: General Coding Help - Replies (2)

I'm using openCV to write an image to a new file. I got the following method from an openCV textbook but I get an error that says "img" is not defined..... More

Print this item

  trouble importing and converting CSV
Posted by: Devilish - Apr-23-2018, 01:20 AM - Forum: Data Science - Replies (1)

I am banging my head against the wall!!! I'm very new to Python and thought I'd actually run through some tutorials using the kind of data I'll be wo..... More

Print this item

  Help with Dictionaries and Lists of Lists
Posted by: Nate5800 - Apr-23-2018, 01:05 AM - Forum: Homework - Replies (5)

For the first part of my homework assignment, I have read in a file full of music keys and chords, and created a list of lists from the file that look..... More

Print this item

  Alternatives to Chrome WebDriver?
Posted by: chisox721 - Apr-23-2018, 12:35 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi Guys-Right now I'm using Chrome WebDriver to download some files from a URL daily. It usually works, but sometimes the script will open the browser..... More

Print this item

  Something that some of you may find handy
Posted by: CharlieGallie - Apr-22-2018, 11:48 PM - Forum: Web Scraping & Web Development - Replies (1)

I didn't really know what group to post this is, hopefully this is the best one. I made this thing for everyone to use how ever you want.
[python]
i..... More

Print this item

  Slow down a loop
Posted by: CharlieGallie - Apr-22-2018, 11:38 PM - Forum: Homework - Replies (3)

Hello, is there a way to slow down an entire loop. I don't want:

while True:
    code
    code
    code
    time.sleep(1)
..... More

Print this item

  Returning Specific Value in Files
Posted by: GuiltyVeek - Apr-22-2018, 04:19 PM - Forum: Data Science - Replies (1)

Hello, I'm new to Python and I've been going through some online tutorials. While quite a few all go through how to read files, I find that none reall..... More

Print this item

  Button Press When Pixel Color Changes
Posted by: bak989 - Apr-22-2018, 04:03 PM - Forum: Data Science - No Replies

I am new to scripting with python and I just need some help with something that is simple.
All I need to do is a button press or mouse click whenever ..... More

Print this item

  Open Pictures with Python
Posted by: MaxouRuEnIpTF34 - Apr-22-2018, 02:56 PM - Forum: General Coding Help - Replies (1)

Hello guys
with my workmate we have to make a programm.
I'll explain you it quickly.
So we would like to make a kind of narrative story in which..... More

Print this item

  finding exact and similar matches from pandas dataframe?
Posted by: PrateekG - Apr-22-2018, 01:22 PM - Forum: Data Science - No Replies

I have cleaned some data and created two dataframes.
Each dataframe has one column and this column contains product category names like- df1['ecomme..... More

Print this item

  if loop is not accepting &&
Posted by: A_Embedded - Apr-22-2018, 10:13 AM - Forum: General Coding Help - Replies (2)

I am converting a hex string value to hex integer and then shifting the bits after masking to pick only 2 bits out of 32 bits hex value. It works fine..... More

Print this item

  string transformation
Posted by: kerzol81 - Apr-22-2018, 09:04 AM - Forum: General Coding Help - Replies (2)

Hi,

Could you tell me the most pythonic way to make this transformation:

day='181212'
newday='2018-12-12'
I did this, but I..... More

Print this item

  a small project
Posted by: Skaperen - Apr-22-2018, 04:27 AM - Forum: Bar - No Replies

i implemented this small project in C a few years ago.

given any 2 of these 4 values (amps, volts, watts, ohms) it calculates the other 2 and displ..... More

Print this item

  a future project for some day
Posted by: Skaperen - Apr-22-2018, 03:40 AM - Forum: Bar - Replies (7)

i did implement this in C but want to add features i didn't have time for, so i set it aside. soon, i want to re-do the whole thing in Python.

this..... More

Print this item

  my nsleep command
Posted by: Skaperen - Apr-22-2018, 03:16 AM - Forum: Bar - Replies (1)

i've already implemented this in C. now, i want to make a Python version.

nsleep is similar to the sleep command but it takes up to 3 arguments to..... More

Print this item

  PyQt5
Posted by: xgrzeniu - Apr-22-2018, 02:29 AM - Forum: GUI - No Replies

Hi

Can You help me?? I have such a code

[python]
from PyQt5 import QtCore, QtGui, QtWidgets
import pymysql



class Ui_MainWindow(object):..... More

Print this item

  How do I code this equation in python (factor ceiling(2^127-1))
Posted by: Pleiades - Apr-21-2018, 08:38 PM - Forum: General Coding Help - Replies (5)

I want to factor this equation and I was doing so well on wolfram but now they want me to pay to see answers. Bummer!

How do I write the code for t..... More

Print this item

  Kakuro
Posted by: ab_our - Apr-21-2018, 08:22 PM - Forum: General Coding Help - Replies (2)

Hello everyone,
does anyone knows how to solve a Kakuro 9*9 using Python?
thank you

Print this item

  Import error when trying to import DDE (part of PyWin32)
Posted by: fbicalho - Apr-21-2018, 07:26 PM - Forum: General Coding Help - No Replies

Hi Everyone,

I am trying to use dynamic data exchange (DDE) under Windows 7 using Python 2.7. After installing PyWin32 I have tried to run the ddec..... More

Print this item

  How to declare TextBlob var
Posted by: 3115Tech - Apr-21-2018, 06:22 PM - Forum: General Coding Help - Replies (2)

I'm trying to get this to work inside a def, it works fine if I get rid of def main(): but when I do it this way no go.
I know I need to declare sAna..... More

Print this item

  Tic Tac Toe
Posted by: gellerb - Apr-21-2018, 03:51 PM - Forum: GUI - Replies (2)

I would need help regarding why Button callbacks don't work.

Here it is:

[python] def __init__(self, master):
super().__init__(maste..... More

Print this item

  Help with run commands from a python script
Posted by: necoxiro - Apr-21-2018, 12:12 PM - Forum: General Coding Help - Replies (6)

Hi, I'm a noob in python and I'm trying hard to get it to work.

I want to run a command line from a python script that will launch a blender render..... More

Print this item

  From python to qml
Posted by: Akhou - Apr-21-2018, 10:26 AM - Forum: General Coding Help - No Replies

Good morning;

I'm creating a project, in which I've to send data from python to qml, in fact, i've a template written in qml, something like that :..... More

Print this item

  pygame
Posted by: Dobrasz - Apr-21-2018, 10:13 AM - Forum: Game Development - Replies (13)

Hello,
Totally new to Python, learning with my son.
Can not get pygame to run. Here's the error that I'm getting:

Command "/usr/local/opt/python@..... More

Print this item

  How to acquire MySQLdb
Posted by: sunstar20 - Apr-21-2018, 05:29 AM - Forum: General Coding Help - Replies (8)

On checking python command prompt for 'import MySQLdb', the below error message is shown.

>>> import MySQLdb
[error]Traceback (most..... More

Print this item

  converting a substring of digits and keep what follows
Posted by: Skaperen - Apr-21-2018, 03:44 AM - Forum: General Coding Help - Replies (3)

i have a string with digits (possibly with a period) and something else at the end such as '1234.5foobar'. i want to extract and con..... More

Print this item

  Need help with List of Lists
Posted by: johnissa - Apr-21-2018, 01:23 AM - Forum: Homework - Replies (13)

Hi i really need help with creating a list of lists using a for loop under the following conditions:

[python]

a = [-1, 2, -2, 3, 41, 38, 22, 10,..... More

Print this item

  Looping URLs breaks them
Posted by: PythonStudent - Apr-21-2018, 12:41 AM - Forum: General Coding Help - Replies (2)

This happens only when looping.
I have been looking for 3 days now, and I did not get anywhere with this.
I have a list of words that need to be pla..... More

Print this item

  I need help
Posted by: ApplegateJ - Apr-20-2018, 10:00 PM - Forum: Homework - Replies (1)

Hello. I am new to using python!
I am using python version 3!
The question I need help with is;
Write a program that accepts the lengths of three ..... More

Print this item

  If statement
Posted by: Akhou - Apr-20-2018, 10:00 PM - Forum: General Coding Help - Replies (3)

Hey,
I've been trying to create a code that is able to detect the shape of objects and determine their corinations.
and depending on the shape of ea..... More

Print this item

  pip not working in Python 3.6.5
Posted by: nylanman - Apr-20-2018, 08:03 PM - Forum: General Coding Help - Replies (1)

Hello,
I just install 3.6.5 and tried to install Flask, but pip or pip3 does not work.
I tried:
>>> pip install flask
File "<stdin>", line 1
..... More

Print this item

  PyPDF2 or indentation issue
Posted by: siten0308 - Apr-20-2018, 06:50 PM - Forum: General Coding Help - Replies (3)

Hello

i am trying to read each file from a directory, then read the text from the pdf file, however its giving me an error message, first below is..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 7 hours ago Lou Pedroski55 General Codin...
  Python compiler Yesterday, 09:50 NeoQuant noisefloor General Codin...
  Trading Risk management s... 11-29, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... 11-29, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler 11-29, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579520
  Tutorial Requ... 513061
  Web Scraping ... 442383
  Newbie with P... 386415
  New Users Int... 381825
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Yesterday
StepanVoronin Yesterday
QABOB Yesterday
adityaN Yesterday
NeoQuant 11-29

User Panel Messages

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