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,308
» Latest member: NeoQuant
» Forum threads: 38,800
» Forum posts: 175,914

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 32 Guest(s)
Applebot, Bing, AOL, Google, Hosthubac

Latest Threads
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
11 minutes ago
» Replies: 0
» Views: 8
Trading Risk management s...
Forum: Code sharing
Last Post: Axel_Erfurt
38 minutes ago
» Replies: 1
» Views: 14
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
5 hours ago
» Replies: 8
» Views: 210
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
10 hours ago
» Replies: 3
» Views: 11,103
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 185
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 707
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,822
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 176
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 152
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 245

 
  flipping the for loop in file
Posted by: juniorcoder - Oct-21-2018, 09:41 AM - Forum: General Coding Help - Replies (2)

Hello friends ,
I save the output of my python code in a txt. file . In this file I have many variables , like x[t][m]...y[t][m]...I[t][m].
For anot..... More

Print this item

  If statements won't work!!!! Plz help me. Thx
Posted by: BubblesTheGiraffe - Oct-20-2018, 10:12 PM - Forum: General Coding Help - Replies (5)

Hi. I'm pretty new to python so this is probably a stupid question but simple IF statements don't work for me when I'm using variable = input for inst..... More

Print this item

  multiple copies of the same object issue
Posted by: marienbad - Oct-20-2018, 09:26 PM - Forum: Game Development - Replies (1)

I am writing a simple side scrolling game in the style of the old Scramble arcade game, except with lousy graphics! I have a background composed of g..... More

Print this item

  mysql connection pool?
Posted by: MuntyScruntfundle - Oct-20-2018, 07:36 PM - Forum: General Coding Help - No Replies

Ho folks.

I need to use a mysql connector to write/read data to/from a table every few seconds.

In terms of keeping overhead as low as possible,..... More

Print this item

  Socket connection and thread tracking...
Posted by: MuntyScruntfundle - Oct-20-2018, 05:09 PM - Forum: General Coding Help - Replies (2)

I've hit a bit of a brick wall, I'm sure there's a way around it, but my head is swimming in python syntax at the moment and I just can't see it!

M..... More

Print this item

  Parallizing subprocess.check
Posted by: Raymond - Oct-20-2018, 04:32 PM - Forum: General Coding Help - No Replies

Hi,

I have a code which compromises of making an input file and submitting it to an executable using subprocess.check_all. Unfortunately the proces..... More

Print this item

  finding almost palindromes
Posted by: leahma - Oct-20-2018, 04:03 PM - Forum: Homework - Replies (1)

Hi i'm studying how to code with python and we were given an assignment to write a code that finds almost palindromes.
The code has to, given a certa..... More

Print this item

  Receiving value is not defined
Posted by: cibb - Oct-20-2018, 03:50 PM - Forum: GUI - Replies (1)

