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,941
» Latest member: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 9
» Views: 463
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
Today, 08:55 AM
» Replies: 1
» Views: 320
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,665
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,020
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,373
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,923
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,695
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,785
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,929
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,485

 
  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

  Coding problem in a Pygame
Posted by: Sghet - Apr-20-2018, 06:12 PM - Forum: Game Development - Replies (4)

Hi! Im Sghet, im starting to program in Python 3. Im learning with the "Python crash course" of Eric Matthes. One of the project is to code a game sim..... More

Print this item

  post data problemHi guys I have small problem in python.I'm getting this error: "PO
Posted by: jure98 - Apr-20-2018, 05:05 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi guys

I have small problem in python.I'm getting this error:

[error]"POST data should be bytes, an iterable of bytes, or a file object. It can..... More

Print this item

  Simple send and recive string Server/Client
Posted by: Epilepsy - Apr-20-2018, 02:08 PM - Forum: Networking - Replies (1)

Hi there, i'm new so sorry if I miss a rule, I read it but i'm not sure if get them all
And sorry for my english i'm learning this Big Grin

Mi..... More

Print this item

  Object oriented area of a triangle
Posted by: xterakojede - Apr-20-2018, 01:19 PM - Forum: Homework - Replies (2)

Please i need help, this code does not compute the area

[python]
# An object-oriented programming style to calculate area of triangle (1/2 base ti..... More

Print this item

  Missing Privileges to execute a query on SAP HANA thorugh pyhdb
Posted by: agrella - Apr-20-2018, 10:43 AM - Forum: Networking - Replies (1)

Hi guys!

I'm trying to execute a simple query by using pyhdb.

Here is my code:

import pyhdb as db

HDB_TRACE=1

db.tracing =True

conne..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 hour ago Anunderling deanhystad General Codin...
  A coding beginner needs h... Today, 08:55 Littlefish paul18fr General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  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...
Most views
  The best Prog... 576638
  Tutorial Requ... 498702
  Web Scraping ... 440479
  Newbie with P... 384404
  New Users Int... 367762
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
pllrdvalery Today
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday

User Panel Messages

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