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,583
» Latest member: chairsforcafe
» Forum threads: 38,635
» Forum posts: 175,039

Full Statistics

Online Users
There are currently 476 online users.
» 1 Member(s) | 471 Guest(s)
Bing, Google, Baidu, snippsat

Latest Threads
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: rbadis
2 hours ago
» Replies: 0
» Views: 35
i need help pls
Forum: Game Development
Last Post: RobertoCot
4 hours ago
» Replies: 3
» Views: 5,882
I have a question
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 2
» Views: 136
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 1
» Views: 129
A penny doubled every day...
Forum: Homework
Last Post: Pedroski55
Today, 02:53 AM
» Replies: 4
» Views: 139
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 07:21 PM
» Replies: 11
» Views: 399
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Yesterday, 04:55 AM
» Replies: 3
» Views: 119
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:07 AM
» Replies: 3
» Views: 198
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 141
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 274

 
  Why are two similar bits of code giving different results?
Posted by: godmode - Dec-07-2016, 09:36 PM - Forum: General Coding Help - Replies (10)

Hi guys,

sorry for my novice question, but I can't really see why it gives a different result...
it's about a Fibonacci code...

[python]
a=1
..... More

Print this item

  New Moderator
Posted by: micseydel - Dec-07-2016, 08:15 PM - Forum: Board - Replies (5)

@[nilamo] is now a moderator :)

Print this item

  exec_external
Posted by: roadrage - Dec-07-2016, 08:10 PM - Forum: Homework - Replies (3)

