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,978
» Latest member: DerekHet
» Forum threads: 38,733
» Forum posts: 175,564

Full Statistics

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

Latest Threads
Легализации Правды
Forum: General Coding Help
Last Post: DerekHet
30 minutes ago
» Replies: 0
» Views: 6
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
10 hours ago
» Replies: 2
» Views: 229
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 861
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 908
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 599
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,949
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,365
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,944
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,371
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,283

 
  I need help with my code
Posted by: pasteldreams - Mar-13-2020, 09:46 AM - Forum: Homework - Replies (3)

Hi there everyone
I am writing a fake medical database for a assignment and there is an unexpected uninedent in my script, would someone help me corr..... More

Print this item

  Beginner - simple package installation error
Posted by: mefeng2008 - Mar-13-2020, 09:17 AM - Forum: General Coding Help - No Replies

Hi masters

I was trying to install packages (pyautogui and opencv-)through pip commands.

I have got the following traceback. I installed succes..... More

Print this item

  Convert Generator into List
Posted by: jesanma - Mar-13-2020, 08:29 AM - Forum: General Coding Help - Replies (1)

Hi guys,

I understand that in order to convert a Generator object to a List, it is as simple as casting a list(<Object Generator>). However, this i..... More

Print this item

  can we write command output to new csv file using Panda package?
Posted by: PythonBeginner_2020 - Mar-13-2020, 05:36 AM - Forum: General Coding Help - Replies (3)

Dear,
I need to execute some commands on remote servers and i need to write the output to as CSV file in python.
can we write command output to new ..... More

Print this item

  Unexpected change to a list in a small amount of self-contained code
Posted by: Johno - Mar-13-2020, 02:07 AM - Forum: Homework - Replies (5)

I am using Python 3. I am getting an unexpected result: a list is changing, but I do not understand how/where it changes. Here is my code:
[python]..... More

Print this item

Question How to create .exe with PyGame [BEGINNER]
Posted by: PolarBear123 - Mar-13-2020, 01:21 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I have looked through so many online guides, blogs, and tons of questions on Stackexchange and so, but I can't seem to find an answer..... More

Print this item

  Machine actively refused it. External IP only
Posted by: ramboahoe - Mar-12-2020, 11:11 PM - Forum: Networking - Replies (1)

client code

[python] import threading
from pynput.keyboard import Key, Listener
import logging
import socket
import json
import time
..... More

Print this item

  How to Save Full Email Body to CLOB in Oracle w/Carriage Returns?
Posted by: bmccollum - Mar-12-2020, 09:58 PM - Forum: General Coding Help - Replies (1)

I've been working on code that successfully saves an entire email body content to a CLOB field in Oracle.

For the life of me, I cannot get the carr..... More


Attached Files

.txt   PartialCode.txt (Size: 294 bytes / Downloads: 537)
Print this item

  Custom logging handler looping continuously
Posted by: linuxaddikt - Mar-12-2020, 06:58 PM - Forum: General Coding Help - No Replies

Hi all,

I'm running into some sort of looping issue attempting to implement logging in my project using a custom handler so I'm seeking for help. ..... More

Print this item

  Assign random value
Posted by: mephist34 - Mar-12-2020, 06:47 PM - Forum: General Coding Help - Replies (2)

I have a file that contains only x's and 2's. I want to change the x's to either 1 or 2 and the sum of 1's in the new file must be exactly 10000. The ..... More

Print this item

  Hello, i want publish a Tool for GUI development.
Posted by: Honghaier - Mar-12-2020, 06:31 PM - Forum: GUI - Replies (4)

Smile Hello,I am Honghaier, A programmer come from China.I found it's difficult to design GUI of Python when I want develop some applications.So I..... More

Print this item

  Money conversion - problems with lists and .format function
Posted by: fatherted99 - Mar-12-2020, 06:21 PM - Forum: General Coding Help - Replies (1)

[python]
money = int(input("How much money do you want to convert: "))
not_quit = True

while not_quit == True:
money_data = []
print("T..... More

Print this item

  Help Graphing Arduino Data Real Time in Python
Posted by: nschulz - Mar-12-2020, 06:15 PM - Forum: General Coding Help - No Replies

Hey folks, I am currently trying to plot my sensor data from my arduino live using python. I have been following the information from https://www.thep..... More

Print this item

  plotly.graph_objs - Scatter mode error
Posted by: sambanerjee - Mar-12-2020, 06:07 PM - Forum: General Coding Help - Replies (14)

Hi:

I'm working on a project (I'm new to Python) and am stuck at a method - any help will be greatly appreciated.
This is the portion that is er..... More

Print this item

  Send an email
Posted by: Jokoba - Mar-12-2020, 05:30 PM - Forum: Networking - No Replies

Hello,

I am learning Python and the first thing I managed to do is sending an email to myself. I used the code below that I found online I pretty m..... More

Print this item

  Grid data entry problem
Posted by: kenwatts275 - Mar-12-2020, 04:46 PM - Forum: GUI - Replies (3)

Hello all,
I am trying to write a program to enter data into a grid.
When I try printing the results of the data entry, it only prints the last row...... More

Print this item

  Flask-Sqlalchemy count products in specific category
Posted by: imawesome - Mar-12-2020, 03:40 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi , I want to make a product counter in specific category. I searched but i didn't find. Please help

This is my models.py

[python]class Product..... More

Print this item

  SyntaxError: multiple statements found while compiling a single statement
Posted by: Kayode_Odeyinka - Mar-12-2020, 03:39 PM - Forum: General Coding Help - Replies (1)

Please assist as i need help with this urgently for an assignment.

