Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,643
» Latest member: FastCode
» Forum threads: 37,392
» Forum posts: 169,932

Full Statistics

Online Users
There are currently 593 online users.
» 2 Member(s) | 585 Guest(s)
Google, Bing, Applebot, Yandex, AOL, Gribouillis, snippsat

Latest Threads
if else statements
Forum: General Coding Help
Last Post: DeaD_EyE
10 minutes ago
» Replies: 8
» Views: 3,796
Win or Loss Prediction
Forum: General Coding Help
Last Post: ksasi2k3
31 minutes ago
» Replies: 2
» Views: 93
Pulsing notification icon
Forum: Board
Last Post: plaintivemiserly
3 hours ago
» Replies: 4
» Views: 1,166
Cucumber installation
Forum: General Coding Help
Last Post: sawtooth500
4 hours ago
» Replies: 1
» Views: 68
watchdog on_modified
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:23 PM
» Replies: 3
» Views: 167
how to edited Tkinter Top...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 05:49 PM
» Replies: 5
» Views: 124
Volume label
Forum: Bar
Last Post: DPaul
Yesterday, 03:16 PM
» Replies: 3
» Views: 131
Python Project Structure ...
Forum: General Coding Help
Last Post: b19wh33l5
Yesterday, 12:21 PM
» Replies: 0
» Views: 87
What software to use?
Forum: General Coding Help
Last Post: mojobadshah
Yesterday, 09:28 AM
» Replies: 3
» Views: 721
Using xml.parsers.expat I...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 07:36 AM
» Replies: 3
» Views: 110

 
  Add space between plots
Posted by: AdWill97 - May-15-2019, 02:04 PM - Forum: Data Science - No Replies

Hello I am plotting 4 different plots in pandas. 3 of which have the same x axis scale, the last one being different. when i run the code and it shows..... More

Print this item

  define a diagonal matrix from a matrix
Posted by: amalalaoui - May-15-2019, 12:29 PM - Forum: Homework - Replies (1)

I need a help plz I want to construct a diagonal matrix D from a matrix A the first element of the diagonal matrix D must be the product of all elemen..... More

Print this item

  please help this newb install pygame
Posted by: iofhua - May-15-2019, 11:59 AM - Forum: General Coding Help - Replies (7)

I just installed python 3.7.3

What is the command to install pygame? I have tried:

pip install pygame
pip3 install pygame
python3 -m pip insta..... More

Print this item

  How to assign a "Score" variable to each element in a list
Posted by: Reta - May-15-2019, 09:33 AM - Forum: Homework - Replies (5)

Hey all, I was tasked to create a game for homework but I still can't seem to figure out how to assign each individual player a "Score" variable that ..... More

Print this item

  Find string and add character - newbi
Posted by: PyDK - May-15-2019, 09:17 AM - Forum: General Coding Help - Replies (1)

I am in the process of learning Python. Now I have a concrete challenge I would like to give my self. Once in a while I need to do some changes in a V..... More

Print this item

  Help me,send message via tkinter
Posted by: chano - May-15-2019, 07:33 AM - Forum: GUI - Replies (2)

Hello boys,
i have a one question,
is it possible tkinter to send email after click 10 times on button, i want when button is push 10 times, at 10th..... More

Print this item

  Publishing two boards side by side
Posted by: DJ_Qu - May-15-2019, 07:28 AM - Forum: General Coding Help - Replies (4)

Hello,
We are implementing a simple console game of battleship. It has two boards (one human, one AI).
I want to have numbers 1 to 10 in a column ne..... More

Print this item

  o365 special subject mail download issue
Posted by: anna - May-15-2019, 07:27 AM - Forum: General Coding Help - Replies (3)

Hi,

I am getting specific mail in Inbox with subject 'ACTIVE DSL DUMP EPOS' on daily basis, with extension .gz. I am trying to download attachment,..... More

Print this item

  Reading a Regex
Posted by: stahorse - May-15-2019, 06:34 AM - Forum: General Coding Help - Replies (4)

Hi,

I have this code:
[python]import re

text = 'NoErrorRE: [EXTERNAL] PL_192_01_28Claire Gravell KingService EscalationNormal'

p = re.compil..... More

Print this item

  moving a sprite
Posted by: pfaber11 - May-15-2019, 06:28 AM - Forum: Game Development - Replies (3)

Could somebody please tell me the best way to move a sprite on the screen in pygame. I don't mind installing another module . thanks.