"""#!/c/Anaconda2/Scripts/python"""
"""
Create a function called exec_external, taking a single string argument,
representing a Linux shell comma..... More

Print this item

  Created a plugin for our code tags
Posted by: stranac - Dec-07-2016, 07:19 PM - Forum: Board - Replies (18)

I've created a plugin for our python, error, output, and icode tags.
The plugin makes sure..... More

Print this item

  PYTHON AND JSON >please correct this corde
Posted by: just_started_python - Dec-07-2016, 06:54 PM - Forum: Homework - Replies (3)

 JSON file that contains the following pieces of information:

Print this item

  LEAD RIGGING TD
Posted by: Axis Animation - Dec-07-2016, 04:12 PM - Forum: Jobs - No Replies

[color=#000000][size=medium][font=PlantinMTStd-Light,][size=small][color=#ff8c00][i][Image: slKPWC1.jpg]

Axis Animation
..... More

Print this item

  paramiko read stdout
Posted by: j.crater - Dec-07-2016, 02:54 PM - Forum: General Coding Help - Replies (2)

Hello,
I have a simple function that uses SSH via paramiko module. For example, if I have a line:
[python]
stdin, stdout, stderr = client.exec_command..... More

Print this item

  splitting up long number
Posted by: iFunKtion - Dec-07-2016, 02:17 PM - Forum: General Coding Help - Replies (7)

Hi there,

I have some timecodes in the format:

144345.20
how can convert this to a normal timecode that can then be used f..... More

Print this item

  Stupid Python Tricks: Q is for Quit
Posted by: ichabod801 - Dec-07-2016, 02:34 AM - Forum: Code sharing - Replies (1)

I write a lot of text interfaces, probably because I'm too lazy to write a GUI unless I need one. So I am frequently programming 'q' to quit the progr..... More

Print this item

  Totally off topic!
Posted by: Larz60+ - Dec-07-2016, 02:26 AM - Forum: Bar - Replies (3)

Does anyone know what the Microsoft windows process named 'TrustedInstaller' (which I don't trust) does?
If you google it, you usually get an answer ..... More

Print this item

  Cannot "Run" python on notepad++
Posted by: interconnected - Dec-07-2016, 01:33 AM - Forum: General Coding Help - Replies (6)

I am unable to "Run" python code on notepad++. It does nothing.


I link it to C:\Python3.5.2\Lib\idlelib\idle.py [color=#333333][size=small]-i "$(..... More

Print this item

  Recover currently running script?
Posted by: kbriden - Dec-06-2016, 10:57 PM - Forum: General Coding Help - Replies (3)

I have a program that I used Notebook++ to write, and I did not back it up for the past two weeks even though I put a ton of work into it.  I ran the ..... More

Print this item

  Negative Percentage PHP
Posted by: micseydel - Dec-06-2016, 10:29 PM - Forum: Board - Replies (6)

Not a critical issue, but I had this gem show up
   

Print this item

  How i can...?
Posted by: sajley - Dec-06-2016, 08:36 PM - Forum: General Coding Help - Replies (8)

hi guys
i'm new in python
how i can goto a line ...

How i can use this code, i wish my program if inpt is not '+-*/'   try to re input 

mylabe..... More

Print this item

  bug or feature?
Posted by: Mettler - Dec-06-2016, 06:05 PM - Forum: General Coding Help - Replies (6)

Hi people!

I have been playing around with python a little and came across this:
consider the following code in Python3

[python]
class THING:..... More

Print this item

  Robot Stay Inside Circular Ring
Posted by: webmanoffesto - Dec-06-2016, 02:54 PM - Forum: General Coding Help - Replies (4)

I have a Lego Mindstorms brick running ev3dev (open source Linux) and I am writing a Python program for it. I want to enter it in a friendly Sumo styl..... More

Print this item

  live(real time) database retrive
Posted by: x64 - Dec-06-2016, 07:38 AM - Forum: Web Scraping & Web Development - Replies (1)

hi,
i am using django in ubuntu 15.10 and python 3.52.
i am working on a project which is similar to shopping website.
here i want to retrive datab..... More

Print this item

  Python Launch Options
Posted by: Flexico - Dec-06-2016, 02:28 AM - Forum: General Coding Help - Replies (6)

I'm not sure if this is more a Python question or a Linux question, but here goes: I have a script file tied to the key combo Ctrl+Alt+P to navigate t..... More

Print this item

  Sympy Integration
Posted by: Flexico - Dec-06-2016, 01:17 AM - Forum: General Coding Help - Replies (5)

I couldn't find a Sympy forum, so I figured I'd post it here.

Please explain this to me:
[python]
>>> integrate(sin(x**2),x)
                   ..... More

Print this item

  Why doesn't this work?
Posted by: PickyBiker - Dec-05-2016, 10:56 PM - Forum: General Coding Help - Replies (3)

I am learning python and having a problem with reading .json files. There are 2 reads, one for status.json and the other for schedue.json
The code sh..... More

Print this item

  Show all available bindings for given widget
Posted by: Larz60+ - Dec-05-2016, 10:22 PM - Forum: Code sharing - No Replies

I needed to know available bindings for a ttk Notebook widget, and had a hard time finding them
This class will show available bindings for any widge..... More

Print this item

  Unintended output
Posted by: Nick_Wright - Dec-05-2016, 09:24 PM - Forum: General Coding Help - Replies (1)

[python]

j = [['4', '5'], ['1', '1'], ['1', '5'], ['3', '4'], ['3', '1']]
k = [['5', '2'], ['4', '2'], ['2', '4'], ['3', '3'], ['4', '3']]
t = [[..... More

Print this item

  rewrite_title
Posted by: roadrage - Dec-05-2016, 08:26 PM - Forum: Web Scraping & Web Development - Replies (12)

"""
Create a function called rewrite_title, taking two arguments:
  - String, representing HTML body (full or partial)
  - String, representing a..... More

Print this item

  Help configuring Geany for Python
Posted by: PickyBiker - Dec-05-2016, 07:49 PM - Forum: General Coding Help - No Replies

I am learning Python. In past programming languages I have used, the editor or GUI environment would add spaces around things automatically to make th..... More

Print this item

  list_reduction
