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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,305
» Latest member: rajatkumar
» Forum threads: 38,799
» Forum posts: 175,906

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
23 minutes ago
» Replies: 3
» Views: 46
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
30 minutes ago
» Replies: 4
» Views: 117
How Aviator Game is Devel...
Forum: General Coding Help
Last Post: rajatkumar
1 hour ago
» Replies: 0
» Views: 15
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 8
» Views: 650
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,808
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 132
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 116
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 200
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,213
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 313

 
  Class Task
Posted by: HSL - Feb-21-2019, 11:34 PM - Forum: Homework - Replies (3)

Hey, i need help with a class task I got today.

A program is required to read the data for each member from the text file. The program should use t..... More

Print this item

  Using chunk size issue
Posted by: sandy - Feb-21-2019, 10:30 PM - Forum: General Coding Help - Replies (1)

Hi ,

My inputs

query_string= sel * from table ( 340k rows)
I am using
[python]
df = pd.read_sql(query_string ,conn_bmg,chunksize=50000)
[/..... More

Print this item

  Fibonnaci
Posted by: PythonNoob99 - Feb-21-2019, 09:07 PM - Forum: Homework - Replies (13)

How do I translate this problem to Python?

The nth number bigger than x in the fibonacci secuence.

I already have

n = int(input(“Give a numb..... More

Print this item

  Beginner: urllib error
Posted by: tomfry - Feb-21-2019, 07:48 PM - Forum: Web Scraping & Web Development - Replies (7)

Very much a python beginner and have stumbled into this problem whilst following the Udacity python course. I realize that the course uses python2, ho..... More

Print this item

  match values against keys three dict
Posted by: anna - Feb-21-2019, 05:30 PM - Forum: General Coding Help - No Replies

Hi All,
I have three dict post parsing configuration,need to match values, please guide

[python]from ciscoconfparse import CiscoConfParse
from ci..... More

Print this item

  beautifulsoup error
Posted by: rudolphyaber - Feb-21-2019, 05:29 PM - Forum: Web Scraping & Web Development - Replies (7)

I'm using python 3.6 on Windows 7 and I'm following the directions on this page -> ..... More

Print this item

  Problem with the math.sin(x) function
Posted by: Carson147 - Feb-21-2019, 04:36 PM - Forum: General Coding Help - Replies (4)

I was trying to make a simple sine calculator using degrees. However when I tested some values they come close but doesn't match my phone's calculator..... More

Print this item

  Getting a desired vector from lsqr in python when solving a linear system
Posted by: SJ001 - Feb-21-2019, 04:19 PM - Forum: General Coding Help - No Replies

I am trying to solve a linear system which has multiple solutions. Here is part of my code:

from scipy.sparse.linalg import lsqr
solution ..... More

Print this item

  wait.until(EC.element_to_be_clickable) failed to click
Posted by: gahhon - Feb-21-2019, 04:11 PM - Forum: Web Scraping & Web Development - Replies (4)

def FindElementById(Element):
    clickable = wait.until(EC.element_to_be_clickable((By.ID, Element)))
    clickable.click()
..... More

Print this item

  browser table value counting
Posted by: rudolphyaber - Feb-21-2019, 03:47 PM - Forum: Web Scraping & Web Development - No Replies

[Image: NbdFw1WBojn1SrcA6]

Currently for work my team has to use a web application to sign in, enter our credentials, c..... More

Print this item

  Issue with command line arguments
Posted by: artblinked - Feb-21-2019, 03:42 PM - Forum: General Coding Help - Replies (2)

So I'm having issues with my program command line arguments. In pycharm on windows it works great but when I go to linux it only takes arguments up to..... More

Print this item

  invalid syntax near break
Posted by: synthex - Feb-21-2019, 03:11 PM - Forum: General Coding Help - Replies (2)

I write code

[python]test='C:\Users\Admin\Desktop\test.lst' # folder where must be my test.lst

test='C:/Users/Admin/Desktop/test.lst'
DataSet='..... More

Print this item

  How to run local python script to remote machine without sending
Posted by: krishna1989 - Feb-21-2019, 01:33 PM - Forum: Networking - Replies (1)

I have created a python script on my local machine, i want to run this local script on multiple remote machines (Linux and Windows servers) and redire..... More

Print this item

  help with threading module and passing global variables
Posted by: ricardons - Feb-21-2019, 12:34 PM - Forum: General Coding Help - Replies (1)

Hi

I'm having a big trouble to get this to work.

I have a function that I want to put in a thread (or multiprocess). This function requires 3 v..... More

Print this item

  Working with open source software
Posted by: Yamin - Feb-21-2019, 11:54 AM - Forum: News and Discussions - Replies (7)

Hi I was wondering if you could help me understand working with open source software. As I understand its possible to make your own alterations to it,..... More

Print this item

  How to convert unicode to koi8-r?
Posted by: AlekseyPython - Feb-21-2019, 10:51 AM - Forum: General Coding Help - Replies (5)

Python 3.7.2

I write data to the database, so I want to write lines in a format that has a low weight. One character of the Russian language i..... More

Print this item

  How to check an array exist in a file using Python
Posted by: fitrisibarani - Feb-21-2019, 09:30 AM - Forum: Homework - Replies (17)

I have a txt file like this : A1B2C3D4.8Z
I have an array data : ["A1", "xx", "ss", "11"]

I am going to check each 2 characters from my txt file w..... More

Print this item

  tuple
Posted by: veysel - Feb-21-2019, 09:12 AM - Forum: General Coding Help - Replies (4)

hello everyone, i have q question to you

s=("hello",)


b=s+tuple("veysel",)
print(b)
it prints ('hello', 'v', 'e',..... More

Print this item

  Rev Counter
Posted by: MarioV - Feb-21-2019, 08:35 AM - Forum: Game Development - Replies (1)

Hello,

I have to make a program that looks like car rev counter. When I press key on keyboard(later it will be accelerator pedal), i get feedback ..... More

Print this item

  Data cleaning help
Posted by: ClimbAddict - Feb-21-2019, 04:33 AM - Forum: General Coding Help - Replies (2)

Hi,

I am new to Python and need help with data cleaning.

The objective is to scrapped off tables from pdf file. That has been done with the tabu..... More

Print this item

  Finding the brightness of an image using pygame
Posted by: Zman350x - Feb-21-2019, 02:48 AM - Forum: Game Development - Replies (2)

[font=Arial, Helvetica, sans-serif]As part of my science fair, I need to order images by brightness, so I created this bit of code below:
[python]#im..... More

Print this item

  Most efficient way to define sub keys of a dictionary?
Posted by: wrybread - Feb-20-2019, 11:48 PM - Forum: General Coding Help - Replies (1)

Suppose I have a dictionary named "properties".

properties = {}

And there's a few different items that will be subkeys.

properites["item1"] =..... More

Print this item

  Implementation of Elevator simulation 3D
Posted by: jasiekkm - Feb-20-2019, 10:14 PM - Forum: Game Development - Replies (2)

Hello,
I have to do a project, let's suppose that the 3D elevator simulation.
I want to implement this in our beloved python, my question is what to..... More

Print this item

  Dynamically create functions from Json
Posted by: Clement_2000 - Feb-20-2019, 09:59 PM - Forum: General Coding Help - Replies (5)

Bonjour experts ! Big Grin
It is still for my printer controller project.
I'm now trying to make a lib to get a flexible, and easy tom modify ..... More

Print this item

  Run Python Script From My VPS?
Posted by: digitalmatic7 - Feb-20-2019, 09:58 PM - Forum: General Coding Help - Replies (1)

I have a VPS with CentOS7 / nginx / plesk installed on it. I was wondering how I can use it to run a Python script? Do I have to go through the whole ..... More

Print this item

  Help with homework assignment
Posted by: grayarea3 - Feb-20-2019, 09:32 PM - Forum: Homework - Replies (1)

Below is the assignment:

Create a grocery calculator

It will take in key-value pairs for items and their prices, and return the subtotal and tot..... More

Print this item

  Calculate NDVI
Posted by: Noureddine87 - Feb-20-2019, 08:41 PM - Forum: Data Science - No Replies

Hello
I am new to python.
I am trying to calculate the NDVI of two LANDSAT images with the following code :
[python]
from osgeo import gdal
impor..... More

Print this item

  venv conflict at shell prompt
Posted by: Skaperen - Feb-20-2019, 08:00 PM - Forum: News and Discussions - Replies (3)

in the documentation:
[quote]
Activating the virtual environment will change your shell’s pr..... More

Print this item

  My code is taking longer time to give result
Posted by: rajeshwin - Feb-20-2019, 07:16 PM - Forum: General Coding Help - Replies (4)

I am newbie to Python and tried to write a code to get smallest positive number that is evenly divisible by all of the numbers from 1 to 20. I used th..... More

Print this item

  running python script from shell invoked with os.system("x-terminal-emulator -e /bin/
Posted by: markhaus - Feb-20-2019, 07:14 PM - Forum: General Coding Help - Replies (2)

I have the following code in a file "hello.py":


#!/usr/bin/python3

import os

import time
os.system("x-terminal-emulator -e /bin/bash")
..... More

Print this item

  ARIMA.Fit memoryError
Posted by: wissam1974 - Feb-20-2019, 06:45 PM - Forum: Data Science - Replies (2)

hi All python Forum experts
i am using the software pyCharm2018.1.1

i have tried to build ARIMA model in python, my model has been identified by t..... More

Print this item

  Issue with Pygame opening my Sprite png
Posted by: briskkee000 - Feb-20-2019, 06:33 PM - Forum: Homework - Replies (1)

[python]
import pygame, sys
from pygame.locals import *
from random import randrange

#initialize pygame
pygame.init()

#colors
black = (0,0,..... More

Print this item

  Resource Monitoring
Posted by: MuntyScruntfundle - Feb-20-2019, 05:09 PM - Forum: General Coding Help - Replies (1)

Hi folks.

I've posted a similar question to this before, I've also spent a lot of time looking for answers and haven't found anything that fits the..... More

Print this item

  RelatedObjectDoesNotExist: User has no profile. Django 1.11
Posted by: m0ntecr1st0 - Feb-20-2019, 05:05 PM - Forum: Web Scraping & Web Development - Replies (1)

After registration I get error. In admin page I see, that user is created, but profile doesn't exist.
I see, that user has attribute profile, but..... More

Print this item

  Flipping matrices problem
Posted by: Qmohankumar0017 - Feb-20-2019, 03:52 PM - Forum: General Coding Help - Replies (10)

My question is:
A two dimensional matrix can be represented in Python row-wise, as a list of lists: each inner list represents one row of the matrix...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 23 minutes ago Lou noisefloor General Codin...
  Python is not working on ... 30 minutes ago lary_p noisefloor General Codin...
  How Aviator Game is Devel... 1 hour ago rajatkumar rajatkumar General Codin...
  Help with Serial.write in... 6 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579438
  Tutorial Requ... 512553
  Web Scraping ... 442316
  Newbie with P... 386368
  New Users Int... 380614
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
rajatkumar Today
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday

User Panel Messages

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