It's not th..... More

Print this item

  Iterating Variables...?
Posted by: JesseTheNewb - May-15-2019, 05:58 AM - Forum: General Coding Help - Replies (3)

I am brand new to coding (it has been about 48 hours since I decided to give it a go), so I'm sure the answer to this problem is something simple, how..... More

Print this item

  python 2D array creation and print issue
Posted by: developerbrain - May-15-2019, 05:47 AM - Forum: General Coding Help - Replies (5)

[python]
str1 = "snbdsbhaswertybvbx"
str2 = "bhzbhcgsdwertyndvdddwsdws"
str1len = len(str1)
str2len = len(str2)

arr = [[0]*str2len]*str1len

for i in..... More

Print this item

  g Null Byte using DictReader
Posted by: eshwinsukhdeve - May-15-2019, 05:08 AM - Forum: General Coding Help - Replies (13)

I have the below code
[python]
stream = io.StringIO(csv_file.stream.read().decode('utf-8-sig'), newline=None) // error is here

reader = csv.DictR..... More

Print this item

  How to extrac a data table from Pdf document using Python
Posted by: Amit0503 - May-15-2019, 03:09 AM - Forum: General Coding Help - Replies (1)

Hi,
I am working on a project where few data tables from pdf document needs to be extracted into an excel file only when the table page or the table ..... More

Print this item

  Inserting csv values into SQL server
Posted by: vincentwebs - May-15-2019, 02:16 AM - Forum: General Coding Help - Replies (3)

Hey all,

I am running into a small issue that I am unable to get around at the moment. Right now I am trying to insert values into a tablr in sql b..... More

Print this item

  If statement won't print
Posted by: coreywratchford66 - May-14-2019, 10:58 PM - Forum: General Coding Help - Replies (1)

When I run this code there is no error but it isn't printing match like I want it to. Any idea as to why?

The code is as follows.
[python]
while ..... More

Print this item

  convert a list of string+bytes into a list of strings (python 3)
Posted by: pacscaloupsu - May-14-2019, 08:49 PM - Forum: Data Science - Replies (4)

Hello everyone!

