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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 30 Guest(s)
Google, Bing, AOL, Mojeek, NeoQuant

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 11
» Views: 318
Python compiler
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 1
» Views: 75
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 94
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 53
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,132
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 206
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 734
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,840
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 216
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 170

 
  Call a def from a string
Posted by: DreamingInsanity - Jun-22-2018, 06:09 PM - Forum: General Coding Help - Replies (7)

I have a variable called "current" which is the name of the current def you are in. If you lose a life a new def is called. Since rooms are picked at ..... More

Print this item

  CACHING
Posted by: saisankalpj - Jun-22-2018, 05:49 PM - Forum: Web Scraping & Web Development - Replies (6)

HI
I WANT TO KNOW HOW CAN WE READ A INFORMATION FROM FILE AND STORE IT IN CACHE
SO THAT THE FILE NEXT TIME READS ONLY WHEN THE MATTER IN CACHE HA..... More

Print this item

  Calculate png volume of Homer
Posted by: Antigr - Jun-22-2018, 05:10 PM - Forum: Homework - Replies (3)

Hi!
Help me please solve this issue:
i have png image (for example great Homer)
..... More

Print this item

  Question about types and py2 to py3 diffrences
Posted by: Vysero - Jun-22-2018, 04:39 PM - Forum: General Coding Help - Replies (6)

I have been reading a bit on some of the py2 to py3 changes. I am a bit confused on some of the changes, for instance if I write in py2:

[python] ..... More

Print this item

  Some question
Posted by: Tituya - Jun-22-2018, 03:46 PM - Forum: GUI - Replies (1)

Hello, I'm a french who want to create something for my Casio (it's calc)
In fact, you can made some draw but it's pretty long and hard.
That's wh..... More

Print this item

  How to clear IPython console in Spyder?
Posted by: Vai - Jun-22-2018, 03:35 PM - Forum: General Coding Help - Replies (7)

Is there an equivalent in Python for clc command in MATLAB?
I am using Spyder and would like to clear the IPython console from time to time.

Print this item

  GUI Developer for Project
Posted by: DecaK - Jun-22-2018, 03:31 PM - Forum: Jobs - Replies (3)

Hi, I need a GUI Developer for software project. Currently, I do 80% of backend, have designer too, but need some GUI developer who would love to work..... More

Print this item

  django-geoposition and unknown column error?
Posted by: PrateekG - Jun-22-2018, 01:39 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I am using django geolocation for showing map with position in my application bui..... More

Print this item

  Looping through dictionary and comparing values with elements of a separate list.
Posted by: Mr_Keystrokes - Jun-22-2018, 12:05 PM - Forum: General Coding Help - Replies (5)

Apologies for the long question. Basically I am trying to loop through a dictionary I've constructed and check whether a specific element of the hash ..... More

Print this item

  msvcrt.getch prints twice inside loop
Posted by: ReallyBigTeeth - Jun-22-2018, 09:49 AM - Forum: General Coding Help - Replies (5)

A recent Windows update (Windows 10 version 1803 feature update) seems to have changed the behaviour of msvcrt.getch(). I confirmed this by testing o..... More

Print this item

  Simple Python Json Help
Posted by: XtremeL - Jun-22-2018, 09:45 AM - Forum: General Coding Help - Replies (4)

Hi, I'm trying to use python to grab the "memberCount" value of this page
https://groups.roblox.com/v1/groups/42

Can someone help out? Should be p..... More

Print this item

  finding similar objects in a list
Posted by: DRPR - Jun-22-2018, 06:57 AM - Forum: General Coding Help - Replies (4)

I am new to python and programming in general.I wanted to write a code which prints the similar elements from 2 lists .For example if a=[1,2,3,4,5] an..... More

Print this item

  Python import tensorflow error
Posted by: owenhe - Jun-22-2018, 03:46 AM - Forum: Data Science - Replies (7)

I'm using Enthought Canopy which came with python 3.5. However when I tried to import tensorflow, it gave me this error message: "/Users/abiao0007/Lib..... More

Print this item

  Creating directories from two lists
Posted by: QueenSveta - Jun-22-2018, 02:51 AM - Forum: General Coding Help - Replies (2)

I have the following namedtuple and List

[python]from collections import namedtuple

firefoxprofile = namedtupl..... More

Print this item

  While & For Loops
Posted by: aditvaddi - Jun-22-2018, 02:51 AM - Forum: Homework - Replies (2)

while True:
	for i in range(1,5):
		if i==3:
			continue
	print("{:>2}SAM".format(i))
[b]For this piece of code, why does ..... More

Print this item

  Need help with this coding puzzle
Posted by: torchtopher - Jun-21-2018, 10:21 PM - Forum: General Coding Help - Replies (1)

# Here is the problem (and the solution is supposedly hidden in the Python code!)

# Your friend has recommended that you go eat at..... More

Print this item

  win10 Service(script) start and stop
Posted by: hwa_rang098tkd - Jun-21-2018, 07:42 PM - Forum: General Coding Help - No Replies

I am trying to establish a mqtt client on my pc, So I start writing a script in python. When I run the script from Python IDLE it works fine and stabl..... More

Print this item

  error in FOR
Posted by: Antigr - Jun-21-2018, 06:11 PM - Forum: Homework - Replies (2)

