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,941
» Latest member: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 9
» Views: 497
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
Yesterday, 08:55 AM
» Replies: 1
» Views: 342
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,709
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,041
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,398
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,949
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,714
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,791
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,935
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,493

 
  Quick help!
Posted by: Ellisrb - May-02-2018, 10:57 AM - Forum: General Coding Help - Replies (2)

Hello Everyone,
This is my first time posting here but I am trying to import this class on to the interpreter and it keeps telling me I have a synt..... More

Print this item

  Help With Parallel Arrays
Posted by: toxicxarrow - May-02-2018, 07:20 AM - Forum: Homework - Replies (10)

I have a homework assignment, nothing urgent, but any help would be appreciated.
The goal is to gather an amount of rainfall for every month in a yea..... More

Print this item

  Faster way?
Posted by: jarrod0987 - May-02-2018, 04:38 AM - Forum: General Coding Help - Replies (2)

I am playing with breaking ancient ciphers.
In this particular puzzle, it is not allowed for a letter to encrypt to itself.
I am using word patterns..... More

Print this item

  RegExp: returning 2nd loop in new document
Posted by: syoung - May-02-2018, 04:06 AM - Forum: General Coding Help - Replies (5)

Hello, I am new to this forum. I joined so that I could ask for help with this program. First, I will detail what it does.

I get these search files..... More

Print this item

  TypeError: unsupported operand type(s) for *: 'datetime.timedelta' and 'float'
Posted by: chris0147 - May-01-2018, 07:08 PM - Forum: General Coding Help - Replies (2)

Hi all,

I am working on datetime.datetime objects to calculating between 19:00 and 22:15. I want to calculating the datetime objects and then m..... More

Print this item

  Help iterating through DictReader loaded from csv
Posted by: Huck - May-01-2018, 06:15 PM - Forum: Data Science - Replies (4)

I have a comma delimited csv file loaded using DictReader.

csv...
person_id,type,arrive_date,leave_date
90,check_in,2/15/2018,2/15/2018
90,brunch,2/1..... More

Print this item

  search and replace dots inside curly braces
Posted by: kchinnam - May-01-2018, 05:49 PM - Forum: General Coding Help - Replies (1)

I want to replace '.' with '_' inside with variables inside curly braces.

[python]#Sample input
var1=http://${var.nameA}/page/${v.x.page1}/aaa
var1=h..... More

Print this item

  Pusher - import specific data
Posted by: Robin_at_Cantelli - May-01-2018, 05:41 PM - Forum: Networking - No Replies

I want to get data from a website to use it in my code.
I always used the standard requests.get(URL) and .json method. I saw that the website is ..... More

Print this item

  Updating df rows based on 2 conditions
Posted by: stretch - May-01-2018, 05:30 PM - Forum: Data Science - Replies (1)

First post, so I apologize for any improper post etiquette, and am receptive to feedback. I have a data frame containing NBA games from the past sever..... More

Print this item

  Inflow watertank before outward flow starts
Posted by: orjstrand - May-01-2018, 02:59 PM - Forum: Homework - Replies (6)

This is an exercise i'm working with, and I'm wondering if anyone have the chance to help me with this.

Problem description:

Water towers are am..... More

Print this item

  how to use thread without locking up terminal
Posted by: kiyoshi7 - May-01-2018, 02:40 PM - Forum: Data Science - Replies (12)

Hi, I'm working on a usb project and I'm tying to make it in a way that I can use the terminal while my code is running in the background. for example..... More

Print this item

  Selecting special values in txt file
Posted by: Scientifix - May-01-2018, 02:34 PM - Forum: Data Science - Replies (1)

Hello everyone,

Somme may remember a similar thread ...

I have txt files with the following structure :

[python]
Name = [102, 22]_[152, 32]_..... More

Print this item

  Quickest way of splitting a string
Posted by: yanhto - May-01-2018, 11:27 AM - Forum: Homework - Replies (1)

Hi,

I have a string with the following format: 'bbb 3 3', i.e a string and 2 numbers.
I need the 3 data, and i am using str.split() to get that re..... More

Print this item

  Problems with NumPy
Posted by: Jack_Sparrow - May-01-2018, 10:31 AM - Forum: Data Science - Replies (4)

Hi there,
I'm trying to call a very simple numpy function:

import numpy as np
a=np.array([1,2,3,4,5])

I saved this file as .py and run the f..... More

Print this item

  implementation of a button
Posted by: TheLueddy - May-01-2018, 09:42 AM - Forum: General Coding Help - Replies (8)

Hi guys!

I bought a Raspberry Pi some time ago, and now I started a little project. First, I programmed a traffic light, which switches from green to..... More

Print this item

  TypeError: '<=' not supported between instances of 'list' and 'int'
Posted by: Leonzxd - May-01-2018, 09:41 AM - Forum: Homework - Replies (4)

[python]#Print A Simple Payroll Report
name = ['Hai', 'Bell', 'Cindy', 'Danny', 'Eddy', 'Felicia', 'Gigi', 'Apple','Indie','Jacon','Kim','Lim']
hour..... More

Print this item

  How to connect Atom and Python?
Posted by: Jack_Sparrow - May-01-2018, 09:22 AM - Forum: General Coding Help - Replies (1)

HI there,
I am a new user and I use Python for some days. I installed Atom and connect Atom with my cmd. It works good. I can put my code in Atom an..... More

Print this item

  Problem parsing website html file
Posted by: thefpgarace - May-01-2018, 05:35 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi Guys,

