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,970
» Latest member: Dichaelmag
» Forum threads: 38,731
» Forum posts: 175,552

Full Statistics

Online Users
There are currently 46 online users.
» 1 Member(s) | 37 Guest(s)
Google, Bing, AOL, Google Image, Facebook, KaydenJonah098

Latest Threads
Stephenchers
Forum: General Coding Help
Last Post: Dichaelmag
41 minutes ago
» Replies: 0
» Views: 13
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 7
» Views: 367
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,799
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 662
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,197
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,760
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 655
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,149
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,129
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,421

 
  Control a dot matrix printer
Posted by: Clement_2000 - Jan-26-2019, 12:21 PM - Forum: General Coding Help - Replies (4)

Hello,
I've recently got two of these amazing dot matrix printers. They support text data and ASCII commands control them.
So, I'd like to make a ..... More

Print this item

  Downloading a module Xlsxwriter
Posted by: dan789 - Jan-26-2019, 12:20 PM - Forum: General Coding Help - Replies (6)

Hello,

I want to create an excel sheet using Python and a step I need to do for it is to download a module called pip install XlsxWriter. Bu..... More

Print this item

  ValueError: could not convert string to float
Posted by: Prince_Bhatia - Jan-26-2019, 10:53 AM - Forum: Web Scraping & Web Development - Replies (2)

hi,

i am trying to crawl a website which is https://www.nseindia.com/live_market/dyn...Watch.json

when i ..... More

Print this item

  Read emails python 3.
Posted by: negru555 - Jan-26-2019, 07:27 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello guys.I am pretty noob in python.I wanna make a python email through cli cuz I love terminal and cmd and stuff like that.However none of the exam..... More

Print this item

  I can not install the emoji module
Posted by: nerd - Jan-26-2019, 04:07 AM - Forum: General Coding Help - Replies (1)

Greetings ,

I'm trying to install the emoji module, but I did not succeed .

information from the internet says that a red flashlight shou..... More

Print this item

  Same code - Different results
Posted by: italorosse - Jan-26-2019, 03:26 AM - Forum: GUI - No Replies

Hi everyone! I'm new in Linux/Python and I'm facing something strange. I have been obtaining different results executing the same piece of code. To su..... More

Print this item

  tkinter - global variable not working
Posted by: albry - Jan-26-2019, 03:08 AM - Forum: GUI - Replies (2)

Hello!

I am using Tkinter and doing GUI so that there is a 'save', 'save as', and 'open' button, along with a text box.
I have got everything wo..... More

Print this item

  replacing the open function
Posted by: Skaperen - Jan-26-2019, 02:41 AM - Forum: General Coding Help - Replies (2)

in a script where the builtin open() function does not need to be called, but os.open() does get called, what will happen if os.open is importe..... More

Print this item

  creating a list during program execution.
Posted by: hobbyprogrammer - Jan-26-2019, 12:54 AM - Forum: General Coding Help - Replies (2)

Is there any way of writing code, that will allow python to create
a list during the program execution. As of now I understand, that you
have to de..... More

Print this item

  Invalid Identifier In Long Text File
Posted by: asilverg - Jan-25-2019, 11:08 PM - Forum: General Coding Help - Replies (1)

I am currently doing a project that requires storing a lot of data, in the form of a list of dictionaries. Currently, I do this by writing it to a tex..... More

Print this item

  I need guidance with the web framework 'quart' (more specifically websockets)
Posted by: thedupdup - Jan-25-2019, 11:02 PM - Forum: Web Scraping & Web Development - Replies (1)

I am working with quart websockets, the server sends out messages 40 times per second. But on the client, it seems most the messages are received at t..... More

Print this item

  draw not showing all sprites
Posted by: ethanstrominger - Jan-25-2019, 10:10 PM - Forum: Game Development - No Replies

When I run the program below which is supposed to create 4 bouncing program, the game will display anywhere between 0-3 of the 4 rectangles I have add..... More

Print this item

  Web scraping (selenium (i think))
Posted by: Larz60+ - Jan-25-2019, 09:07 PM - Forum: Web Scraping & Web Development - Replies (10)

When scraping a new site, I like to download each page so that I can work on it offline until I perfect the code.

If I save for example browser.pag..... More

Print this item

  python on a cloud server
Posted by: IMuriel - Jan-25-2019, 07:52 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi im pretty new in python, so im already have a simple app runing locally, and im trying to make it run on digitalocean droplet, with ubuntu 16.04 tl..... More

Print this item

  Trying to help stressed out daughter
Posted by: Olly66 - Jan-25-2019, 07:26 PM - Forum: Homework - Replies (4)

Hi,

Let me first say I know nothing about python though I am an IT professional. My daughter is trying to write a Python program but it's failing...... More

Print this item

  Atom editor issue with python 3
Posted by: johnmick - Jan-25-2019, 05:50 PM - Forum: General Coding Help - Replies (2)

Hello i have just started to learn python and i have installed atom editor for it. The problem is the atom editor is running python 2.7 but i have ins..... More

Print this item

  switch limitations
Posted by: MuntyScruntfundle - Jan-25-2019, 05:15 PM - Forum: General Coding Help - Replies (3)

Is it really not possible to switch on multiple conditions?

