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,962
» Latest member: KaydenJonah098
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

Online Users
There are currently 52 online users.
» 1 Member(s) | 47 Guest(s)
AOL, Bing, Google, Mojeek, KaydenJonah098

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
40 minutes ago
» Replies: 8
» Views: 8,369
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
1 hour ago
» Replies: 3
» Views: 1,751
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 3
» Views: 276
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 695
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 780
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,028
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,672
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,712
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 330
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 565

 
  xml element inside text node
Posted by: SgtPembry - Oct-21-2018, 01:37 PM - Forum: General Coding Help - Replies (9)

Hi,

I try to get this xml code…

<root>
<action>The guy enters the room and <bold>Slam!</bold> shuts the door.</action>
</root>

built from a..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 40 minutes ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 1 hour ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... 7 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577096
  Tutorial Requ... 499941
  Web Scraping ... 440826
  Newbie with P... 384819
  New Users Int... 368983
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 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday
SprunkiRetake Yesterday

User Panel Messages

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