I am trying to parse this web link (http://insight.toba.fun/address/TVAWF6eD...sigfWK2oRB) using Python3 and requests. When ..... More

Print this item

  i found my very first Python code
Posted by: Skaperen - May-01-2018, 12:33 AM - Forum: Bar - No Replies

while scanning through some old files in an archive, i ran across my very first Python code. i didn't know much about the language at the time. i di..... More

Print this item

  Code doesn't loop after first RFID scan
Posted by: BadgerHack - Apr-30-2018, 11:46 PM - Forum: General Coding Help - Replies (5)

Hi all,

Please excuse me for maybe a dumb question within this forum but I am currently working on my university final project and need to do some ..... More

Print this item

  Changing User Input Strings Into Set Integer Values
Posted by: Mario128843 - Apr-30-2018, 11:36 PM - Forum: General Coding Help - Replies (3)

Hello. Im having a bit of trouble. Imtrying to get it so the user can input pi, and my program converts it to the math.pi module. However, I want the ..... More

Print this item

  While Loop
Posted by: Elero - Apr-30-2018, 10:08 PM - Forum: Homework - Replies (13)

Hello,
Kindly help me with the following. I am still trying to figure out loops and the While statement. Please tell me how to go about code for the ..... More

Print this item

  Print next dataset on list when user hits any key
Posted by: disruptfwd8 - Apr-30-2018, 09:54 PM - Forum: General Coding Help - Replies (2)

I need with this code. After I read the text file, how do I print one record of the data set at a time and moves to the next record on the list when y..... More

Print this item

  Recursive function with a parameter
Posted by: MOH - Apr-30-2018, 09:39 PM - Forum: Homework - No Replies

Hey,

As a homework, I have to define a function that returns a frozenset of the positions who are going to explode (the function is_to_explode() is..... More

Print this item

  project kudoSudoku follows SUDO project
Posted by: sylas - Apr-30-2018, 09:30 PM - Forum: GUI - Replies (27)

Hi all ! I replaced blanks by zeros; tkinter figure always appears. When I type numbers on the figure(clicking "init" first) I should like the puzzle..... More

Print this item

  Bayesian Classification
Posted by: vokoyo - Apr-30-2018, 08:33 PM - Forum: Homework - Replies (2)

.






Dear

I would like to perform the Python programming with certain
formula equations for Bayesian Classification as be..... More

Print this item

  Load XML and iterate through tags
Posted by: jkimrey - Apr-30-2018, 07:49 PM - Forum: General Coding Help - Replies (1)

Hi.

I'm trying to use Python (3.6.5) and lxml to iterate through an existing XML file.

I would like to take the XML file's opening tag names an..... More

Print this item

  Help with a Bounce Ball plot
Posted by: nicluc - Apr-30-2018, 06:03 PM - Forum: Data Science - Replies (3)

I cannot figure out why my plot isn't working. I'm trying to graph a plot that starts at 3ft vertically and goes for 3 seconds. I also do not know how..... More

Print this item

  Send and receive Files(data/images) betwenn a python app and another appl
Posted by: Akhou - Apr-30-2018, 03:40 PM - Forum: General Coding Help - Replies (2)

Hey,
I need to send and receive images and feedbacks between my python application and an application developped with Visual Basic, I thought about u..... More

Print this item

  Python Socket programming with packets
Posted by: sourabhjaiswal92 - Apr-30-2018, 03:18 PM - Forum: Networking - Replies (1)

I am writing a python based application for which I am using socket programming.

I am following below approach.

Created 1 TCP/IP server, 1 contr..... More

Print this item

  How to split data into trainSet and testSet retaining the index continuous
Posted by: Raj - Apr-30-2018, 01:48 PM - Forum: Data Science - Replies (1)

Hi,
I have a dataset and I want to split it into trainSet and testSet in the specified size. I use the below function to split but it is splitting ra..... More

Print this item

  Load Comma Delimited csv to Nested Dictionary
Posted by: Huck - Apr-30-2018, 01:45 PM - Forum: General Coding Help - Replies (2)

I would like to load a comma delimited csv file into a nested dictionary.

I'm unable to attach the csv file...

Name,Gender,Occupation,Home Plane..... More

Print this item

  Delay in fetching kerberos tokens : python gssapi securitycontext
Posted by: unni10286 - Apr-30-2018, 01:03 PM - Forum: General Coding Help - Replies (1)

0
down vote
favorite

Hi I'm using a python function as follows for fetching kerberos tokens

[python]def get_token(server):

service = gs..... More

Print this item

  Math Module import
Posted by: Jack_Sparrow - Apr-30-2018, 12:30 PM - Forum: Homework - Replies (3)

Hi there,
I am a new python user and I am learning python in my uni. I got stuck with my homework. I have to import a math module into python. This ..... More

Print this item

  np.where and np.max Help
Posted by: johnissa - Apr-30-2018, 10:10 AM - Forum: Homework - Replies (1)

Using nump.where and np.max how can i find the index which value is >=10 and if the next value is <10 then the previous value is the correct index.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 5 hours ago Anunderling deanhystad General Codin...
  A coding beginner needs h... Yesterday, 08:55 Littlefish paul18fr General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  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...
Most views
  The best Prog... 576650
  Tutorial Requ... 498740
  Web Scraping ... 440489
  Newbie with P... 384415
  New Users Int... 367845
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
pllrdvalery Yesterday
Littlefish Yesterday
Noya_Yonatan 09-21
Saipython555 09-21
Anunderling 09-21

User Panel Messages

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