Posted by: roadrage - Dec-05-2016, 05:30 PM - Forum: Homework - Replies (3)

"""
Write a function called list_reduction, that takes a single argument - a list
of strings, L. The function must:
  1. Transform the list, *in ..... More

Print this item

  setting evironment of Linux using python
Posted by: kgkhan - Dec-05-2016, 05:17 PM - Forum: General Coding Help - Replies (2)

Hi I am trying to convert a shell script to python. In shell script they are setting the Environment I don't know how to do that using the python here..... More

Print this item

  where to find advanced level guides
Posted by: Skaperen - Dec-05-2016, 07:43 AM - Forum: General Coding Help - Replies (3)

i am looking for advanced level guides to python for subprocess piping.

i want to be able to read data from a subprocess so this involves pipes whe..... More

Print this item

  How to get from linux command line to an array
Posted by: timfox123 - Dec-04-2016, 11:51 PM - Forum: General Coding Help - Replies (4)

Hello, I am a totally newby.

I am trying to convert from Linux Bash to python. 

I need the output of Linux commands to be stored in a Python arr..... More

Print this item

  Identifying Efficiency
Posted by: micseydel - Dec-04-2016, 11:46 PM - Forum: Bar - Replies (9)


I interviewed a candidate recently for a software engineering position who had a master's degree from UCLA with a 3.8 GPA and a 3.9 GPA in under..... More

Print this item

  Help with classes
Posted by: J125 - Dec-04-2016, 05:04 PM - Forum: General Coding Help - Replies (9)

Hi All,

I'm sure this forum is littered with Learn Python the Hard Way questions... here's another on exercise 43: learnpythonthehardway.org/book/e..... More

Print this item

  faster socket with multiprocessing.Pipe
Posted by: sixteenornumber - Dec-04-2016, 02:58 PM - Forum: General Coding Help - Replies (2)

I have a socket receiving a TCP stream that WAS getting bottle necked with some of the processing.  I fixed the problem by giving the socket it's own ..... More

Print this item

  Need apointer to python project deployment
Posted by: PickyBiker - Dec-04-2016, 02:53 PM - Forum: General Coding Help - Replies (2)

Can someone point me to a resource (book or link) to learn about python project deployment? 

I am using raspberry pi and I have some simple program..... More

Print this item

  rock,paper,scissors
Posted by: Jei - Dec-04-2016, 02:13 PM - Forum: Homework - Replies (11)

I need to make this classic game.
my problem is that i dont know how to compare them to each other.
Doh
maybe something like this?
[python]if ..... More

Print this item

  Luhn algorithm
Posted by: Skaperen - Dec-04-2016, 05:56 AM - Forum: General Coding Help - Replies (3)

has anyone here implemented the Luhn algorithm in Python, preferably Python 3 ?

Print this item

  Advent of Code 2016
Posted by: snippsat - Dec-03-2016, 10:27 PM - Forum: News and Discussions - Replies (4)

If someone has to much spare time before Christmas Snowman
Advent of Code 2016

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using EventSource in Pyth... 2 hours ago rbadis rbadis Web Scraping ...
  [PyGame] i need help pls 4 hours ago augusto_A RobertoCot Game Developm...
  I have a question 5 hours ago Clictithe noisefloor General Codin...
  Problème d'exécutable 5 hours ago Zauf noisefloor General Codin...
  A penny doubled every day... Today, 02:53 esoyboy Pedroski55 Homework
  How do select this table ... Yesterday, 19:21 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... Yesterday, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... Yesterday, 00:07 DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... 06-19, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
Most views
  The best Prog... 572277
  Tutorial Requ... 484772
  Web Scraping ... 436819
  Newbie with P... 379642
  Thread remain... 351225
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12066
buran 8173
snippsat 7339
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
chairsforcafe Today
RobertoCot Today
rbadis Today
juliashulze7657 Today
kava Yesterday

User Panel Messages

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