[python] switch (id) {
case 1, 2, 3, 4, 17, 18, 19, 20:
print ..... More

Print this item

  Libraries
Posted by: jgennello - Jan-25-2019, 05:09 PM - Forum: General Coding Help - Replies (2)

Do libraries typically have a list of commands and usage. I'm trying to use the MCP3008 library for python and am not seeing a list of commands. I've ..... More

Print this item

  Calculating Grade Average
Posted by: IstvanCH - Jan-25-2019, 04:51 PM - Forum: Homework - Replies (5)

Hey
I'm currently working on a school assignment and I have to program a program to calculate the average of a custom amount of marks of which every ..... More

Print this item

  Help with python chronometer
Posted by: Anon962245 - Jan-25-2019, 04:45 PM - Forum: GUI - Replies (1)

Hello,

I'm building a chronometer as my first Python project, and I got it working to the point where when i press the STOP button on the GUI, the ..... More

Print this item

  Cannot open Chrome
Posted by: gahhon - Jan-25-2019, 04:19 PM - Forum: Web Scraping & Web Development - Replies (3)

from selenium import webdriver

driver = webdriver.Chrome()

driver.get("https://www.google.com/")
When execute this scrip..... More

Print this item

  Saving python cmd output into a text file with colours
Posted by: kapilan15 - Jan-25-2019, 03:51 PM - Forum: General Coding Help - Replies (2)

[python]

from colorama import Fore, Back, Style, init
import fpdf
from fpdf import FPDF


init()





paragraph = 'Whatever blame emerge..... More


Attached Files

Thumbnail(s)
   
Print this item

  Migration to a modern forum engine
Posted by: Alfalfa - Jan-25-2019, 03:50 PM - Forum: Board - Replies (21)

I know there is a lot of work behind such a thing, but I think it would be worthwhile to move to a different forum framework. The Arch Linux forum use..... More

Print this item

  Failed tkinter Compile In Custom 3.7.2 Build Using Custom Tcl/Tk Build
Posted by: gwc - Jan-25-2019, 01:56 PM - Forum: News and Discussions - No Replies

All,

I spent a few hours working on a custom Python 3.7.2 build using a custom (and successful) Tcl/Tk 8.6.9 build/install that continually failed ..... More

Print this item

  can't parse json file
Posted by: jolinchewjb - Jan-25-2019, 09:36 AM - Forum: General Coding Help - Replies (1)

I have below code:
[python]
import os
import datetime
import json


def prt_list(vdata, vtype,vcol):
print("Here is listing of {}:".format(..... More

Print this item

  Hello!New to python!
Posted by: sonedap - Jan-25-2019, 08:50 AM - Forum: Homework - Replies (2)

Hello!i am 17 years old and i started studying python in my school!
My teacher gave us some exercises and told us to find the mistakes in the code and..... More

Print this item

  Merge rows of 2 arrays
Posted by: vipinv23 - Jan-25-2019, 06:48 AM - Forum: General Coding Help - Replies (2)

Hello,

I have 2 arrays: time[1,2,3,4,5,] and data[0, 9, -15, 5, -2245]

I want combine these 2 arrays in such a way that I get a single array in ..... More

Print this item

  Tkinter Button Settings
Posted by: kaanertugrul - Jan-25-2019, 06:30 AM - Forum: GUI - Replies (3)

I have a problem about buttons. Example:

[python]
root=Tk()

def callback():
print("My name is Kaan")

buton=ttk.Button(root, text="Call..... More

Print this item

  Regarding encryption and decryption
Posted by: naressh1994 - Jan-25-2019, 05:22 AM - Forum: General Coding Help - Replies (1)

Can you suggest me a python module that can be used for encrytion and decrytion of tripledes encrytion algorithm and a sample program for that.

Print this item

  code keeps running if i use from threading import timer?
Posted by: birddseedd - Jan-25-2019, 03:58 AM - Forum: General Coding Help - Replies (3)

seems like my code keeps running if i use this to create a pause. this isn't exactly my goal. I need to "pause" the code for a period of time. but if ..... More

Print this item

  Help with plot, how to show ranking with boxes
Posted by: icebelt - Jan-25-2019, 01:58 AM - Forum: General Coding Help - Replies (1)

[Image: data-visualization-gelman-1024x768.jpg]

Hi! I am quite new to Python and I..... More

Print this item

  Reset Button
Posted by: CPD3408 - Jan-25-2019, 01:53 AM - Forum: GUI - Replies (3)

Hi, I've decided to make a BMI calculator using Tkinter. I have everything I need so far except the reset button. I have been using a text variable in..... More

Print this item

  Roshambo with only 1 if switch
Posted by: Clunk_Head - Jan-24-2019, 10:28 PM - Forum: Code sharing - Replies (12)

Trying to learn more pythonic ways of doing things.
How'd I do? Any suggestions welcome, please.
[python]
import random
combinations = {"Paper": ..... More

Print this item

  Napkin Platformer
Posted by: abscorpy - Jan-24-2019, 10:24 PM - Forum: Game Development - Replies (3)

I have 2 issues:

1)I dont know how to run the program without adding a lot of loads of the same file in order for it not to crash when the for loop..... More


Attached Files

Thumbnail(s)
               
Print this item

  How to improve the quality of my code?
Posted by: grobattac37 - Jan-24-2019, 10:04 PM - Forum: General Coding Help - Replies (3)

Here is some code I wrote that finds some values: a,b,c,d,e, that satisfy some expression. I would like to know: how I could shorten this code (perhap..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Stephenchers 41 minutes ago Dichaelmag Dichaelmag General Codin...
  Comparing 2 100GB Drives/... 2 hours ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [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...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577287
  Tutorial Requ... 500430
  Web Scraping ... 440964
  Newbie with P... 384997
  New Users Int... 369393
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Dichaelmag Today
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday

User Panel Messages

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