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,935
» Latest member: tobey12
» Forum threads: 38,722
» Forum posts: 175,509

Full Statistics

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

Latest Threads
Why Is Assignment Help Au...
Forum: News and Discussions
Last Post: tobey12
2 hours ago
» Replies: 0
» Views: 16
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 2,807
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,228
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 247
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 560
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,719
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 661
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 244
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,198
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,418

 
  Error while running python script to get pixel points from google static map image
Posted by: python_newbee - Sep-14-2017, 01:09 PM - Forum: Data Science - Replies (3)

Error while running python script to get pixel points from google static map image. I got the python script from https://stackoverflow.com/questions/5..... More

Print this item

  Is any super keyword like java
Posted by: rajeev1729 - Sep-14-2017, 11:07 AM - Forum: General Coding Help - Replies (2)

how to print "Calling parent method" using Child object.
[python]
class Parent: # define parent class
def myMethod(self):
print ('..... More

Print this item

  Basic Coding Slays College Girl
Posted by: AnjyilLee - Sep-14-2017, 08:41 AM - Forum: Homework - Replies (5)

It is 4:30 in the morning. Been up since 8am yesterday and been running on 2 hours of sleep, coffee, and a Monster energy drink. I've seen that you gu..... More

Print this item

  Module import error
Posted by: CoolSchoolBoy - Sep-14-2017, 05:32 AM - Forum: General Coding Help - Replies (2)

Hello All. Trying to load a module into python 3, it keeps giving me error:
__
>>> import chaos
Traceback (most recent call last):
File "<pyshell#..... More

Print this item

  Number of cmds inside subprocess
Posted by: pannis - Sep-14-2017, 05:08 AM - Forum: General Coding Help - Replies (5)

Hi, I am trying to run more than 5 or 6 shell commands from my pyhton script.

Currently my psuedo code is below.

[python]
try:
_ = subpro..... More

Print this item

  IndexError?
Posted by: OmarSinno - Sep-14-2017, 04:59 AM - Forum: General Coding Help - Replies (2)

import sys
a= int(sys.argv[1])
b= int(sys.arv[2])
c= int(sys.argv[3])
inorder = a<b<c or a>b>c
print(inorder)
Anyone can help..... More

Print this item

  [newbie] question on what to put in () on target.write
Posted by: MattSS102 - Sep-14-2017, 03:33 AM - Forum: General Coding Help - Replies (5)

#I know how to put in line1 variable on line 25 (target.write(line1)), however when I try to put line2 in it I get an error. The error is "function ta..... More

Print this item

  Geany frustration how to deal with tabs and spaces and CR
Posted by: mlytle0 - Sep-14-2017, 02:14 AM - Forum: General Coding Help - Replies (2)

Not having a code problem (yet)
If I use 'enter' to create a new line, it places a carriage return in there, code doesn't run. Trying not to use tab..... More

Print this item

  ...
Posted by: 8bitbacon - Sep-14-2017, 12:35 AM - Forum: GUI - No Replies

.....

Print this item

  Need some help trying to get my Python mortgage amortization calculator to work prope
Posted by: IamSirAskAlot - Sep-13-2017, 11:26 PM - Forum: General Coding Help - Replies (4)

So, I will be starting a graduate program in Data Science in Spring 2018 and I am trying to get acquainted with Python before then, but I am having so..... More

Print this item

  stupidly easy hw that I need help with
Posted by: icantcodeforcrap - Sep-13-2017, 08:19 PM - Forum: Homework - Replies (5)

I have to do a stupid tip calculator hw assignment for my beginning coding class. It's literally only our second assignment, but I'm stuck. For some r..... More

Print this item

  I need serious help.
Posted by: forumer444 - Sep-13-2017, 08:10 PM - Forum: Homework - Replies (3)

So I'm more of an intermediate programmer in Java, but I've had to move to a new area in the middle of being in school and am now learning Python in m..... More

Print this item

  AttributeError: module 'sys' has no attribute 'maxint'
Posted by: rajeev1729 - Sep-13-2017, 05:28 PM - Forum: General Coding Help - Replies (4)

[python]import math; #For pow and sqrt
import sys;
from random import shuffle, uniform;

###_Pre-Processing_###
def ReadData(fileName):
#Rea..... More

Print this item

  my python is popping up the error FileNotFoundError: [WinError 3] ?
Posted by: srinivas135 - Sep-13-2017, 01:10 PM - Forum: General Coding Help - Replies (3)

import os
path="C:\\User\\Desktop\\sr.txt"
os.chdir(path)
retval=os.getcwd()
print("Directory changed successfully %s" %retval)
#can the members ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Why Is Assignment Help Au... 2 hours ago tobey12 tobey12 News and Disc...
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 575972
  Tutorial Requ... 497381
  Web Scraping ... 439940
  Newbie with P... 383679
  New Users Int... 366114
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
tobey12 Today
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday
XenonBlack 09-16

User Panel Messages

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