In my script it runs fine without adding the GUI but trying to add tkinter I receive
line 44, in <module>
button_1=Button(my_window,text="Chec..... More

Print this item

  making a dictionary from a list, one key with multiple values in a list within a list
Posted by: rhai - Oct-20-2018, 03:22 PM - Forum: Homework - Replies (4)

i have an assignment: and basically here it is and i get stuck on this.
write = W,
read = R,
execute= X.

The first line contains the number N — ..... More

Print this item

  Working with large volume of data (RAM is not enough)
Posted by: evonevo - Oct-20-2018, 11:51 AM - Forum: General Coding Help - Replies (6)

Hi everyone,
Can you please point me to materials / tutorials on how to work with data that does not fit into the memory ?
what are best practices ..... More

Print this item

  Graph coloring problem
Posted by: jackrus1010 - Oct-20-2018, 10:19 AM - Forum: General Coding Help - No Replies

I'm using networkx to implement the edge coloring algorithm. Each edge should have a set of colors.
Here i'm creating the graph:

[python]G = nx.Gr..... More

Print this item

  Is PEP-8 dead?
Posted by: volcano63 - Oct-20-2018, 09:39 AM - Forum: Board - Replies (9)

(in this forum?!)

Dear moderation team,

Aren't you tired of the herds of camelCase in the demonstrated code?

Though I understand that many of..... More

Print this item

  OS command via python subprocess module
Posted by: alinaveed786 - Oct-20-2018, 07:18 AM - Forum: General Coding Help - Replies (21)

Can we use below OS commands (inside the file.txt) and then pass this file an argument to the subprocess.popen for execution?
OR is there a bet..... More

Print this item

  pip errors on windows 10
Posted by: arnjmllr - Oct-20-2018, 04:29 AM - Forum: General Coding Help - Replies (1)

I installed python 3.7 as admin, added to path. I keep getting error:

I have tried installing wheel, but that did not help. I am wondering if it'..... More

Print this item

  Compose nested JSON with multi columns in Python
Posted by: praveenks - Oct-20-2018, 03:20 AM - Forum: General Coding Help - Replies (1)

I have a csv file and trying to compose JSON from it. There are mulitple records in a file but I am just giving one set of sample records here.This st..... More

Print this item

  Russian Sorting Halves Danilin
Posted by: DANILIN - Oct-20-2018, 01:52 AM - Forum: General Coding Help - Replies (12)

Russian Sorting Halves and fast and human
sorts 1'000'000 in 2.2 seconds on QB64
sorts 1'000'000 in 0.3 seconds on PureBasic

me interested implem..... More

Print this item

  homework hospital charges program help
Posted by: ccm1776 - Oct-19-2018, 11:21 PM - Forum: Homework - Replies (5)

Hi, guys. Im working on a program for a class. Its an inpatient or outpatient hospital charges program. here is what ive gotten so far.

[python]
..... More

Print this item

  double loop
Posted by: PolskaYBZ - Oct-19-2018, 08:42 PM - Forum: General Coding Help - Replies (3)

Hello,

I recently started with learning Python and don't fully understand how a nested loop works.

Below I have 2 similar codes with the only d..... More

Print this item

  Incomplete Output
Posted by: oldcity - Oct-19-2018, 08:03 PM - Forum: General Coding Help - Replies (6)

Using Linux Mint 18.2 and running programs from Python 3.5 which is the default for 18.2.
Upon of doing python Basic-Menu.py and making selection '3'..... More

Print this item

  if conditional not firing - unable to understand why
Posted by: simms7400 - Oct-19-2018, 06:29 PM - Forum: General Coding Help - Replies (7)

Hi Folks -
I'm running into a weird issue where when I add two if conditionals, the portion of code following the second if conditional when true doe..... More

Print this item

  Is thread running?
Posted by: MuntyScruntfundle - Oct-19-2018, 06:10 PM - Forum: General Coding Help - No Replies

I have an app that fires off a bunch of threads, each starting client code to collect data from a socket server on an ip address.

The app starts th..... More

Print this item

  what's wrong with "\033[F" and "\033[A"
Posted by: kavindu - Oct-19-2018, 03:50 PM - Forum: General Coding Help - Replies (4)

I'm trying to write a script to clear and write over the last printed line by following a tutorial.
this is my code
[python]
import time
import sy..... More

Print this item

  [Outlook] How to delete items from To-Do List?
Posted by: Winfried - Oct-19-2018, 03:20 PM - Forum: General Coding Help - Replies (1)

Hello,

I searched the archives and elsewhere with "outlook to-do list items delete", but came back empty handed.

I'm using Outlook 2007, and need to..... More

Print this item

  To extract a specific column from csv file and compute the average
Posted by: vicson - Oct-19-2018, 02:22 PM - Forum: Homework - Replies (2)

Hi all, I am using python 3.7 and encountering a difficulty in extract a column from a csv excel file. The excel file looks like this:

name, mon, t..... More

Print this item

  Error with using pyinstaller to convert python script in Mac OS
Posted by: Takeshio - Oct-19-2018, 01:33 PM - Forum: General Coding Help - Replies (2)

Hi guys,

I'm a newbie with python and I have hit the following pyinstaller module (version 3.4) error, when I attempted to convert my python 3.7 sc..... More

Print this item

  Hangman
Posted by: 2skywalkers - Oct-19-2018, 01:27 PM - Forum: General Coding Help - Replies (3)

Im not sure if this should be posted in the games section but the only library its using is random. I got this code online to try to understand it and..... More

Print this item

  Copy raw data in excel to another new excel file
Posted by: keerthiprashanth - Oct-19-2018, 10:46 AM - Forum: Data Science - Replies (5)

Hello Team,

Good Evening.

I need help in writing a script to copy the raw data from extracted excel sheet to another new excel sheet.

Would n..... More

Print this item

  In input, I want just numbers and not strings!
Posted by: aquerci - Oct-19-2018, 08:54 AM - Forum: Homework - Replies (2)

Hi guys,

I have a simple question for you. Why the "input" function reads always the user input like a string? could not be it a problem?

right no..... More

Print this item

  Scraping apps output.
Posted by: MuntyScruntfundle - Oct-19-2018, 08:41 AM - Forum: General Coding Help - Replies (2)

Hi folks.

I've been doing a bit of Blender rendering on a couple of pis (Debian) recently, it actually works really well, if a little slow.

The ..... More

Print this item

  AttributeError: '' object has no attribute ''
Posted by: Santhosh198915 - Oct-19-2018, 08:33 AM - Forum: General Coding Help - Replies (6)

I have no idea how to resolve this issue, please help
[python]
#[Convolution] -> [Batch Normalization] -> [ReLU]
def Conv_block2d(in_channels,out_c..... More

Print this item

  Python Program to Make a Simple Calculator
Posted by: jack_sparrow007 - Oct-19-2018, 07:58 AM - Forum: General Coding Help - Replies (2)

In this example you will learn to create a simple calculator that can add, subtract, multiply or divide depending upon the input from the user.

To ..... More

Print this item

  Python - Scrapy Login in
Posted by: Baggelhsk95 - Oct-19-2018, 07:43 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello guys...i need your help...i was messing with the scrapy earlier, but for some reason my script doesnt work

[python]# -*- coding: utf-8 -*-
i..... More

Print this item

  Help
Posted by: rdg - Oct-19-2018, 05:27 AM - Forum: GUI - No Replies

what's up guys! I'm not sure if I'm posting in the correct area, I'm sorry if I'm wrong.
Anyway, I'm new to programming, I'm more of a curious trying..... More

Print this item

  paths in django 'settings.py'
Posted by: nzcan - Oct-19-2018, 04:51 AM - Forum: Web Scraping & Web Development - No Replies

[font=Tahoma, Geneva, sans-serif]in a new django-project in the file 'settings.py' we will find the first line of code: [python] BASE_DIR = os.path...... More

Print this item

  Remote Coding .... whats the deal ?
Posted by: TrueStudentOfPython - Oct-19-2018, 03:18 AM - Forum: News and Discussions - No Replies

Hello Everyone!

So, I have a situation to present followed by a question. I am traveling between countries constantly ( between the U.S.A and Ge..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Standard template Data En... 11 minutes ago Hosthubac Hosthubac Code Review
  Trading Risk management s... 38 minutes ago NeoQuant Axel_Erfurt Code sharing
  No new line from print in... 5 hours ago Lou snippsat General Codin...
  Python Online Compiler 10 hours ago alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 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...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
Most views
  The best Prog... 579487
  Tutorial Requ... 512768
  Web Scraping ... 442358
  Newbie with P... 386395
  New Users Int... 381701
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 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
NeoQuant Today
Hosthubac Today
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today

User Panel Messages

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