I got this code:
[python]import numpy as np
a=np.zeros(1000)
b=list(a)
b.append(1)
c=[]
for i in range(len(b)):
if b[i]==0:
del b[..... More

Print this item

  2 issues....Help!
Posted by: veve - Jun-21-2018, 05:28 PM - Forum: Homework - Replies (2)

Hi
I have a dataset that contains 3 columns in this form:
col1 = 2007-Q1, 2007-Q2, 2007-Q3....etc
col2 = 1room,2rooms,3rooms...etc
col3 = 24,26,30..... More

Print this item

  w/o Django
Posted by: Skaperen - Jun-21-2018, 05:28 PM - Forum: Web Scraping & Web Development - Replies (3)

so who here does web development without using Django? and what do you use? who uses just WSGI by itself?

to me, keeping things simple includes m..... More

Print this item

  Using Dictionaries in inheritance
Posted by: feduser - Jun-21-2018, 04:48 PM - Forum: General Coding Help - Replies (2)

I was working on a project when this situation occurred. I've defined a base class that initialises a dict and then I've the derived class that adds s..... More

Print this item

  Is there any way to bind keys to a gui window in tkinter?
Posted by: Nwb - Jun-21-2018, 03:36 PM - Forum: GUI - Replies (1)

Just like how you can bind keys to the widget, is it possible to bind certain key clicks that are performed when a certain window is open to a certain..... More

Print this item

  rest api parameter in flask
Posted by: bluefrog - Jun-21-2018, 01:59 PM - Forum: General Coding Help - Replies (3)

Hi

How can I specify a parameter to task 1.

I have a task list, which is triggered by an integer (1 or 2). But in addition to the integer, I wou..... More

Print this item

  My First Python Script. Feedback Sought.
Posted by: malonn - Jun-21-2018, 01:20 PM - Forum: Code sharing - Replies (5)

Other than practice exercises found on the internet, this is my first foray into (what will be a long relationship with) Python. I would love ..... More

Print this item

  python technologies to learn for beginners
Posted by: prashanth - Jun-21-2018, 01:04 PM - Forum: News and Discussions - Replies (1)

I am confused to learn the python due to when browse the python technology in tutorialspoint, here it is showing like this..\
can you suggest me how..... More

Print this item

  Python path not detected even it run in cmd.
Posted by: rorjet - Jun-21-2018, 08:36 AM - Forum: Bar - Replies (3)

Hello everyone,

I would like to ask about Python's Windows environment variables.

I have added python directory to "PYTHON" in user and system v..... More

Print this item

  Why some Django fields are not saved in database?
Posted by: PrateekG - Jun-21-2018, 08:32 AM - Forum: Web Scraping & Web Development - No Replies

Hi All,

I have a store address form in Django which have fields like- name, address, location, latitude, longitude etc.
I am autofilling the latit..... More

Print this item

  Variable contents
Posted by: Scott - Jun-21-2018, 07:22 AM - Forum: Data Science - Replies (3)

I mainly use SAS and it has a procedure called proc freq which lists the contents of a variable and how frequently it is populated. Does python have a..... More

Print this item

  Text to integer with OneHotEncoder
Posted by: Scott - Jun-21-2018, 07:01 AM - Forum: General Coding Help - Replies (2)

Hi everyone I am trying to convert a variable from text to float or int to I can feed it to my model.

I first factorize it then use OneHotEncoder ..... More

Print this item

  How to iterate a PlainLocationField object and fetch some values?
Posted by: PrateekG - Jun-21-2018, 06:27 AM - Forum: General Coding Help - Replies (9)

Hi All,

I am doing one mistake in my code but unable to solve this.

[python]from location_field.models.plain import PlainLocationField
class St..... More

Print this item

  Scraping external URLs from pages
Posted by: Apook - Jun-21-2018, 04:55 AM - Forum: Web Scraping & Web Development - Replies (5)

I'd like to start this off by saying I know nothing at all about Python. If what I want to do is possible, I'll need to find someone to help me to do ..... More

Print this item

  Gui creation
Posted by: Gangadhararao - Jun-21-2018, 04:44 AM - Forum: GUI - Replies (9)

[python]from tkinter import *
import subprocess
import os
import turtle
from tkinter.ttk import *
screen = turtle.Screen()
try:
import tkin..... More

Print this item

  How to fetch latitude,longitude from location and save them separately in db(Django2)
Posted by: PrateekG - Jun-21-2018, 04:40 AM - Forum: Web Scraping & Web Development - No Replies

Hi All,


I have created a model in Django 2.0.6+Python 3.6 which maps to a table in Database i.e. store table
This store table has columns- id, n..... More

Print this item

  MySQL not accepting utf8mb4. Warning 3719
Posted by: jonesin1974 - Jun-21-2018, 03:09 AM - Forum: General Coding Help - No Replies

Hi,

I'm connecting to my MySQL 8 database OK but it issues me with a warning when I run my python script:

[b]Warning: (3719, "'utf8' is currentl..... More

Print this item

  Tkinter positional information issue
Posted by: thatguy14 - Jun-21-2018, 12:42 AM - Forum: GUI - Replies (4)

Hi again, I am having issues getting the Tkinter window position. Here is the code example (very bare bones with print statements

[python]
import ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 9 hours ago Lou noisefloor General Codin...
  Python compiler 9 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 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...
Most views
  The best Prog... 579512
  Tutorial Requ... 512981
  Web Scraping ... 442377
  Newbie with P... 386402
  New Users Int... 381788
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 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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