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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,888

Full Statistics

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

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: bowlofred
2 hours ago
» Replies: 2
» Views: 89
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
2 hours ago
» Replies: 6
» Views: 3,170
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 66
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 237
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 124
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,521
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 171
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,143

 
  Modify a dictionary
Posted by: NathanF - Aug-29-2019, 03:05 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I'm new to coding and currently self-taught using online books. I am creating a dictionary with 30 aliens all the same, then modify..... More

Print this item

  Post JSON from python to PHP don't give expected result
Posted by: pgagnebin - Aug-29-2019, 02:43 PM - Forum: General Coding Help - Replies (1)

Hello.
I need to send JSON data from python to PHP.
Python and PHP are located on different servers.
I test with this python code :
[python]
impo..... More

Print this item

  Scrap a value from website
Posted by: harsush - Aug-29-2019, 12:43 PM - Forum: Web Scraping & Web Development - Replies (1)

Iam trying scrap trade date value -- below is what i have written, but not getting the value. Can someone help on this.

[python]
#!/usr/bin/env py..... More

Print this item

  Error when running the second time
Posted by: metro17 - Aug-29-2019, 10:28 AM - Forum: General Coding Help - Replies (3)

def check_id():
while True:
userid = input("Please enter your ID: ")
if len(userid) == 8 and ' 'not in userid and userid[0:2].i..... More

Print this item

  Read 2 temperatures in Real Time from Arduino
Posted by: linkxxx - Aug-29-2019, 10:25 AM - Forum: General Coding Help - No Replies

Guys sorry if I'm disturbing again, but I am not able to find the errors on my code, how you can see in the picture attached I'm able to show the temp..... More

Print this item

  TypeError: 'int' object is not callable
Posted by: hakan - Aug-29-2019, 09:49 AM - Forum: General Coding Help - Replies (3)

Hello everybody, I just wrote this code to calculate Factorial using python 3.6 on Microsoft azure jupyter notebook. it's works fine for the first tim..... More

Print this item

  VS-Code or PyCharm Vs IDLE For Python Coding
Posted by: adt - Aug-29-2019, 06:23 AM - Forum: News and Discussions - Replies (14)

Python installation includes IDLE as its own IDE.

Across the web, a marked preference is observed for alternative IDE's
like Visual Studio Code or..... More

Print this item

  Hakkerank problem I can't solve
Posted by: ayo - Aug-29-2019, 05:04 AM - Forum: General Coding Help - Replies (1)

I attempted a python task on Hackerrank, but my code seems to have a problem I can't fix. The first input is for the number of students, the second se..... More

Print this item

  best way to build as string from pieces
Posted by: Skaperen - Aug-29-2019, 12:49 AM - Forum: News and Discussions - Replies (1)

i'm building a string from pieces being appended. this does not fit into formatting or f-strings because they are maybe added according to an if cond..... More

Print this item

  I cannot understand aliases, apparently
Posted by: Mustey - Aug-29-2019, 12:09 AM - Forum: General Coding Help - Replies (7)

I guess the quickest way is to show you my interaction:
>>> a = 3
>>> b = a
>>> a is b
True
>>> a = 4
>>> print (b)
3

a) What I thought: by ..... More

Print this item

  asyncio encode and decode, how good are they?
Posted by: CoderOne - Aug-28-2019, 11:54 PM - Forum: General Coding Help - Replies (2)

Am I correct in thinking that asyncio encode and decode are good for security? I can't find any information in the docs or even Google. Does anyone kn..... More

Print this item

  Appending a list in a class from a callback function
Posted by: snizbatch - Aug-28-2019, 10:02 PM - Forum: General Coding Help - Replies (5)

Hi all,
This is my first post. Usually I can search out answers to my problems but today I'm having a bit of difficulty finding what I'm doing wron..... More

Print this item

  How ad key unlocker program to code?
Posted by: storzo - Aug-28-2019, 09:22 PM - Forum: General Coding Help - Replies (8)

Hi!

I need to secure my program with key. I don't have idea how to do that with what modules or lib. But i know how could be work:

1st steep: us..... More

Print this item

  Newbie help with input
Posted by: LouK - Aug-28-2019, 09:10 PM - Forum: General Coding Help - Replies (9)

I just started into Python today and got a lot working in a few hours. But this has me stumped.

I copy and paste (no typos) these two lines from a ..... More

Print this item

  Downloading emails issue
Posted by: graham23s - Aug-28-2019, 07:27 PM - Forum: Networking - No Replies

Hi Guys,

This is a strange issue i thought i would have no issues with, i'm downloading emails from my account in Python using poplib library...... More

Print this item

  A mail scraper for sorting emails into categories
Posted by: anata2047 - Aug-28-2019, 06:30 PM - Forum: General Coding Help - Replies (1)

Hi,
I would like to refresh my python knowledge by writing a simple python program which could sort gmail emails by keywords in heading and/or by sen..... More

Print this item

  Create mvc ( web framework )
Posted by: JohnnyCoffee - Aug-28-2019, 05:43 PM - Forum: Web Scraping & Web Development - Replies (2)

I would like to learn how to develop a simple web framework (mvc) where I can get some material to study how to structure?

Print this item

  How to add date to zip filename?
Posted by: barry - Aug-28-2019, 05:25 PM - Forum: General Coding Help - Replies (1)