I would like to extract the first bytes of a binary file, and convert them into strings, in a list.
[python]
def binaryMethod(..... More

Print this item

  Can Python 3.6 program handle Python 2.7 algorithm?
Posted by: Socrates123 - May-14-2019, 07:37 PM - Forum: General Coding Help - Replies (2)

I have been learning Python programming in Zed A. Shaw's book "Learning Python 3 the Hard Way" in which I write Python programs in Notepad++ and then ..... More

Print this item

  Question in the twilight zone! What would you use if there was no python?
Posted by: rxndy - May-14-2019, 07:03 PM - Forum: Bar - Replies (15)

What language would you use if python did not exist?

Print this item

  Shutdown any audio command
Posted by: francisco_neves2020 - May-14-2019, 06:51 PM - Forum: GUI - Replies (2)

Hi guys i have been absent for a while do to house changing. I'm back now, trying to finish my python program. This are two audio commands in my progr..... More

Print this item

  call dict object result key error
Posted by: lateublegende - May-14-2019, 04:52 PM - Forum: General Coding Help - Replies (2)

hello, my program include a dict, but when I try to call a object of the dict, that result with a KeyEror
[python]
actualsearch=0
dict={ 0: 41, 1: ..... More

Print this item

  How to convert rows to columns.
Posted by: jarrod0987 - May-14-2019, 04:37 PM - Forum: General Coding Help - Replies (1)

I'm playing around with incomplete columnar ciphers. What is the fastest was to convert rows to columns when the columns may not all be the same lengt..... More

Print this item

  IDLE Deployment to classroom
Posted by: siwekp - May-14-2019, 03:45 PM - Forum: General Coding Help - Replies (1)

Hey, i've deployed Python 3.7.3 to a suite of computers, no problem there, the issue i have is getting the IDLE.bat file to run in a restricted enviro..... More

Print this item

  py2 to py3 conversion
Posted by: Vysero - May-14-2019, 03:40 PM - Forum: General Coding Help - Replies (1)

Hey guys, its been a while since I have worked with Python. I remember there were a few changes when py moved from 2 too 3. I am getting a syntax erro..... More

Print this item

  Requesting help with 3D plotting with quivers
Posted by: Akan2019 - May-14-2019, 02:05 PM - Forum: General Coding Help - Replies (1)

Hello,
I am trying to write a python script to read columns of data from a file, construct a vector and plot the vector data at the height of the 'en..... More

Print this item

  Saving detections to a file
Posted by: JosefFilosopio - May-14-2019, 02:04 PM - Forum: General Coding Help - Replies (6)

Hello!

For a project I am in need of a specific data structure. I am not sure how to call this or where to find this so I hope someone can help me...... More

Print this item

  How to write to csv file
Posted by: SriMekala - May-14-2019, 01:51 PM - Forum: General Coding Help - Replies (1)

Hi,
I read some data from the web which is in the below format:

[python][{'expTime":"2019\/04\/02 00:11:23","type_exp" :"INJ_2026","F_pair":148,"e..... More

Print this item

  Speedup the porting process
Posted by: Sandy7771989 - May-14-2019, 01:44 PM - Forum: General Coding Help - Replies (2)

Hi All,
I'm trying to port data from MySQL DB to PostgreSQL DB using the below script,The script is running fine ,but it is slow for higher record co..... More

Print this item

  chr in Python
Posted by: DarkCraftPlayz - May-14-2019, 01:01 PM - Forum: Homework - Replies (8)

Question: [b]Write a program in Python to allocate and display Block and Floor No. on the basis of Customer Number. Assuming there are 10 Blocks ('A' ..... More

Print this item

  How to repeat input line of code until condition is met
Posted by: Reta - May-14-2019, 11:52 AM - Forum: Homework - Replies (2)

So right now, I'm trying to loop a line that requires input until a condition is met, but I can't seem to do so.

Essentially, what I want is:

Code a..... More

Print this item

  json.dumps to keep dictionary keys
Posted by: batchenr - May-14-2019, 11:14 AM - Forum: General Coding Help - Replies (1)

Hello,
im using python3 on ubuntu 18 machine
i am new to python

i have this script :
[python]
import json
import psutil
d = {}

mem = psut..... More

Print this item

  status bar controll with buttons
Posted by: chano - May-14-2019, 10:54 AM - Forum: GUI - Replies (4)

Hello dears,Can you help me?
How i move this bar with the buttons?
Or offer a better solution.
Thank you much
[python]
import tkinter as tk
from..... More

Print this item

  delete a file after closing it
Posted by: mcgrim - May-14-2019, 10:36 AM - Forum: General Coding Help - Replies (1)

I used a file in my code
and I wanted to delete it
manually.
A message appeared saying that it was still open
in python and therefore I could not..... More

Print this item

  rf64 audio files
Posted by: kerzol81 - May-14-2019, 07:41 AM - Forum: General Coding Help - Replies (7)

Hi,

I got tons of rf64 audio files.
I try to parse the meaning of each field from the header with not much success.

here is the header of such ..... More

Print this item

  Broadcasting error in CVXPY
Posted by: adamG - May-14-2019, 07:38 AM - Forum: Data Science - Replies (1)

Hello,

I am trying to run the following code, which I took exactly from a website, where people confirmed it to be working. Could you please help ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  if else statements 10 minutes ago remy DeaD_EyE General Codin...
  Win or Loss Prediction 31 minutes ago ksasi2k3 ksasi2k3 General Codin...
  Pulsing notification icon 3 hours ago menator01 plaintivemiserly Board
  Cucumber installation 4 hours ago SDS sawtooth500 General Codin...
  watchdog on_modified Yesterday, 18:23 CAD79 deanhystad General Codin...
  how to edited Tkinter Top... Yesterday, 17:49 kucingkembar deanhystad General Codin...
  Volume label Yesterday, 15:16 DPaul DPaul Bar
  Python Project Structure ... Yesterday, 12:21 b19wh33l5 b19wh33l5 General Codin...
  What software to use? Yesterday, 09:28 pickledrick mojobadshah General Codin...
  Using xml.parsers.expat I... Yesterday, 07:36 Pedroski55 Pedroski55 General Codin...
  How to Randomly Print a Q... Yesterday, 05:47 BillKochman Bronjer General Codin...
Most views
  The best Prog... 411322
  Web Scraping ... 302404
  Tutorial Requ... 292295
  Newbie with P... 250601
  Thread remain... 232678
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11871
buran 8090
snippsat 7086
deanhystad 6215
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
FastCode Today
plaintivemiserly Today
ceyun Today
SDS Yesterday
Hacker Yesterday

User Panel Messages

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