Am trying to create a CSV with a set of data using this code but the shell is d..... More

Print this item

  complex algebraic function simplify
Posted by: catlessness - Mar-12-2020, 02:52 PM - Forum: Data Science - Replies (1)

[python]
import sympy

a=sympy.Symbol('a')
C=sympy.Symbol('C')
t=sympy.Symbol('t')
E=sympy.Symbol('E')
R1=sympy.Symbol('R1')
R2=sympy.Symbol('..... More

Print this item

  Phone numbers
Posted by: ovidius80 - Mar-12-2020, 01:51 PM - Forum: General Coding Help - Replies (2)

Hello everyone

I am trying to use phone-iso3166, phonenumbers and pycountries to create on the fly dictionaries of countries with the corresponding..... More

Print this item

  Updating combobox value from database
Posted by: t0ma52 - Mar-12-2020, 01:31 PM - Forum: GUI - Replies (1)

Hello,
Im beginner in in Ptyhon and pyQT5. I've created simple interface uing Qt Designer. Combobox contains list of groups selected from mySQL datab..... More

Print this item

  Execute script in IDLE with parameters
Posted by: Pavel_47 - Mar-12-2020, 01:29 PM - Forum: General Coding Help - Replies (11)

Hello,
How to pass parameters while executing python script in IDLE environment ?
Thanks

Print this item

  Tkinter Winget python text
Posted by: Marc - Mar-12-2020, 10:28 AM - Forum: GUI - Replies (5)

Hello, I use a text winget, when the window is full how to automatically scroll the text upwards to see the last line displayed.

Example.

[pytho..... More

Print this item

  Holy atom batman ... Look what's comming down the pike
Posted by: Larz60+ - Mar-12-2020, 10:12 AM - Forum: News and Discussions - Replies (2)

Single atom transistor. Who wants to write Python2021?

https://www.purdue.edu/newsroom/research...kAtom.html

   

Print this item

  Railroad diagram of python's grammar
Posted by: Gribouillis - Mar-12-2020, 09:33 AM - Forum: Bar - Replies (3)

While creating a new parser, I produced a railroad diagram of python 3.8's syntax as described h[url=https://python-forum.io/thread-24954.html]..... More


Attached Files

.pdf   python38-3.pdf (Size: 165.67 KB / Downloads: 646)
Print this item

  get file by proxy and header using urllib.request.urlretrieve
Posted by: randyjack - Mar-12-2020, 09:22 AM - Forum: General Coding Help - No Replies

url = "https://url"

proxy = urllib.request.ProxyHandler({'https': 'https://proxy'})
opr = urllib.request.build_opener(proxy)
urllib.request.insta..... More

Print this item

  Create a list of co-ordinates from Mouse press events
Posted by: Jagruthi - Mar-12-2020, 08:42 AM - Forum: General Coding Help - No Replies

I'm trying to create a cv2.contour from Mouse press events( i.e., Drawing on the image and converting it into contour)
Here is the code, in this the..... More

Print this item

  To build Q&A system
Posted by: constantin01 - Mar-12-2020, 08:39 AM - Forum: Data Science - Replies (1)

Hi

I would like to build Question-Answering System using maching learning.

Just idea: one asks questions about, let say, about linear algebra (..... More

Print this item

  Hi! + Poker calculator
Posted by: SpookyKooks - Mar-12-2020, 02:35 AM - Forum: General Coding Help - Replies (2)

Hello! I am SpookyKooks, and I love programming in Python. Thank you for having me!

I need help with a project. I am writing a basic text-based Tex..... More

Print this item

  the data format i am designing with indentation
Posted by: Skaperen - Mar-12-2020, 12:55 AM - Forum: News and Discussions - Replies (7)

i am designing a data format intended to be a simple format for humans to enter genealogical data as files that be easily read, especially when not to..... More

Print this item

  Python Speech Engines?
Posted by: Robo_Pi - Mar-11-2020, 11:52 PM - Forum: General Coding Help - Replies (2)

What types of speech engine platforms or libraries are available for use with Python?

I've been programming in Windows using C# and Microsoft Speec..... More

Print this item

  a project i am thinking about
Posted by: Skaperen - Mar-11-2020, 10:56 PM - Forum: News and Discussions - No Replies

i like to have things that figure out what to do where it makes sense. this project is one of those. what i want to do is process a string looking f..... More

Print this item

  Regex on more than one line ?
Posted by: JohnnyCoffee - Mar-11-2020, 10:32 PM - Forum: General Coding Help - Replies (3)

I have a regular expression that is long how do I organize the regex by skipping lines just so it doesn't get too long, ex :

[python]
var = re.mat..... More

Print this item

  what does code mean (python, pytorch)
Posted by: sveto4ka - Mar-11-2020, 07:45 PM - Forum: General Coding Help - Replies (2)

Please, tell me what does code mean:
[python] for in_channel, out_channel, stride, num_block in [
[ 64, 64, 1,..... More

Print this item

  Python 3.8.1 Decimal error
Posted by: christopherhornback - Mar-11-2020, 07:07 PM - Forum: Code Review - Replies (1)

So I was running a simple loop to get me a list of decimal places, and stumbled onto this.

>>> for i,a in enumerate(list(range(20))):
i, a*0.05..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Легализации Правды 30 minutes ago DerekHet DerekHet General Codin...
  Integer Factorization Too... 10 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577371
  Tutorial Requ... 500748
  Web Scraping ... 441026
  Newbie with P... 385070
  New Users Int... 369595
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
DerekHet Today
stephaniehendrix Today
Williamcaurb Today
Schirag Today
Jacobjoift Today

User Panel Messages

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