I have made a Python script to zip a file, but would like to add the current date to the filename. Is this possible to add?

[python]import shutil
..... More

Print this item

  Real time graph of the temperatures and storage
Posted by: linkxxx - Aug-28-2019, 05:18 PM - Forum: General Coding Help - Replies (3)

[python]
import serial # import Serial Library
import numpy as np # Import numpy
import adafruit_max31..... More

Print this item

  Sub: Python-3: Better Avoid Naming A Variable As list ?
Posted by: adt - Aug-28-2019, 05:03 PM - Forum: General Coding Help - Replies (9)

While examining various alternatives for extracting dictionary content into a list, it is seen that in some of the web sites, list itself gets used as..... More

Print this item

  how to seperate words from string
Posted by: zarize - Aug-28-2019, 04:55 PM - Forum: General Coding Help - Replies (2)

hi guys

i am learning scrapping on few different types of sites and i cannot figure it out how to get only 1 word from a string

[python]from bs4 imp..... More

Print this item

  MAWS.py PRGM:IndexError: list index out of range
Posted by: bcramer - Aug-28-2019, 04:45 PM - Forum: General Coding Help - No Replies

I want to use a program called MAWS written in python in the year 2015, which in short,is used to predict aptamers (nucleotides) based on a molecular ..... More

Print this item

  A file for every person of a list
Posted by: Emmanouil - Aug-28-2019, 04:15 PM - Forum: General Coding Help - Replies (3)

Hello, I have the code below that finds a person(LookFor=) from a dialogue file and creates for him a new file with his name and the words he have sai..... More

Print this item

  How to copy files from subfolders into one folder
Posted by: silfer - Aug-28-2019, 03:35 PM - Forum: General Coding Help - Replies (3)

Hi Smile
I want to copy tif files contained in subfolders of folder "U:\\collections\\2019_input\\" in one separated output folder "U:\\collecti..... More

Print this item

  using self-developed modules
Posted by: wlp - Aug-28-2019, 03:02 PM - Forum: General Coding Help - Replies (13)

I use Win10 and Python 3.7.4.
I wrote a program that contains a number of inline functions and classes followed by a main program. It imports a modu..... More

Print this item

  How can I make this equation work for t=0?
Posted by: vetlema - Aug-28-2019, 01:45 PM - Forum: Homework - Replies (1)

SO I have this excerice in my python programming course at school.
https://cdn1.imggmi.com/uploads/2019/8/2...58-full.pn..... More

Print this item

  create a new directory if not already exists
Posted by: fioranosnake - Aug-28-2019, 12:39 PM - Forum: General Coding Help - Replies (1)

Hi, I am able to upload files to a directory on my server using the following code :


[python]
for file in file_list:
filename = s..... More

Print this item

  Show real time temperature and storage with Python
Posted by: linkxxx - Aug-28-2019, 10:45 AM - Forum: General Coding Help - Replies (4)

[python]
import serial
import matplotlib.pyplot as plt
from drawnow import *

values = []
plt.ion()
cnt=0

serialArduino = serial.Serial('COM..... More

Print this item

  Linux Script Sudo and "&"
Posted by: s3fac5 - Aug-28-2019, 07:13 AM - Forum: General Coding Help - Replies (14)

Hello everyone in the forums of python
i am new to language
and i have make a small script
which i want to run
by using the followed method from..... More

Print this item

  Creating a Point from coordinate fields in shapefile
Posted by: stixmagiggins - Aug-28-2019, 06:31 AM - Forum: General Coding Help - No Replies

Hi there,
I've been trying to use the Point method from shapely.geometry module to create a point, but using two fields in the shapefile being used...... More

Print this item

  pandas data frame
Posted by: dervast - Aug-28-2019, 06:16 AM - Forum: Data Science - Replies (1)

Hi all, I would like to drop all unique entries based on a specific column value.
I give an example below
[python]
data = [[10105, 1], [10105, 1], ..... More

Print this item

  undefined variables
Posted by: Skaperen - Aug-28-2019, 05:27 AM - Forum: News and Discussions - Replies (18)

i run into this problem a lot. i'm writing a new script that does some major stuff like create lots of processes on my laptop for so purpose or downl..... More

Print this item

  Concatenating strings in cgi
Posted by: Meera2019 - Aug-28-2019, 05:18 AM - Forum: General Coding Help - Replies (2)

I am using Python 3.4. I was working on cgi programming. I created checkboxes and wanted to get those input values as string and post it in single fie..... More

Print this item

  using .replace()
Posted by: Pedroski55 - Aug-28-2019, 05:15 AM - Forum: General Coding Help - Replies (6)

Hi,

I have a small text, just 12 lines. Each line has a word or phrase I want to remove and replace with a dropdownbox containing 10 words. I read..... More

Print this item

  Plotting Raster Data / TIFF files on tkinter canvas
Posted by: RRSCNGP - Aug-28-2019, 04:44 AM - Forum: GUI - No Replies

Hi All....I have a TIFF file which I am trying to plot on the tkinter canvas using the following code:

[python]
import tkinter

from matplotlib...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 2 hours ago Moltar1997 bowlofred General Codin...
  best way to learn python 2 hours ago dutch ichsanputr News and Disc...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579354
  Tutorial Requ... 512299
  Web Scraping ... 442275
  Newbie with P... 386329
  New Users Int... 380144
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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