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,306
» Latest member: ifdainstitute7
» Forum threads: 38,798
» Forum posts: 175,911

Full Statistics

Online Users
There are currently 64 online users.
» 1 Member(s) | 57 Guest(s)
Bing, Mojeek, Google, AOL, AOL, DuckDuckGo, snippsat

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
18 minutes ago
» Replies: 8
» Views: 197
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
5 hours ago
» Replies: 3
» Views: 11,092
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 179
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 700
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,820
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 172
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 148
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 235
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,224
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 341

 
  Please help explaining this recursive function
Posted by: armeros - Nov-13-2018, 11:43 AM - Forum: General Coding Help - Replies (3)

Hi, I am learning Python and now I am having trouble with a recursive generator. I could not seem to trace how it works regardless of many print sta..... More

Print this item

  Design pattern in python
Posted by: Prabakaran141 - Nov-13-2018, 10:19 AM - Forum: News and Discussions - Replies (3)

Hi,

What is the use of design patterns in python? Why people go for it?

Print this item

  How to extend the sclale of a graph?
Posted by: Krszt - Nov-13-2018, 07:54 AM - Forum: General Coding Help - Replies (1)

Hello,

I would like to create a ,,nicer" graph with matplot lib. How can I define, that on the generated x axis, the scale would be larger and als..... More

Print this item

  import shutil
Posted by: beni - Nov-13-2018, 07:16 AM - Forum: General Coding Help - Replies (6)

Hi,
Why the code not copy files from folder 111 to folder 222?

The code:
import shutil
shutil.copy('C:\111','C:\111')

Look at an example in t..... More

Print this item

  why won't my turtle move
Posted by: ironsheep - Nov-13-2018, 02:43 AM - Forum: General Coding Help - Replies (6)

import turtle
fred=turtle.Pen()
fred=turtle.shape("turtle")
fred=turtle.color("purple")
fred.forward(100)
[error] My er..... More

Print this item

  Function for grouping variables
Posted by: Scott - Nov-13-2018, 02:14 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

I am trying to write a dynamic function for a dataframe that has about 20 columns. I am trying to bin variable values. So if they are ..... More

Print this item

  requests - handling exceptions
Posted by: Truman - Nov-13-2018, 12:49 AM - Forum: Web Scraping & Web Development - Replies (2)

I'm reading Web Scraping with Python by Ryan Mitchell and trying to use requests instead of urlib. When dealing with exceptions if the issue is that p..... More

Print this item

  Area, Perimeter Calculator. Help Pls.
Posted by: NZedMarine - Nov-12-2018, 09:43 PM - Forum: Homework - Replies (10)

Hi, I am a highschool student in auckland new zealand trying to write a code for a area and perimeter calculator for a square rectangle and a circle. ..... More

Print this item

  Help with a CLIENT command
Posted by: monstervoid - Nov-12-2018, 09:12 PM - Forum: General Coding Help - Replies (1)

Hello,first of all I want to say that I am very new to python and don't know much.Also English is not my native/mother tongue,but I will try my best t..... More

Print this item

  Time Data does not match format
Posted by: AshBax - Nov-12-2018, 08:09 PM - Forum: Data Science - Replies (2)

Hi,

I have the following code:

[python]import pandas as pdm
from datetime import datetime,timedelta
timeFormat = '%d/%m?%y %H:%M:%S'


data..... More

Print this item

  classes , error at line 88 name finnKategori not defined
Posted by: sydlender - Nov-12-2018, 08:01 PM - Forum: General Coding Help - Replies (3)

[python]class Bud:
def __init__(self, budgiver, budStr):
self._budgiver = budgiver
self._budStr = budStr
if budStr < 0..... More

Print this item

  Passing by reference or value
Posted by: CanadaGuy - Nov-12-2018, 07:57 PM - Forum: General Coding Help - Replies (4)

Being new to Python, I figured I was bound to run into something like this. I'm used to programming where values are passed around, and I had to go to..... More

Print this item

  LIST FORMATTING
Posted by: Nick1999 - Nov-12-2018, 07:47 PM - Forum: General Coding Help - Replies (2)

I have a list which prints like this:
Hello
My
Name
Is

but I want the first 3 letters of each word, eg.
HellMyNamIs printed like this but it p..... More

Print this item

  Extracting variable values from labels on csv file using Python
Posted by: Laura - Nov-12-2018, 06:20 PM - Forum: Homework - Replies (1)

Hello everyone.

I have a CSV file with one thousand row and each row its structure is like that (Show 2 lines):

[output]Line 219 (6420),Dh," ..... More

Print this item

  Student grade program help debug
Posted by: ccm1776 - Nov-12-2018, 05:29 PM - Forum: Homework - Replies (3)

Hello everyone. I am writing a program for school. I hit two snags. My first problem is when I run the program, the results are only printing only the..... More

Print this item

  Looking for Flsk web page to view table with logs
Posted by: georgelza - Nov-12-2018, 04:17 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi all

Wonder if anyone has created a Web page using Flask, that can interrogate a table in MySQL containing log information, with some drop downs ..... More

Print this item

  Python3 Regex Help.
Posted by: Stealthychu - Nov-12-2018, 04:03 PM - Forum: General Coding Help - Replies (12)

I currently have a script setup to ssh into a network device and extract parameters into a mysql database.

My data base displays the values: Hostna..... More

Print this item

  *4 BRAND NEW PYTHON DEVELOPER ROLES*
Posted by: CMENDEZJONES - Nov-12-2018, 04:00 PM - Forum: Jobs - No Replies

