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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,584

Full Statistics

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

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
37 minutes ago
» Replies: 4
» Views: 126
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
Yesterday, 03:59 PM
» Replies: 4
» Views: 138
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 84
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,549
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 235
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,058
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 471
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,105
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,184
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 862

 
  what does sys.byteorder() return for others?
Posted by: Skaperen - Sep-02-2019, 10:18 PM - Forum: News and Discussions - Replies (2)

documentation describes sys.byteorder() as returning "little" for little-endian, and "big" for big-endian. what would it return for other byte orders..... More

Print this item

  'utf-8' codec can't decode byte 0xda in position 184: invalid continuation byte
Posted by: karkas - Sep-02-2019, 09:44 PM - Forum: General Coding Help - Replies (8)

Hi everyone,

I'm getting this error and have been looking online but don't really understand for my specific case and don't really know why th..... More

Print this item

  Having trouble with minute stock data
Posted by: MAZambelli4353 - Sep-02-2019, 08:14 PM - Forum: General Coding Help - Replies (2)

below is a slice of the data I'm dealing with and when I try to filter out a time its always giving me an error. I don't know if it has to do with ti..... More

Print this item

  Nelder-Mead gives wrong result
Posted by: Alex009988 - Sep-02-2019, 07:39 PM - Forum: Data Science - No Replies

Hello. I want to solve some optimization problem with Nelder-Mead algorithm. After that I want to port it into VBA.
So I use this code
[python]
cl..... More

Print this item

  PIP cannot install Pygame
Posted by: Amaly84 - Sep-02-2019, 07:35 PM - Forum: Game Development - Replies (6)

Hi, i am a newbee. I tried to install pygame with pip but it seems can't work. The process only stop at notification of "satisfied requirement" but wi..... More

Print this item

  Create database in python module ?
Posted by: Johnse - Sep-02-2019, 04:43 PM - Forum: News and Discussions - Replies (5)

Is there a way to create
database in python not confuse
with connect to external database.

And then write, import to and from it
to and from ..... More

Print this item

  geting started with Micropython on ESP 32 - do i need to have a virtual environment?
Posted by: apollo - Sep-02-2019, 04:25 PM - Forum: General Coding Help - No Replies

i am workin on getting started with MicroPython on ESP 32. i have read several postings here and made up my mind - but some questions still remain.

..... More

Print this item

  Need some help
Posted by: JoeM - Sep-02-2019, 04:17 PM - Forum: General Coding Help - Replies (3)

I am trying to create a little option for my script and found something online but it is not working: [python] def path() :
print ("1.Turn left")..... More

Print this item

  Python Newbie - Python & IIS
Posted by: fioranosnake - Sep-02-2019, 02:29 PM - Forum: Web Scraping & Web Development - No Replies

HI,

I have moved over to Python Web Development from aspx and VB. I have create a simple web app using vs2019 that runs perfectly in LocalHost on ..... More

Print this item

  Python sorts all arrays instead of one.
Posted by: Alex009988 - Sep-02-2019, 01:59 PM - Forum: General Coding Help - Replies (2)

Hello. I want only to sort c1. Using that code it sorts both c and c1
[python]def f(v):
x=v[0]
y=v[1]
return x**2 + x*y + y**2 - 6*x -..... More

Print this item

  Flask without Flask
Posted by: venquessa - Sep-02-2019, 12:37 PM - Forum: Networking - Replies (2)

Hi,

I have been writing a fairly extensive home automation system in Python (and C++ for microcontrollers). I have it all working and in operation f..... More

Print this item

  dataframe(pd) learning
Posted by: zarize - Sep-02-2019, 11:03 AM - Forum: Web Scraping & Web Development - No Replies

Hi guys,

I would like to extract my code into columns.

Why do i get only last row in the excel file?

[python]from bs4 import BeautifulSoup
i..... More

Print this item

  Need Help with input from Web form
Posted by: amitjain78 - Sep-02-2019, 10:08 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a python code where I am running a Oracle query with a particular set of Date parameters.
Now the requirement is to have this set of p..... More

Print this item

  Are there programs that convert .ui files to .py for you?
Posted by: Mocap - Sep-02-2019, 05:39 AM - Forum: GUI - Replies (6)

I'm trying to convert .ui files to .py files but I'm experiencing tremendous frustration in doing it manually. I've searched Google and I'm not having..... More

Print this item

  I need help with a code
Posted by: cuongvanbui - Sep-02-2019, 05:17 AM - Forum: General Coding Help - Replies (3)

Hi, I dont know what Im doing wrong.

When writing this code I get syntax error. I have Python 3.7 installed

[python]first_name = "cuong"
last_name =..... More

Print this item

  references to functions
Posted by: Skaperen - Sep-02-2019, 02:09 AM - Forum: Bar - Replies (2)

i had to call one of two functions in a loop in another function based on the truth of an expression. so i made it select the function reference, sin..... More

Print this item

  Plotting number on graph
Posted by: william888 - Sep-02-2019, 01:03 AM - Forum: General Coding Help - Replies (1)

Hi,

Below is a sample code which I plotted the graph, however I do not know how to plot number point on the graph.

Can anyone kindly advice? Tha..... More

Print this item

  Why is ordertotal returning zero in my code?
Posted by: pythonprogrammer - Sep-02-2019, 12:56 AM - Forum: General Coding Help - Replies (1)

