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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,831

Full Statistics

Online Users
There are currently 41 online users.
» 2 Member(s) | 29 Guest(s)
Applebot, Bing, Google, Mojeek, Facebook, AOL, pbkurd, TomTMH

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
25 minutes ago
» Replies: 6
» Views: 162
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
1 hour ago
» Replies: 0
» Views: 21
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 6
» Views: 88
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
8 hours ago
» Replies: 6
» Views: 334
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 102
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 235
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 362
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 140
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,639
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 242

 
  windows defender slows python first time ran
Posted by: metulburr - Sep-13-2017, 10:19 AM - Forum: News and Discussions - Replies (3)

im going to link this discussion because i am curious of the fix to it.
https://www.reddit.com/r/pygame/comments..._pygame_ea..... More

Print this item

  proc communicate not exiting on python subprocess timeout
Posted by: leoonardoo - Sep-13-2017, 09:54 AM - Forum: General Coding Help - No Replies

Hello,


the script below (a python process is called, which calls a waitfor cmd with a timeout of 4 seconds) is supposed to end after 4 seconds. B..... More

Print this item

  sqlite3
Posted by: kingram - Sep-13-2017, 09:19 AM - Forum: General Coding Help - Replies (3)

I want to insert my data into my table using variables. For example i want to insert data into table using ( data = input ("") )
What should i do?
..... More

Print this item

  Socket & Endpoint
Posted by: syogun - Sep-13-2017, 07:59 AM - Forum: News and Discussions - Replies (10)

Hi, everyone. Here is the short version of my question: What is an endpoint instance?

First I want to understand Asynchronous Python, then I..... More

Print this item

  NameError: name 'maketrans' is not defined
Posted by: rajeev1729 - Sep-13-2017, 05:39 AM - Forum: General Coding Help - Replies (2)

[python]from string import maketrans

intab = "aeiou"
outtab = "12345"
trantab = maketrans(intab, outtab)

str = "this is string example....w..... More

Print this item

  openpyxl saving files issue
Posted by: Pedroski55 - Sep-13-2017, 04:57 AM - Forum: General Coding Help - Replies (1)

Is there anybody here who knows openpyxl well?

I wanted to make a little program to insert student photos next to their names. This is the first time..... More

Print this item

  A million requests per second
Posted by: Larz60+ - Sep-13-2017, 02:20 AM - Forum: News and Discussions - Replies (1)

Here's a very interesting python application:
A million requests per second:
https://medium.freecodecamp.org/search?q=Przeradowsk

Print this item

  JSON Decoder issue
Posted by: Cronax3 - Sep-13-2017, 12:25 AM - Forum: General Coding Help - Replies (2)

Hey community,
currently I am programming a programing which is using the python Bittrex-API wrapper.
I ran into a problem which I am not able to re..... More

Print this item

  VPython - Trying to make orbit simulation
Posted by: totalnoob - Sep-13-2017, 12:20 AM - Forum: General Coding Help - Replies (2)

This is the code I have tried with the aim of one sphere accelerating towards the other as it would by F=G*M*m/r^2.
This is one of the first things I..... More

Print this item

  IRC bot written in Python - join channel function
Posted by: syrius - Sep-12-2017, 08:12 PM - Forum: Networking - Replies (8)

I'm trying to add to my python IRC bot a function that when I type "join #channel-name" on IRC, the bot will join the channel.

Here's my code:

[..... More

Print this item

  Login into Instagram using python
Posted by: kingram - Sep-12-2017, 05:00 PM - Forum: Web Scraping & Web Development - Replies (1)

I want to make script that login into Instagram website only.
Is there any way???

Print this item

  About Machine Learning
Posted by: rajeev1729 - Sep-12-2017, 04:59 PM - Forum: Data Science - Replies (3)

help me Machine Learning with real world problem like How to make model,how train model,how to evaluate about accuracy. Any book, web resources or any..... More

Print this item

  Python 3.x Windows 7 registry file associations broken
Posted by: pixhellmann - Sep-12-2017, 04:52 PM - Forum: General Coding Help - Replies (2)

Hi,

I deleted some windows registry keys dealing with the python file associations.
I thought then reinstalling the python setup will fix it back ..... More

Print this item

  wxPython install on raspberry pi3 and python 3.6.2.
Posted by: djdan_23 - Sep-12-2017, 04:49 PM - Forum: GUI - Replies (3)

Hi! all.
I tried some ways from the net, to install wxPython on my pi3 stretch (9) with python 3.6.2 and pip 9.0.1 and smbus2-0.2.0. But so far....no..... More

Print this item

  Convert grib files to text files
Posted by: tuxman - Sep-12-2017, 04:36 PM - Forum: General Coding Help - Replies (6)

Hi,

I want to read many grib files from a folder, and then save as text files. The name of the text file will be same name as grib file.
My code..... More

Print this item

  ere iam getting the unicodec codescope error syntax error how can i resolve it?
Posted by: srinivas135 - Sep-12-2017, 03:13 PM - Forum: General Coding Help - Replies (4)

[python]import os
path="c:\users\personal\AppData\Local\Programs\Python\Python36\srinu.txt"
os.chdir(path)
retval=os.getcwd()
print("Directory cha..... More

Print this item

  Is there another way to solve this code but still using for loop?
Posted by: pratriciaexists - Sep-12-2017, 02:53 PM - Forum: Homework - Replies (1)

def first(s):
""" Determine if a string contains a lowercase or uppercase r
Test data:
input: 'garden'
output: 'r'
..... More

Print this item

  why not accuracy working
Posted by: rajeev1729 - Sep-12-2017, 02:10 PM - Forum: General Coding Help - Replies (1)

p[python]import math; #For pow and sqrt
from random import shuffle;


###_Read Data_###
def ReadData(fileName):
#Read the file, splitting by..... More

Print this item

  What is causing the syntax error?
Posted by: Mr_Keystrokes - Sep-12-2017, 01:06 PM - Forum: General Coding Help - Replies (5)

Just started using python a few seconds ago...
[python]
n = int(input("Enter a number: "))

if n % 2 == 0:
print (n, " is an ..... More

Print this item

  [difflib] read files with SequenceMatcher
Posted by: JamieVanCadsand - Sep-12-2017, 09:01 AM - Forum: General Coding Help - Replies (3)

Hey Python Programmers...

I try to write an script to read files with difflib writting an script like this:

[python]import difflib

file1 = op..... More

Print this item

  Button not defined, why?
Posted by: gb_johnny - Sep-12-2017, 07:31 AM - Forum: GUI - Replies (6)

Hi all,
A newbie to Python & Tkinter here, although have used VB6 & Bash scripts.
Included (hopefully) is my code for a simple sound organiser for u..... More

Print this item

  how to save python file to working directory
Posted by: rpdohm - Sep-12-2017, 12:05 AM - Forum: General Coding Help - Replies (3)

I am using Bash terminal and my working directory is /home/rpdohm. I am using IDLE to create my python script and when I save my python script (i.e. ..... More

Print this item

  Trade secret?
Posted by: RMcGovern - Sep-12-2017, 12:03 AM - Forum: News and Discussions - Replies (4)

I'm a middle aged guy who used to program in basic. I have some ambition to develop my own sports sim game so I started in player generation. Now i'..... More

Print this item

  bunbot
Posted by: metulburr - Sep-11-2017, 05:58 PM - Forum: Board - Replies (4)

Do you guys remember bunbot?

Was he the one that updated this information from IRC?
http://bunburya.netsoc.ie/ircstats/python-forum.html

Print this item

  Comparing pictures
Posted by: pedro - Sep-11-2017, 05:33 PM - Forum: General Coding Help - Replies (1)

Hi I’m trying to compare two pictures and the objective is to illustrate changes from the original picture and the new picture. I have googled it to t..... More

Print this item

  Pipenv
Posted by: snippsat - Sep-11-2017, 05:12 PM - Forum: Web Scraping & Web Development - Replies (9)

Pipenv is now the official recommended Python packaging tool from Python.org.
The ..... More

Print this item

  python-forum source language
Posted by: hbknjr - Sep-11-2017, 04:47 PM - Forum: Board - Replies (13)

What is the python-forum websites' source language (I hope it's Python)?
And is it open source(doesn't seem like it)?

Print this item

  pylibftdi, libusb-1.0.dll, windows 7
Posted by: tigner - Sep-11-2017, 04:11 PM - Forum: General Coding Help - No Replies

Hi ,

This works on *nix,and works on *some* windows 7 machines...

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation..... More

Print this item

  function for write to chronodot
Posted by: djdan_23 - Sep-11-2017, 02:10 PM - Forum: General Coding Help - Replies (1)

function for write to chronodot

Edit
Delete post
Report this post
Quote

Mon Sep 11, 2017 12:34 pm
Hi! all
1: Is there a way..... More

Print this item

  Noob - What attributes to use for agents in evo sim (GA type)
Posted by: PySam - Sep-11-2017, 02:01 PM - Forum: Data Science - Replies (4)

Ok, hopefully this is not the wrong forum!

I'm a hatchling to Python, but understand general concepts. I want to try my hand at creating a simple lif..... More

Print this item

  API-C: call the next value from a generator
Posted by: mcanonic - Sep-11-2017, 01:52 PM - Forum: General Coding Help - No Replies

Hi all,
this is my first post and I hope that I select the right thread.
The following python code is working and I can call it from my C source cod..... More

Print this item

  How many times does it fit? help please
Posted by: skriff - Sep-11-2017, 01:06 PM - Forum: Homework - Replies (2)

What im trying to do is to check how many times does an 1x1 slice fits in the entire array, i used slice to get array "fragments" but how to check how..... More

Print this item

  Failed when communicating between threads
Posted by: pythonisse - Sep-11-2017, 11:10 AM - Forum: GUI - Replies (3)

Hi everybody,

I am trying to display an image on the window, but when I try it, I got this error:
[b]"QPixmap: It is not safe to use pixmaps outsi..... More

Print this item

  Is there any <> operator in python 3.6
Posted by: rajeev1729 - Sep-11-2017, 06:56 AM - Forum: General Coding Help - Replies (1)

Is there any <> operator in python 3.6. if yes then give me example.

Print this item

  radius of circle question
Posted by: charlottecrosland - Sep-11-2017, 05:28 AM - Forum: Homework - Replies (5)

I'm trying to run this, and it doesn't work. I accept it's a ridiculously easy program. And I'm obviously missing something terribly obvious and eas..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 25 minutes ago lary_p jefsummers Homework
  Please guide me to comple... 1 hour ago pbkurd pbkurd General Codin...
  [solved] re.split issue 1 hour ago paul18fr deanhystad General Codin...
  Backward compatibility qu... 8 hours ago yutaozhou noisefloor News and Disc...
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578926
  Tutorial Requ... 510177
  Web Scraping ... 441943
  Newbie with P... 385961
  New Users Int... 376789
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Today
pbkurd Today
Gichardaxora Today
cc123 Today
Jessicaadams Today

User Panel Messages

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