Python Developer, Python, SQL, MySQL, jQuery, MVC, Linux, Django, Pyramid, Android, iOs, Oxford, Oxfordshire, API, UK,

Job Opportunity – Python De..... More

Print this item

  Logging in python
Posted by: saisankalpj - Nov-12-2018, 03:54 PM - Forum: General Coding Help - Replies (1)

I have a logger method like as follows
[python]
import logging
def log():
logger = logging.getLogger("exampleApp")
logger.setLevel(loggin..... More

Print this item

  Basic question about Install
Posted by: peterhw - Nov-12-2018, 03:07 PM - Forum: News and Discussions - Replies (5)

Hi,
I have recently downloaded Python 3.7.1 and trying to do some very basic things.
I appear to have a 'Python Shell' loaded - and can type basic..... More

Print this item

  Python Backend Engineer in London (relocation offered)
Posted by: adosii - Nov-12-2018, 02:39 PM - Forum: Jobs - No Replies

Hi all,

Python Backend Engineer needed for full-time work @ London-based email security startup (relocation assistance provided).

Backend t..... More

Print this item

  Python scrapy scraped_items
Posted by: Baggelhsk95 - Nov-12-2018, 12:39 PM - Forum: Web Scraping & Web Development - Replies (2)

i was testing the following code to see the results and on debugging i saw the scraped_items and it was like 4.777,....that wasnt the results i wanted..... More

Print this item

  current directory issue
Posted by: saisankalpj - Nov-12-2018, 11:33 AM - Forum: General Coding Help - Replies (1)

i am having path variable as final_directory= os.getcwd()+"\\Logs\\"
and the code[python]
if not os.path.exists(final_directory):
os.makedirs(fi..... More

Print this item

  Unexpected error
Posted by: Tzikos - Nov-12-2018, 11:11 AM - Forum: General Coding Help - Replies (1)

I tried installing the pyentropy package (http://robince.github.io/pyentropy/install.html) but after i run the python setup.py install command (I have..... More

Print this item

  Generating web page from argparse parameters
Posted by: gontajones - Nov-12-2018, 10:57 AM - Forum: General Coding Help - Replies (3)

Hi guys,

Do you know any tool (module) or have any idea to do this?
I'd like to get some python scripts (all using argparse) and build a front-end..... More

Print this item

  check if the windows title chnaged !
Posted by: evilcode1 - Nov-12-2018, 10:10 AM - Forum: General Coding Help - Replies (2)

hey there ...

im writing a code to check the windows title ... but i need it to loop and wait if active windows changed print the title for the ne..... More

Print this item

  Full Stack Developer London £50,000 DOE
Posted by: DigitalDragonsLisa - Nov-12-2018, 10:09 AM - Forum: Jobs - Replies (3)

PM or Reply if you are interested in having a chat about this role Dance


The Role
• Pick up a task, or small project and take..... More

Print this item

  Having Trouble with Flask and SQLAlchemy
Posted by: FakeDeveloperFakeSociologist - Nov-12-2018, 06:43 AM - Forum: Web Scraping & Web Development - Replies (2)

Just a little tid bit, I've been self teaching my self programming for about a year now (I'd say on average I code/learn 3 times a week, for about 2-3..... More

Print this item

  Function responsibility in code
Posted by: CodeWolf - Nov-12-2018, 03:23 AM - Forum: General Coding Help - Replies (4)

I've heard the whole "design functions to do one thing well" mantra, but it's still a little vague to me. Recently I've been working on an input proce..... More

Print this item

  Code: Creating a basic python game?
Posted by: searching1 - Nov-12-2018, 12:47 AM - Forum: Homework - Replies (5)

Hi, I'm practicing coding using python and I'm working with this small project of mine. Im having issue running or calling the function into if else.
..... More

Print this item

  Learn to program with Minecraft
Posted by: SheeppOSU - Nov-11-2018, 11:22 PM - Forum: General Coding Help - Replies (15)

I did everything write but the import of minecraft on python wont work. Did they update the code to import it. The book says,"from mcpi.minecraft impo..... More

Print this item

  Dynamically Sized Widget
Posted by: CanadaGuy - Nov-11-2018, 10:48 PM - Forum: GUI - Replies (3)

I have a wx.Dialog box. In that dialog, I have widgetA. WidgetA contains widgetB. WidgetB can change its size at runtime in response to user selection..... More

Print this item

  Python RunServer Django script not starting
Posted by: udayabirdi - Nov-11-2018, 09:59 PM - Forum: Web Scraping & Web Development - No Replies

[icode]triad_realty) root@webettonew:~/triad_realty# python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 22, in <..... More

Print this item

  Problem with CSV download
Posted by: imtiazu - Nov-11-2018, 09:17 PM - Forum: General Coding Help - Replies (2)

Hey there - very very new to Python and trying to knock up a script that posts to an API.
The core of the script works fine and I can successfully po..... More

Print this item

  merging dictionaries
Posted by: Skaperen - Nov-11-2018, 08:14 PM - Forum: General Coding Help - Replies (3)

i have 2 dictionaries A and B. i would like to use them merged without updating either. this would be like an OR operator for sets. but, of course,..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 18 minutes ago Lou snippsat General Codin...
  Python Online Compiler 5 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...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579483
  Tutorial Requ... 512736
  Web Scraping ... 442349
  Newbie with P... 386394
  New Users Int... 381649
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
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today
IFDA123 Yesterday
TimTom420 11-27

User Panel Messages

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