I am trying to use a variable ordertotal to compute the total of an order with tax included in the code below. In the last line of my code I am trying..... More

Print this item

  A trouble with VS Code
Posted by: Truman - Sep-01-2019, 11:41 PM - Forum: Bar - Replies (24)

Alright, the last upgrade of Window 10 unexpectedly brought VS Code so I decided to give it a try. Started with following short tutorial from this for..... More

Print this item

  What do you think of this procedure to create a path to a folder
Posted by: atlass218 - Sep-01-2019, 07:51 PM - Forum: General Coding Help - Replies (10)

Hi; here is a sample of the code of my application being created:

[python]
import os
from os import path
import pathlib
import sys

scriptDirectory=o..... More

Print this item

  I can't install bigfloat using pip
Posted by: riccardoob - Sep-01-2019, 06:57 PM - Forum: General Coding Help - Replies (6)

Here is the error that's showed in the prompt when i try the command, I think it has something to do with the file setup.py, at first I thought of an ..... More

Print this item

  Stuck - need help
Posted by: IvyMae - Sep-01-2019, 06:42 PM - Forum: Homework - Replies (4)

Hello, this is the assignment:
Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay should be the no..... More

Print this item

  my ideas for a new sleep command
Posted by: Skaperen - Sep-01-2019, 06:38 PM - Forum: News and Discussions - Replies (1)

i hate when a sleep loop gradually creeps off time. doing sleep 60 doesn't synchronize to the minute, for example. my plan is to write a new sleep c..... More

Print this item

  Sound activated command
Posted by: michaels - Sep-01-2019, 05:46 PM - Forum: General Coding Help - Replies (2)

Hello, I am relatively new to Python but I do know some basics. If it were possible, it would be great if someone could lead me in the right direction..... More

Print this item

  loop through python pandas data frame
Posted by: Johnse - Sep-01-2019, 05:38 PM - Forum: General Coding Help - Replies (4)

Hello,

I tried to loop through pandas data frame.
However I receive an error message.

with a code like this:

one error is unexpected EOF wh..... More

Print this item

  Saved Programs
Posted by: jpburrall - Sep-01-2019, 05:11 PM - Forum: General Coding Help - Replies (3)

Programs are automatically saved to User Directory four levels deep.
How can I specify a more accessible location?
No snickering at my simple questi..... More

Print this item

  Tkinter button help and general commands
Posted by: Iceman - Sep-01-2019, 04:44 PM - Forum: GUI - Replies (1)

[b]Hey guys, sorry this is gonna be a long thread and I'm very basic at python and tkinter, so just stay with me Big Grin .

So im trying to make..... More

Print this item

  Is mainloop() necessary?
Posted by: escape_freedom13 - Sep-01-2019, 01:04 PM - Forum: GUI - Replies (2)

Henlo,
I'm a noob to Python and Tkinter, learning things, Using Python 3.7.4 in a Windows PC, using default IDLE for programming. This is a simpl..... More

Print this item

  How to make it scroll vertically?
Posted by: Piethon - Sep-01-2019, 12:51 PM - Forum: Game Development - Replies (2)

Hello.
I wrote a little script in pygame, that let's a background move horizontally.
I actually want it to scroll vertically. But I don't know how...... More

Print this item

  Chitty
Posted by: ichabod801 - Sep-01-2019, 12:39 PM - Forum: Bar - No Replies

If we are going to call exclamation points (!) bangs, then we need to have another symbol that we call a chitty, so we can type chitty chitty bang ban..... More

Print this item

  Why does my code only work once?
Posted by: NonSufficitOrbis - Sep-01-2019, 10:43 AM - Forum: General Coding Help - No Replies

I have a little python script that checks my current IPv4 DNS Server address. It's working just fine. I use the wmi package.

Now: I use this scrip..... More

Print this item

  Python Homework Question
Posted by: OrcDroid123 - Sep-01-2019, 08:23 AM - Forum: Homework - Replies (1)

Can someone help me with my python homework I have been stuck on it for days now?

Write a program that filters different chemical compounds from a ..... More

Print this item

  Substr on Pandas Dataframe
Posted by: Scott - Sep-01-2019, 06:21 AM - Forum: Data Science - Replies (1)

Hi everyone,

I have a DF and I want to set an if statement in a function to sum a value if the first part of a field = '10'. This would be easy in ..... More

Print this item

  Drag items across tabs
Posted by: Alfalfa - Sep-01-2019, 01:00 AM - Forum: GUI - Replies (5)

When a dragged item hovers on a tab, I want the view to switch on this tab. The problem is two fold;

1. How to trigger new events once the mouse en..... More

Print this item

  [split] Name error
Posted by: ktck001122 - Aug-31-2019, 11:24 PM - Forum: General Coding Help - Replies (3)

I have this code but but when I Debug error as bellow:
import turtle
Code:
wn = turtle.Screen()
wn.bgcolor()
wn.title('face of a clock')

cloc..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 37 minutes ago bimosora Pedroski55 General Codin...
  print does not open conso... Yesterday, 15:59 Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium Yesterday, 08:57 glestwid Larz60+ General Codin...
  Fred Economic Data API 10-02, 15:05 warrior42 Trickety Web Scraping ...
  Parse Markdown / get the ... 10-02, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577495
  Tutorial Requ... 501481
  Web Scraping ... 441112
  Newbie with P... 385164
  New Users Int... 369979
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday
DataAnalytics021 Yesterday

User Panel Messages

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